/* One Doorway Talent Hub
   Two voices, one brand:
   - "care" sections: warm, editorial. Gabarito display, Newsreader serif body, cream bands, tilted photos.
   - "product" sections: precise, hairline-framed. Inter, two-tone headlines, UI as the hero object.
   Brand: teal #448E7B / #54AE98, orange #E69334 */

:root {
  --ink: #0E2A25;
  --ink-70: #3E5750;
  --ink-50: #6E837C;
  --paper: #F6F4EE;
  --paper-deep: #EFEBE1;
  --cream: #FBEACB;
  --cream-deep: #F6DDAE;
  --teal: #448E7B;
  --teal-bright: #54AE98;
  --teal-pale: #CFEBE2;
  --teal-ink: #143B33;
  --orange: #E69334;
  --orange-deep: #C97A20;
  --white: #FFFFFF;
  /* product palette */
  --p-bg: #FFFFFF;
  --p-bg-2: #F7F8F9;
  --p-ink: #14171A;
  --p-grey: #7B8791;
  --p-grey-2: #A6AFB6;
  --p-hair: #E6E9EC;
  --p-hair-2: #D7DCE1;
  --p-teal: #2F7D6B;
  --p-teal-bg: #E7F4F0;
  --p-orange-bg: #FCEFDD;
  --p-red-bg: #FDECEA; --p-red: #B4291E;
  --p-green-bg: #E5F5EC; --p-green: #1E7B4E;
  --p-blue-bg: #EAF0FB; --p-blue: #2C5AA8;

  --display: "Gabarito", "Poppins", system-ui, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --r-photo: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { transition: none !important; opacity: 1 !important; transform: none !important; } }

