/* ==========================================================================
   TURYA — turya.tech
   Single-page launch site. Hand-authored CSS, no framework, no build step.
   Palette and type scale are the only global knobs; everything else composes
   from them.
   ========================================================================== */

/* ---------- Font ---------------------------------------------------------- */
/* Inter, self-hosted so the page does not depend on a third party and looks
   identical offline. The stack below it is a genuine fallback, not a token. */
@font-face {
  font-family: "Inter Variable";
  src: url("./fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens -------------------------------------------------------- */
:root {
  --navy:      #0B1420;
  --navy-lift: #111E2D;
  --graphite:  #2A3642;
  --white:     #F4F6F8;
  --teal:      #4FD1C9;
  --teal-deep: #17756F;   /* teal darkened until small text on warm white clears AA (5.1:1) */

  --ink:       #101A25;
  --ink-mid:   #4A5866;
  --ink-soft:  #5C6875;   /* AA at the small sizes it is used for (5.3:1 on warm white) */
  --rule:      #DFE4E9;
  --rule-dark: rgba(244, 246, 248, 0.12);

  --on-dark:      #F4F6F8;
  --on-dark-mid:  #A7B4C1;
  --on-dark-soft: #7D8B99;

  --font: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --band: clamp(80px, 9vw, 136px);   /* vertical rhythm between sections */

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* sticky header height + breathing room, so anchors never land under it */
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.021em;
  font-weight: 600;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; }

/* ---------- Focus --------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
.site-header :focus-visible,
.why :focus-visible,
.site-footer :focus-visible { outline-color: var(--teal); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 3px;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout -------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared type --------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.product .section-kicker,
.section-head--invert .section-kicker { color: var(--teal); }

.section-head { max-width: 640px; margin-bottom: clamp(42px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-mid);
  max-width: 54ch;
}
.section-head--invert h2 { color: var(--on-dark); }

.body-text {
  font-size: clamp(16px, 1.25vw, 17.5px);
  color: var(--ink-mid);
  max-width: 62ch;
}
.body-text + .body-text { margin-top: 18px; }
.body-text--muted { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color 180ms var(--ease),
              border-color 180ms var(--ease),
              color 180ms var(--ease),
              transform 180ms var(--ease);
}
.btn--primary {
  background: var(--teal);
  color: #062023;
  border-color: var(--teal);
}
.btn--primary:hover { background: #63DDD5; border-color: #63DDD5; }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost {
  color: var(--on-dark);
  border-color: rgba(244, 246, 248, 0.26);
}
.btn--ghost:hover {
  border-color: rgba(244, 246, 248, 0.55);
  background: rgba(244, 246, 248, 0.06);
}
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
/* Solid, not translucent: the header's own flow space sits above the hero, so
   a semi-transparent navy would read against the warm-white body and come out
   grey. The only scroll state is a hairline. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule-dark); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--on-dark);
}
/* Sized by height, not width: the Fourth State symbol is a wide mark and the
   brief fixes its header height, not its footprint. */
.brand__mark { height: 36px; width: auto; }
.brand__word {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.26em;
  /* letter-spacing adds trailing space after the final A; pull it back so the
     wordmark is optically centred against the mark */
  margin-right: -0.26em;
}

/* Footer: the approved lockup whole, at a size where the wordmark reads. */
.brand-lockup {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
}
.brand-lockup img {
  width: 188px;
  height: auto;
}

/* About: the master artwork entire, including the tagline. It supplies its own
   Midnight Navy field, so it sits on the warm-white section as a brand plate
   rather than being cut out of its background. */
.brand-plate {
  margin: 0 0 clamp(28px, 3vw, 38px);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.brand-plate img { width: 100%; height: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-dark-mid);
  text-decoration: none;
  transition: color 170ms var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease);
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark);
  background: transparent;
  border: 1px solid rgba(244, 246, 248, 0.22);
  border-radius: 3px;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(84px, 11vw, 168px) clamp(72px, 9vw, 128px);
  position: relative;
}
/* one hairline, not a gradient wash */
.hero::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px;
  background: var(--rule-dark);
}

.hero__grid { display: grid; }
.hero__body { max-width: 780px; }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
}

