/* ============================================================
   BILD — bild.fi
   Design language: Space Grotesk + IBM Plex Mono,
   warm light canvas, hairline borders, #053D5E petrol accent.
   ============================================================ */

:root {
  --accent: #053D5E;
  --accent-ink: #ffffff;
  --canvas: #FBFBFA;
  --paper: #ECECE8;
  --fill: #E4E4DF;
  --fill-2: #EFEFEB;
  --ink: #121212;
  --ink-2: #5C5C58;
  --ink-3: #8E8E88;
  --line: #CFCFC9;
  --line-strong: #1d1d1d;
  --dark: #07131D;
  --dark-2: #0D2233;
  --dark-line: #1D3D52;
  --dark-ink: #F0F4F7;
  --dark-ink-2: #A7BCCB;
  --good: #1F8A4D;
  --bad: #C53A2A;
  --warn: #D97B16;
  --bar: 1240px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 480px at 78% -120px, rgba(5, 61, 94, .10), transparent 65%),
    radial-gradient(700px 320px at 12% -80px, rgba(5, 61, 94, .06), transparent 60%),
    var(--canvas);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- layout ---------- */

.bar {
  max-width: var(--bar);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  max-width: var(--bar);
  margin: 0 auto;
  width: calc(100% - 56px);
}

/* ---------- type ---------- */

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot { color: var(--accent); }

.h-hero {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 22px;
}