/* ---------- Care typography ---------- */
.h-display { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.035em; color: var(--ink); }
.h-xxl { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.h-xl { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.h-lg { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -.03em; line-height: 1; }
.h-md { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -.02em; }
.serif-lede { font-family: var(--serif); font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.5; color: var(--ink); max-width: 34em; }
.serif-lede + .serif-lede { margin-top: -.2em; }
.small-caps { font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.measure { max-width: 34em; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; line-height: 1;
}
.pill:hover { transform: translateY(-2px); }
.pill--ink { background: var(--ink); color: var(--white); }
.pill--ink:hover { background: var(--teal-ink); }
.pill--orange { background: var(--orange); color: var(--ink); }
.pill--orange:hover { background: #F0A34A; }
.pill--teal { background: var(--teal-pale); color: var(--ink); text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; }
.pill--teal:hover { background: var(--teal-bright); }
.pill--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill--line:hover { background: var(--ink); color: var(--white); }
.pill--white { background: var(--white); color: var(--ink); }
.pill svg { width: 18px; height: 18px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Topbar (floating pill nav) ---------- */
.topbar { position: sticky; top: 0; z-index: 60; pointer-events: none; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.topbar__inner > * { pointer-events: auto; }
.logo-disc { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-bright); display: grid; place-items: center; box-shadow: 0 8px 24px -10px rgba(14,42,37,.45); transition: transform .2s; }
.logo-disc:hover { transform: rotate(-6deg) scale(1.04); }
.logo-disc img { width: 34px; height: 34px; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.pillnav { display: flex; align-items: center; gap: 2px; background: var(--white); border-radius: 999px; padding: 5px; box-shadow: 0 10px 30px -12px rgba(14,42,37,.35), 0 1px 0 rgba(14,42,37,.06); }
.pillnav a { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 999px; }
.pillnav a:hover, .pillnav a[aria-current="page"] { background: var(--paper-deep); }
.pillnav a.is-app { color: var(--p-teal); }
.topbar .pill--ink { padding: 12px 20px; font-size: .9rem; }
.burger { display: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); border: 0; cursor: pointer; place-items: center; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--white); margin: 3px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px) {
  .pillnav { position: absolute; top: 90px; right: var(--gutter); left: var(--gutter); flex-direction: column; align-items: stretch; padding: 10px; border-radius: 24px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .pillnav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .pillnav a { padding: 14px 16px; font-size: 1.05rem; }
  .burger { display: grid; }
  .topbar .pill--ink { display: none; }
  .logo-disc { width: 56px; height: 56px; } .logo-disc img { width: 34px; height: 34px; }
}

/* ---------- Hero (care) ---------- */
.hero { position: relative; padding: clamp(8px, 2vw, 28px) 0 clamp(96px, 9vw, 130px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .serif-lede { margin-bottom: 1em; }
.hero__cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 0.98; width: 100%; max-width: 520px; margin-left: auto; }
.collage__blob { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--teal-bright); left: -6%; top: 6%; opacity: .9; }
.collage__a, .collage__b { position: absolute; overflow: hidden; background: var(--paper-deep); }
.collage__a { width: 72%; aspect-ratio: 4 / 4.6; right: 0; top: 0; border-radius: 40px 220px 40px 40px; transform: rotate(2.5deg); box-shadow: 0 30px 60px -30px rgba(14,42,37,.5); }
.collage__b { width: 50%; aspect-ratio: 1 / 1; left: 2%; bottom: 0; border-radius: 40px; transform: rotate(-4deg); box-shadow: 0 30px 60px -30px rgba(14,42,37,.5); outline: 8px solid var(--paper); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__note { position: absolute; right: 0; bottom: 4%; background: var(--white); border-radius: 18px; padding: 12px 16px; font-family: var(--display); font-weight: 700; font-size: .95rem; box-shadow: 0 14px 30px -14px rgba(14,42,37,.4); transform: rotate(-2deg); }
.collage__note small { display: block; font-family: var(--serif); font-weight: 400; color: var(--ink-70); font-size: .9rem; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .collage { max-width: 520px; margin-inline: auto; width: 100%; } }

/* "I'm looking for…" dropdown */
.picker { position: relative; display: inline-block; }
.picker summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 280px; background: var(--white); border: 3px solid var(--teal-bright); border-radius: 999px; padding: 13px 20px 13px 24px; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.picker summary::-webkit-details-marker { display: none; }
.picker summary::after { content: ""; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--ink); transition: transform .2s; }
.picker[open] summary::after { transform: rotate(180deg); }
.picker__menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; min-width: 100%; background: var(--white); border-radius: 22px; padding: 8px; box-shadow: 0 20px 50px -20px rgba(14,42,37,.45); display: grid; gap: 2px; }
.picker__menu a { display: block; text-decoration: none; padding: 12px 16px; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.picker__menu a small { display: block; font-family: var(--serif); font-weight: 400; color: var(--ink-70); font-size: .9rem; white-space: normal; }
.picker__menu a:hover { background: var(--paper-deep); }

/* ---------- Bands with curved edges ---------- */
.band { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.band--cream { background: var(--cream); }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .h-display, .band--ink .h-md { color: var(--white); }
.band--ink .small-caps { color: var(--teal-bright); }
.curve-top::before, .curve-bottom::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(40px, 6vw, 84px); background: inherit; z-index: 1; }
.curve-top::before { top: 1px; transform: translateY(-100%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.curve-bottom::after { bottom: 1px; transform: translateY(100%); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.curve-top, .curve-bottom { z-index: 2; }
.band > .container { position: relative; z-index: 3; }

/* ---------- Doodle rows (icon + blob) ---------- */
.what { display: grid; grid-template-columns: minmax(260px, .9fr) 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.what .h-xl { margin-bottom: 24px; }
.doodles { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }
.doodle { text-align: left; }
.doodle__icon { position: relative; width: 84px; height: 84px; margin-bottom: 14px; }
.doodle__icon::before { content: ""; position: absolute; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-bright); right: 0; top: 0; }
.doodle__icon svg { position: relative; width: 70px; height: 70px; stroke: var(--ink); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; left: 0; top: 10px; }
.doodle h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: 6px; }
.doodle p { margin: 0; font-size: 1.05rem; color: var(--ink-70); }
@media (max-width: 860px) { .what { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .doodles { grid-template-columns: 1fr; } }

/* ---------- Photo band with quote ---------- */
.photoband { position: relative; min-height: clamp(380px, 52vw, 640px); overflow: hidden; display: grid; place-items: center; background: var(--ink); }
.photoband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.photoband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,37,.15), rgba(14,42,37,.55)); }
.photoband__quote { position: relative; z-index: 1; text-align: center; color: var(--white); padding: 0 var(--gutter); width: min(860px, 100%); }
.photoband__quote p { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 auto 16px; max-width: 16ch; }
.photoband__quote span { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--cream); }
.photoband__disc { position: relative; z-index: 1; width: clamp(120px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--teal-bright); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.photoband__disc img { position: static; width: 55%; height: auto; opacity: 1; }

/* ---------- Alternating "big word" rows ---------- */
.rows { display: grid; gap: clamp(72px, 10vw, 160px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.row--flip > .row__text { order: 2; }
.row__text .h-xl { margin-bottom: 22px; }
.row__text .serif-lede { margin-bottom: 26px; }
.tilt { border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 4.4; max-width: 520px; margin-inline: auto; width: 100%; background: var(--paper-deep); box-shadow: 0 30px 60px -32px rgba(14,42,37,.5); }
.tilt img { width: 100%; height: 100%; object-fit: cover; }
.tilt--l { transform: rotate(-2.5deg); }
.tilt--r { transform: rotate(2.5deg); }
.tilt--wide { aspect-ratio: 4 / 3.4; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row--flip > .row__text { order: 0; } .tilt { max-width: 460px; } }

/* Serif list with hairlines */
.list { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.list li { padding: 16px 0; border-bottom: 1.5px solid rgba(14,42,37,.2); display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: baseline; font-size: 1.05rem; }
.list li b { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.list li i { font-style: normal; font-family: var(--display); font-weight: 800; color: var(--teal); }
.list--light { border-color: var(--white); } .list--light li { border-color: rgba(255,255,255,.25); }

/* Numbered steps, editorial */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--teal-bright); letter-spacing: -.04em; margin-bottom: 10px; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-70); font-size: 1.05rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* FAQ, serif */
.faq { max-width: 860px; margin-inline: auto; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid rgba(14,42,37,.2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--teal); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-70); max-width: 62ch; }

/* Page hero (inner care pages) */
.page-hero { padding: clamp(8px, 2vw, 28px) 0 clamp(96px, 9vw, 130px); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero h1 { margin-bottom: 26px; }
.page-hero .serif-lede { margin-bottom: 1em; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* Forms (care) */
.form { background: var(--white); border-radius: 32px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -36px rgba(14,42,37,.45); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--display); font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-family: var(--serif); font-size: 1.05rem; padding: 14px 18px; border: 2px solid var(--paper-deep); border-radius: 18px; background: var(--paper); color: var(--ink); width: 100%; transition: border-color .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-bright); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.segmented { display: inline-flex; background: var(--paper-deep); border-radius: 999px; padding: 5px; margin-bottom: 22px; flex-wrap: wrap; }
.segmented label { padding: 10px 18px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .92rem; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented input:checked + label { background: var(--ink); color: var(--white); }
.form__note { font-size: .95rem; color: var(--ink-50); margin: 14px 0 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1.5px solid var(--ink); }
.contact-list li { padding: 16px 0; border-bottom: 1.5px solid rgba(14,42,37,.2); }
.contact-list b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.contact-list a { color: var(--teal); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } .form { border-radius: 24px; } }

/* Big CTA (care) */
.bigcta { text-align: center; padding: clamp(72px, 10vw, 140px) 0; }
.bigcta .h-xl { margin-bottom: 18px; }
.bigcta .serif-lede { margin: 0 auto 30px; }
.bigcta .pill-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 32px; font-family: var(--serif); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer__brand img { width: min(320px, 100%); height: auto; margin-bottom: 20px; }
.footer__brand p { color: rgba(246,244,238,.75); font-size: 1rem; max-width: 40ch; }
.footer h4 { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--teal-bright); margin-bottom: 14px; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1.02rem; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__ack { font-size: .92rem; color: rgba(246,244,238,.6); max-width: 60ch; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .9rem; color: rgba(246,244,238,.6); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   PRODUCT voice (Attio-like)
   ============================================================ */
.product { background: var(--p-bg); color: var(--p-ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; }
.product p { color: var(--p-grey); }
.frame { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; border-left: 1px solid var(--p-hair); border-right: 1px solid var(--p-hair); }
.frame > * { border-bottom: 1px solid var(--p-hair); }
.frame > *:first-child { border-top: 1px solid var(--p-hair); }
.p-pad { padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px); }
.tag { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: .82rem; padding: 4px 10px; border-radius: 6px; background: var(--p-teal-bg); color: var(--p-teal); margin-bottom: 20px; }
.tag--grey { background: var(--p-bg-2); color: var(--p-grey); }
.two-tone { font-family: var(--sans); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--p-ink); max-width: 26ch; }
.two-tone span { color: var(--p-grey-2); font-weight: 500; }
.two-tone--sm { font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -.02em; max-width: 28ch; line-height: 1.25; }
.two-tone--sm span { color: var(--p-grey); }
.p-h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.25rem); letter-spacing: -.03em; line-height: 1.05; color: var(--p-ink); text-align: center; margin: 0 auto 20px; max-width: 18ch; }
.p-sub { text-align: center; color: var(--p-grey); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 44ch; margin: 0 auto 26px; }
.p-center { text-align: center; }
.p-hero { padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px) 0; background: radial-gradient(60% 50% at 50% 100%, rgba(84,174,152,.16), rgba(84,174,152,0) 70%); }
.p-hero .btns { display: flex; justify-content: center; gap: 10px; margin-bottom: clamp(40px, 5vw, 72px); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: .95rem; padding: 10px 16px; border-radius: 9px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; cursor: pointer; line-height: 1.2; }
.btn--dark { background: var(--p-ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--p-ink); border-color: var(--p-hair-2); }
.btn--light:hover { border-color: var(--p-grey-2); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--p-teal); }
.btn svg { width: 16px; height: 16px; }
.p-grid { display: grid; }
.p-grid--2 { grid-template-columns: 1fr 1fr; }
.p-grid--3 { grid-template-columns: repeat(3, 1fr); }
.p-grid > * { border-right: 1px solid var(--p-hair); border-bottom: 1px solid var(--p-hair); padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px); }
.p-grid--2 > :nth-child(2n), .p-grid--3 > :nth-child(3n) { border-right: 0; }
.p-grid--2 > :nth-last-child(-n+2), .p-grid--3 > :nth-last-child(-n+3) { border-bottom: 0; }
.p-grid h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--p-ink); margin-bottom: 6px; }
.p-grid p { margin: 0 0 20px; }
.p-grid p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .p-grid--2, .p-grid--3 { grid-template-columns: 1fr; } .p-grid > * { border-right: 0 !important; border-bottom: 1px solid var(--p-hair) !important; } .p-grid > :last-child { border-bottom: 0 !important; } }

