/* Home page only (scroll-craft, BRIEF.md). Loaded after scrollcraft.css and site.css.
   Whole page sits in the navy family so drift reads as one place (filmic one-shot forbids hard cuts). */
body.home {
  --sc-canvas: #081629; --sc-surface: #10284A;
  --sc-ink: #F4F7FB; --sc-ink-soft: #A9B8CC;
  --sc-accent: #5EEAD4; --sc-accent-ink: #072320;
  --sc-font-display: "Archivo", system-ui, sans-serif; --sc-font-text: "Geist", system-ui, sans-serif;
  background: var(--sc-canvas); color: var(--sc-ink);
}
body.home section { padding: 0; }
body.home section h2 { max-width: 20ch; }
body.home .eyebrow { color: var(--teal); }
body.home main { position: relative; }
body.home footer { background: #061224; }

/* ------------------------------------------------------------ 1 · hero (peak) */
.h-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: 96px var(--sc-gutter) 40px; max-width: 1400px; margin: 0 auto; }
.h-glow { position: absolute; inset: -10% -10% -10% 30%; pointer-events: none;
  background: radial-gradient(40% 45% at 62% 40%, rgba(37,99,235,.32), transparent 70%),
              radial-gradient(30% 35% at 85% 85%, rgba(20,184,166,.16), transparent 70%); }