.lede {
  margin-top: clamp(24px, 2.6vw, 34px);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.6;
  color: var(--on-dark-mid);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 3.4vw, 46px);
}

.status-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: clamp(34px, 3.6vw, 52px);
  font-size: 14.5px;
  color: var(--on-dark-soft);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
  box-shadow: 0 0 0 4px rgba(79, 209, 201, 0.14);
  margin-top: 9px;   /* sits on the first line's baseline band, not the block's centre */
}

/* ==========================================================================
   PRODUCT — Turya PDF
   ========================================================================== */
.product {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: var(--band);
}
.product h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  color: var(--on-dark);
}
.product__position {
  margin-top: 20px;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--teal);
  font-weight: 500;
}
.product .body-text { color: var(--on-dark-mid); }
.product__position + .body-text { margin-top: 26px; }

.product__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.spec-list {
  margin-top: clamp(32px, 3.4vw, 44px);
  border-top: 1px solid var(--rule-dark);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 15px;
}
.spec-list span { color: var(--on-dark-soft); }
.spec-list strong { font-weight: 500; color: var(--on-dark); }

/* The approved lockup sits on the navy directly — no panel behind the
   transparency, and sized as a mark rather than as an illustration. */
.lockup {
  width: clamp(200px, 20vw, 268px);
  margin-bottom: clamp(26px, 3vw, 38px);
}
.lockup img { width: 100%; height: auto; }

/* Screenshot ---------------------------------------------------------------
   Full width under the two-column intro: it is the most informative thing in
   this section, so it gets the whole grid rather than half of it. */
.shot { margin: clamp(48px, 5vw, 72px) 0 0; }
.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule-dark);
  border-radius: 5px;
}
.shot figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--on-dark-soft);
}

/* ==========================================================================
   CAPABILITIES
   ========================================================================== */
.capabilities {
  background: var(--white);
  padding-block: var(--band);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.cap {
  background: #FFFFFF;
  padding: clamp(28px, 3vw, 40px);
  transition: background-color 200ms var(--ease);
}
.cap:hover { background: #FBFCFD; }
.cap h3 {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 14px;
  position: relative;
}
.cap h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--teal);
}
.cap p {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--ink-mid);
}

.cap-note {
  margin-top: clamp(28px, 3vw, 38px);
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ==========================================================================
   LOCAL-FIRST
   ========================================================================== */
.local {
  background: #FFFFFF;
  border-block: 1px solid var(--rule);
  padding-block: var(--band);
}
.local__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.local h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 18ch; }
.local__body h2 + .body-text { margin-top: 26px; }