/* Sticky feature sections */
.p-feature { display: grid; grid-template-columns: 300px 1fr; }
.p-feature__nav { border-right: 1px solid var(--p-hair); padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px); }
.p-feature__nav ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 110px; display: grid; gap: 6px; }
.p-feature__nav a { display: block; padding: 6px 0 6px 16px; border-left: 2px solid transparent; color: var(--p-grey-2); text-decoration: none; font-weight: 500; font-size: 1rem; transition: color .15s, border-color .15s; }
.p-feature__nav a.is-active { color: var(--p-ink); border-left-color: var(--teal); }
.p-feature__body > section { border-bottom: 1px solid var(--p-hair); }
.p-feature__body > section:last-child { border-bottom: 0; }
.p-feature__body .copy { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(20px, 3vw, 36px); }
.p-feature__body .canvas { background: var(--p-bg-2); background-image: radial-gradient(var(--p-hair-2) 1px, transparent 1px); background-size: 18px 18px; border-top: 1px solid var(--p-hair); padding: clamp(28px, 4vw, 56px) clamp(16px, 4vw, 64px); overflow: hidden; }
.canvas--plain { background-image: none; }
@media (max-width: 960px) { .p-feature { grid-template-columns: 1fr; } .p-feature__nav { display: none; } }