.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 22px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-top: 16px;
}
.section-head .intro {
  font-size: 18px;
  color: var(--ink-2);
  margin-top: 14px;
  max-width: 640px;
}
.section-head { max-width: 820px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .intro { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn .arr { font-family: "IBM Plex Mono", monospace; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.accent:hover {
  background: #0B5078;
  border-color: #0B5078;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(5, 61, 94, .5);
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--fill-2); }
.btn.inverse { background: #fff; color: var(--accent); border-color: #fff; }
.btn.outline-dark { background: transparent; color: #fff; border-color: #2C4D63; }
.btn.outline-dark:hover { border-color: #4E7A96; }

.gate-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-2);
  border: 1px dashed var(--ink-3);
  border-radius: 999px;
  padding: 7px 14px;
  background: transparent;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.gate-pill:hover { border-color: var(--accent); color: var(--accent); }
.gate-pill .lk::before { content: "◆"; font-size: 9px; color: var(--accent); }
.gate-pill .arr { margin-left: 4px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 250, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  flex: none;
}
.logo svg { flex: none; }
.logo .mark {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: var(--radius);
  flex: none;
}
.logo .wordmark { height: 17px; width: auto; color: var(--ink); }
.footer-logo .mark { width: 20px; height: 20px; }
.footer-logo .wordmark { height: 15px; color: #F0F4F7; }

.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a {
  font-size: 14.5px;
  padding: 8px 12px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions .signin { font-size: 14.5px; color: var(--ink-2); }
.header-actions .signin:hover { color: var(--ink); }
.header-actions .btn { padding: 10px 16px; font-size: 14px; }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-2);
  padding: 7px 26px 7px 10px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%235C5C58'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}
.lang-select:hover { color: var(--ink); border-color: var(--ink-3); }
.lang-select:focus { outline: none; border-color: var(--accent); }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  padding: 7px 9px;
  color: var(--ink-2);
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button.on { background: var(--accent); color: #fff; }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- hero & sections ---------- */

.hero { padding-top: 84px; padding-bottom: 36px; }
.hero .max { max-width: 720px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

.section { padding-top: 56px; padding-bottom: 56px; }

/* hero split + living record stage */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hs-capture { width: 250px; padding: 14px 16px; }
.hs-cap-head { display: flex; justify-content: space-between; align-items: center; }
.hs-rec {
  font-size: 10.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hs-rec::before {
  content: "";
  width: 7px; height: 7px; border-radius: 7px;
  background: #e4402b;
  animation: blink 1.4s ease infinite;
}
.hs-wave { height: 34px; margin: 12px 0 2px; }
.hs-wave span { animation: wavePulse 1.1s ease-in-out infinite alternate; transform-origin: center; }
.hs-wave span:nth-child(odd) { animation-delay: .25s; }
.hs-wave span:nth-child(3n) { animation-delay: .5s; }
@keyframes wavePulse { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.hs-flow { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
.hs-flow span { width: 3px; height: 6px; border-radius: 3px; background: var(--accent); opacity: .25; }
.hs-flow span:nth-child(1) { animation: flowDot 1.8s linear infinite; }
.hs-flow span:nth-child(2) { animation: flowDot 1.8s linear infinite .6s; }
.hs-flow span:nth-child(3) { animation: flowDot 1.8s linear infinite 1.2s; }
@keyframes flowDot { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }

.hs-record { width: 300px; padding: 16px 18px; box-shadow: 0 24px 60px -36px rgba(5, 61, 94, .45); }
.hs-entry { position: relative; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.hs-entry.on { opacity: 1; transform: none; }
.hs-entry .hs-tick { margin-left: auto; font-size: 11px; color: var(--accent); opacity: 0; transition: opacity .3s ease .25s; }
.hs-entry.on .hs-tick { opacity: 1; }
.hs-pill { margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.hs-pill.on { opacity: 1; transform: none; }
.hs-pill .t { color: var(--accent); }

/* editorial statement band */
.statement {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.025em;
  max-width: 980px;
  text-wrap: balance;
}

/* three audiences */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.aud-card {
  --aud-c: var(--accent);
  --aud-tint: #E3EDF4;
  background: var(--canvas);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  cursor: pointer;
  border-top: 2px solid var(--aud-c);
  transition: background .15s ease;
}
.aud-card.c-blue   { --aud-c: #053D5E; --aud-tint: #E3EDF4; }
.aud-card.c-green  { --aud-c: #0C8A4F; --aud-tint: #E4F3EB; }
.aud-card.c-orange { --aud-c: #E4502B; --aud-tint: #FCEBE5; }
.aud-card:hover { background: var(--aud-tint); }
.aud-grid.reveal .aud-card { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease, background .15s ease; }
.aud-grid.reveal .aud-card:nth-child(2) { transition-delay: .12s, .12s, 0s; }
.aud-grid.reveal .aud-card:nth-child(3) { transition-delay: .24s, .24s, 0s; }
.aud-grid.reveal.in .aud-card { opacity: 1; transform: none; }
.aud-card .aud-top { display: flex; align-items: center; justify-content: space-between; }
.aud-ico {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aud-c);
  background: var(--aud-tint);
  border: 1px solid color-mix(in srgb, var(--aud-c) 25%, transparent);
  border-radius: 3px;
  transition: background .15s ease, color .15s ease;
}
.aud-ico svg { width: 24px; height: 24px; }
.aud-card:hover .aud-ico { background: var(--aud-c); color: #fff; }
.aud-no { font-size: 11px; letter-spacing: .16em; color: var(--aud-c); }
.aud-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin-top: 24px; }
.aud-card p { font-size: 16px; color: var(--ink-2); line-height: 1.5; margin-top: 10px; flex: 1; }
.aud-link { display: flex; align-items: center; gap: 8px; margin-top: 26px; }
.aud-link .mono { font-size: 12.5px; color: var(--ink); font-weight: 500; }
.aud-arr { color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
.aud-card:hover .aud-arr { transform: translateX(4px); color: var(--aud-c); }

/* trust strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.trust-strip .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.trust-strip .label { margin-right: 8px; }
.trust-strip .item {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--canvas);
}

/* ---------- engine stepper ---------- */

.stepper { border: 1px solid var(--line); background: var(--canvas); }
.stepper-rail { display: grid; grid-template-columns: repeat(3, 1fr); }
.stepper-rail button {
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 18px 22px;
  border-bottom: 2px solid var(--line);
}
.stepper-rail button + button { border-left: 1px solid var(--line); }
.stepper-rail .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ink-3);
}
.stepper-rail .name { font-size: 15px; font-weight: 500; margin-top: 6px; color: var(--ink-2); }
.stepper-rail button.on { background: #E9F1F6; border-bottom-color: var(--accent); }
.stepper-rail button.on .tag { color: var(--accent); }
.stepper-rail button.on .name { color: var(--ink); font-weight: 600; }

.stepper-progress { height: 3px; background: var(--fill); }
.stepper-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.stepper.running .stepper-progress span { animation: engineFill 4.5s linear forwards; }
@keyframes engineFill { from { width: 0; } to { width: 100%; } }

.stepper-panel { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 290px; }
.stepper-copy {
  padding: 34px 38px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stepper-copy .tag { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.stepper-copy h3 { font-size: 27px; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; margin-top: 14px; }
.stepper-copy p { font-size: 16.5px; color: var(--ink-2); line-height: 1.55; margin-top: 14px; }
.stepper-dots { display: flex; gap: 7px; margin-top: 26px; }
.stepper-dots button {
  border: none;
  cursor: pointer;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--line);
  padding: 0;
  transition: width .3s;
}
.stepper-dots button.on { width: 26px; background: var(--accent); }

.stepper-visual {
  padding: 28px;
  background: linear-gradient(160deg, #E9F1F6, #F4F7F9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper-step { display: none; }
.stepper-step.on { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* engine visuals */
.device-card {
  width: 250px;
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.device-card .dc-label { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: var(--ink-3); letter-spacing: .1em; }
.device-card .dc-label.accent { color: var(--accent); }
.waveform { display: flex; align-items: center; gap: 4px; height: 38px; margin: 12px 0; }
.waveform span { flex: 1; background: var(--accent); opacity: .85; border-radius: 1px; }
.dc-quote { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink-2); line-height: 1.5; }
.dc-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 12px; }
.dc-photos span {
  height: 44px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, var(--fill) 0%, var(--paper) 60%, var(--fill-2) 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--ink-3);
}
.dc-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dc-row:last-of-type { border-bottom: none; }
.dc-row .k { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--ink-3); }
.dc-row .v { font-size: 13px; font-weight: 500; }
.blur-gate { filter: blur(5px); user-select: none; pointer-events: none; }
.dc-foot { font-family: "IBM Plex Mono", monospace; font-size: 10px; color: var(--ink-3); margin-top: 10px; text-align: center; }
.dc-entry { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.dc-entry + .dc-entry { border-top: 1px solid var(--line); }
.dc-entry .pin { width: 7px; height: 7px; border-radius: 7px; background: var(--accent); flex: none; }
.dc-entry .d { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink-3); white-space: nowrap; flex: none; }
.dc-entry .l { flex: 1; min-width: 0; }
.dc-entry .l { font-size: 12.5px; }
.dc-stack { width: 250px; display: flex; flex-direction: column; gap: 12px; }
.dc-pill {
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dc-pill .pin { width: 8px; height: 8px; border-radius: 8px; background: var(--accent); }
.dc-pill .t { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink-2); }

/* ---------- dark CTA bands ---------- */

.band-dark {
  background:
    radial-gradient(900px 420px at 85% 110%, rgba(38, 118, 167, .30), transparent 60%),
    radial-gradient(600px 300px at 8% -40%, rgba(38, 118, 167, .18), transparent 60%),
    var(--dark);
  color: var(--dark-ink);
}
.band-dark .bar { padding-top: 54px; padding-bottom: 54px; }
.band-dark p { color: var(--dark-ink-2); }

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
}
.cta-split .cell {
  background: var(--dark-2);
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
}
.cta-split .tag /* unused */ {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: #6FAACD;
}
.cta-split h3 { font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; margin-top: 16px; color: var(--dark-ink); }
.cta-split p { font-size: 16.5px; line-height: 1.55; margin: 14px 0 28px; flex: 1; }
.cta-split .btn { align-self: flex-start; }

/* closing record-first CTA */
.cta-close { max-width: 640px; }
.cta-close .tag { font-size: 11.5px; letter-spacing: .16em; color: #6FAACD; }
.cta-close h2 {
  font-size: clamp(30px, 4.5vw, 42px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-top: 16px;
  color: var(--dark-ink);
}
.cta-close .sub { font-size: 18.5px; line-height: 1.55; margin-top: 16px; max-width: 560px; }
.cta-search { display: flex; gap: 10px; margin-top: 30px; max-width: 560px; flex-wrap: wrap; }
.cta-addr {
  flex: 1;
  min-width: 240px;
  background: var(--dark);
  border: 1px solid #2C4D63;
  color: #E7EEF2;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.cta-addr::placeholder { color: #7B95A6; }
.cta-addr:focus { border-color: var(--accent); }
.cta-footlinks { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; align-items: flex-start; }
.cta-foot { font-size: 12.5px; letter-spacing: .02em; color: #8CA4B4; transition: color .15s ease; }
.cta-foot:hover { color: #E7EEF2; }
.cta-foot .arr { color: #698292; }
.cta-foot:hover .arr { color: #6FAACD; }

.band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.band-row h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.band-row .sub { font-size: 17px; margin-top: 10px; }
.band-row .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.band-accent { background: var(--accent); color: #fff; }
.band-accent .bar { padding-top: 54px; padding-bottom: 54px; }
.band-accent p { color: rgba(255,255,255,.9); }

.band-center { text-align: center; }
.band-center .sub { max-width: 540px; margin: 12px auto 26px; }

/* ---------- grids & cards ---------- */

.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.grid-2.rev { grid-template-columns: .95fr 1.05fr; }
.grid-2.g2-story { grid-template-columns: .9fr 1.1fr; align-items: start; }
.grid-2.g2-form { grid-template-columns: 1fr .85fr; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cell-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.cell-row.three { grid-template-columns: repeat(3, 1fr); }
.cell-row .cell { padding: 24px 22px; }
.cell-row .cell + .cell { border-left: 1px solid var(--line); }
.cell-row .cell.hl { background: var(--fill-2); }
.cell-row .t { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.cell-row h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.cell-row.three h3 { font-size: 22px; letter-spacing: -.01em; margin: 12px 0 8px; }
.cell-row p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.cell-row.three p { font-size: 15px; }

.feature-card {
  border: 1px solid var(--line);
  background: var(--canvas);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.feature-card .no { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-3); }
.feature-card h3 { font-size: 21px; font-weight: 600; margin: 12px 0 10px; letter-spacing: -.01em; }
.feature-card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-bottom: 18px; flex: 1; }

.beat { border-top: 2px solid var(--ink); padding-top: 18px; }
.beat h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.beat p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv .k { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-2); letter-spacing: .03em; }
.kv .v { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink); font-weight: 500; text-align: right; }

/* ---------- feature visuals (replace wireframe placeholders) ---------- */

.fviz {
  border: 1px solid var(--line);
  background: var(--fill-2);
  border-radius: 4px;
  min-height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.fviz .doc-line { height: 7px; border-radius: 2px; background: var(--fill); }
.fviz .doc-line.w60 { width: 60%; }
.fviz .doc-line.w80 { width: 80%; }
.fviz .doc-line.accent { background: var(--accent); opacity: .75; width: 40%; }
.fviz .badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.fviz .vbadge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fviz .vbadge b { color: var(--accent); font-weight: 600; }

/* hero capture mock (contractors) */
.phone-mock {
  width: min(320px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--canvas);
  box-shadow: 0 18px 50px -30px rgba(18, 18, 18, .35);
  overflow: hidden;
}
.phone-mock .pm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--fill-2);
}
.phone-mock .pm-head .t { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .1em; color: var(--ink-3); }
.phone-mock .pm-head .rec {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.phone-mock .pm-head .rec::before {
  content: "";
  width: 7px; height: 7px; border-radius: 7px;
  background: #e4402b;
  animation: blink 1.4s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.phone-mock .pm-body { padding: 18px; }

/* ---------- record mock (homeowners) ---------- */

.record { border: 1px solid var(--line); background: var(--canvas); }
.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--fill-2);
  flex-wrap: wrap;
  gap: 16px;
}
.record-head .id { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--ink-3); letter-spacing: .1em; }
.record-head .addr { font-size: 22px; font-weight: 600; margin-top: 6px; }
.record-head .meta { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.vbadge-lg {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 10px;
  background: var(--canvas);
}

.record-body { display: grid; grid-template-columns: 1.4fr 1fr; }
.record-timeline { padding: 26px 28px; border-right: 1px solid var(--line); }
.record-side { padding: 26px; }
.side-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.entry { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.entry:last-child { border-bottom: none; }
.entry .date { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-2); }
.entry .tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.entry .sys {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: var(--radius);
}
.entry .ver { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: var(--accent); }
.entry .pend { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: var(--ink-3); }
.entry .desc { font-size: 15px; margin-top: 7px; }
.entry .who { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }

.bars { display: flex; flex-direction: column; gap: 14px; }
.bars .row { display: grid; grid-template-columns: 120px 1fr 46px; align-items: center; gap: 14px; }
.bars .name { font-size: 14px; color: var(--ink-2); }
.bars .track { height: 10px; background: var(--fill); border-radius: 1px; overflow: hidden; }
.bars .fill { height: 100%; width: 0; background: var(--ink); opacity: .78; transition: width 1s cubic-bezier(.25,.7,.3,1); }
.bars .row.flag .fill { background: var(--accent); opacity: 1; }
.bars .val { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; text-align: right; color: var(--ink); font-weight: 600; }
.bars .row.flag .val { color: var(--accent); }

.side-kvs { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.callout {
  max-width: 760px;
  margin: 32px auto 0;
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(180deg, rgba(5, 61, 94, .05), transparent);
  padding: 30px 34px;
  text-align: center;
}
.callout .k {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
}
.callout p { font-size: 19px; line-height: 1.5; margin: 14px auto 0; max-width: 560px; }
.callout .gate-pill { margin-top: 24px; }

/* ---------- pricing ---------- */

.price-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.price-list .tick { color: var(--accent); font-family: "IBM Plex Mono", monospace; }

.price-card { border: 1.5px solid var(--ink); border-top: 4px solid var(--accent); background: var(--canvas); padding: 34px; box-shadow: 0 18px 40px -30px rgba(5, 61, 94, .4); }
.price-card .plan {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.price-card .amount { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.price-card .amount .num { font-size: 62px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price-card .amount .per { font-family: "IBM Plex Mono", monospace; font-size: 15px; color: var(--ink-2); }
.price-card .terms { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 24px; }
.price-card .fine { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 14px; }

/* ---------- forms ---------- */

.form-card { border: 1px solid var(--line); background: var(--canvas); padding: 34px; }
.form-card form { display: flex; flex-direction: column; gap: 20px; }
.form-card label { display: flex; flex-direction: column; gap: 8px; }
.form-card .flabel {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field {
  border: 1px solid var(--line);
  background: var(--canvas);
  padding: 12px 14px;
  font-size: 15.5px;
  color: var(--ink);
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  font-family: inherit;
}
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(5, 61, 94, .14); }
textarea.field { resize: vertical; min-height: 120px; }
.form-card .btn { align-self: flex-start; }

.form-sent { padding: 28px 4px; text-align: center; }
.form-sent .k { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.form-sent h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 8px; }
.form-sent p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; max-width: 360px; margin: 0 auto 24px; }

/* ---------- about visual ---------- */

.about-viz {
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--fill) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--fill) 39px 40px),
    var(--fill-2);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-viz .mark { width: 56px; height: 56px; background: var(--accent); border-radius: 4px; }
.about-viz .coords {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
}

/* ---------- footer ---------- */

.site-footer { background: var(--accent); color: #EAF2F7; }
.site-footer .bar { padding-top: 56px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid .tagline { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #A8C4D6; margin-top: 16px; line-height: 1.7; letter-spacing: .02em; }
.footer-grid .byline { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #8AAEC4; margin-top: 22px; }
.footer-grid .col-h {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93B7CC;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-grid ul a { font-size: 13.5px; color: #D3E3EE; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.footer-bottom span { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: #8AAEC4; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-stage, .hs-wave span, .hs-flow span, .hs-rec::before { animation: none; }
  .hs-entry, .hs-pill { opacity: 1; transform: none; }
  .aud-grid.reveal .aud-card { opacity: 1; transform: none; transition: background .15s ease; }
  .stepper.running .stepper-progress span { animation: none; width: 100%; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .route { display: none; }
  .route-cells { margin-top: 28px; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { display: none; }
  /* vision: keep the gauge as a visual break on mobile */
  .hero-stage:has(.gauge-card) { display: flex; }
  .hero-stage:has(.gauge-card) .gauge-card { animation: none; }
  .site-nav { display: none; }
  .header-actions .btn { display: none; }
  .header-actions .signin { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 20px;
    gap: 2px;
  }
  .site-header.open .site-nav a { padding: 12px 0; font-size: 17px; border-bottom: none; }
  .site-header.open .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-header.open .nav-drop-btn { padding: 12px 0; font-size: 17px; border-bottom: none; width: 100%; text-align: left; }
  .site-header.open .nav-drop-menu { display: block; position: static; border: none; box-shadow: none; padding: 0 0 4px 16px; }
  .site-header.open .nav-drop-menu a { padding: 10px 0; font-size: 16px; }

  .grid-2, .grid-2.rev, .grid-2.g2-story, .grid-2.g2-form { grid-template-columns: 1fr; gap: 36px; }
  .record-body { grid-template-columns: 1fr; }
  .record-timeline { border-right: none; border-bottom: 1px solid var(--line); }
  .stepper-panel { grid-template-columns: 1fr; }
  .stepper-copy { border-right: none; border-bottom: 1px solid var(--line); padding: 28px; }
  .cell-row { grid-template-columns: 1fr 1fr; }
  .cell-row.six { grid-template-columns: repeat(3, 1fr); }
  .cell-row .cell { border-top: 1px solid var(--line); }
  .cell-row .cell:nth-child(-n+2) { border-top: none; }
  .cell-row .cell:nth-child(odd) { border-left: none; }
}

@media (max-width: 700px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px 18px;
  }
  .aud-top { display: contents; }
  .aud-ico { grid-column: 1; grid-row: 1 / span 2; width: 38px; height: 38px; }
  .aud-ico svg { width: 20px; height: 20px; }
  .aud-no { display: none; }
  .aud-card h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 18px; }
  .aud-card p { grid-column: 2; grid-row: 2; margin: 3px 0 0; font-size: 14px; }
  .aud-card .aud-link { grid-column: 2; grid-row: 3; margin-top: 8px; }
}

@media (max-width: 560px) {
  .site-header .bar { gap: 14px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .grid-3 { gap: 12px; }
  .beat {
    border: 1px solid var(--line);
    border-top: 2px solid var(--ink);
    background: var(--canvas);
    padding: 14px 16px;
  }
  .beat h3 { font-size: 17px; margin-bottom: 6px; }
  .beat p { font-size: 14px; }
  .section-head .intro { font-size: 16px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .cell-row, .cell-row.three { grid-template-columns: 1fr; }
  .cell-row .cell { border-left: none !important; border-top: 1px solid var(--line); }
  .cell-row .cell:first-child { border-top: none; }
  .stepper-rail { grid-template-columns: 1fr; }
  .stepper-rail button + button { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .entry { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .entry .desc { font-size: 14px; margin-top: 4px; }
  .entry .who { font-size: 10.5px; }
  /* keep the record card scannable on phones: first three entries only */
  .record-timeline .entry:nth-child(n+5) { display: none; }
  .record-head { padding: 16px 20px; }
  .record-head .addr { font-size: 18px; }
  .record-head .meta { font-size: 11px; }
  .bars { gap: 10px; }
  .bars .row { grid-template-columns: 96px 1fr 34px; gap: 10px; }
  .bars .name { font-size: 13px; }
  .side-kvs { margin-top: 16px; padding-top: 12px; }
  .form-card, .price-card { padding: 24px 20px; }
  .record-timeline, .record-side { padding: 18px 20px; }
}

/* ============================================================
   page life — per-page animated artifacts & staggered reveals
   ============================================================ */

/* --- vision: redacted score gauge --- */
.gauge-card {
  width: 300px;
  padding: 26px 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 60px -36px rgba(5, 61, 94, .45);
  animation: heroFloat 7s ease-in-out infinite;
}
.gauge { width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: var(--fill); stroke-width: 14; stroke-linecap: round; }
.g-arc {
  fill: none;
  stroke: url(#gscale);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  animation: gaugeSweep 6s ease-in-out infinite alternate;
}
@keyframes gaugeSweep {
  0% { stroke-dashoffset: 250; }
  100% { stroke-dashoffset: 80; }
}
.g-needle {
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  transform-origin: 130px 140px;
  animation: needleSweep 6s ease-in-out infinite alternate;
}
@keyframes needleSweep {
  0% { transform: rotate(-52deg); }
  100% { transform: rotate(44deg); }
}
.g-hub { fill: var(--ink); }
.g-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: -52px;
  position: relative;
}
.g-foot { font-size: 9px; letter-spacing: .5em; color: var(--ink-3); margin-top: 30px; }

/* --- about: radar ping on the Helsinki grid --- */
.about-viz .mark { position: relative; z-index: 1; }
.about-viz .mark::before,
.about-viz .mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--accent);
  animation: ping 3.2s cubic-bezier(.2, .6, .4, 1) infinite;
  z-index: -1;
}
.about-viz .mark::after { animation-delay: 1.6s; }
@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* --- contractors: living phone mock --- */
.phone-mock { animation: heroFloat 7s ease-in-out infinite; }
.phone-mock .waveform span,
.fviz .waveform span {
  animation: wavePulse 1.1s ease-in-out infinite alternate;
  transform-origin: center;
}
.phone-mock .waveform span:nth-child(odd),
.fviz .waveform span:nth-child(odd) { animation-delay: .25s; }
.phone-mock .waveform span:nth-child(3n),
.fviz .waveform span:nth-child(3n) { animation-delay: .5s; }
.phone-mock .dc-pill { animation: pillGlow 3s ease-in-out infinite; }
@keyframes pillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 61, 94, 0); border-color: var(--line); }
  50% { box-shadow: 0 0 0 4px rgba(5, 61, 94, .12); border-color: rgba(5, 61, 94, .45); }
}

/* report doc-lines shimmer (auto report generation card) */
.fviz .doc-line {
  background: linear-gradient(90deg, var(--fill) 0%, var(--fill) 35%, #DAE6EE 50%, var(--fill) 65%, var(--fill) 100%);
  background-size: 220% 100%;
  animation: shimmer 2.6s linear infinite;
}
.fviz .doc-line.accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 35%, #3E7193 50%, var(--accent) 65%, var(--accent) 100%);
  background-size: 220% 100%;
  opacity: .75;
  animation: shimmer 2.6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -100% 0; }
}

/* --- homeowners: record assembles itself --- */
.record.reveal .record-timeline .entry { opacity: 0; transform: translateY(10px); }
.record.reveal.in .record-timeline .entry {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
.record.reveal.in .record-timeline .entry:nth-child(2) { transition-delay: .1s; }
.record.reveal.in .record-timeline .entry:nth-child(3) { transition-delay: .2s; }
.record.reveal.in .record-timeline .entry:nth-child(4) { transition-delay: .3s; }
.record.reveal.in .record-timeline .entry:nth-child(5) { transition-delay: .4s; }
.record.reveal.in .record-timeline .entry:nth-child(6) { transition-delay: .5s; }
.vbadge-lg { animation: pillGlow 3.4s ease-in-out infinite; }

/* --- generic sibling stagger for revealed grids & cell rows --- */
.grid-3 > .reveal:nth-child(2), .cta-split > .reveal:nth-child(2) { transition-delay: .12s; }
.grid-3 > .reveal:nth-child(3) { transition-delay: .24s; }
.cell-row.reveal .cell { opacity: 0; transform: translateY(12px); }
.cell-row.reveal.in .cell {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}
.cell-row.reveal.in .cell:nth-child(2) { transition-delay: .1s; }
.cell-row.reveal.in .cell:nth-child(3) { transition-delay: .2s; }
.cell-row.reveal.in .cell:nth-child(4) { transition-delay: .3s; }

/* --- dark band glow drifts slowly --- */
.band-dark {
  background-size: 200% 200%, 200% 200%, auto;
  animation: glowDrift 14s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0% { background-position: 100% 100%, 0% 0%, 0 0; }
  100% { background-position: 80% 70%, 20% 30%, 0 0; }
}

/* --- reduced motion: freeze the life, keep the content --- */
@media (prefers-reduced-motion: reduce) {
  .gauge-card, .phone-mock, .band-dark { animation: none; }
  .g-arc { animation: none; stroke-dashoffset: 160; }
  .g-needle { animation: none; transform: rotate(-4deg); }
  .about-viz .mark::before, .about-viz .mark::after { animation: none; opacity: 0; }
  .phone-mock .waveform span, .fviz .waveform span { animation: none; }
  .phone-mock .dc-pill, .vbadge-lg { animation: none; }
  .fviz .doc-line, .fviz .doc-line.accent { animation: none; }
  .record.reveal .record-timeline .entry,
  .cell-row.reveal .cell { opacity: 1; transform: none; }
  .grid-3 > .reveal, .cta-split > .reveal { transition-delay: 0s; }
}

/* ============================================================
   surface banding — break up the white
   ============================================================ */

.band-tint {
  background: linear-gradient(180deg, #EEF4F8, #E7EFF4);
  border-top: 1px solid #DAE6ED;
  border-bottom: 1px solid #DAE6ED;
}
.band-tint .aud-card,
.band-tint .feature-card,
.band-tint .form-card { background: var(--canvas); }
.band-tint .cell-row { background: var(--canvas); }
.band-tint .cell.hl { background: #E0EBF2; }
.band-tint .callout { background: var(--canvas); }
.band-tint .fviz { background: #E6EFF4; }

/* the statement becomes a full accent moment */
.statement-band {
  background:
    radial-gradient(800px 360px at 85% 120%, rgba(255, 255, 255, .14), transparent 60%),
    var(--accent);
}
.statement-band .bar { padding-top: 44px; padding-bottom: 48px; }
.statement { color: #fff; }
.statement .acc { color: #8FC4E8; }

/* ---------- nav dropdown (About us) ---------- */
.nav-drop { position: relative; }
.nav-drop-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14.5px;
  padding: 8px 12px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
}
.nav-drop-btn:hover { color: var(--ink); }
.nav-drop-btn.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.drop-caret { font-size: 9px; color: var(--ink-3); transition: transform .15s ease; }
.nav-drop:hover .drop-caret, .nav-drop.open .drop-caret { transform: translateY(1px); color: var(--accent); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 180px;
  background: var(--canvas);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -22px rgba(18, 18, 18, .35);
  padding: 6px;
  display: none;
  z-index: 60;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: var(--radius);
}
.nav-drop-menu a:hover { background: var(--fill-2); color: var(--ink); }
.nav-drop-menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* ============================================================
   semantic red/green moments — subtle, sitewide
   ============================================================ */

/* homepage hero: verification reads green */
.hs-entry .hs-tick { color: var(--good); }
.hs-pill .pin { background: var(--good); }
.dc-pill .pin { background: var(--good); }

/* homeowners: verified green, pending amber, scores good/bad */
.entry .ver { color: var(--good); }
.entry .pend { color: var(--warn); }
.bars .row.good .fill { background: var(--good); opacity: .85; }
.bars .row.good .val { color: var(--good); }
.bars .row.fine .fill { background: #3A9A52; opacity: .85; }
.bars .row.fine .val { color: #3A9A52; }
.bars .row.mid .fill { background: #E08A24; opacity: .9; }
.bars .row.mid .val { color: #D97B16; }
.bars .row.bad .fill { background: var(--bad); opacity: .85; }
.bars .row.bad .val { color: var(--bad); }
.vbadge-lg { color: var(--good); }

/* contractors: verified history badges + "get verified" beat */
.fviz .vbadge b { color: var(--good); }
.cell-row .t.good { color: var(--good); }
.price-list .tick { color: var(--good); }

/* vision: the "Now" column is live */
.cell-row.three .cell:first-child .t { color: var(--good); }

/* about: Helsinki beacon pings green (live) */
.about-viz .mark::before,
.about-viz .mark::after { border-color: var(--good); }

/* contact: success green, invalid red */
.form-sent .k { color: var(--good); }
.field:user-invalid { border-color: var(--bad); }

/* ---------- contractors: van route through the day ---------- */
.route { margin-top: 34px; padding: 0 2px; }
.route-track {
  position: relative;
  height: 34px;
  border-bottom: 2px dotted var(--line);
}
.route-stop {
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: var(--canvas);
  border: 2px solid var(--line);
  transform: translateX(-50%);
  transition: border-color .4s ease, background .4s ease;
}
.route-stop:nth-child(1) { left: 8.333%; }
.route-stop:nth-child(2) { left: 25%; }
.route-stop:nth-child(3) { left: 41.667%; }
.route-stop:nth-child(4) { left: 58.333%; }
.route-stop:nth-child(5) { left: 75%; }
.route-stop:nth-child(6) { left: 91.667%; }
.route-stop.done { border-color: var(--accent); background: var(--accent); }
.route-stop:nth-child(3).done,
.route-stop:nth-child(4).done,
.route-stop:nth-child(5).done { border-color: var(--warn); background: var(--warn); }
.route-stop:nth-child(6).done { border-color: var(--good); background: var(--good); }
.route-van {
  position: absolute;
  bottom: 2px;
  left: 12.5%;
  width: 38px;
  color: var(--accent);
  transform: translateX(-50%);
  transition: left 1.1s cubic-bezier(.45, 0, .25, 1);
}
.route[data-step="0"] .route-van { left: 8.333%; }
.route[data-step="1"] .route-van { left: 25%; }
.route[data-step="2"] .route-van { left: 41.667%; }
.route[data-step="2"] .route-van { color: var(--warn); }
.route[data-step="3"] .route-van { left: 58.333%; color: var(--warn); }
.route[data-step="4"] .route-van { left: 75%; color: var(--warn); }
.route[data-step="5"] .route-van { left: 91.667%; color: var(--good); }
.route-cells { margin-top: 0; border-top: none; }
.cell-row.six { grid-template-columns: repeat(6, 1fr); }
.cell-row.six .cell { padding: 18px 16px; }
.cell-row.six h3 { font-size: 16.5px; margin: 8px 0 6px; }
.cell-row.six p { font-size: 13px; line-height: 1.5; }
.route-cells .cell { transition: background .4s ease; }
.route-cells .cell.live { background: #E9F1F6; }
.route-cells .cell.live .t { color: var(--accent); }
.route-cells .cell.pm.live { background: #FBF0E1; }
.route-cells .cell.live .t.pm, .route-cells .t.pm { color: var(--warn); }
.route-cells .cell:last-child.live { background: #E4F3EB; }
.route-cells .cell:last-child.live .t { color: var(--good); }

.route-wrap { position: relative; }
.feature-row { margin-top: 22px; }

@media (max-width: 700px) {
  /* vertical route: the van drives down the day */
  .route {
    display: block;
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 0;
    width: 26px;
    margin: 0;
    padding: 0;
  }
  .route-track {
    position: relative;
    height: 100%;
    border-bottom: none;
    border-left: 2px dotted var(--line);
    margin-left: 12px;
  }
  .route-stop { transform: translate(-50%, -50%); }
  .route-stop { bottom: auto; }
  .route-stop:nth-child(1) { left: -1px; top: 8.333%; }
  .route-stop:nth-child(2) { left: -1px; top: 25%; }
  .route-stop:nth-child(3) { left: -1px; top: 41.667%; }
  .route-stop:nth-child(4) { left: -1px; top: 58.333%; }
  .route-stop:nth-child(5) { left: -1px; top: 75%; }
  .route-stop:nth-child(6) { left: -1px; top: 91.667%; }
  .route-van {
    width: 30px;
    bottom: auto;
    left: -1px;
    transform: translate(-50%, -50%) rotate(90deg);
    transition: top 1.1s cubic-bezier(.45, 0, .25, 1);
  }
  .route[data-step="0"] .route-van { left: -1px; top: 8.333%; }
  .route[data-step="1"] .route-van { left: -1px; top: 25%; }
  .route[data-step="2"] .route-van { left: -1px; top: 41.667%; }
  .route[data-step="3"] .route-van { left: -1px; top: 58.333%; }
  .route[data-step="4"] .route-van { left: -1px; top: 75%; }
  .route[data-step="5"] .route-van { left: -1px; top: 91.667%; color: var(--good); }
  .route-cells { margin-top: 28px; margin-left: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .route-van { transition: none; }
  .route-stop { transition: none; }
}

/* six-cell journey: responsive override (must come after the base .six rule) */
@media (max-width: 980px) {
  .cell-row.six { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .cell-row.six { grid-template-columns: 1fr; }
}

/* ---------- legal pages ---------- */
.legal > * { max-width: 760px; }
.legal h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 36px 0 10px;
}
.legal p { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-top: 10px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; color: var(--ink-2); }
.legal li { font-size: 16px; line-height: 1.65; margin-top: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); }

/* legal pages: language-matched version via the site language switcher */
.legal-fi { display: none; }
html[lang="fi"] .legal-fi { display: block; }
html[lang="fi"] .legal-en { display: none; }