.local__points { display: grid; gap: 4px; }
.local__points li {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.local__points li:last-child { border-bottom: 1px solid var(--rule); }
.local__points h3 { font-size: 16px; font-weight: 600; }
.local__points p { margin-top: 8px; font-size: 15px; color: var(--ink-mid); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  background: var(--white);
  padding-block: var(--band);
}
.price-wrap {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.price-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--teal);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 40px);
}
.price-card__head h3 { font-size: 22px; }
.price-card__kind {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 26px;
  color: var(--ink);
}
.price-card__currency { font-size: 28px; font-weight: 500; }
.price-card__figure {
  font-size: clamp(48px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.price-card__unit {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.price-card__terms {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.price-card__list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.price-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--ink-mid);
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 9px; height: 5px;
  border-left: 1.75px solid var(--teal-deep);
  border-bottom: 1.75px solid var(--teal-deep);
  transform: rotate(-45deg);
}

.price-card__foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.price-card__state {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.price-card__fine {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* The terms sit as hairline rows rather than a second card: the card is the
   offer, this column is the small print a buyer (or a reviewer) checks. */
.price-aside > dl > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.price-aside > dl > div:first-child { border-top: none; padding-top: 4px; }
.price-aside dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 2px;
}
.price-aside dd {
  font-size: 15.5px;
  color: var(--ink-mid);
  max-width: 46ch;
}
.price-aside__note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ==========================================================================
   WHY TURYA
   ========================================================================== */
.why {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: var(--band);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.why-grid li { border-top: 1px solid var(--rule-dark); padding-top: 26px; }
.why-grid h3 { font-size: 19px; color: var(--on-dark); }
.why-grid p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--on-dark-mid);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  background: var(--white);
  padding-block: var(--band);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about h2 { font-size: clamp(30px, 3.4vw, 44px); }
.about__body h2 + .body-text { margin-top: 26px; }

.about__meta { border-top: 1px solid var(--rule); }
.about__meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.about__meta dt { font-size: 14.5px; color: var(--ink-soft); }
.about__meta dd { font-size: 14.5px; font-weight: 500; text-align: right; }

/* ==========================================================================
   MORE FROM TURYA
   ========================================================================== */
.more {
  background: var(--white);
  padding-bottom: var(--band);
}
.more__inner {
  border-top: 1px solid var(--rule);
  padding-top: clamp(36px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.more h2 { font-size: clamp(22px, 2.2vw, 28px); }
.more p {
  font-size: clamp(16px, 1.3vw, 17.5px);
  color: var(--ink-mid);
  max-width: 58ch;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(56px, 6vw, 84px) 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--rule-dark);
}
.footer__tagline {
  margin-top: 18px;
  font-size: 15px;
  color: var(--teal);
}
.footer__nav h3,
.footer__contact h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 18px;
}
.footer__nav ul { display: grid; gap: 11px; }
.footer__nav a,
.footer__contact a {
  font-size: 15px;
  color: var(--on-dark-mid);
  text-decoration: none;
  transition: color 170ms var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--teal); }
.footer__contact p { font-size: 15px; color: var(--on-dark-mid); }
.footer__contact p + p { margin-top: 11px; }

.footer__legal {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--on-dark-soft);
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(64px, 10vw, 120px);
}
.notfound__code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}
.notfound h1 {
  margin-top: 22px;
  font-size: clamp(32px, 4.6vw, 52px);
}
.notfound p {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--on-dark-mid);
  max-width: 46ch;
}
.notfound .cta-row { margin-top: 38px; }
.notfound .brand { margin-bottom: clamp(40px, 6vw, 72px); }

/* ==========================================================================
   MOTION
   ========================================================================== */
/* Nothing is hidden unless JS has confirmed it can reveal it again: the
   .js-motion class is set by boot.js before first paint, and only then does
   .reveal mean anything. Without JS the page renders fully, as written. */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.js-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- ≤1100px: three-up grids become two-up ------------------------------- */
@media (max-width: 1100px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .price-card { max-width: 480px; }
  .price-aside { max-width: 640px; }
}

/* --- ≤900px: two-column sections stack ----------------------------------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }

  .product__grid,
  .local__grid,
  .about__grid,
  .more__inner { grid-template-columns: minmax(0, 1fr); }

  /* Stacked, the art column follows the name and the description rather than
     leading with a spec table nobody has context for yet. */
  .lockup { width: 230px; margin-top: 8px; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

/* --- ≤760px: mobile navigation ------------------------------------------- */
@media (max-width: 760px) {
  .header-inner { min-height: 64px; flex-wrap: wrap; }

  .brand__mark { height: 30px; }
  .brand__word { font-size: 17px; }

  .nav-toggle { display: inline-flex; order: 2; }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 260ms var(--ease);
  }
  .site-nav > ul {
    overflow: hidden;
    display: grid;
    gap: 0;
    min-height: 0;
  }
  .site-nav.is-open { grid-template-rows: 1fr; }

  .site-nav li { border-top: 1px solid var(--rule-dark); }
  .site-nav li:first-child { margin-top: 4px; }
  .site-nav li:last-child { margin-bottom: 12px; }
  .site-nav a {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
    color: var(--on-dark);
  }
  .site-nav a::after { display: none; }
}

/* --- ≤560px: phone ------------------------------------------------------- */
@media (max-width: 560px) {
  body { font-size: 16.5px; }

  .cap-grid,
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { gap: 30px; }

  .hero h1 { letter-spacing: -0.026em; }
  .hero h1 br { display: none; }

  .cta-row { gap: 12px; }
  .cta-row .btn { width: 100%; }

  .price-card { max-width: none; }
  .lockup { width: 200px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .spec-list li,
  .about__meta > div { gap: 14px; }

  .price-aside > dl > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