/* Dotted canvas (standalone) */
.canvas { background: var(--p-bg-2); background-image: radial-gradient(var(--p-hair-2) 1px, transparent 1px); background-size: 18px 18px; padding: clamp(28px, 4vw, 56px) clamp(16px, 4vw, 64px); overflow: hidden; }

/* ----- UI mockups ----- */
.ui { font-family: var(--sans); font-size: 13px; color: var(--p-ink); }
.win { background: #fff; border: 1px solid var(--p-hair-2); border-radius: 12px; box-shadow: 0 30px 70px -40px rgba(20,23,26,.35), 0 1px 2px rgba(20,23,26,.05); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--p-hair); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; }
.win__bar i:nth-child(1) { background: #F2655A; } .win__bar i:nth-child(2) { background: #F5BF4F; } .win__bar i:nth-child(3) { background: #61C554; }
.win__url { margin-left: 8px; font-size: 11px; color: var(--p-grey); }
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.side { border-right: 1px solid var(--p-hair); padding: 14px 10px; background: #FBFBFC; }
.side__org { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 6px 12px; font-size: 13px; }
.side__org i { width: 22px; height: 22px; border-radius: 6px; background: var(--teal); display: inline-block; }
.side__quick { border: 1px solid var(--p-hair-2); border-radius: 7px; padding: 6px 8px; font-size: 12px; color: var(--p-grey); display: flex; justify-content: space-between; margin-bottom: 10px; }
.side__quick kbd { font-family: var(--sans); font-size: 10px; background: var(--p-bg-2); border: 1px solid var(--p-hair-2); border-radius: 4px; padding: 0 4px; }
.side__group { font-size: 10.5px; color: var(--p-grey-2); font-weight: 500; margin: 12px 6px 4px; letter-spacing: .02em; }
.side a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 12.5px; color: var(--p-ink); text-decoration: none; }
.side a.on { background: #EEF0F2; font-weight: 500; }
.side a i { width: 14px; height: 14px; border-radius: 4px; background: var(--p-hair-2); display: inline-block; }
.side a.on i { background: var(--teal); }
.side a b { margin-left: auto; font-weight: 500; font-size: 10.5px; background: var(--p-orange-bg); color: var(--orange-deep); padding: 1px 6px; border-radius: 999px; }
.main { padding: 18px 22px; position: relative; overflow-x: auto; }
.main__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.main__head h4 { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.main__head .live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--p-grey); }
.main__head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2DB36A; box-shadow: 0 0 0 3px rgba(45,179,106,.2); }
.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--p-hair); border-radius: 8px; overflow: hidden; }
.tbl th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--p-grey); padding: 8px 10px; background: #FBFBFC; border-bottom: 1px solid var(--p-hair); }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--p-hair); font-size: 12.5px; vertical-align: middle; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .muted { color: var(--p-grey); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 5px; }
.chip--green { background: var(--p-green-bg); color: var(--p-green); }
.chip--orange { background: var(--p-orange-bg); color: var(--orange-deep); }
.chip--red { background: var(--p-red-bg); color: var(--p-red); }
.chip--blue { background: var(--p-blue-bg); color: var(--p-blue); }
.chip--grey { background: var(--p-bg-2); color: var(--p-grey); }
.chip--teal { background: var(--p-teal-bg); color: var(--p-teal); }
.av { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 9px; font-weight: 600; color: #fff; background: var(--teal); margin-right: 6px; vertical-align: middle; }
.av--o { background: var(--orange); } .av--b { background: #5B7DD8; } .av--p { background: #A56BD0; } .av--g { background: var(--p-grey-2); }
.popover { position: absolute; right: 18px; top: 58px; width: 280px; background: #fff; border: 1px solid var(--p-hair-2); border-radius: 12px; box-shadow: 0 24px 60px -24px rgba(20,23,26,.4); padding: 14px; z-index: 2; }
.popover small { display: block; font-size: 11px; color: var(--p-grey); margin-bottom: 4px; }
.popover h5 { font-weight: 600; font-size: 13.5px; margin: 0 0 6px; }
.popover p { font-size: 12px; margin: 0 0 10px; color: var(--p-grey); }
.popover .kv { display: grid; grid-template-columns: 70px 1fr; gap: 6px 8px; font-size: 12px; border: 1px solid var(--p-hair); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }
.popover .kv span { color: var(--p-grey); }
.popover .act { display: flex; gap: 6px; }
.popover .act span { font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--p-hair-2); }
.popover .act span:first-child { background: var(--teal); color: #fff; border-color: transparent; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } .side { display: none; } .popover { position: static; width: 100%; margin-top: 14px; } .tbl th:nth-child(2), .tbl td:nth-child(2) { display: none; } }

/* Flow diagram */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; }
.node { background: #fff; border: 1px solid var(--p-hair-2); border-radius: 10px; padding: 10px 12px; min-width: 190px; box-shadow: 0 1px 2px rgba(20,23,26,.06); position: relative; font-family: var(--sans); font-size: 12.5px; }
.node b { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; color: var(--p-ink); }
.node b i { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }
.node small { display: block; color: var(--p-grey); font-size: 11.5px; margin-top: 3px; }
.node .st { position: absolute; top: -9px; right: 10px; }
.node--active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(68,142,123,.15); }
.node--muted { opacity: .6; }
.link { width: 42px; height: 2px; background: var(--p-hair-2); position: relative; flex: none; }
.link::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 6px solid var(--p-hair-2); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.link--on { background: var(--teal); } .link--on::after { border-left-color: var(--teal); }
.flow__branch { flex-basis: 100%; display: flex; align-items: center; gap: 0; padding-left: 60px; }
.flow__branch .elbow { width: 42px; height: 2px; background: var(--p-hair-2); flex: none; position: relative; }
.flow__branch .elbow::before { content: ""; position: absolute; left: 0; top: -34px; height: 34px; border-left: 2px solid var(--p-hair-2); }
@media (max-width: 700px) { .flow { flex-direction: column; align-items: stretch; } .link { width: 2px; height: 24px; margin-left: 24px; } .link::after { right: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--p-hair-2); border-bottom: 0; } .link--on::after { border-top-color: var(--teal); } .flow__branch { padding-left: 0; } .flow__branch .elbow { display: none; } }

/* Kanban board */
.board { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; }
.col { background: #fff; border: 1px solid var(--p-hair-2); border-radius: 12px; padding: 10px; }
.col__head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; padding: 2px 4px 10px; }
.col__head i { width: 8px; height: 8px; border-radius: 50%; }
.col__head b { font-weight: 500; font-size: 10.5px; background: var(--p-bg-2); border-radius: 5px; padding: 1px 6px; color: var(--p-grey); }
.card { border: 1px solid var(--p-hair); border-radius: 9px; padding: 10px; margin-bottom: 8px; font-size: 12px; }
.card b { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 4px; }
.card .ln { display: flex; align-items: center; gap: 6px; color: var(--p-grey); margin-top: 4px; font-size: 11.5px; }
.card .ln i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--p-hair-2); display: inline-block; }
.card--dim { opacity: .55; }

