/* Impacto website prototype — shared styles
   Tokens follow the Brand & Website Directions deck (13 Oct 2026). */

:root {
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #5B6B7F;
  --line: #E2E8E4;
  --line-strong: #CBD5D0;
  --sand: #F6F8F5;
  --white: #FFFFFF;
  --coral: #FF7A6B;
  --coral-hi: #FF8D77;
  --coral-tint: #FFF0EC;
  --green: #10B981;
  --green-deep: #08AD83;
  --forest: #087F5B;
  --mint: #ACE8BA;
  --mint-tint: #EDF8EF;
  --mute-fill: #E4EAE6;

  --wrap: 1200px;
  --gutter: 24px;
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --step-hero: clamp(2.375rem, 1.4rem + 4vw, 4.5rem);      /* 38 → 72 */
  --step-h2: clamp(2rem, 1.45rem + 2.2vw, 3rem);            /* 32 → 48 */
  --step-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);      /* 20 → 26 */
  --step-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);     /* 17 → 20 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }

h1 {
  font-size: var(--step-hero);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
h2 {
  font-size: var(--step-h2);
  line-height: 1.06;
  letter-spacing: -0.038em;
}
h3 {
  font-size: var(--step-h3);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.lead { font-size: var(--step-lead); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 16px; top: -48px;
  background: var(--ink); color: var(--white);
  padding: 10px 14px; border-radius: var(--radius-s); z-index: 100;
  text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink);
  color: #E2E8F0;
  font-size: 14px;
}
.announce .wrap {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 40px; padding-block: 8px; text-align: center; flex-wrap: wrap;
}
.announce a { color: var(--white); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.brand { flex: none; display: inline-flex; padding: 6px 0; }
.brand img { width: 140px; height: auto; }

.nav-main { display: flex; gap: 4px; margin-inline: auto; }
.nav-main a, .nav-side a.text-link {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--radius-s);
}
.nav-main a:hover, .nav-side a.text-link:hover { color: var(--ink); background: var(--sand); }
.nav-main a[aria-current="page"] { color: var(--ink); background: var(--sand); }
.nav-side { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  display: none;
  margin-left: auto;
  height: 44px; min-width: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--white); color: var(--ink);
  font: 500 15px/1 var(--font); cursor: pointer;
}

.mobile-nav { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border-radius: 8px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: 500 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: #1E293B; border-color: #1E293B; }
.btn-quiet {
  background: var(--white); color: var(--ink); border-color: var(--line-strong);
}
.btn-quiet:hover { background: var(--sand); border-color: var(--ink-3); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.arr { font-size: 0.85em; line-height: 1; transform: translateY(-1px); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}
.link:hover { border-bottom-color: var(--ink); }

/* ---------- Category descriptor ---------- */
.descriptor {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--forest);
}
.descriptor::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 9vw, 128px); }
.section-sand { background: var(--sand); }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { color: var(--ink-2); max-width: 40ch; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(64px, 8vw, 112px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  /* the 3×3 module, faint, behind the headline */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 620px;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero h1 { max-width: 11em; margin: 20px auto 24px; }
.hero .lead { margin-inline: auto; max-width: 34em; }
.hero-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}

.hero-product { margin-top: clamp(48px, 6vw, 72px); }
.product-stage {
  background: var(--mint-tint);
  border: 1px solid #DCEFE0;
  border-radius: 20px;
  padding: clamp(10px, 2vw, 24px);
  padding-bottom: 0;
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
}

.pillars {
  display: flex; justify-content: center; gap: 12px 40px; flex-wrap: wrap;
  list-style: none; padding: 28px 0 0; margin: 0;
  font-size: 15px; color: var(--ink-2);
}
.pillars li { display: inline-flex; align-items: center; gap: 10px; }
.pillars li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- App (interface concept) ---------- */
.app {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  text-align: left;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), 0 20px 50px -24px rgba(8, 127, 91, 0.25);
}
.app-bar {
  display: flex; align-items: center; gap: 16px;
  height: 52px; padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.app-bar img { width: 96px; }
.app-bar .concept { margin-inline: auto; font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em; }
.app-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--ink-2); background: var(--white); white-space: nowrap;
}
.app-body { display: grid; grid-template-columns: 184px minmax(0, 1fr); }
.app-nav {
  border-right: 1px solid var(--line);
  padding: 16px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.app-nav span {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: var(--radius-s);
  font-size: 13px; color: var(--ink-2);
}
.app-nav span.on { background: var(--mint-tint); color: var(--ink); font-weight: 600; }
.app-nav span:last-child { margin-top: auto; }
.app-nav i {
  width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: 0.7; flex: none;
}
.app-main { padding: 22px 24px 18px; min-width: 0; }
.app-title { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.app-title h4 { font-size: 19px; letter-spacing: -0.02em; }
.app-title p { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.stat-label { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.stat-value { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-top: 6px; line-height: 1.1; }
.stat-value small { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.stat-note { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.stat-attn { background: var(--coral-tint); border-color: #FFD9D1; }
.bar { height: 5px; border-radius: 3px; background: var(--mute-fill); margin-top: 12px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--green); border-radius: 3px; }

.table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13px; }
.table th {
  text-align: left; font-weight: 500; font-size: 11.5px; color: var(--ink-3);
  background: var(--sand); padding: 8px 12px;
}
.table th:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.table th:last-child { border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.table td:first-child { color: var(--ink); font-weight: 500; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ok { background: var(--mint-tint); color: var(--forest); }
.status-attn { background: var(--coral-tint); color: #B4402F; }
.status-review { background: #EEF2F7; color: #3B4A60; }

.app-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--ink-3); margin-top: 14px;
}

/* ---------- Ladder (workflow) ---------- */
.workflow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ladder { width: 100%; max-width: 460px; }
.ladder .cell-line { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ladder .piece { transition: fill .25s ease; }
.ladder[data-focus="gather"] .piece:not(.p-gather),
.ladder[data-focus="understand"] .piece:not(.p-understand),
.ladder[data-focus="report"] .piece:not(.p-report) { fill: var(--mute-fill); }
.ladder .lbl { font: 500 13px var(--font); fill: var(--ink-3); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .key {
  grid-row: span 3;
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.k-gather { background: var(--mint); }
.k-understand { background: var(--green); }
.k-report { background: var(--coral); }
.steps .name { font-size: 14px; font-weight: 500; color: var(--forest); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--ink-2); max-width: 46ch; }

/* ---------- Evidence demonstration ---------- */
.evidence {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.record-stage { position: relative; padding: 24px 0 0 24px; }
.record-stage::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 62%; height: 78%;
  background: var(--mint); border-radius: 18px 18px 0 18px;
}
.record {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}
.record-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.record-figure { margin: 8px 12px 0; padding: 14px 8px 6px; border-radius: 8px; transition: background-color .2s ease, box-shadow .2s ease; }
.record-figure .value {
  font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  color: var(--ink);
}
.record-figure .value small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 6px; }
.record-figure p { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.record-rows { list-style: none; margin: 0; padding: 8px 12px 12px; }
.record-rows li {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 8px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink);
  border-radius: 8px;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.record-rows li:first-child { border-top: 0; }
.record-rows .k { color: var(--ink-3); font-size: 13px; }
.record-rows .file {
  display: inline-flex; align-items: center; gap: 8px;
}
.record-rows .file i {
  width: 14px; height: 17px; border: 1.5px solid var(--ink-3); border-radius: 2px 6px 2px 2px; flex: none;
}
.record-rows a { font-size: 13px; font-weight: 500; color: var(--forest); text-decoration: none; white-space: nowrap; }
.record-rows li.lit,
.record-figure.lit {
  background: var(--mint-tint);
  box-shadow: inset 0 0 0 1.5px var(--green);
  border-top-color: transparent;
}
.record-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); background: var(--sand); }

.chain {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 32px 0 20px; padding: 0; list-style: none;
  border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
  background: var(--white);
}
.chain li + li { border-left: 1px solid var(--line-strong); }
.chain button {
  width: 100%; min-height: 56px; padding: 10px 12px;
  border: 0; background: transparent; cursor: pointer; text-align: left;
  font: 500 14px/1.25 var(--font); color: var(--ink-2);
  display: flex; flex-direction: column; gap: 2px;
}
.chain button span { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chain button:hover { background: var(--sand); color: var(--ink); }
.chain button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chain button[aria-pressed="true"] span { color: #CBD5E1; }
.chain-note { min-height: 3.2em; color: var(--ink-2); }

/* ---------- Audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aud {
  display: flex; flex-direction: column;
  border-radius: var(--radius-l);
  padding: clamp(28px, 3.5vw, 44px);
  min-height: 100%;
}
.aud-co { background: var(--mint-tint); border: 1px solid #D6EEDB; }
.aud-adv { background: var(--coral-tint); border: 1px solid #FFDCD4; }
.tag {
  align-self: flex-start;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.aud h3 { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.032em; margin: 24px 0 12px; max-width: 16ch; }
.aud p { color: var(--ink-2); max-width: 42ch; }
.aud .mini { margin: 32px 0; }
.aud .link { margin-top: auto; align-self: flex-start; }

.mini {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 16px; font-size: 13.5px;
}
.mini-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.mini-row:first-child { border-top: 0; }
.mini-row b { font-weight: 500; color: var(--ink); }
.mini-row .sub { display: block; font-size: 12px; color: var(--ink-3); }
.mini-cap { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* ---------- Close band ---------- */
.close-band {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  background: var(--coral);
  border-radius: var(--radius-l);
  padding: clamp(36px, 5vw, 72px);
  overflow: hidden;
}
.close-band h2 { max-width: 18em; }
.close-band p { margin-top: 16px; font-size: var(--step-lead); color: var(--ink); max-width: 44ch; }
.close-band .btn { margin-top: 32px; }
.close-band .symbol { width: clamp(120px, 16vw, 200px); }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-head .grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end;
}
.page-head h1 { margin-top: 20px; max-width: 12em; }
.page-head .lead { margin-top: 24px; }
.page-head .hero-actions { justify-content: flex-start; margin-top: 32px; }

/* ---------- Feature rows (platform) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature .step-name { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--forest); }
.feature .step-name .key { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink); font-size: 12px; font-weight: 600; }
.feature h2 { margin: 16px 0 16px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.feature p { color: var(--ink-2); max-width: 48ch; }
.feature ul.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.ticks li::before {
  content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 3px; background: var(--green);
}
.module {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 48px);
  display: grid; place-items: center;
}
.module svg { width: 100%; max-width: 300px; }
.module .grid-line { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }

/* principle cards (product behaviour) */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle {
  border-radius: var(--radius-l); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.principle .ctx { font-size: 13px; font-weight: 500; color: var(--forest); }
.principle h3 { font-size: 22px; }
.principle p { color: var(--ink-2); font-size: 15.5px; }
.principle .btn { align-self: flex-start; margin-top: 8px; }
.pr-1 { background: var(--sand); border: 1px solid var(--line); }
.pr-2 { background: var(--coral-tint); border: 1px solid #FFDCD4; }
.pr-3 { background: var(--mint-tint); border: 1px solid #D6EEDB; }

/* plain-language boundaries */
.boundaries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.boundaries div { padding: 24px 24px 0 0; }
.boundaries div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.boundaries b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.boundaries p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Audience pages ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start;
}
.split h2 { position: sticky; top: 112px; }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3);
}
.panel-head strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.panel-body { padding: 8px 20px 20px; }

.areas { display: grid; gap: 0; }
.area {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) auto; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.area:last-child { border-bottom: 0; }
.area b { font-weight: 500; }
.area .bar { margin-top: 0; }

.comment {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 14px;
}
.comment:first-child { border-top: 0; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: var(--ink);
}
.comment .who { font-weight: 600; color: var(--ink); }
.comment .who span { font-weight: 400; color: var(--ink-3); margin-left: 6px; font-size: 13px; }
.comment p { color: var(--ink-2); margin-top: 2px; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 20px 0; border-top: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 1px solid var(--line); }
.list-plain h3 { font-size: 20px; }
.list-plain p { color: var(--ink-2); margin-top: 6px; max-width: 56ch; }

/* ---------- Resources / article ---------- */
.feature-story {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; text-decoration: none;
  background: var(--white);
}
.feature-story .art { background: var(--ink); display: grid; place-items: center; padding: 48px; min-height: 320px; }
.feature-story .art img { width: min(320px, 80%); }
.feature-story .txt { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.feature-story .txt h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); }
.feature-story .txt p { color: var(--ink-2); }
.feature-story .link { align-self: flex-start; }
.feature-story:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.meta-line { font-size: 14px; color: var(--ink-3); }

.res-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.res {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: var(--radius-l); background: var(--sand); border: 1px solid var(--line);
  text-decoration: none;
}
.res h3 { font-size: 21px; }
.res p { color: var(--ink-2); font-size: 15.5px; }
.res .meta-line { margin-top: auto; padding-top: 8px; }
.res:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

.article { max-width: 720px; margin-inline: auto; }
.article h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); margin: 20px 0 24px; max-width: 16ch; }
.article .body p { font-size: 19px; line-height: 1.65; color: var(--ink-2); margin-top: 22px; }
.article .body p:first-child { color: var(--ink); font-size: 21px; }
.article-art {
  margin: 48px auto 0; max-width: 960px;
  background: var(--ink); border-radius: var(--radius-l);
  padding: clamp(40px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  color: var(--white);
}
.article-art p { font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
.article-art p span { display: block; color: #94A3B8; }
.article-art img { width: clamp(88px, 12vw, 140px); }

/* ---------- Demo page ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.next-steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: n; }
.next-steps li {
  counter-increment: n;
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-2);
}
.next-steps li::before {
  content: counter(n);
  width: 28px; height: 28px; border-radius: 8px; background: var(--sand); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink);
}
.next-steps b { display: block; color: var(--ink); font-weight: 600; }

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.25);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font-size: 15px; font-weight: 500; color: var(--ink); padding: 0; }
.field .hint { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field[data-invalid] input { border-color: #C2412D; }
.err { display: none; font-size: 14px; color: #B4402F; }
.field[data-invalid] .err { display: block; }
fieldset.field { border: 0; margin: 0 0 20px; padding: 0; }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice label {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 400;
}
.choice input { margin-top: 4px; accent-color: var(--ink); width: 16px; height: 16px; }
.choice label b { display: block; font-weight: 600; font-size: 15px; }
.choice label span { font-size: 13.5px; color: var(--ink-3); }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--sand); }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.done { display: none; }
.form-card.sent form { display: none; }
.form-card.sent .done { display: block; }
.done .tick {
  width: 44px; height: 44px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; margin-bottom: 20px;
}
.done h2 { font-size: 30px; }
.done p { color: var(--ink-2); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: clamp(80px, 9vw, 128px); }
.site-footer.flush { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid img { width: 140px; }
.foot-grid .signoff { margin-top: 20px; font-weight: 600; letter-spacing: -0.01em; }
.foot-grid h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-main a { padding: 8px 9px; }
  .site-header .wrap { gap: 20px; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .nav-main, .nav-side { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .mobile-nav[data-open] {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--white);
    padding: 8px var(--gutter) 20px;
  }
  .mobile-nav a.m {
    display: flex; align-items: center; min-height: 52px; font-size: 17px; font-weight: 500;
    text-decoration: none; border-bottom: 1px solid var(--line);
  }
  .mobile-nav .btns { display: grid; gap: 10px; margin-top: 16px; }
  .mobile-nav .btn { width: 100%; min-height: 48px; }

  .section-head, .workflow, .evidence, .page-head .grid, .feature, .split, .demo, .feature-story { grid-template-columns: minmax(0, 1fr); }
  .section-head { align-items: start; }
  .split h2 { position: static; }
  .ladder { max-width: 360px; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-nav { display: none; }
  .principles, .boundaries { grid-template-columns: minmax(0, 1fr); }
  .boundaries div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .feature .module { order: -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand img { width: 128px; }
  .hero { text-align: left; }
  .hero h1 { margin-left: 0; }
  .hero .lead { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .btn { flex: 1 1 100%; min-height: 48px; }
  .pillars { justify-content: flex-start; flex-direction: column; gap: 10px; padding-top: 24px; }
  .product-stage { border-radius: 14px; margin-inline: calc(var(--gutter) * -0.5); }
  .app-bar .concept { display: none; }
  .app-bar { justify-content: space-between; }
  .app-main { padding: 18px 16px 14px; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats .stat:last-child { display: none; }
  .table th:nth-child(2), .table td:nth-child(2), .table th:nth-child(3), .table td:nth-child(3) { display: none; }
  .table td { white-space: normal; }
  .audiences, .res-list, .choice { grid-template-columns: minmax(0, 1fr); }
  .close-band { grid-template-columns: minmax(0, 1fr); }
  .close-band .symbol { width: 96px; order: -1; }
  .close-band .btn { width: 100%; min-height: 48px; }
  .record-stage { padding: 14px 0 0 14px; }
  .record-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .record-rows .k { grid-column: 1 / -1; }
  .chain { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chain li:nth-child(odd) { border-left: 0; }
  .chain li:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .evidence .record-stage { order: 2; }
  .ladder { max-width: 260px; }
  br.d { display: none; }
  .article-art { grid-template-columns: minmax(0, 1fr); }
  .area { grid-template-columns: minmax(0, 1fr) auto; }
  .area .bar { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Client stories ---------- */
.crumb { display: inline-flex; gap: 8px; font-size: 14px; color: var(--ink-3); }
.crumb a { color: var(--ink-2); text-underline-offset: 3px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--ink-3); }
.story-meta span + span::before { content: "·"; margin-right: 14px; color: var(--line-strong); }

.proto-note {
  border: 1.5px dashed #F2A193; background: #FFF7F5; border-radius: var(--radius);
  padding: 14px 16px; font-size: 14px; color: #7A2E22; line-height: 1.5;
}
.proto-note b { display: block; font-size: 12.5px; font-weight: 600; color: #B4402F; margin-bottom: 2px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); flex-wrap: wrap; }
.tabs button {
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font: 500 14px/1 var(--font); color: var(--ink-2);
}
.tabs button:hover { background: var(--sand); color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.tabs .count { font-variant-numeric: tabular-nums; opacity: .7; margin-left: 4px; }

.story-feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--white);
  text-decoration: none; color: inherit;
}
.story-art {
  background: var(--sand); display: grid; place-items: center; padding: 40px; min-height: 300px;
  border-right: 1px solid var(--line); position: relative;
}
.story-art svg { width: 100%; max-width: 240px; }
.story-art .grid-line { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.story-art .who { position: absolute; left: 20px; bottom: 16px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.story-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.story-body h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; max-width: 22ch; }
.story-body p { color: var(--ink-2); max-width: 56ch; }
.story-facts { list-style: none; padding: 0; margin: 6px 0 0; border-top: 1px solid var(--line); }
.story-facts li {
  display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.story-facts .k { color: var(--ink-3); font-size: 13px; }
.story-feature .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
a.story-feature:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.story-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.slot {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-l); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; min-height: 240px;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(15,23,42,.025) 10px 20px),
    var(--white);
}
.slot .tag { background: var(--sand); }
.slot h3 { font-size: 19px; color: var(--ink-2); }
.slot p { font-size: 14.5px; color: var(--ink-3); }
.slot[hidden] { display: none; }

.empty {
  border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--sand);
  padding: clamp(28px, 4vw, 48px); display: grid; gap: 12px; justify-items: start;
}
.empty h3 { font-size: 22px; }
.empty p { color: var(--ink-2); max-width: 52ch; }

.standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.standards div { padding: 24px 24px 0 0; }
.standards div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.standards b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.standards p { color: var(--ink-2); font-size: 15.5px; }

/* story page */
.page-head h1.story-h1 { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem); max-width: 18em; }
.story-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.story-article h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 48px 0 14px; }
.story-article h2:first-child { margin-top: 0; }
.story-article p { color: var(--ink-2); font-size: 18px; line-height: 1.65; max-width: 64ch; }
.story-article p + p { margin-top: 16px; }
.story-article .proto-note { margin-top: 24px; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.role { border-radius: var(--radius); padding: 20px; }
.role h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px; }
.role p { font-size: 15.5px !important; }
.role-adv { background: var(--coral-tint); border: 1px solid #FFDCD4; }
.role-imp { background: var(--mint-tint); border: 1px solid #D6EEDB; }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.scope > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.scope .fig { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.scope .lbl { margin-top: 8px; color: var(--ink); font-size: 15px; }
.scope .src { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.quote-slot { margin: 40px 0 0; }
.quote-slot blockquote {
  margin: 0; padding: 24px 0 0; border-top: 2px solid var(--ink);
  font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--ink-3);
}
.quote-slot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.not-claim { margin-top: 48px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 28px; }
.not-claim h2 { margin: 0 0 12px !important; font-size: 20px !important; letter-spacing: -0.015em; }
.not-claim ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; font-size: 16px; }

.story-record { position: sticky; top: 104px; }
.story-record dl { margin: 0; padding: 4px 20px 8px; }
.story-record dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.story-record dl div:first-child { border-top: 0; }
.story-record dt { color: var(--ink-3); font-size: 13px; }
.story-record dd { margin: 0; color: var(--ink); }
.story-record .tbc { color: #B4402F; }
.sources { list-style: none; margin: 0; padding: 12px 20px 16px; border-top: 1px solid var(--line); background: var(--sand); display: grid; gap: 8px; font-size: 13.5px; }
.sources .h { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sources a { color: var(--forest); text-underline-offset: 3px; }
.sources span { color: var(--ink-3); }

@media (max-width: 960px) {
  .story-feature, .story-layout { grid-template-columns: minmax(0, 1fr); }
  .story-art { border-right: 0; border-bottom: 1px solid var(--line); min-height: 220px; }
  .story-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .standards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .standards div:nth-child(3) { padding-left: 0; border-left: 0; }
  .story-record { position: static; }
}
@media (max-width: 720px) {
  .story-cards, .standards, .roles, .scope { grid-template-columns: minmax(0, 1fr); }
  .standards div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
  .story-facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .story-record dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .story-article p { font-size: 17px; }
}