.h-copy { position: relative; z-index: 30; }
.h-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; max-width: 14ch; margin: 0; }
.h-title em { font-style: normal; color: var(--teal); }
.h-sub { color: #C9D4E3; font-size: clamp(1rem, 1.3vw, 1.18rem); max-width: 44ch; margin: 22px 0 28px; }
.h-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.h-note { margin: 14px 0 0; font-size: .9rem; color: #93A5BE; }

.h-scene { position: relative; height: min(78svh, 640px); }
.h-board { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: min(440px, 100%);
  background: #F5F7FA; color: var(--ink); border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 30px 70px -20px rgba(2,8,20,.7), 0 2px 0 rgba(255,255,255,.5) inset; }
.h-board__head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 12px; border-bottom: 1px solid #E3E8EF; margin-bottom: 10px; }
.h-board__title { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.h-board__time { font-size: .8rem; color: var(--ink-soft); }
.h-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.h-slots li { height: 38px; border-radius: 9px; background: #EAEFF5; }
.h-board__done { margin-top: 10px; padding: 4px 4px 0; font-weight: 600; font-size: .92rem; color: var(--teal-deep); opacity: 0; }
.h-check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: var(--teal-ink); font-size: .72rem; margin-right: 4px; }

.h-item { position: absolute; left: 0; top: 0; will-change: transform; }
.h-item > div { position: absolute; }
/* the messy face: notes and notifications, each sized to itself, centred on the item */
.mess { left: 50%; top: 50%; translate: -50% -50%; width: 228px; padding: 12px 14px; border-radius: 12px;
  background: #fff; color: var(--ink); font-size: .84rem; line-height: 1.35;
  box-shadow: 0 14px 30px -10px rgba(2,8,20,.6), 0 2px 6px rgba(2,8,20,.25); }
.mess b { display: block; font-weight: 700; margin-bottom: 2px; }
.mess span { color: var(--ink-soft); }
.mess.call b::before, .mess.lead b::before, .mess.voice b::before, .mess.review b::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #EF4444; margin-right: 7px; vertical-align: 1px; }
.mess.review b::before { background: #F59E0B; }
.mess.mail { display: flex; justify-content: space-between; align-items: center; width: 190px; }
.mess.mail b { margin: 0; }
.mess .badge { background: #EF4444; color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 9px; border-radius: 999px; }
.mess.social span { color: #B45309; }
.mess.sticky { width: 168px; min-height: 112px; padding: 16px 14px; border-radius: 3px; background: #FDE68A; color: #3F2D06;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: .98rem; line-height: 1.3;
  box-shadow: 0 16px 28px -12px rgba(2,8,20,.65), 0 1px 0 rgba(255,255,255,.6) inset; }
.mess.sticky.pink { background: #FBCFE8; color: #4A1030; }
/* the resolved face: one row of the brief, exactly the slot's size */
.neat { inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; background: #fff;
  color: var(--ink); font-size: .84rem; font-weight: 600; white-space: nowrap; opacity: 0; border: 1px solid #E3E8EF; }
.neat em { font-style: normal; font-weight: 400; color: var(--ink-soft); margin-left: auto; overflow: hidden; text-overflow: ellipsis; }
.neat i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }
.neat i.ok { background: #10B981; } .neat i.ok::after { content: "✓"; color: #fff; font-size: .62rem; font-style: normal; font-weight: 800; }
.neat i.todo { background: #F59E0B; } .neat i.todo::after { content: "!"; color: #fff; font-size: .66rem; font-style: normal; font-weight: 800; }
.h-tag { position: absolute; left: 0; bottom: -4px; margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #6F86A6; }

/* ------------------------------------------------------------ 2 · recognition */
body.home .pain { background: transparent; padding: 120px 0 72px; }
body.home .pain li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #E2E8F0; }
body.home .pain li::before { box-shadow: 0 0 0 4px rgba(248,113,113,.18); }

/* ------------------------------------------------------------ 3 · clarity */
.jobs { padding: 64px 0 96px !important; }
body.home .jobs .card { background: var(--sc-surface); border-color: rgba(255,255,255,.08); }
body.home .jobs .card h3 { font-family: var(--display); font-size: 1.35rem; margin-bottom: 10px; }
body.home .jobs .card p { color: #B7C5D8; }
body.home .jobs .card .card-proof { color: #F5F7FA; font-weight: 600; margin-top: 12px; }
body.home .more { color: var(--teal); }

/* ------------------------------------------------------------ 4 · confidence */
.s-stage { display: grid; align-items: center; }
.s-grid { display: grid; grid-template-columns: 1fr 1.1fr 6px; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.s-title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.s-list { list-style: none; margin: 0; padding: 0; position: relative; min-height: 220px; }
.s-list li { position: absolute; inset: 0 0 auto 0; display: flex; gap: 22px; align-items: flex-start; }
.s-list .n { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--teal-ink);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.s-list h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 6px 0 10px; }
.s-list p { margin: 0; color: #B7C5D8; font-size: 1.1rem; max-width: 34ch; }
.s-rail { height: 240px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.s-rail span { display: block; height: 100%; background: var(--teal); transform-origin: top; transform: scaleY(0); }

/* ------------------------------------------------------------ 5 · warmth */
body.home .partner { padding: 120px 0 96px; }
body.home .partner .intro { color: #B7C5D8; }
body.home .pillars { border-color: rgba(255,255,255,.12); }
body.home .pillars > div { border-color: rgba(255,255,255,.12); }
body.home .pillars .k { color: var(--teal); }
body.home .pillars p { color: #B7C5D8; }
body.home .one-screen { margin: 56px auto 0; max-width: 580px; text-align: center; }
body.home .os-tablet { position: relative; aspect-ratio: 908 / 648; padding: 2.4%; background: #0a0f18; border-radius: 22px; box-shadow: 0 0 0 1.5px #55657d, 0 24px 44px -14px rgba(0,0,0,.65); }
body.home .os-screen { height: 100%; display: flex; flex-direction: column; background: #0B1220; border-radius: 10px; overflow: hidden; }
body.home .os-screen img { display: block; width: 100%; height: auto; }
body.home .os-head { flex: none; }
body.home .os-win { flex: 1; min-height: 0; overflow: hidden; }
body.home .os-track { animation: os-scroll 16s ease-in-out infinite; animation-play-state: paused; will-change: transform; }
body.home .os-hand { position: absolute; right: 24%; top: 62%; width: 13%; opacity: 0; filter: drop-shadow(0 6px 10px rgba(11,31,58,.35)); animation: os-swipe 16s ease-in-out infinite; animation-play-state: paused; pointer-events: none; }
body.home .one-screen.playing .os-track, body.home .one-screen.playing .os-hand { animation-play-state: running; }
@keyframes os-swipe {
  0% { opacity: 0; top: 62%; }
  9.67% { opacity: 0; top: 62%; }
  11.00%, 12.67% { opacity: 1; top: 62%; }
  16.17% { opacity: 1; top: 16%; }
  16.67% { opacity: 0; top: 16%; }
  26.33% { opacity: 0; top: 62%; }
  27.67%, 29.33% { opacity: 1; top: 62%; }
  32.83% { opacity: 1; top: 16%; }
  33.33% { opacity: 0; top: 16%; }
  43.00% { opacity: 0; top: 62%; }
  44.33%, 46.00% { opacity: 1; top: 62%; }
  49.50% { opacity: 1; top: 16%; }
  50.00% { opacity: 0; top: 16%; }
  59.67% { opacity: 0; top: 62%; }
  61.00%, 62.67% { opacity: 1; top: 62%; }
  66.17% { opacity: 1; top: 16%; }
  66.67% { opacity: 0; top: 16%; }
  76.33% { opacity: 0; top: 62%; }
  77.67%, 79.33% { opacity: 1; top: 62%; }
  82.83% { opacity: 1; top: 16%; }
  83.33% { opacity: 0; top: 16%; }
  93.00% { opacity: 0; top: 62%; }
  94.33%, 96.00% { opacity: 1; top: 62%; }
  99.50% { opacity: 1; top: 16%; }
  100.00% { opacity: 0; top: 16%; }
}
@keyframes os-scroll {
  0.00%, 12.67% { transform: translateY(0.000%); }
  16.67%, 29.33% { transform: translateY(-8.291%); }
  33.33%, 46.00% { transform: translateY(-16.581%); }
  50.00%, 62.67% { transform: translateY(-24.872%); }
  66.67%, 79.33% { transform: translateY(-33.163%); }
  83.33%, 96.00% { transform: translateY(-41.453%); }
  100% { transform: translateY(-50.000%); }
}
@media (prefers-reduced-motion: reduce) { body.home .os-track { animation: none; } body.home .os-track img + img, body.home .os-hand { display: none; } }
body.home .one-screen figcaption { color: #B7C5D8; font-size: .92rem; margin-top: 18px; }

/* ------------------------------------------------------------ 6 · trust */
.p-stage { display: grid; align-items: center; }
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.p-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; }
.p-copy p, .p-copy li { color: #B7C5D8; }
.p-copy ul { padding-left: 20px; margin: 16px 0 26px; }
.p-score { background: var(--sc-surface); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.p-ring { position: relative; width: 190px; height: 190px; }
.p-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.p-ring circle { fill: none; stroke-width: 14; }
.p-ring .trk { stroke: rgba(255,255,255,.1); }
.p-ring .arc { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 540.4; stroke-dashoffset: 189.1; }
.p-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.p-num span { font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; }
.p-num small { color: #93A5BE; font-size: .9rem; margin-top: 4px; }
.p-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p-flags li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: #FCA5A5; transition: color .3s; }
.p-flags li::before { content: "!"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #EF4444; color: #fff; font-weight: 800; font-size: .75rem; display: grid; place-items: center; transition: background .3s; }
.p-flags li.ok { color: #A7F3D0; text-decoration: line-through; text-decoration-color: rgba(167,243,208,.5); }
.p-flags li.ok::before { content: "✓"; background: #10B981; }
.p-foot { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #93A5BE; }

/* ------------------------------------------------------------ 7 · conviction */
body.home .belief { background: transparent; padding: 140px 0; text-align: left; }
.b-wipe { padding: 12px 0; }
body.home .belief blockquote { margin: 0; max-width: 26ch; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.22; }

/* ------------------------------------------------------------ 8 · ease */
.owners-faq { padding: 96px 0 !important; }
.of-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.of-grid h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.12; margin-bottom: 28px; }
body.home .owners { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
body.home .owners li { color: #B7C5D8; border-top: 3px solid var(--teal); padding-top: 14px; }
body.home .owners li strong { display: block; color: #fff; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
body.home .faq { background: transparent; padding: 0; }
body.home .faq details { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); max-width: none; }
body.home .faq details p { color: #B7C5D8; }

/* ------------------------------------------------------------ 9 · ready */
.c-stage { display: grid; place-items: center;
  background: radial-gradient(520px 420px at calc(var(--sc-mx, .5) * 100%) calc(var(--sc-my, .5) * 100%), rgba(94,234,212,.09), transparent 70%); }
.c-inner { text-align: center; padding: 0 var(--sc-gutter); }
.c-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; max-width: 16ch !important; margin: 0 auto; }
.c-sub { color: #C9D4E3; margin: 20px 0 30px; font-size: 1.1rem; }
.c-cta { font-size: 1.12rem; padding: 17px 30px; }

/* ------------------------------------------------------------ phones: art-directed, not shrunk */
@media (max-width: 860px) {
  .h-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 18px; padding: 84px 20px 20px; }
  .h-title { font-size: clamp(1.9rem, 8vw, 2.5rem); max-width: 16ch; }
  .h-sub { font-size: .98rem; margin: 12px 0 16px; }
  .h-note { display: none; }
  .h-scene { height: 100%; min-height: 300px; }
  .h-board { left: 0; right: 0; width: auto; top: auto; bottom: 18px; translate: none; padding: 10px 10px 8px; border-radius: 14px; }
  .h-board__head { padding: 0 2px 7px; margin-bottom: 6px; }
  .h-board__title { font-size: .92rem; }
  .h-slots { gap: 4px; }
  .h-slots li { height: 25px; }
  .h-board__done { margin-top: 6px; font-size: .8rem; }
  .mess { width: 170px; padding: 8px 10px; font-size: .72rem; }
  .mess.sticky { width: 128px; min-height: 84px; padding: 10px; font-size: .8rem; }
  .mess.mail { width: 140px; }
  .neat { font-size: .72rem; padding: 0 8px; gap: 6px; }
  .neat i { width: 13px; height: 13px; }
  .h-tag { bottom: 0; }
  .s-grid { grid-template-columns: 1fr; gap: 28px; }
  .s-rail { display: none; }
  .s-list { min-height: 230px; }
  .s-list .n { width: 48px; height: 48px; font-size: 1.2rem; }
  .p-grid { grid-template-columns: 1fr; gap: 24px; }
  .p-score { grid-template-columns: 1fr; justify-items: center; padding: 20px; gap: 16px; }
  .p-ring { width: 150px; height: 150px; }
  .p-num span { font-size: 2.8rem; }
  .p-copy .btn { display: none; }
  .of-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) and (max-height: 760px) { .h-sub { display: none; } }
@media (prefers-reduced-motion: reduce) { .p-flags li, .p-flags li::before { transition: none; } }