/* Phone (product) */
.phone { width: 270px; aspect-ratio: 9 / 18.5; border-radius: 38px; background: #0F1513; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.08); margin-inline: auto; }
.phone__screen { background: #F6F8F7; border-radius: 30px; height: 100%; overflow: hidden; display: flex; flex-direction: column; font-family: var(--sans); font-size: 12px; color: var(--p-ink); position: relative; }
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #0F1513; border-radius: 20px; }
.phone__bar { display: flex; justify-content: space-between; padding: 13px 20px 0; font-size: 10.5px; font-weight: 600; }
.phone__head { padding: 20px 16px 8px; }
.phone__head small { color: var(--p-grey); font-size: 10.5px; }
.phone__head h4 { font-weight: 600; font-size: 16px; letter-spacing: -.01em; margin-top: 2px; }
.phone__body { padding: 0 12px 12px; display: grid; gap: 8px; flex: 1; align-content: start; }
.sh { background: #fff; border: 1px solid var(--p-hair); border-radius: 14px; padding: 11px 12px; }
.sh__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sh__t { font-weight: 600; font-size: 12.5px; }
.sh__m { color: var(--p-grey); font-size: 11px; margin-top: 2px; }
.sh__act { display: flex; gap: 6px; margin-top: 9px; }
.sh__act span { flex: 1; text-align: center; font-weight: 500; font-size: 11.5px; padding: 7px 0; border-radius: 8px; border: 1px solid var(--p-hair-2); }
.sh__act span:first-child { background: var(--teal); color: #fff; border-color: transparent; }
.sh--today { background: var(--ink); color: #fff; border-color: transparent; }
.sh--today .sh__m { color: rgba(255,255,255,.65); }
.sh--today .clock { display: block; margin-top: 9px; text-align: center; background: var(--orange); color: var(--ink); border-radius: 8px; padding: 8px; font-weight: 600; font-size: 11.5px; }
.phone__tabs { display: flex; justify-content: space-around; padding: 9px 4px 12px; border-top: 1px solid var(--p-hair); background: #fff; font-size: 9px; color: var(--p-grey); }
.phone__tabs span { text-align: center; } .phone__tabs span.on { color: var(--teal); font-weight: 600; }
.phone__tabs i { display: block; width: 16px; height: 16px; border-radius: 5px; background: var(--p-hair-2); margin: 0 auto 3px; } .phone__tabs span.on i { background: var(--teal); }

/* Register table */
.reg { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--p-hair-2); border-radius: 10px; overflow: hidden; font-size: 12.5px; }
.reg th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--p-grey); padding: 8px 12px; background: #FBFBFC; border-bottom: 1px solid var(--p-hair); }
.reg td { padding: 9px 12px; border-bottom: 1px solid var(--p-hair); white-space: nowrap; }
.reg tr:last-child td { border-bottom: 0; }
.reg-wrap { overflow-x: auto; border-radius: 10px; }

/* Split product row */
.p-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.p-split > * { padding: clamp(28px, 3vw, 48px) clamp(24px, 4vw, 64px); }
.p-split > :first-child { border-right: 1px solid var(--p-hair); }
@media (max-width: 860px) { .p-split { grid-template-columns: 1fr; } .p-split > :first-child { border-right: 0; border-bottom: 1px solid var(--p-hair); } }

/* Product CTA */
.p-cta { text-align: center; padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px); }
.p-cta .btns { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Narrow phones */
@media (max-width: 480px) {
  .tbl td, .tbl th { white-space: normal; }
  .picker summary { min-width: 0; width: 100%; }
  .picker { width: 100%; }
  .hero__cta .pill { width: 100%; }
  .h-xxl { font-size: clamp(3rem, 16vw, 4.5rem); }
}

/* Grid items must be allowed to shrink below their content width */
.p-feature { grid-template-columns: 300px minmax(0, 1fr); }
.p-feature__body, .p-grid > *, .p-split > *, .frame, .frame > * { min-width: 0; }
.win, .ui, .flow, .board { max-width: 100%; }
@media (max-width: 960px) { .p-feature { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .flow__branch { flex-direction: column; align-items: stretch; } .node { min-width: 0; } }

/* ============================================================
   Motion
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes settle-r { from { opacity: 0; transform: rotate(7deg) translateY(28px) scale(.96); } to { opacity: 1; transform: rotate(2.5deg) translateY(0) scale(1); } }
@keyframes settle-l { from { opacity: 0; transform: rotate(-10deg) translateY(28px) scale(.96); } to { opacity: 1; transform: rotate(-4deg) translateY(0) scale(1); } }
@keyframes blob-in { from { opacity: 0; transform: scale(.6); } to { opacity: .9; transform: scale(1); } }
@keyframes note-in { 0% { opacity: 0; transform: rotate(-2deg) translateY(14px) scale(.92); } 100% { opacity: 1; transform: rotate(-2deg) translateY(0) scale(1); } }
@keyframes bob { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-6px); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(45,179,106,.45); } 70% { box-shadow: 0 0 0 7px rgba(45,179,106,0); } 100% { box-shadow: 0 0 0 0 rgba(45,179,106,0); } }
@keyframes slide-in-r { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Hero entrance (pure CSS, runs without JS) */
.hero h1 { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .serif-lede { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .12s; }
.hero .serif-lede + .serif-lede { animation-delay: .2s; }
.hero__cta { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .3s; }
.collage__blob { animation: blob-in .9s cubic-bezier(.2,.7,.2,1) both .1s; }
.collage__a { animation: settle-r .9s cubic-bezier(.2,.7,.2,1) both .2s; }
.collage__b { animation: settle-l .9s cubic-bezier(.2,.7,.2,1) both .38s; }
.collage__note { animation: note-in .6s cubic-bezier(.2,.7,.2,1) both .8s, bob 5s ease-in-out infinite 1.4s; }
.page-hero .small-caps { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.page-hero h1 { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .08s; }
.page-hero .serif-lede { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .18s; }
.page-hero .pill-row { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .28s; }
.page-hero .tilt--r { animation: settle-r .9s cubic-bezier(.2,.7,.2,1) both .2s; }
.page-hero .tilt--l { animation: settle-l .9s cubic-bezier(.2,.7,.2,1) both .2s; }
.page-hero .tilt--l { --end: -2.5deg; }
.p-hero .tag { animation: pop .5s cubic-bezier(.2,.7,.2,1) both; }
.p-hero .p-h1 { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .08s; }
.p-hero .p-sub { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .16s; }
.p-hero .btns { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .24s; }
.p-hero .win { animation: rise .9s cubic-bezier(.2,.7,.2,1) both .36s; }

/* Scroll reveal (JS adds .reveal + stagger delay) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt.reveal { transform: translateY(16px) rotate(var(--rot, 0deg)) scale(.98); }
.tilt.reveal.is-visible { transform: rotate(var(--rot, 0deg)); }
.tilt--l { --rot: -2.5deg; } .tilt--r { --rot: 2.5deg; }
.tilt--l, .tilt--r { transform: rotate(var(--rot)); }

/* Hover details */
.tilt { transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
.tilt:hover { transform: rotate(0deg) scale(1.015) !important; box-shadow: 0 40px 70px -32px rgba(14,42,37,.55); }
.tilt img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tilt:hover img { transform: scale(1.04); }
.doodle__icon::before { transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s; }
.doodle:hover .doodle__icon::before { transform: scale(1.18) translate(4px, -4px); background: var(--orange); }
.doodle__icon svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.doodle:hover .doodle__icon svg { transform: translateY(-3px) rotate(-3deg); }
.pill--orange:hover { box-shadow: 0 12px 24px -12px rgba(230,147,52,.8); }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.pillnav a { transition: background .2s, color .2s; }
.picker__menu { animation: menu-in .22s cubic-bezier(.2,.7,.2,1) both; }
.faq details[open] p { animation: fade .35s ease both; }
.faq summary::after { transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s; }
.faq details:hover summary::after { background: var(--teal); color: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-size: 1.3rem; }
.faq summary::after { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; }
.step::before { transition: transform .5s cubic-bezier(.2,.7,.2,1), color .3s; display: inline-block; }
.step:hover::before { transform: translateY(-4px); color: var(--orange); }
.field input, .field select, .field textarea { transition: border-color .2s, background .2s, transform .2s; }
.field input:focus, .field textarea:focus { transform: translateY(-1px); }

/* Photo band slow zoom */
.photoband img { animation: kenburns 22s ease-in-out infinite alternate; }
.photoband__disc { animation: pop .7s cubic-bezier(.2,.7,.2,1) both; }
.photoband.is-visible .photoband__quote p { animation: rise .8s cubic-bezier(.2,.7,.2,1) both .15s; }

/* Product mockups come alive once in view */
.main__head .live::before { animation: ping 2s infinite; }
.win.is-visible .tbl tbody tr { animation: fade .5s ease both; }
.win.is-visible .tbl tbody tr:nth-child(1) { animation-delay: .15s; } .win.is-visible .tbl tbody tr:nth-child(2) { animation-delay: .25s; }
.win.is-visible .tbl tbody tr:nth-child(3) { animation-delay: .35s; } .win.is-visible .tbl tbody tr:nth-child(4) { animation-delay: .45s; }
.win.is-visible .tbl tbody tr:nth-child(5) { animation-delay: .55s; } .win.is-visible .tbl tbody tr:nth-child(6) { animation-delay: .65s; }
.win.is-visible .tbl tbody tr:nth-child(7) { animation-delay: .75s; }
.win .tbl tbody tr { opacity: 0; } .win:not(.reveal) .tbl tbody tr { opacity: 1; }
.win.is-visible .popover { animation: slide-in-r .6s cubic-bezier(.2,.7,.2,1) both .9s; }
.win .popover { opacity: 0; } .win:not(.reveal) .popover { opacity: 1; }
.chip--orange { animation: blink 2.4s ease-in-out infinite; }
.flow .node, .flow .link { opacity: 0; }
.flow:not(.reveal) .node, .flow:not(.reveal) .link { opacity: 1; }
.flow.is-visible .node, .flow.is-visible .link { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.flow.is-visible > :nth-child(1) { animation-delay: .1s; } .flow.is-visible > :nth-child(2) { animation-delay: .25s; }
.flow.is-visible > :nth-child(3) { animation-delay: .4s; } .flow.is-visible > :nth-child(4) { animation-delay: .55s; }
.flow.is-visible > :nth-child(5) { animation-delay: .7s; } .flow.is-visible > :nth-child(6) { animation-delay: .85s; }
.flow.is-visible > :nth-child(7) { animation-delay: 1s; }
.flow.is-visible .flow__branch > * { animation-delay: 1.15s; } .flow.is-visible .flow__branch > :nth-child(3) { animation-delay: 1.3s; } .flow.is-visible .flow__branch > :nth-child(4) { animation-delay: 1.45s; }
.board .card { opacity: 0; } .board:not(.reveal) .card { opacity: 1; }
.board.is-visible .card { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.board.is-visible .col:nth-child(1) .card { animation-delay: .1s; } .board.is-visible .col:nth-child(2) .card { animation-delay: .25s; }
.board.is-visible .col:nth-child(3) .card { animation-delay: .4s; } .board.is-visible .col:nth-child(4) .card { animation-delay: .55s; }
.board.is-visible .col .card:nth-child(3) { animation-delay: .7s; }
.reg-wrap .reg tbody tr { opacity: 0; } .reg-wrap:not(.reveal) .reg tbody tr { opacity: 1; }
.reg-wrap.is-visible .reg tbody tr { animation: fade .5s ease both; }
.reg-wrap.is-visible .reg tbody tr:nth-child(1) { animation-delay: .1s; } .reg-wrap.is-visible .reg tbody tr:nth-child(2) { animation-delay: .2s; }
.reg-wrap.is-visible .reg tbody tr:nth-child(3) { animation-delay: .3s; } .reg-wrap.is-visible .reg tbody tr:nth-child(4) { animation-delay: .4s; }
.phone .sh { opacity: 0; } .phone:not(.reveal) .sh { opacity: 1; }
.phone.is-visible .sh { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.phone.is-visible .sh:nth-child(1) { animation-delay: .15s; } .phone.is-visible .sh:nth-child(2) { animation-delay: .3s; } .phone.is-visible .sh:nth-child(3) { animation-delay: .45s; }
.card:hover, .sh:hover, .node:hover { transform: translateY(-2px); transition: transform .25s; }
.card, .sh, .node { transition: transform .25s; }
.tbl tbody tr:hover td { background: #FBFBFC; }

/* Topbar shadow grows once the page has scrolled */
.pillnav, .topbar .pill--ink, .logo-disc { transition: box-shadow .3s, transform .2s, background .15s; }
.topbar.is-scrolled .pillnav { box-shadow: 0 14px 34px -14px rgba(14,42,37,.45), 0 1px 0 rgba(14,42,37,.08); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .win .tbl tbody tr, .win .popover, .flow .node, .flow .link, .board .card, .reg-wrap .reg tbody tr, .phone .sh { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Hero v3: fills the first screen, richer collage
   ============================================================ */
.hero { min-height: calc(100vh - 84px); display: flex; align-items: center; padding: clamp(8px, 2vw, 24px) 0 clamp(110px, 10vw, 150px); }
.hero > .container { width: min(var(--max), 100% - 2 * var(--gutter)); }
.hero__grid { grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 64px); }
.hero__mark { position: absolute; right: -6%; top: -8%; width: 52vw; max-width: 760px; aspect-ratio: 861 / 881; background: url("../img/mark.png") center / contain no-repeat; opacity: .05; pointer-events: none; }
.hero::before { content: ""; position: absolute; left: 50%; top: 20%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(84,174,152,.16), rgba(84,174,152,0)); pointer-events: none; }
.h-xxl { font-size: clamp(3rem, 7.4vw, 6.3rem); }
.hero h1 { margin-bottom: 26px; }
.swash { position: relative; display: inline-block; }
.swash svg { position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .22em; overflow: visible; }
.swash svg path { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s cubic-bezier(.2,.7,.2,1) forwards .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.serif-lede--big { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; max-width: 26em; }
.hero__trust { margin: 26px 0 0; font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--ink-50); display: flex; flex-wrap: wrap; gap: 6px 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) both .42s; }
.hero__trust span + span::before { content: "\00B7"; margin: 0 12px; color: var(--teal-bright); font-style: normal; font-weight: 700; }

.collage { aspect-ratio: 1 / 1; max-width: 600px; }
.collage__ring { position: absolute; right: 2%; top: -2%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(68,142,123,.35); animation: spin 60s linear infinite, fade 1s ease both .3s; }
@keyframes spin { to { transform: rotate(360deg); } }
.collage__blob { width: 50%; left: 0; top: 14%; }
.collage__a { width: 66%; right: 2%; top: 4%; aspect-ratio: 4 / 4.9; border-radius: 240px 240px 44px 44px; transform: rotate(2deg); }
.collage__b { width: 44%; left: 4%; bottom: 4%; border-radius: 36px; transform: rotate(-4deg); }
.collage__c { position: absolute; width: 24%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; left: 6%; top: 0; outline: 6px solid var(--paper); box-shadow: 0 20px 40px -20px rgba(14,42,37,.5); animation: pop .7s cubic-bezier(.2,.7,.2,1) both .55s; }
.collage__c img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.collage__chip { position: absolute; right: -2%; top: 26%; background: var(--white); border-radius: 16px; padding: 10px 14px 10px 12px; font-family: var(--display); font-weight: 700; font-size: .9rem; box-shadow: 0 14px 30px -14px rgba(14,42,37,.4); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; transform: rotate(2deg); animation: note-in .6s cubic-bezier(.2,.7,.2,1) both 1s, bob 6s ease-in-out infinite 1.8s; }
.collage__chip i { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-bright); position: relative; }
.collage__chip i::after { content: ""; position: absolute; left: 8px; top: 6px; width: 7px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.collage__chip small { display: block; font-family: var(--serif); font-weight: 400; font-size: .82rem; color: var(--ink-70); }
.collage__note { right: 4%; bottom: 0; }
@keyframes settle-r { from { opacity: 0; transform: rotate(7deg) translateY(28px) scale(.96); } to { opacity: 1; transform: rotate(2deg) translateY(0) scale(1); } }
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; }
  .hero__mark { display: none; }
  .collage { max-width: 520px; }
  .collage__chip { right: 0; top: 20%; font-size: .82rem; }
}
@media (max-width: 480px) { .h-xxl { font-size: clamp(3rem, 15vw, 4.4rem); } .collage__chip { display: none; } .hero__trust { font-size: .9rem; } }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .collage { margin: 8px auto 0; } .hero { padding-bottom: clamp(90px, 14vw, 120px); } }

/* Picker menu must paint above the trust line and the next band */
.hero { z-index: 4; }
.hero__cta { position: relative; z-index: 6; }
.hero__trust { position: relative; z-index: 1; }
.picker[open] { z-index: 7; }
.picker__menu { z-index: 30; box-shadow: 0 24px 60px -18px rgba(14,42,37,.45), 0 0 0 1px rgba(14,42,37,.06); }
.picker__menu { min-width: min(400px, calc(100vw - 2 * var(--gutter))); }

/* Hero collage v2: calmer composition, chips off the faces */
.collage { aspect-ratio: 1 / 1.02; max-width: 580px; }
.collage__ring { right: -4%; top: -6%; width: 78%; border: 2px dashed rgba(68,142,123,.28); }
.collage__blob { width: 46%; left: 2%; top: 16%; opacity: .85; }
.collage__a { width: 64%; right: 0; top: 2%; aspect-ratio: 4 / 5; border-radius: 230px 230px 40px 40px; transform: rotate(0deg); box-shadow: 0 34px 60px -30px rgba(14,42,37,.45); }
.collage__a img { object-position: 52% 30%; }
.collage__b { width: 42%; left: 2%; bottom: 2%; border-radius: 30px; transform: rotate(-4deg); outline: 7px solid var(--paper); }
.collage__c { width: 23%; left: 9%; top: 4%; outline: 6px solid var(--paper); }
.collage__chip { right: -3%; top: auto; bottom: 30%; transform: rotate(-2deg); }
.collage__note { right: 10%; bottom: -3%; transform: rotate(2deg); }
@keyframes settle-r { from { opacity: 0; transform: rotate(4deg) translateY(28px) scale(.96); } to { opacity: 1; transform: rotate(0deg) translateY(0) scale(1); } }
@keyframes note-in { 0% { opacity: 0; transform: rotate(2deg) translateY(14px) scale(.92); } 100% { opacity: 1; transform: rotate(2deg) translateY(0) scale(1); } }
@keyframes bob { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-6px); } }
.collage__chip { animation: chip-in .6s cubic-bezier(.2,.7,.2,1) both 1s, chip-bob 6s ease-in-out infinite 1.8s; }
@keyframes chip-in { 0% { opacity: 0; transform: rotate(-2deg) translateY(14px) scale(.92); } 100% { opacity: 1; transform: rotate(-2deg) translateY(0) scale(1); } }
@keyframes chip-bob { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-6px); } }
@media (max-width: 860px) { .collage { max-width: 500px; } .collage__chip { right: 0; bottom: 34%; } .collage__note { right: 4%; } }
.collage__a img { object-position: 52% 0; transform: scale(1.16); transform-origin: 54% 0; }
.collage__note { bottom: 0; right: 8%; }
.collage__a img { transform: scale(1.06); transform-origin: 54% 0; }
.collage__chip { bottom: 36%; }
.collage__note { bottom: 7%; right: 3%; }
.collage__chip { right: auto; left: 0; bottom: auto; top: 47%; }
.collage__note { bottom: 15%; right: 4%; }
@media (max-width: 860px) { .collage__chip { left: 0; top: 46%; } }
@media (max-width: 860px) { .collage__ring { right: 2%; width: 72%; } .hero { overflow: hidden; } }
