/* ============================================================
   Bokkiyaw — homepage v3
   Light warm neutral, quiet, image-led. Scoped to .home
   ============================================================ */

.home {
  --bg: #FAF8F5;
  --bg-2: #F3F0EB;
  --bg-3: #FFFFFF;
  --fg: #1C1917;
  --fg-dim: #57534E;
  --fg-mute: #A8A29E;
  --line: rgba(28, 25, 23, 0.10);
  --line-soft: rgba(28, 25, 23, 0.06);
  --mint: #C2410C;
  --mint-deep: #9A3412;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(1.15rem, 4vw, 4rem);
  --maxw: 1240px;

  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

.home ::selection { background: var(--mint); color: #fff; }

.home .wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.home figure { margin: 0; }

/* ---------- header ---------- */
.home .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  height: 68px;
  min-height: 68px;
  padding-inline: var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.home .site-header.is-solid {
  background: rgba(250, 248, 245, 0.80);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.home .brand { color: var(--fg); }
.home .brand .brand-word { color: var(--fg); }
.home .brand .mark { width: 26px; height: 26px; }
.home .brand .mark-tile { fill: rgba(194, 65, 12, 0.14); }
.home .brand .mark-stem,
.home .brand .mark-bowl { fill: var(--mint); }
.home .brand .mark-counter { fill: #1C1917; }

.home #site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); }
.home #site-nav a,
.home #site-nav summary {
  color: var(--fg-dim);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.home #site-nav a:hover,
.home #site-nav summary:hover { color: var(--fg); }
.home .product-menu-links {
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(28, 25, 23, 0.25);
}
.home .product-menu-links a { color: var(--fg-dim); }
.home .product-menu-links a:hover { color: var(--mint); background: rgba(28, 25, 23, 0.04); }
.home .menu-toggle {
  display: none;
  color: var(--fg);
  border: 1px solid var(--line);
  background: rgba(28, 25, 23, 0.04);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

/* ---------- shared bits ---------- */
.home .mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.home .rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

.home .sec-head { display: grid; gap: 1rem; }
.home .sec-index {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-mute);
}
.home .sec-index::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.home .sec-title {
  color: var(--fg);
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  max-width: 20ch;
}
.home .sec-title em { font-style: italic; color: var(--mint); }

/* ---------- hero ---------- */
.home .hero-v3 {
  position: relative;
  padding: calc(68px + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.home .hero-bg {
  position: absolute; inset: -10% -5% auto -5%;
  height: 130%;
  background:
    radial-gradient(42% 55% at 82% 18%, rgba(251, 146, 60, 0.22), rgba(251, 146, 60, 0) 70%),
    radial-gradient(36% 48% at 12% 78%, rgba(194, 65, 12, 0.10), rgba(194, 65, 12, 0) 70%),
    linear-gradient(180deg, #FDFBF9 0%, #FAF8F5 55%, #F3F0EB 100%);
  z-index: -2;
}
.home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.home .hero-topline {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.4rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-mute);
}
.home .hero-topline span:last-child { color: var(--mint); }

.home .hero-v3 h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.7rem);
  color: var(--fg);
  text-wrap: balance;
}
.home .hero-v3 h1 em {
  font-style: italic;
  color: var(--mint);
}
.home .hero-sub {
  max-width: 40ch;
  color: var(--fg-dim);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.62;
  margin: 0 0 clamp(1.5rem, 3vw, 2.2rem);
}
.home .hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.home .cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.home .cta-primary { background: var(--mint); color: #FFFFFF; }
.home .cta-primary:hover { background: #EA580C; transform: translateY(-1px); }
.home .cta-ghost { color: var(--fg); border-color: var(--line); background: rgba(28, 25, 23, 0.04); }
.home .cta-ghost:hover { border-color: rgba(194, 65, 12, 0.55); color: var(--mint); transform: translateY(-1px); }
.home .cta .arw { font-size: 0.9em; opacity: 0.7; }

/* hero visual */
.home .hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  /* family.css styles .hero-visual as a light card for the product pages —
     neutralise it here so the homepage hero stays flat on the light surface */
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-width: 0;
}
.home .device {
  position: relative;
  z-index: 1;
  width: min(100%, 392px);
  aspect-ratio: 820 / 1180;
  border-radius: 34px;
  padding: 5px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(28, 25, 23, 0.28), 0 8px 20px -12px rgba(28, 25, 23, 0.12);
}
.home .device img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 8%;
  border-radius: 28px;
  display: block;
  background: #F3F0EB;
}

.home .hero-meta {
  display: flex; flex-wrap: wrap; gap: 0 clamp(1.4rem, 3vw, 2.6rem);
  margin-top: clamp(2rem, 5vw, 3.2rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-mute);
}
.home .hero-meta b { color: var(--fg); font-weight: 600; margin-right: 0.35rem; }

/* ---------- tech line (static, replaces the old marquee ticker) ---------- */
.home .tech-line {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-mute);
}
.home .tech-line b { color: var(--mint); font-weight: 500; }

/* ---------- pipeline ---------- */
.home .pipeline {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  background: var(--bg);
  overflow: hidden;
}
.home .pipeline .wrap { position: relative; }
.home .pipeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.home .pipeline-copy p {
  color: var(--fg-dim);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  margin: 0 0 1.6rem;
  max-width: 44ch;
}
.home .kv { display: grid; gap: 0.85rem; }
.home .kv-row {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}
.home .kv-k {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mint);
}
.home .kv-v { color: var(--fg-dim); font-size: 0.92rem; line-height: 1.55; }

/* diagram */
.home .diagram {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #FFFFFF;
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  box-shadow: 0 24px 50px -24px rgba(28, 25, 23, 0.22), 0 4px 14px -8px rgba(28, 25, 23, 0.10);
}
.home .diagram svg { width: 100%; height: auto; display: block; }
.home .diagram-steps { display: none; }
.home .diagram-cap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-mute);
}
.home .diagram-cap b { color: var(--mint); font-weight: 500; white-space: nowrap; }

