:root {
  --ink: #121212;
  --muted: #6a655c;
  --green: #1a9a46;
  --green-deep: #127a36;
  --line: #e6e1d6;
  --white: #ffffff;
}

@font-face {
  font-family: 'Chomsky';
  src: url('fonts/Chomsky.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background:
    radial-gradient(
      90% 55% at 50% -10%,
      #ffffff 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(180deg, #f7f6f1 0%, #f3f1ea 40%, #efece3 100%);
}

a {
  color: inherit;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 22px;
  right: 0;
  left: 0;
}

.site-header__inner {
  display: grid;
  width: min(100% - 40px, 1180px);
  min-height: 64px;
  margin-inline: auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(72, 63, 53, 0.14);
  border-radius: 16px;
  background: rgba(251, 249, 244, 0.72);
  box-shadow:
    0 18px 50px rgba(75, 59, 42, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(145%);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  justify-self: end;
  margin-right: 12px;
}

.site-header__nav a {
  color: #3f3a34;
  font-size: 16px;
  font-weight: 580;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark__mascot {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(28, 24, 21, 0.15);
  border-radius: 11px;
  background: #dff4df;
}

.brand-mark__mascot img {
  width: 28px;
  height: 30px;
  object-fit: contain;
}

.site-header .button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: #1a1715;
  color: #f5f2eb;
  font-size: 14px;
  font-weight: 580;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-shot {
  position: relative;
}

.nav-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-shot .hit {
  position: absolute;
  top: 18%;
  bottom: 18%;
}

.nav-shot .home {
  left: 1.5%;
  width: 24%;
}
.nav-shot .pro {
  left: 70%;
  width: 12%;
}
.nav-shot .msg {
  right: 1.5%;
  width: 16%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin: 0;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(72, 63, 53, 0.14);
  border-radius: 16px;
  background: rgba(251, 249, 244, 0.72);
  box-shadow:
    0 18px 50px rgba(75, 59, 42, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
  font-size: 23px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mascot {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(28, 24, 21, 0.15);
  border-radius: 11px;
  background: #dff4df;
}

.mascot img {
  width: 28px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(32, 28, 23, 0.14));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: 4px;
}

.pro {
  color: #3f3a34;
  text-decoration: none;
  font-weight: 580;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 650;
  border: 0;
}

.btn-dark {
  background: #1a1715;
  color: #f5f2eb;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 580;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 5px 14px rgba(26, 23, 21, 0.14);
}

.page {
  padding: 118px 0 96px;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.lede-block {
  max-width: 640px;
}

.page-head h1 {
  margin: 0;
  color: #111;
  font-family: 'Chomsky', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(3.6rem, 7.2vw, 5.6rem);
  letter-spacing: 0;
  line-height: 1;
}

.lede {
  margin: 16px 0 0;
  max-width: 34rem;
  color: #3c3934;
  font-size: 1.05rem;
  line-height: 1.45;
}

.filters {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

select {
  appearance: none;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  border: 1px solid #e3ddd2;
  border-radius: 12px;
  padding: 12px 40px 12px 14px;
  font:
    600 0.92rem 'Plus Jakarta Sans',
    system-ui,
    sans-serif;
  color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 22px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.thumb {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #e9e4d8;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kicker {
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h2 {
  margin: 8px 0 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 720;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.card:hover h2 {
  color: var(--green-deep);
}

.card p {
  margin: 0 0 14px;
  color: #3e3a34;
  font-size: 0.98rem;
  line-height: 1.5;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.article {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 96px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 12px 8px 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(20, 20, 20, 0.04),
    0 8px 20px rgba(40, 32, 16, 0.06);
}

.article h1 {
  margin: 16px 0 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.article .meta {
  margin-top: 16px;
}

.hero {
  margin: 28px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  background: #e9e4d8;
}

.hero img {
  width: 100%;
  display: block;
}

.body {
  margin-top: 28px;
}

.body p,
.body li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2c2925;
}

.body p {
  margin: 0 0 1rem;
}

.body h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 720;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.label {
  margin: 1.3rem 0 0.35rem;
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.body ul {
  margin: 0 0 0.4rem;
  padding-left: 1.15rem;
}

.body li {
  margin: 0.3rem 0;
}

.best {
  margin-top: 0.8rem;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 14px;
}

.best p {
  margin: 0;
}

.body a {
  color: var(--green-deep);
  text-underline-offset: 3px;
}

.body h2 {
  scroll-margin-top: 24px;
}

.glance-scroll {
  width: 100%;
  max-width: 100%;
  margin: 8px 0 1.6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.glance {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  margin: 0;
  background: #f7f5ef;
  font-size: 0.95rem;
}

.glance th,
.glance td {
  border: 1px solid #e3ddd2;
  padding: 12px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}

.glance th {
  font-weight: 700;
}

.note-card {
  float: right;
  width: 230px;
  margin: 4px 0 18px 28px;
  padding: 22px 18px 18px;
  background: var(--green);
  color: white;
  border-radius: 6px;
}

.note-card strong {
  display: block;
  margin-bottom: 16px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.45rem;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.note-card a {
  display: inline-block;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 650;
}

.cons {
  margin: 1.5rem 0 0.35rem;
  font-weight: 700;
}

.dm {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.dm a.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .pro {
    display: none;
  }
  .note-card {
    float: none;
    width: auto;
    margin: 0 0 20px;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 12px;
  }

  .site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: min(100% - 24px, 1180px);
    gap: 8px 10px;
    padding-left: 13px;
  }

  .site-header__brand {
    order: 1;
    margin-right: auto;
  }

  .site-header__inner > :last-child:not(.site-header__nav) {
    order: 2;
  }

  .site-header__nav {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-right: 0;
    gap: 6px 14px;
  }

  .site-header__nav a {
    font-size: 14px;
  }

  .brand-mark {
    font-size: 21px;
  }

  .brand-mark__mascot {
    width: 32px;
    height: 32px;
  }

  .brand-mark__mascot img {
    width: 24px;
    height: 26px;
  }

  .site-header .button {
    min-height: 44px;
    padding-inline: 14px;
  }

  .article,
  .wrap {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .site-header .button span[aria-hidden='true'] {
    display: none;
  }
}