/* ---------- product sections ---------- */
.home .prod {
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.home .prod-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.8rem, 4.5vw, 4rem);
  align-items: center;
}
.home .prod:nth-of-type(even) .prod-inner { direction: rtl; }
.home .prod:nth-of-type(even) .prod-inner > * { direction: ltr; }

.home .prod-head { display: flex; align-items: baseline; gap: 0.85rem; margin-bottom: 1.1rem; }
.home .prod-num {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--mint); padding: 0.18rem 0.45rem; border: 1px solid rgba(194, 65, 12, 0.35);
  border-radius: 5px;
}
.home .prod-cat {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-mute);
}
.home .prod-name {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 600;
  margin: 0 0 0.7rem; color: var(--fg);
}
.home .prod-line {
  color: var(--fg-dim); font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.6; margin: 0 0 1.5rem; max-width: 40ch;
}
.home .prod-specs { display: grid; gap: 0; margin: 0 0 1.6rem; }
.home .spec-row {
  display: grid; grid-template-columns: 4.2rem 1fr; gap: 0.9rem;
  padding: 0.72rem 0; border-top: 1px solid var(--line-soft);
  align-items: start;
}
.home .spec-row:last-child { border-bottom: 1px solid var(--line-soft); }
.home .spec-k {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mint); padding-top: 0.15rem;
}
.home .spec-v { color: var(--fg-dim); font-size: 0.9rem; line-height: 1.55; }
.home .spec-v b { color: var(--fg); font-weight: 600; }
.home .prod-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: 600; color: var(--mint);
  text-decoration: none; letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(194, 65, 12, 0.35);
  padding-bottom: 2px;
}
.home .prod-link:hover { color: #9A3412; border-bottom-color: #9A3412; }

/* product media */
.home .prod-media { display: flex; justify-content: center; gap: clamp(0.6rem, 1.6vw, 1.1rem); }
.home .prod-status {
  margin-left: auto;
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mint);
  border: 1px solid rgba(194, 65, 12, 0.28);
  background: rgba(194, 65, 12, 0.08);
  border-radius: 999px; padding: 0.24rem 0.55rem;
  white-space: nowrap;
}
.home .prod-shot {
  position: relative;
  width: min(100%, 330px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #F3F0EB;
  box-shadow: 0 24px 50px -20px rgba(28, 25, 23, 0.25);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.home .prod-shot img { width: 100%; height: auto; display: block; }
.home .prod-shot:hover { transform: translateY(-6px); border-color: rgba(194, 65, 12, 0.4); box-shadow: 0 32px 60px -20px rgba(28, 25, 23, 0.30); }
.home .prod-shot.is-secondary {
  width: min(100%, 250px);
  align-self: center;
  margin-top: clamp(1.4rem, 4vw, 3rem);
  opacity: 0.92;
}


/* ---------- matrix ---------- */
.home .matrix { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.home .matrix-grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.home .matrix-copy p { color: var(--fg-dim); line-height: 1.7; font-size: 0.98rem; margin: 0; max-width: 38ch; }
.home .matrix-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.home .matrix-table th,
.home .matrix-table td {
  text-align: left; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.home .matrix-table thead th {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-mute); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.home .matrix-table tbody th {
  font-weight: 500; color: var(--fg-mute); font-size: 0.72rem;
  font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  width: 32%;
}
.home .matrix-table td { color: var(--fg-dim); }
.home .matrix-table td.us { color: var(--fg); }
.home .matrix-table td.us::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); margin-right: 0.5rem; vertical-align: middle; }

/* ---------- stats ---------- */
.home .stats-v3 { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line-soft); }
.home .stats-v3 .sec-head { margin-bottom: 2rem; }
.home .stats-v3 .sec-title { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.home .stats-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.home .stat-cell { border-left: 1px solid var(--line-soft); padding-left: clamp(0.9rem, 2vw, 1.4rem); }
.home .stat-cell:first-child { border-left: 0; padding-left: 0; }
.home .stat-cell strong {
  display: block; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1; color: var(--fg);
}
.home .stat-cell span {
  display: block; margin-top: 0.55rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-mute); line-height: 1.5;
}

/* ---------- closing ---------- */
.home .closing {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  text-align: center;
  background: #1C1917;
  color: rgba(250, 248, 245, 0.72);
}
.home .closing .mono { color: rgba(250, 248, 245, 0.5); }
.home .closing h2 {
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em;
  font-weight: 600; margin: 0.9rem 0 1.1rem; color: #FAF8F5;
}
.home .closing h2 em { font-style: italic; color: #FB923C; }
.home .closing p { color: rgba(250, 248, 245, 0.72); margin: 0 auto 2rem; max-width: 46ch; line-height: 1.65; }
.home .closing .hero-actions { justify-content: center; }
.home .closing .cta-ghost { color: #FAF8F5; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); }
.home .closing .cta-ghost:hover { border-color: rgba(251, 146, 60, 0.6); color: #FB923C; }
.home .closing-mail {
  display: inline-block; margin-top: 1.4rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(250, 248, 245, 0.5); text-decoration: none;
}
.home .closing-mail:hover { color: #FB923C; }

/* ---------- footer ---------- */
.home .site-footer { background: #1C1917; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(250, 248, 245, 0.72); }
.home .site-footer .footer-col-title { color: rgba(250, 248, 245, 0.45); }
.home .site-footer a { color: rgba(250, 248, 245, 0.72); }
.home .site-footer a:hover { color: #fff; }
.home .site-footer .footer-brand .brand-word { color: #FAF8F5; }
.home .site-footer .mark-tile { fill: #FAF8F5; }
.home .site-footer .mark-stem, .home .site-footer .mark-bowl { fill: var(--mint); }
.home .site-footer .mark-counter { fill: #1C1917; }
.home .site-footer .footer-tagline { color: rgba(250, 248, 245, 0.6); }
.home .site-footer .footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(250, 248, 245, 0.45); }

/* ---------- reveal ---------- */
.home .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home .js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .home .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .home .hero-visual { order: -1; max-width: 430px; margin-inline: auto; }
  .home .device { width: min(100%, 320px); }
  .home .pipeline-grid,
  .home .matrix-grid { grid-template-columns: 1fr; }
  .home .prod-inner { grid-template-columns: 1fr; gap: 2rem; }
  .home .prod:nth-of-type(even) .prod-inner { direction: ltr; }
  .home .prod-media { order: -1; justify-content: flex-start; }
  .home .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .home .stat-cell:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* burger nav from tablet portrait down — style.css hides the inline row at 960px,
   so the panel must switch at the same breakpoint or 761-960px has no navigation */
@media (max-width: 960px) {
  .home .menu-toggle { display: inline-block; }
  .home #site-nav {
    position: fixed; inset: 68px 0 auto;
    width: auto;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #FAF8F5;
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--pad) 1.2rem;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .home #site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .home #site-nav a, .home #site-nav summary {
    width: 100%; padding: 0.85rem 0; font-size: 0.95rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .home .product-menu-links { position: static; border: 0; box-shadow: none; background: transparent; padding-left: 0.4rem; }
}

@media (max-width: 760px) {
  .home .site-header { height: 60px; min-height: 60px; }
  .home #site-nav { inset: 60px 0 auto; max-height: calc(100dvh - 60px); }
  .home .hero-v3 { padding-top: calc(60px + 2rem); }
  .home .hero-topline { font-size: 0.58rem; letter-spacing: 0.12em; }
  .home .hero-v3 h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .home .hero-sub { font-size: 0.95rem; }
  .home .cta { padding: 0.78rem 1.1rem; font-size: 0.8rem; }
  .home .hero-meta { gap: 0.6rem 1.4rem; font-size: 0.6rem; }
  .home .hero-meta li { display: block; }
  .home .device { width: min(100%, 280px); border-radius: 26px; padding: 5px; }
  .home .device img { border-radius: 21px; }
  .home .prod { padding: 2.6rem 0; }
  .home .prod-media { gap: 0.5rem; }
  .home .prod-shot { width: 58%; border-radius: 16px; }
  .home .prod-shot.is-secondary { width: 38%; margin-top: 1.2rem; }
  .home .prod-name { font-size: 1.6rem; }
  .home .spec-row { grid-template-columns: 3.6rem 1fr; gap: 0.7rem; }
  .home .spec-v { font-size: 0.85rem; }
  .home .matrix-table { font-size: 0.82rem; }
  .home .matrix-table th, .home .matrix-table td { padding: 0.65rem 0.5rem; }
  .home .matrix-table tbody th { width: 38%; font-size: 0.6rem; }
  .home .stats-row { grid-template-columns: 1fr 1fr; }
  .home .stat-cell { padding-left: 0.9rem; }
  .home .stat-cell strong { font-size: 2rem; }
  .home .closing .hero-actions { flex-direction: column; align-items: stretch; }
  .home .closing .cta { justify-content: center; }
  .home .sec-title { max-width: 100%; }
  .home .diagram-steps { display: none; }
.home .diagram-cap { font-size: 0.55rem; }
}

@media (max-width: 420px) {
  .home .hero-actions { flex-direction: column; align-items: stretch; }
  .home .hero-actions .cta { justify-content: center; }
  .home .stats-row { grid-template-columns: 1fr; }
  .home .stat-cell { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
  .home .stat-cell:first-child { border-top: 0; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- mobile refinements (appended) ---------- */
@media (max-width: 760px) {
  .home .hero-visual { order: 0; }
  .home .hero-topline {
    flex-direction: column; align-items: flex-start;
    gap: 0.3rem; font-size: 0.56rem; letter-spacing: 0.12em;
  }
  .home .hero-topline span:last-child { color: var(--fg-mute); }

  .home .diagram svg { display: none; }
  .home .diagram-steps {
    display: grid; gap: 0; margin: 0; padding: 0; list-style: none;
    font-family: var(--mono);
  }
  .home .diagram-steps li {
    display: grid; grid-template-columns: 1.9rem 1fr auto;
    gap: 0.7rem; align-items: baseline;
    padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft);
  }
  .home .diagram-steps li:first-child { padding-top: 0; }
  .home .diagram-steps span { color: var(--mint); font-size: 0.62rem; letter-spacing: 0.1em; }
  .home .diagram-steps b { color: var(--fg); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
  .home .diagram-steps em { color: var(--fg-mute); font-style: normal; font-size: 0.6rem; letter-spacing: 0.06em; }
  .home .diagram-cap { flex-direction: column; gap: 0.4rem; }

  /* comparison table -> stacked cards */
  .home .matrix-table { font-size: 0.85rem; }
  .home .matrix-table thead { display: none; }
  .home .matrix-table,
  .home .matrix-table tbody,
  .home .matrix-table tr,
  .home .matrix-table th,
  .home .matrix-table td { display: block; width: 100%; }
  .home .matrix-table tr {
    border-bottom: 1px solid var(--line-soft);
    padding: 0.85rem 0;
  }
  .home .matrix-table tr:last-child { border-bottom: 0; }
  .home .matrix-table tbody th {
    border: 0; padding: 0 0 0.5rem;
    color: var(--fg); font-size: 0.68rem; letter-spacing: 0.12em;
  }
  .home .matrix-table td {
    border: 0; padding: 0.16rem 0;
    display: grid; grid-template-columns: 6.2rem 1fr; gap: 0.7rem; align-items: baseline;
  }
  .home .matrix-table td::before {
    content: attr(data-label);
    font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--fg-mute);
  }
  .home .matrix-table td.us { color: var(--fg); box-shadow: none; }
  /* reset the desktop glow-dot pseudo so the stacked label reads as text */
  .home .matrix-table td.us::before {
    content: attr(data-label);
    color: var(--mint);
    display: block;
    width: auto; height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    margin-right: 0;
    vertical-align: baseline;
  }
}

@media (max-width: 760px) {
  .home .prod-head { flex-wrap: wrap; row-gap: 0.5rem; }
  .home .prod-cat { white-space: nowrap; letter-spacing: 0.1em; }
  .home .prod-status { margin-left: 0; font-size: 0.54rem; letter-spacing: 0.08em; }
}
