/* Aurora Suite AI — public site. One light theme; tokens shared with the app (aurora-frontend/src/styles.scss). */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/Manrope-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/InstrumentSerif-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/InstrumentSerif-italic-latin.woff2") format("woff2"); }

:root {
  --bg: #fbfaf7;
  --bg-2: #f4f2ec;
  --surface: #ffffff;
  --ink: #171717;
  --ink-2: #3d4250;
  --muted: #646b7a;
  --line: #e7e3d9;
  --line-2: #d9d4c7;
  --blue: #3f6fe3;
  --blue-600: #2c58c9;
  --blue-700: #2247a6;
  --blue-50: #eef3fe;
  --blue-100: #dbe6fd;
  --teal: #1f97a8;
  --teal-600: #11697a;
  --teal-50: #e7f5f7;
  --green: #136c45;
  --green-50: #e6f6ee;
  --amber: #8a5500;
  --amber-50: #fbf1df;
  --navy: #0d1630;
  --navy-2: #16224a;
  --on-dark: #e8ecf7;
  --on-dark-2: #c3cbe0;
  --danger: #a63d1a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(23 23 23 / 0.05), 0 1px 1px rgb(23 23 23 / 0.03);
  --shadow: 0 10px 30px -12px rgb(19 31 70 / 0.18), 0 2px 6px rgb(19 31 70 / 0.05);
  --shadow-lg: 0 30px 60px -20px rgb(19 31 70 / 0.28), 0 6px 16px rgb(19 31 70 / 0.06);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--blue) 60%, white); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 750; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--blue-600); }
p { margin: 0; text-wrap: pretty; }
.icon { display: inline-block; vertical-align: -0.22em; width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- buttons ---------------------------------------------------------------------------------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.005em; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgb(23 23 23 / 0.5); }
.btn-primary:hover { color: #fff; background: #000; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgb(23 23 23 / 0.55); }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: 0 8px 18px -10px rgb(23 23 23 / 0.45); }
.btn-blue:hover { color: #fff; background: var(--blue-600); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--ink); background: rgb(23 23 23 / 0.05); }
.btn-outline { color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-light { color: var(--navy); background: #fff; }
.btn-light:hover { color: var(--navy); transform: translateY(-1px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.link-arrow .icon { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--blue-600); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---- header ----------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; height: var(--header-h); transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background 0.3s; }
.site-header.is-scrolled { border-bottom-color: rgb(23 23 23 / 0.06); }
.site-header.is-scrolled::before { background: rgb(251 250 247 / 0.82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.header-inner { width: min(100% - 32px, 1280px); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 128px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-trigger, .nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }
.nav-trigger:hover, .nav-link:hover, .nav-item.is-open .nav-trigger { color: var(--ink); background: rgb(23 23 23 / 0.05); }
.nav-trigger .chev { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; width: 620px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.mega-narrow { width: 320px; grid-template-columns: 1fr; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col { display: grid; gap: 2px; align-content: start; }
.mega-col-channels { background: var(--bg); border-radius: 16px; padding: 10px; }
.mega-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; padding: 4px 8px 8px; }
.mega-link { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.mega-link:hover { background: var(--bg); color: var(--ink); }
.mega-title { font-weight: 700; font-size: 0.95rem; }
.mega-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.mega-channel { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.mega-channel .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm); }
.mega-channel:hover { background: var(--surface); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang-switch { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: 0.85rem; }
.lang-switch:hover { background: rgb(23 23 23 / 0.05); color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; }
.nav-toggle .icon { width: 24px; height: 24px; margin: auto; }
.nav-actions-mobile { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .hide-mobile { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 32px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-trigger, .nav-link { height: 56px; width: 100%; justify-content: space-between; font-size: 1.1rem; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .mega, .mega-narrow { position: static; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 12px; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .nav-item.is-open .mega { display: grid; }
  .nav-actions-mobile { display: grid; gap: 10px; margin-top: 20px; }
  .site-header::before { background: rgb(251 250 247 / 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

/* ---- sections --------------------------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-2); }
.section-white { background: var(--surface); }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; justify-items: center; }
.section-head p { font-size: 1.15rem; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.grid { display: grid; gap: 20px; }
.grid > *, .split > *, .hero-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-reverse > :first-child { order: 0; } }
.stack { display: grid; gap: 18px; align-content: start; }
.stack-lg { display: grid; gap: 28px; align-content: start; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- cards ------------------------------------------------------------------------------------ */
.card { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; }
.card p { color: var(--ink-2); font-size: 0.98rem; }
a.card { color: inherit; }
a.card:hover, .card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); color: inherit; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.card-icon .icon { width: 24px; height: 24px; }
.card-icon.teal, .card-icon.green, .card-icon.amber { background: var(--blue-50); color: var(--blue-600); }
.card-media { margin: -28px -28px 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
a.card:hover .card-media img { transform: scale(1.04); }
.card-foot { margin-top: auto; padding-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 0.78rem; font-weight: 700; }
.tag-blue { background: var(--blue-50); color: var(--blue-700); }
.tag-teal { background: var(--teal-50); color: var(--teal-600); }
.tag-green { background: var(--green-50); color: var(--green); }
.tag-soon { background: var(--amber-50); color: var(--amber); }
.media { border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-plain { border-radius: var(--radius-xl); overflow: hidden; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d63' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---- hero ------------------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-4%, 6%, 0) scale(1.08); } 100% { transform: translate3d(5%, -4%, 0) scale(0.95); } }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { max-width: 560px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 16px; height: 16px; color: var(--green); }
.pill { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.88rem; font-weight: 700; color: var(--ink-2); }
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; letter-spacing: 0.02em; }
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .hero-copy { max-width: 820px; }
.page-hero.center .hero-copy { margin-inline: auto; text-align: center; justify-items: center; }

/* ---- hero scene: channels converge on the agent ----------------------------------------------- */
.scene { position: relative; aspect-ratio: 1 / 0.92; width: 100%; max-width: 620px; margin-inline: auto; }
.scene-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene-lines path { fill: none; stroke: url(#lineGrad); stroke-width: 1.6; stroke-dasharray: 4 8; animation: dash 1.6s linear infinite; opacity: 0.7; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.scene-lines .pulse { fill: var(--blue); filter: drop-shadow(0 0 6px rgb(63 111 227 / 0.8)); }
.orb { position: absolute; left: 50%; top: 47%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #cfe0ff 22%, #6f95f0 55%, #2f5bd0 100%); box-shadow: 0 30px 60px -10px rgb(47 91 208 / 0.55), inset 0 -10px 30px rgb(15 40 120 / 0.35); display: grid; place-items: center; z-index: 2; }
.orb::before, .orb::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1.5px solid rgb(63 111 227 / 0.35); animation: ring 3.2s var(--ease) infinite; }
.orb::after { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.orb-wave { display: flex; gap: 4px; align-items: center; height: 34%; }
.orb-wave i { display: block; width: 5px; border-radius: 4px; background: #fff; animation: wave 1.1s ease-in-out infinite; }
.orb-wave i:nth-child(1) { height: 30%; animation-delay: -0.2s; }
.orb-wave i:nth-child(2) { height: 70%; animation-delay: -0.5s; }
.orb-wave i:nth-child(3) { height: 100%; animation-delay: -0.1s; }
.orb-wave i:nth-child(4) { height: 60%; animation-delay: -0.7s; }
.orb-wave i:nth-child(5) { height: 35%; animation-delay: -0.35s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
.orb-label { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 800; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 700; font-size: 0.9rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); animation: float 6s ease-in-out infinite; }
.node .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.node.is-active { box-shadow: 0 0 0 4px rgb(63 111 227 / 0.16), var(--shadow-lg); }
.node.n1 { left: 0; top: 6%; }
.node.n2 { right: 0; top: 2%; animation-delay: -1.5s; }
.node.n3 { left: 2%; bottom: 20%; animation-delay: -3s; }
.node.n4 { right: 2%; bottom: 24%; animation-delay: -4.5s; }
.node.n2 .icon { background: var(--green-50); color: var(--green); }
.node.n3 .icon { background: var(--teal-50); color: var(--teal); }
.node.n4 .icon { background: var(--amber-50); color: var(--amber); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.event-feed { position: absolute; left: 50%; bottom: -2%; width: min(92%, 400px); transform: translateX(-50%); z-index: 4; height: 96px; }
.event { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.event.is-in { opacity: 1; transform: none; }
.event.is-out { opacity: 0; transform: translateY(-14px) scale(0.98); }
.event-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); color: var(--green); }
.event-icon .icon { width: 22px; height: 22px; }
.event-title { font-weight: 800; font-size: 0.95rem; line-height: 1.3; }
.event-sub { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.event-time { font-size: 0.78rem; font-weight: 700; color: var(--green); background: var(--green-50); padding: 4px 8px; border-radius: 999px; }
.kpi-chip { position: absolute; z-index: 3; right: -2%; top: 37%; display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite -2s; }
.kpi-chip small { font-size: 0.72rem; opacity: 0.7; font-weight: 600; }
.kpi-chip strong { font-size: 1.35rem; letter-spacing: -0.02em; }
.kpi-chip.left { left: -2%; right: auto; top: 41%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.kpi-chip.left small { color: var(--muted); opacity: 1; }
@media (max-width: 560px) { .node { font-size: 0.78rem; padding: 8px 10px 8px 8px; } .node .icon { width: 28px; height: 28px; padding: 6px; } .kpi-chip { display: none; } .event-feed { height: 104px; } }

/* ---- logos ------------------------------------------------------------------------------------ */
.logos { padding: clamp(28px, 4vw, 48px) 0; }
.logos-label { text-align: center; font-size: 0.85rem; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.marquee { position: relative; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 64px; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 30px; width: auto; opacity: 0.6; filter: grayscale(1); transition: opacity 0.2s, filter 0.2s; }
.marquee-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- problem / stats -------------------------------------------------------------------------- */
.problem { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.problem-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.015em; }
.problem p { color: var(--ink-2); }
.problem .from { display: flex; align-items: center; gap: 10px; color: #b4451f; font-weight: 700; font-size: 0.9rem; }
.problem .to { display: flex; align-items: center; gap: 10px; color: var(--green); font-weight: 700; font-size: 0.9rem; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.problem .icon { width: 18px; height: 18px; }

/* ---- steps (how it works) --------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 0; counter-reset: step; }
.steps-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps-line i { display: block; width: 100%; height: var(--progress, 0%); background: linear-gradient(var(--blue), var(--teal)); transition: height 0.2s linear; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 18px 0; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); font-weight: 800; color: var(--muted); transition: background 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s; }
.step.is-on .step-num { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 6px rgb(63 111 227 / 0.12); }
.step-body { display: grid; gap: 6px; padding-top: 6px; }
.step-body h3 { font-size: 1.25rem; }
.step-body p { color: var(--ink-2); }
.step-demo { position: sticky; top: calc(var(--header-h) + 32px); }

/* Mini product windows (built in HTML, no screenshots) */
.window { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fdfcf9; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e1d6; }
.window-bar span { margin-left: 10px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.window-body { padding: 22px; display: grid; gap: 16px; }
.url-field { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--blue); box-shadow: 0 0 0 4px rgb(63 111 227 / 0.12); font-weight: 700; }
.url-field .icon { color: var(--blue); }
.url-field .caret { width: 2px; height: 22px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.understood { display: grid; gap: 10px; }
.understood-title { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.understood-title .icon { color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }
.chip .icon { width: 15px; height: 15px; color: var(--blue); }
.js [data-seq] > * { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js [data-seq] > .is-in { opacity: 1; transform: none; }

/* ---- conversation demo ------------------------------------------------------------------------ */
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } }
.demo-tabs { display: grid; gap: 10px; }
.demo-tab { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.demo-tab:hover { border-color: var(--line-2); }
.demo-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: var(--shadow); transform: translateX(4px); }
.demo-tab strong { display: block; font-size: 1rem; }
.demo-tab span { font-size: 0.88rem; color: var(--muted); }
.demo-tab .card-icon { width: 44px; height: 44px; }
.demo-tab-progress { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; display: none; }
.demo-tab[aria-selected="true"] .demo-tab-progress { display: block; }
.demo-tab-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.phone { position: relative; width: min(100%, 420px); margin-inline: auto; border-radius: 40px; padding: 12px; background: #11131a; box-shadow: var(--shadow-lg); }
.phone-screen { position: relative; border-radius: 30px; overflow: hidden; background: #f5f2ea; height: 560px; display: flex; flex-direction: column; }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.phone-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 800; }
.phone-head strong { display: block; font-size: 0.95rem; }
.phone-head small { color: var(--green); font-weight: 700; font-size: 0.78rem; }
.thread { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 0.92rem; line-height: 1.45; box-shadow: 0 1px 1px rgb(0 0 0 / 0.06); animation: pop 0.45s var(--ease) both; }
.msg.them { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 6px; }
.msg.us { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg.wa.us { background: #d9fdd3; color: var(--ink); }
.msg.voice { display: flex; align-items: center; gap: 10px; }
.msg.voice .bars { display: flex; gap: 2px; align-items: center; height: 18px; }
.msg.voice .bars i { width: 3px; border-radius: 2px; background: currentColor; opacity: 0.7; animation: wave 1s ease-in-out infinite; }
.msg-action { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; animation: pop 0.5s var(--ease) both; }
.msg-action .icon { width: 16px; height: 16px; color: #8ee6b4; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px; background: var(--surface); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa1ae; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.call-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 12px 16px 0; border-radius: 14px; background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 700; }
.call-banner .live { width: 8px; height: 8px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 0 0 rgb(255 93 93 / 0.6); animation: live 1.6s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(255 93 93 / 0.6); } 70% { box-shadow: 0 0 0 10px rgb(255 93 93 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 93 93 / 0); } }
.call-banner .timer { margin-left: auto; font-variant-numeric: tabular-nums; opacity: 0.8; }
.demo-outcome { margin-top: 18px; display: grid; gap: 10px; }
.outcome-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--ink-2); opacity: 0.35; transition: opacity 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.outcome-row.is-done { opacity: 1; border-color: color-mix(in oklab, var(--green) 35%, var(--line)); transform: translateX(4px); }
.outcome-row .icon { width: 20px; height: 20px; color: var(--green); }

/* ---- actions grid / feature rows -------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: 20px; transition: background 0.3s; }
.feature:hover { background: var(--surface); }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--ink-2); font-size: 0.97rem; }

/* Automation flow animation */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 0; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.flow-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }
.flow-node .card-icon { width: 52px; height: 52px; border-radius: 16px; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.flow-node.is-on .card-icon { transform: scale(1.1); box-shadow: 0 0 0 6px rgb(63 111 227 / 0.12); }
.flow-track { position: absolute; left: 16.6%; right: 16.6%; top: 48px; height: 2px; background: var(--line-2); container-type: inline-size; }
.flow-dot { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 6px rgb(47 91 208 / 0.45); animation: travel 3.6s var(--ease) infinite; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(calc(100cqw - 12px)); opacity: 0; } }
.flow-dark { max-width: 760px; margin: 0 auto 40px; background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.1); }
.flow-dark .flow-node { color: #dbe3f5; }
.flow-dark .flow-track { background: rgb(255 255 255 / 0.22); }
.auto-card { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; }
.auto-card .auto-img { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.auto-card .auto-img img { width: 100%; height: 100%; object-fit: cover; }
.auto-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ---- results dashboard mock ------------------------------------------------------------------- */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-kpi { padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 4px; }
.dash-kpi small { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.dash-kpi strong { font-size: 1.6rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-kpi em { font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--green); }
.dash-chart { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.dash-chart i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(var(--blue), color-mix(in oklab, var(--teal) 70%, white)); height: 8%; transition: height 1.2s var(--ease); }
.is-visible .dash-chart i { height: var(--h); }
.dash-list { grid-column: 1 / -1; display: grid; gap: 8px; }
.dash-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 0.88rem; }
.dash-row .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.dash-row .dot .icon { width: 16px; height: 16px; }
.dash-row b { font-weight: 700; }
.dash-row span { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 560px) { .dash { grid-template-columns: 1fr 1fr; } .dash-kpi:nth-child(3) { grid-column: 1 / -1; } }

/* ---- dark band -------------------------------------------------------------------------------- */
.band-dark { position: relative; background: var(--navy); color: #e8ecf7; overflow: hidden; isolation: isolate; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p, .band-dark li, .band-dark .section-head p { color: var(--on-dark-2); }
.band-dark .eyebrow { color: #9fc0ff; }
.band-dark .card { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.1); box-shadow: none; }
.band-dark .card p { color: #b9c2da; }
.band-dark .card-icon { background: rgb(63 111 227 / 0.18); color: #9fc0ff; }

/* ---- integrations ----------------------------------------------------------------------------- */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-tile { position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; aspect-ratio: 1.15; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 700; color: var(--ink-2); text-align: center; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile img, .logo-tile .icon { width: 40px; height: 40px; }
.logo-tile .icon { color: var(--blue); }
.logo-tile .tag { position: absolute; top: 8px; right: 8px; font-size: 0.75rem; padding: 2px 7px; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink-2); }
.notice .icon { width: 26px; height: 26px; color: var(--blue); }
.notice strong { color: var(--ink); }

/* ---- sectors ---------------------------------------------------------------------------------- */
.audio { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.audio-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.audio-btn .icon { width: 16px; height: 16px; }
.audio-btn .icon-pause { display: none; }
.audio.is-playing .icon-play { display: none; }
.audio.is-playing .icon-pause { display: block; }
.audio-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.audio-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.audio-time { font-size: 0.8rem; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 38px; }
.transcript { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.transcript summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }

/* ---- pricing ---------------------------------------------------------------------------------- */
.billing-toggle { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.billing-toggle button { border: 0; background: transparent; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--green); }
.billing-toggle button[aria-pressed="true"] .save { background: rgb(255 255 255 / 0.16); color: #b7f0d2; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.plan { position: relative; display: grid; gap: 20px; align-content: start; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan.is-featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
@media (max-width: 960px) { .plan.is-featured { transform: none; } }
.plan-badge { position: absolute; top: -14px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
.plan-name { font-size: 1.3rem; font-weight: 800; }
.plan-for { color: var(--muted); font-size: 0.95rem; margin-top: -12px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-size: 3.2rem; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-sub { font-size: 0.85rem; color: var(--muted); margin-top: -12px; min-height: 1.4em; }
.plan-qty { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--bg); }
.plan-qty div { display: flex; justify-content: space-between; gap: 10px; font-size: 0.93rem; }
.plan-qty b { font-variant-numeric: tabular-nums; }
.plan .check-list li { font-size: 0.93rem; }
.plan .btn { width: 100%; }
.plans-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .plans-side { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.plan-compact { grid-template-columns: 1fr auto; align-items: center; gap: 16px 24px; padding: 24px 26px; text-align: left; }
.plan-compact .plan-for { margin-top: 4px; }
.plan-compact .plan-price strong { font-size: 2.2rem; }
.plan-compact .plan-price-wrap { text-align: right; }
.plan-compact .plan-price-wrap .plan-price { justify-content: flex-end; }
.plan-compact .plan-price-wrap .plan-sub { margin-top: 6px; min-height: 0; }
@media (max-width: 520px) { .plan-compact .plan-price-wrap { text-align: left; } .plan-compact .plan-price-wrap .plan-price { justify-content: flex-start; } }
.plan-compact .plan-qty, .plan-compact .btn { grid-column: 1 / -1; }
@media (max-width: 520px) { .plan-compact { grid-template-columns: 1fr; } }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare td { font-variant-numeric: tabular-nums; }
.compare tbody th { font-weight: 600; color: var(--ink-2); }
.table-wrap { overflow-x: auto; border-radius: 20px; }
.footnote { font-size: 0.85rem; color: var(--muted); }

/* ---- faq -------------------------------------------------------------------------------------- */
.faqs { display: grid; gap: 10px; }
.faq { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s; }
.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; color: var(--ink-2); }
.faq-a p + p { margin-top: 10px; }

/* ---- final cta -------------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 22px; justify-items: center; text-align: center; padding: clamp(48px, 7vw, 96px) 24px; border-radius: 36px; background: var(--navy); color: #fff; }
.cta h2 { color: #fff; max-width: 760px; }
.cta p { color: #b9c2da; max-width: 600px; font-size: 1.1rem; }
.cta .btn-ghost { color: #fff; }
.cta .btn-ghost:hover { background: rgb(255 255 255 / 0.1); color: #fff; }

/* ---- code -------------------------------------------------------------------------------------- */
.window pre, .code { margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--navy); color: #dbe3f5; font: 500 0.85rem/1.65 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; white-space: pre; }
.window pre .k, .code .k { color: #9fc0ff; }
.window pre .s, .code .s { color: #8ee6d0; }
.window pre .c, .code .c { color: #7d89a8; }

/* ---- breadcrumbs / legal / forms -------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 20px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumb-sep { opacity: 0.5; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 64px); }
.legal > div > header { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 8px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 8px 0; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(63 111 227 / 0.14); }
.consent-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.consent-line input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); }
.form-status { font-weight: 700; font-size: 0.95rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b4451f; }
.hp { position: absolute; left: -9999px; }

/* ---- footer ----------------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b9c2da; padding: 72px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 320px; }
.footer-brand img { width: 130px; }
.footer-brand p { font-size: 0.95rem; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-title { color: #fff; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 4px; }
.footer-col a, .footer-button { color: #b9c2da; font-size: 0.92rem; }
.footer-col a:hover, .footer-button:hover { color: #fff; }
.footer-button { padding: 0; border: 0; background: none; text-align: left; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.82rem; color: #8994b3; }
.footer-bottom a { color: #b9c2da; }
main { min-height: 50vh; }
main > .section:last-child { padding-bottom: clamp(72px, 9vw, 120px); }

/* ---- cookie banner ---------------------------------------------------------------------------- */
.cookie { position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); display: grid; gap: 14px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: pop 0.5s var(--ease) both; }
.cookie[hidden] { display: none; }
.cookie-title { font-weight: 800; font-size: 1.05rem; padding-right: 28px; }
.cookie-text { font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; }
.cookie-text a { text-decoration: underline; }
.cookie-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--muted); }
.cookie-x:hover { background: var(--bg); color: var(--ink); }
.cookie-x .icon { width: 18px; height: 18px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cookie-actions .btn { padding: 0 10px; }
.cookie-actions [hidden] { display: none; }
.cookie-cats { display: grid; gap: 8px; }
.cookie-cats[hidden] { display: none; }
.cookie-cat { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg); cursor: pointer; }
.cookie-cat-text { display: grid; gap: 2px; font-size: 0.85rem; }
.cookie-cat-text span { color: var(--muted); }
.cookie-always { font-size: 0.75rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background 0.2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease); }
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(18px); }
@media (max-width: 480px) { .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; } }

/* ---- reveal on scroll ------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }

/* ---- 404 -------------------------------------------------------------------------------------- */
.page-404 main { display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Hero copy is never hidden waiting for JS: it is the first thing on screen. */
.js .hero [data-reveal], .js .page-hero .hero-copy[data-reveal], .js .page-hero .hero-copy [data-reveal] { opacity: 1; transform: none; }


/* ---- system revision after the 2026-11-06 critique ------------------------------------------- */
/* Cards: no stacked icon tile; the icon sits beside the heading and the card is an editorial row. */
.card:has(> .card-icon:first-child) { grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; }
.card:has(> .card-icon:first-child) > :not(.card-icon) { grid-column: 2; }
.card:has(> .card-icon:first-child) > .card-icon { grid-row: 1 / span 3; }
.grid > .card:not(a):not(:has(.card-media)) { background: transparent; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; box-shadow: none; padding: 24px 0 8px; }
.band-dark .grid > .card:not(a):not(:has(.card-media)) { border-top-color: rgb(255 255 255 / 0.16); background: transparent; }
.band-dark { background: var(--navy) radial-gradient(90% 120% at 10% 110%, rgb(31 151 168 / 0.22), transparent 60%); }
.section-head > h2 + p, .section-head > h1 + p { margin-top: 2px; }
.stack-lg > .section-head, .split .section-head { margin-bottom: 0; }
.link-arrow { padding-block: 10px; }
.crumbs a { padding-block: 10px; }
.footer-col a { padding-block: 4px; }
.transcript summary { padding-block: 10px; }
.is-paused, .is-paused * { animation-play-state: paused !important; }
::selection { background: var(--blue-100); color: var(--ink); }

/* ================================================================================================
   Signature modules
   ============================================================================================== */

/* ---- hero: the 21:40 storyboard --------------------------------------------------------------- */
.hero-grid.story-grid { grid-template-columns: 0.92fr 1.08fr; }
@media (max-width: 1000px) { .hero-grid.story-grid { grid-template-columns: 1fr; } }
.story { position: relative; display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } }
.story-phone { position: relative; border-radius: 38px; padding: 10px; background: #0b0e16; box-shadow: var(--shadow-lg); }
.story-screen { position: relative; height: 470px; border-radius: 30px; overflow: hidden; background: linear-gradient(180deg, #1a2140, #0d1226); color: #fff; }
@media (max-width: 640px) { .story-phone { max-width: 300px; margin-inline: auto; } .story-screen { height: 420px; } }
.story-lock, .story-call { position: absolute; inset: 0; padding: 26px 18px 18px; display: grid; align-content: start; justify-items: center; gap: 6px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.story-call { opacity: 0; transform: translateY(12px); justify-items: stretch; }
.story[data-phase="call"] .story-lock, .story[data-phase="done"] .story-lock { opacity: 0; transform: translateY(-12px); }
.story[data-phase="call"] .story-call, .story[data-phase="done"] .story-call { opacity: 1; transform: none; }
.story-time { font-size: 3.4rem; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 18px; }
.story-date { font-size: 0.82rem; color: #aab3cc; }
.story-closed { margin-top: 18px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.08); font-size: 0.75rem; color: #c3cbe0; }
.story-incoming { position: absolute; left: 14px; right: 14px; bottom: 22px; display: grid; gap: 4px; padding: 14px; border-radius: 20px; background: rgb(255 255 255 / 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.story-incoming small { color: #aab3cc; font-size: 0.72rem; }
.story-incoming strong { font-size: 0.95rem; }
.story-incoming .story-answer { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #2fbf71; margin-top: -40px; }
.story-incoming .story-answer .icon { width: 20px; height: 20px; }
.story[data-phase="ring"] .story-incoming { animation: ring-shake 0.9s ease-in-out infinite; }
@keyframes ring-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px) rotate(-1deg); } 40% { transform: translateX(3px) rotate(1deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.story-call-head { display: grid; justify-items: center; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.story-call-head strong { font-size: 0.95rem; }
.story-call-head small { color: #8ee6b4; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.story-wave { display: flex; gap: 3px; align-items: center; justify-content: center; height: 26px; margin: 8px 0 2px; }
.story-wave i { width: 3px; height: 100%; border-radius: 3px; background: #9fc0ff; transform: scaleY(0.25); }
.story[data-phase="call"] .story-wave i { animation: wave 0.9s ease-in-out infinite; }
.story-wave i:nth-child(2n) { animation-delay: -0.3s !important; }
.story-wave i:nth-child(3n) { animation-delay: -0.6s !important; }
.story-lines { display: grid; gap: 8px; align-content: end; height: 250px; overflow: hidden; }
.story-line { font-size: 0.8rem; line-height: 1.4; padding: 8px 10px; border-radius: 14px; background: rgb(255 255 255 / 0.07); opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.story-line b { display: block; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: #9fc0ff; margin-bottom: 2px; }
.story-line.them b { color: #c3cbe0; }
.story-line.is-on { opacity: 1; transform: none; }
.story-line:not(.is-on) { display: none; }
.story-side { display: grid; gap: 14px; }
.story-cal { padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.story-cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 0.85rem; }
.story-cal-head strong { font-size: 0.95rem; }
.story-cal-head span { color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: 42px repeat(5, 1fr); gap: 4px; font-size: 0.7rem; }
.cal-grid .d { text-align: center; color: var(--muted); font-weight: 700; padding-bottom: 2px; }
.cal-grid .h { color: var(--muted); font-variant-numeric: tabular-nums; align-self: center; }
.cal-grid .c { height: 26px; border-radius: 6px; background: var(--bg); border: 1px dashed transparent; }
.cal-grid .c.busy { background: #e9e6de; }
.cal-grid .c.target { position: relative; border-color: var(--blue-100); }
.story[data-step="3"] .cal-grid .c.target, .story[data-step="4"] .cal-grid .c.target, .story[data-step="5"] .cal-grid .c.target { animation: slot-pulse 1s ease-in-out 2; }
@keyframes slot-pulse { 50% { background: var(--blue-50); border-color: var(--blue); } }
.cal-grid .c.target::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 0.66rem; white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--ease); }
.story[data-step="4"] .cal-grid .c.target::after, .story[data-step="5"] .cal-grid .c.target::after, .story[data-step="6"] .cal-grid .c.target::after { clip-path: inset(0 0 0 0); }
.story-toast { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.story[data-step="5"] .story-toast, .story[data-step="6"] .story-toast { opacity: 1; transform: none; }
.story-toast .wa { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #e3f6e9; color: #136c45; }
.story-toast p { font-size: 0.85rem; line-height: 1.4; }
.story-toast small { color: var(--muted); font-size: 0.75rem; }
.ticks { display: inline-flex; vertical-align: -2px; color: #8b98a5; transition: color 0.4s; }
.ticks .icon { width: 16px; height: 16px; margin-left: -9px; }
.ticks .icon:first-child { margin-left: 0; }
.story[data-step="6"] .story-toast .ticks, .ticks.is-read { color: #2b8be6; }
.story-card { padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 8px; }
.story-card-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.92rem; }
.story-card-head .phone-avatar { width: 32px; height: 32px; font-size: 0.75rem; }
.story-field { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: 0.8rem; align-items: center; }
.story-field span { color: var(--muted); }
.story-field b { font-weight: 700; color: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path 0.6s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-field.is-on b { clip-path: inset(0 0 0 0); }
.story-rail { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 4px; font-size: 0.8rem; color: var(--muted); }
.story-rail ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.story-rail li { padding: 5px 10px; border-radius: 999px; background: var(--bg-2); font-weight: 700; font-variant-numeric: tabular-nums; transition: background 0.3s, color 0.3s; }
.story-rail li.is-on { background: var(--ink); color: #fff; }
.story-rail .btn { min-height: 36px; padding: 0 14px; font-size: 0.85rem; }

/* ---- one conversation, four chromes ----------------------------------------------------------- */
.device { position: relative; margin-inline: auto; transition: width 0.5s var(--ease), border-radius 0.5s var(--ease), padding 0.5s var(--ease), background 0.4s; }
.device .phone-screen { transition: border-radius 0.5s var(--ease), height 0.5s var(--ease), background 0.4s; }
.device[data-chrome="call"] .phone-screen { background: linear-gradient(180deg, #1a2140, #0d1226); }
.device[data-chrome="call"] .phone-head { background: transparent; border-bottom-color: rgb(255 255 255 / 0.08); color: #fff; }
.device[data-chrome="call"] .phone-head small { color: #8ee6b4; }
.device[data-chrome="call"] .msg.them { background: rgb(255 255 255 / 0.08); color: #e8ecf7; }
.device[data-chrome="call"] .msg.us { background: rgb(63 111 227 / 0.35); color: #fff; }
.device[data-chrome="call"] .typing { background: rgb(255 255 255 / 0.08); }
.device[data-chrome="whatsapp"] .phone-screen { background-color: #efe7dd; background-image: radial-gradient(rgb(0 0 0 / 0.035) 1px, transparent 1.2px); background-size: 14px 14px; }
.device[data-chrome="whatsapp"] .phone-head { background: #0f5b52; color: #fff; border-bottom: 0; }
.device[data-chrome="whatsapp"] .phone-head small { color: #cfe9e3; }
.device[data-chrome="whatsapp"] .phone-avatar { background: #cfe9e3; color: #0f5b52; }
.device[data-chrome="whatsapp"] .msg.us { background: #d9fdd3; color: var(--ink); }
.device[data-chrome="whatsapp"] .msg.us::after { content: ""; display: inline-block; width: 18px; height: 11px; margin-left: 6px; vertical-align: -1px; background: #8b98a5; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M1 6l3 3 6-7M7 9l1 1 7-8' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 11'%3E%3Cpath d='M1 6l3 3 6-7M7 9l1 1 7-8' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; animation: ticks-read 0.01s 1.5s forwards; }
@keyframes ticks-read { to { background: #2b8be6; } }
.device[data-chrome="web"] { width: min(100%, 560px); padding: 0; background: transparent; box-shadow: none; }
.device[data-chrome="web"] .phone-screen { border-radius: 20px; height: 520px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: linear-gradient(var(--bg) 0 0) padding-box; }
.device[data-chrome="web"] .phone-screen::before { content: ""; display: block; height: 40px; flex: none; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 18px 20px, #e5e1d6 5px, transparent 5.5px), radial-gradient(circle at 36px 20px, #e5e1d6 5px, transparent 5.5px), radial-gradient(circle at 54px 20px, #e5e1d6 5px, transparent 5.5px), #fdfcf9; }
.device[data-chrome="web"] .phone-head, .device[data-chrome="web"] .thread { margin-left: auto; width: min(340px, 92%); margin-right: 14px; }
.device[data-chrome="web"] .phone-head { margin-top: 16px; border-radius: 18px 18px 0 0; background: var(--blue-600); color: #fff; border-bottom: 0; }
.device[data-chrome="web"] .phone-head small { color: #dbe6fd; }
.device[data-chrome="web"] .phone-avatar { background: #fff; color: var(--blue-600); }
.device[data-chrome="web"] .thread { flex: 1; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: var(--shadow); }
.device[data-chrome="email"] { width: min(100%, 560px); padding: 0; background: transparent; box-shadow: none; }
.device[data-chrome="email"] .phone-screen { border-radius: 20px; height: 520px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.device[data-chrome="email"] .phone-head { background: #fdfcf9; }
.device[data-chrome="email"] .thread { justify-content: flex-start; }
.device[data-chrome="email"] .msg { max-width: 100%; border-radius: 12px; box-shadow: none; border: 1px solid var(--line); }
.device[data-chrome="email"] .msg.us { background: var(--blue-50); color: var(--ink); border-color: var(--blue-100); }
.msg .msg-meta { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; font-weight: 700; }

/* ---- approval gate ---------------------------------------------------------------------------- */
.approve { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.approve-head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.approve-head .tag { font-size: 0.72rem; }
.approve-body { font-size: 0.95rem; line-height: 1.55; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line-2); transition: background 0.3s, border-color 0.3s, opacity 0.4s, transform 0.5s var(--ease); }
.approve-body [contenteditable="true"] { outline: none; background: var(--amber-50); border-radius: 4px; box-shadow: 0 0 0 2px var(--amber-50); }
.approve-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.approve.is-sent .approve-body { background: var(--green-50); border-style: solid; border-color: color-mix(in oklab, var(--green) 30%, white); }
.approve-status { font-size: 0.85rem; font-weight: 700; color: var(--green); min-height: 1.3em; }

/* ---- the day: without / with Aurora ----------------------------------------------------------- */
.day { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.day-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.day-title { font-weight: 800; font-size: 1.05rem; }
.day-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); }
.day-switch button { border: 0; background: transparent; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; color: var(--ink-2); }
.day-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.day-track { position: relative; height: 70px; margin: 0 6px; }
.day-track::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line-2); border-radius: 2px; }
.day-hours { position: absolute; left: 0; right: 0; top: 48px; display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.day-cursor { position: absolute; top: 18px; width: 2px; height: 34px; background: var(--blue-600); border-radius: 2px; left: var(--pos, 0%); transition: left 0.08s linear; }
.day[data-mode="without"] .day-cursor { opacity: 0; }
.day-pin { position: absolute; top: 24px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 0; padding: 0; background: #f3d9cf; display: grid; place-items: center; color: var(--danger); transition: background 0.35s, color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s; }
.day-pin .icon { width: 12px; height: 12px; }
.day-pin .ok { display: none; }
.day-pin.is-done { background: var(--green-50); color: var(--green); box-shadow: 0 0 0 4px rgb(19 108 69 / 0.12); }
.day-pin.is-done .ok { display: block; }
.day-pin.is-done .ko { display: none; }
.day-pin[aria-current="true"] { transform: scale(1.25); }
.day-events { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .day-events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .day-events { grid-template-columns: 1fr; } }
.day-event { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: border-color 0.35s, background 0.35s; }
.day-event time { font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.day-event p { font-size: 0.88rem; color: var(--ink-2); }
.day-event .with { display: none; color: var(--green); font-weight: 700; }
.day-event .without { color: var(--danger); font-weight: 700; }
.day-event.is-done { background: var(--surface); border-color: color-mix(in oklab, var(--green) 35%, var(--line)); }
.day-event.is-done .with { display: block; }
.day-event.is-done .without { display: none; }
.day-sum { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.92rem; color: var(--ink-2); }
.day-sum strong { font-variant-numeric: tabular-nums; }

/* ---- pricing calculator ----------------------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-in { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); }
.calc-row { display: grid; gap: 8px; }
.calc-row label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 0.95rem; }
.calc-row output { font-variant-numeric: tabular-nums; color: var(--blue-600); }
.calc-row small { color: var(--muted); font-size: 0.82rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--line-2) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); }
.calc-out { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 36px); background: var(--navy); color: var(--on-dark); }
.calc-out small { color: var(--on-dark-2); font-size: 0.85rem; }
.calc-plan { font-size: 1rem; font-weight: 700; color: var(--on-dark-2); }
.calc-plan b { display: block; font-size: 2rem; color: #fff; letter-spacing: -0.02em; }
.calc-price { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.calc-price span { font-size: 1rem; font-weight: 600; color: var(--on-dark-2); letter-spacing: 0; }
.calc-break { display: grid; gap: 6px; font-size: 0.88rem; color: var(--on-dark-2); }
.calc-break div { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.calc-out .btn { justify-self: start; }

/* ---- try it: we call you in 60 seconds -------------------------------------------------------- */
.try { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; background: var(--navy); color: var(--on-dark); }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }
.try-copy { display: grid; gap: 18px; align-content: center; padding: clamp(28px, 5vw, 56px); }
.try-copy h2 { color: #fff; }
.try-copy p { color: var(--on-dark-2); }
.try-panel { position: relative; padding: clamp(28px, 4vw, 48px); background: rgb(255 255 255 / 0.04); border-left: 1px solid rgb(255 255 255 / 0.08); display: grid; align-content: center; }
.try form { display: grid; gap: 14px; }
.try .field label { color: var(--on-dark); }
.try .field input { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: #fff; }
.try .field input::placeholder { color: #8994b3; }
.try .consent-line { color: var(--on-dark-2); }
.try .consent-line a { color: #fff; text-decoration: underline; }
.try .form-status.err { color: #ffb4a0; }
.watch { display: grid; gap: 16px; justify-items: start; }
.watch-time { font: 600 clamp(3.5rem, 9vw, 5.5rem)/1 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.watch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.watch-steps li { display: flex; gap: 10px; align-items: center; color: #8994b3; font-weight: 600; transition: color 0.3s; }
.watch-steps li .icon { width: 18px; height: 18px; }
.watch-steps li.is-on { color: #fff; }
.watch-steps li.is-on .icon { color: #8ee6b4; }
.watch-note { color: var(--on-dark-2); font-size: 0.88rem; }

/* ---- photo stage: real photo with live UI on top ---------------------------------------------- */
.stage { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); isolation: isolate; }
.stage > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.stage-ui { position: absolute; inset: 0; display: grid; align-content: end; gap: 10px; padding: clamp(14px, 3vw, 28px); pointer-events: none; }
.stage-ui.right { justify-items: end; }
.stage-ui.left { justify-items: start; }
.stage-ui.top { align-content: start; }
.stage-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 320px; padding: 10px 14px; border-radius: 16px; background: rgb(255 255 255 / 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow); font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.stage-chip .icon { width: 18px; height: 18px; color: var(--blue-600); flex: none; }
.stage-chip.ok .icon { color: var(--green); }
.stage-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.75rem; }
@media (max-width: 560px) { .stage-chip { font-size: 0.78rem; padding: 8px 10px; } .stage-ui .stage-chip:nth-child(n+3) { display: none; } }

/* ---- site field (hero and closing) ------------------------------------------------------------ */
.site-field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); max-width: 520px; }
.site-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(63 111 227 / 0.14), var(--shadow); }
.site-field label { display: flex; align-items: center; gap: 8px; flex: 1; padding-left: 14px; color: var(--muted); }
.site-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); outline: none; height: 44px; }
.site-field .btn { min-height: 48px; }
@media (max-width: 480px) { .site-field { flex-direction: column; border-radius: 24px; } .site-field label { padding: 6px 12px; } }
.cta .site-field { margin-inline: auto; width: 100%; background: #fff; }
.list-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.list-rows li { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line-2); }
.band-dark .list-rows li { border-top-color: rgb(255 255 255 / 0.14); }
.list-rows li b { font-size: 1.02rem; }
.list-rows li span { color: var(--ink-2); }
.band-dark .list-rows li span { color: var(--on-dark-2); }
.list-rows li em { font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.band-dark .list-rows li em { color: #9fc0ff; }
@media (max-width: 640px) { .list-rows li { grid-template-columns: 1fr; gap: 4px; } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-weight: 700; color: var(--ink-2); font-size: 0.95rem; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts .icon { color: var(--blue-600); }
.story-toast { max-height: 0; padding-block: 0; border-width: 0; overflow: hidden; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), max-height 0.6s var(--ease), padding 0.6s var(--ease); }
.story[data-step="5"] .story-toast, .story[data-step="6"] .story-toast { max-height: 140px; padding-block: 12px; border-width: 1px; }
.story-rail li { font-size: 0.78rem; }
.device[data-chrome="web"] .phone-screen { background:
  linear-gradient(var(--line) 0 0) 28px 72px / 38% 14px no-repeat,
  linear-gradient(var(--bg-2) 0 0) 28px 100px / 30% 10px no-repeat,
  linear-gradient(var(--bg-2) 0 0) 28px 120px / 34% 10px no-repeat,
  linear-gradient(var(--bg-2) 0 0) 28px 150px / 36% 120px no-repeat,
  linear-gradient(var(--bg-2) 0 0) 28px 290px / 28% 10px no-repeat,
  linear-gradient(var(--bg-2) 0 0) 28px 310px / 32% 10px no-repeat,
  var(--surface); }
@media (max-width: 560px) { .device[data-chrome="web"] .phone-screen { background: var(--surface); } }
.story-phone { width: 100%; }
@media (max-width: 640px) { .story-phone { width: min(300px, 100%); } .story-side { grid-template-columns: 1fr; } }
.calc-price span[data-out] { font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }

.device.is-static[data-chrome="email"] .phone-screen { height: auto; min-height: 0; }
.device.is-static[data-chrome="email"] .thread { overflow: visible; }

/* Dark call screens: a solid base under the gradient so text contrast is computed on dark. */
.device[data-chrome="call"] .phone-screen, .story-screen { background-color: #0d1226; }

/* Light surfaces inside dark bands keep the light-page colours. */
.band-dark :is(.window, .approve, .plan, .day, .story-card, .calc-in, .legal) { color: var(--ink); }
.band-dark :is(.window, .approve, .plan, .day, .calc-in) :is(p, li, span:not(.tag):not(.icon)) { color: var(--ink-2); }
.band-dark :is(.window, .approve, .plan, .day, .calc-in) :is(h2, h3, b, strong) { color: var(--ink); }
.band-dark :is(.window, .day) .muted, .band-dark .window .dash-row span span, .band-dark .window small { color: var(--muted); }
.band-dark .approve-status { color: var(--green); }
.band-dark .link-arrow, .band-dark .facts { color: var(--on-dark); }
.band-dark .facts { border-color: rgb(255 255 255 / 0.16); }
.band-dark .facts .icon, .band-dark .link-arrow:hover { color: #9fc0ff; }
.band-dark .list-rows li b, .band-dark strong { color: #fff; }
.band-dark .device .msg.them { color: var(--ink); }
.band-dark .device[data-chrome="call"] .msg.them { color: #e8ecf7; }
.js .page-hero [data-reveal], .js .hero [data-reveal] { opacity: 1; transform: none; }

/* ---- overlap fixes (2026-11-06, user feedback) ------------------------------------------------- */
/* Flow: the line runs between the nodes, never through them. */
.flow { --flow-bg: var(--surface); }
.band-dark .flow, .flow-dark { --flow-bg: #1a2442; }
.window .flow { --flow-bg: var(--surface); }
.flow-track { z-index: 0; top: 50px; }
.flow-node { z-index: 2; }
.flow-node .card-icon { background: var(--flow-bg); border: 1.5px solid var(--blue-100); box-shadow: 0 0 0 8px var(--flow-bg); }
.flow-node.is-on .card-icon { background: var(--blue-600); color: #fff; border-color: var(--blue-600); box-shadow: 0 0 0 8px var(--flow-bg), 0 0 0 11px rgb(63 111 227 / 0.18); transform: none; }
.flow-dot { z-index: 1; }

/* Day: progress fills the track instead of a vertical cursor crossing the pins. */
.day-cursor { display: none; }
.day-track::after { content: ""; position: absolute; left: 0; top: 34px; height: 2px; width: var(--pos, 0%); background: var(--blue-600); border-radius: 2px; transition: width 0.08s linear; }
.day[data-mode="without"] .day-track::after { width: 0; }
.day-pin { z-index: 1; box-shadow: 0 0 0 4px var(--surface); }
.day-pin.is-done { box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px rgb(19 108 69 / 0.14); }
.day-pin[aria-current="true"] { transform: scale(1.18); }

/* ---- storyboard: pick your business ---------------------------------------------------------- */
.story-wrap { display: grid; gap: 14px; min-width: 0; }
.story-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.story-pick-label { font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.story-pick button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 0.85rem; color: var(--ink-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.story-pick button:hover { border-color: var(--ink); color: var(--ink); }
.story-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.story-closed { text-align: center; max-width: 92%; }
.story-call-head strong { text-align: center; }
.moment { display: grid; gap: 6px; margin: -28px -28px 8px; padding: 26px 28px 22px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--navy) radial-gradient(120% 100% at 100% 0%, rgb(63 111 227 / 0.35), transparent 60%); color: var(--on-dark); }
.moment time { font: 800 clamp(2.2rem, 3.6vw, 2.9rem)/1 var(--font); letter-spacing: -0.045em; color: #fff; font-variant-numeric: tabular-nums; }
.moment span { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: #8ee6b4; }
.moment span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(142 230 180 / 0.18); }
a.card:hover .moment { background-color: var(--navy-2); }

/* ---- stage without photos: Aurora's notifications on a dark screen --------------------------- */
.stage:not(:has(> img)) { display: grid; place-items: center; min-height: clamp(300px, 34vw, 440px); padding: clamp(22px, 4vw, 44px); background: radial-gradient(90% 80% at 85% 10%, rgb(63 111 227 / 0.38), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgb(31 151 168 / 0.26), transparent 60%), #0f1730; box-shadow: var(--shadow-lg); }
.stage:not(:has(> img))::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.stage:not(:has(> img)) .stage-ui { position: relative; inset: auto; width: min(100%, 380px); padding: 0; justify-items: stretch; align-content: center; gap: 10px; }
.stage:not(:has(> img)) .stage-ui::before { content: "Aurora · adesso"; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #aab3cc; padding-left: 4px; }
[data-lang="en"] .stage:not(:has(> img)) .stage-ui::before { content: "Aurora · just now"; }
.stage:not(:has(> img)) .stage-chip { max-width: none; width: 100%; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / 0.96); }
.stage:not(:has(> img)) .stage-chip .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--blue-50); }
.stage:not(:has(> img)) .stage-chip.ok .icon { background: var(--green-50); }
@media (max-width: 560px) { .stage:not(:has(> img)) .stage-ui .stage-chip:nth-child(n+3) { display: inline-flex; } }

/* ---- paper grain and the rhythm of surfaces --------------------------------------------------- */
body { background-color: var(--bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.section-white { background: rgb(255 255 255 / 0.72); }
.section-alt { background: rgb(234 229 218 / 0.6); }
main > section + section { border-top: 1px solid rgb(23 23 23 / 0.05); }
main > section.band-dark, main > section.band-dark + section { border-top: 0; }

/* Integration logos: real brand marks, several per tile when a tile groups tools. */
.logo-marks { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; }
.logo-tile .logo-marks img { width: 34px; height: 34px; }
.logo-tile .logo-marks img:only-child { width: 40px; height: 40px; }
.logo-tile .logo-marks img.logo-wide { width: auto; height: 30px; max-width: 108px; }

/* ---- sector explorer ------------------------------------------------------------------------- */
.sectors { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; } }
.sectors-tabs { display: grid; gap: 4px; }
@media (max-width: 900px) { .sectors-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; } .sector-tab { flex: 0 0 76%; scroll-snap-align: start; } }
.sector-tab { position: relative; display: grid; gap: 2px; text-align: left; padding: 16px 18px 18px; border: 0; border-radius: 16px; background: transparent; color: var(--ink-2); transition: background 0.25s, color 0.25s; }
.sector-tab strong { font-size: 1.05rem; color: var(--ink); }
.sector-tab span { font-size: 0.9rem; color: var(--muted); }
.sector-tab:hover { background: rgb(23 23 23 / 0.04); }
.sector-tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
.sector-progress { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.sector-tab[aria-selected="true"] .sector-progress { background: var(--line); }
.sector-progress b { display: block; width: 0; height: 100%; background: var(--blue-600); transition: width 1s linear; }
.sectors-stage { display: grid; gap: 14px; min-width: 0; }
.sector-scene { display: grid; gap: 14px; }
.sector-scene .window-body.ss { min-height: 360px; align-content: start; gap: 12px; }
.ss [data-step] { opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.5s var(--ease), background 0.4s, border-color 0.4s; }
.ss [data-step].is-in { opacity: 1; transform: none; }
.ss [data-until].is-gone { display: none; }
.ss .tag[data-step]:not(.is-in) { display: none; }
.ss .msg-action { justify-self: start; }
.ss-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.ss-note .icon { color: var(--green); flex: none; margin-top: 2px; }
.ss-wa { padding: 12px; border-radius: 14px; background-color: #efe7dd; background-image: radial-gradient(rgb(0 0 0 / 0.035) 1px, transparent 1.2px); background-size: 14px 14px; display: grid; }
.ss-wa .msg { max-width: 92%; justify-self: end; animation: none; }
.dash-row.is-hot { background: var(--blue-50); }
.ss-watch { display: flex; align-items: baseline; gap: 14px; padding: 8px 4px; }
.ss-watch-time { font-weight: 800; font-size: clamp(3rem, 6vw, 4.2rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.ss-watch span:last-child { color: var(--muted); font-weight: 600; }
.ss-cal { font-size: 0.8rem; }
.ss-cal .c { height: 34px; }
.ss .c.ss-fill { position: relative; border: 1px dashed var(--blue-100); opacity: 1; transform: none; }
.ss .c.ss-fill::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 0.7rem; white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--ease); }
.ss .c.ss-fill.is-in::after { clip-path: inset(0 0 0 0); }
.ss-field { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.ss-field b { clip-path: none; }
.ss-day { display: grid; gap: 8px; }
.ss-slot { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 0.9rem; }
.ss-slot time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ss-slot.busy { border-style: solid; background: var(--bg-2); color: var(--muted); }
.ss-gap { color: var(--muted); font-style: italic; }
.ss-booked { font-weight: 700; color: var(--green); }
.ss-slot:has(.ss-booked.is-in) { border-style: solid; border-color: color-mix(in oklab, var(--green) 35%, var(--line)); background: var(--green-50); }

/* ---- legal documents ------------------------------------------------------------------------- */
.legal-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.legal-hero .container { display: grid; gap: 16px; max-width: 1040px; }
.legal-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.legal-docs { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-docs a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 0.85rem; }
.legal-docs a:hover { border-color: var(--ink); color: var(--ink); }
.legal-docs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.legal-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; border-radius: 50%; background: var(--line-2); }
.legal-intro { display: grid; gap: 10px; max-width: 72ch; }
.legal-intro p { font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); }
.legal-intro a, .legal-meta a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); max-width: 1040px; align-items: start; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
@media (max-width: 960px) { .legal-side { position: static; max-height: none; } }
.legal-toc summary { list-style: none; cursor: pointer; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 4px 0 10px; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
.legal-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.88rem; line-height: 1.35; color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-active { color: var(--blue-700); border-left-color: var(--blue-600); font-weight: 700; }
@media (max-width: 960px) { .legal-toc { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); } .legal-toc summary { padding: 0; } .legal-toc[open] summary { padding-bottom: 10px; } }
.legal-tools { display: grid; gap: 2px; justify-items: start; }
.legal-tools .link-arrow { font-size: 0.88rem; border: 0; background: none; padding-inline: 0; color: var(--ink-2); }
@media (max-width: 960px) { .legal-tools { display: none; } }
.page-legal .legal { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow-sm); max-width: 760px; }
.page-legal .legal > div, .page-legal .legal > section, .page-legal .legal section { display: contents; }
.page-legal .legal h2 { position: relative; font-size: 1.35rem; margin: 0 0 14px; padding-top: 40px; scroll-margin-top: calc(var(--header-h) + 20px); }
.page-legal .legal h2 { border-top: 1px solid var(--line); margin-top: 40px; }
.page-legal .legal h2.is-first { padding-top: 0; border-top: 0; margin-top: 0; }
.page-legal .legal .legal-table { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 14px 0; }
.legal-anchor { position: absolute; left: -26px; color: var(--line-2); text-decoration: none !important; font-weight: 600; opacity: 0; transition: opacity 0.2s; }
.page-legal .legal h2:hover .legal-anchor { opacity: 1; }
.page-legal .legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.page-legal .legal p, .page-legal .legal li { font-size: 1rem; line-height: 1.75; color: var(--ink-2); max-width: 70ch; }
.page-legal .legal strong { color: var(--ink); }
.page-legal .legal ul, .page-legal .legal ol { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0 16px; }
.page-legal .legal li::marker { color: var(--blue-600); }
.page-legal .legal table { display: block; overflow-x: auto; width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; font-size: 0.9rem; margin: 16px 0; }
.page-legal .legal th, .page-legal .legal td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; vertical-align: top; }
.page-legal .legal tr:last-child td { border-bottom: 0; }
.page-legal .legal th { background: var(--bg); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
@media print {
  .site-header, .site-footer, .cookie, .legal-side, .legal-docs, .crumbs { display: none !important; }
  body { background: #fff; }
  .legal-layout { display: block; }
  .page-legal .legal { border: 0; box-shadow: none; padding: 0; max-width: none; }
  .page-legal .legal a { color: inherit; }
}

.page-legal .legal dl { display: grid; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.page-legal .legal dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.page-legal .legal dl > div:first-child { border-top: 0; }
.page-legal .legal dl > div.dl-head { background: var(--bg); }
.page-legal .legal dl > div.dl-head :is(dt, dd) { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.page-legal .legal dt { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.page-legal .legal dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 560px) { .page-legal .legal dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* Logo row: no rules crossing it; one calm line of marks. */
main > section.logos, main > section.logos + section { border-top: 0; }
.logos .marquee-track { gap: 24px clamp(36px, 6vw, 72px); }
.logos .marquee-track img { height: 28px; width: auto; }
/* Day pins: the tick and the cross sit in the exact centre of the dot. */
.day-pin > span { display: grid; place-items: center; width: 100%; height: 100%; line-height: 0; }
.day-pin .icon { display: block; width: 12px; height: 12px; margin: 0; vertical-align: 0; }
.day-pin .ok { display: none; }
.day-pin.is-done .ok { display: grid; }

/* ================================================================================================
   Mobile: cause and effect in the same screen (review of 2026-11-06 on a 390×844 iPhone)
   ============================================================================================== */
@media (max-width: 640px) {
  /* Storyboard: picker on one scrolling line, compact phone, compact outcomes right below. */
  .story-pick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .story-pick::-webkit-scrollbar { display: none; }
  .story-pick button { flex: none; min-height: 34px; padding: 0 12px; font-size: 0.8rem; }
  .story-pick-label { display: none; }
  .story { gap: 10px; }
  .story-phone { width: min(260px, 72%); padding: 7px; border-radius: 30px; }
  .story-screen { height: 330px; border-radius: 24px; }
  .story-time { font-size: 2.6rem; margin-top: 10px; }
  .story-lines { height: 168px; }
  .story-line { font-size: 0.74rem; padding: 6px 8px; }
  .story-side { gap: 8px; }
  .story-cal { padding: 10px 12px; border-radius: 16px; }
  .story-cal-head { margin-bottom: 6px; font-size: 0.78rem; }
  .cal-grid { grid-template-columns: 34px repeat(5, 1fr); gap: 3px; font-size: 0.62rem; }
  .cal-grid .c { height: 16px; border-radius: 4px; }
  .cal-grid .c.target::after { font-size: 0.56rem; border-radius: 4px; }
  .story-toast { padding-inline: 12px; border-radius: 14px; }
  .story[data-step="5"] .story-toast, .story[data-step="6"] .story-toast { padding-block: 8px; }
  .story-toast .wa { width: 30px; height: 30px; border-radius: 9px; }
  .story-toast p { font-size: 0.76rem; }
  .story-card { padding: 10px 12px; gap: 4px; border-radius: 16px; }
  .story-card-head { font-size: 0.8rem; }
  .story-field { grid-template-columns: 82px 1fr; font-size: 0.74rem; }
  .story-rail ol { display: none; }
  .story-rail { justify-content: flex-start; padding-top: 0; }

  /* Channel demo: channels as a scrolling row, the device right under it. */
  .demo { gap: 18px; }
  .demo-tabs { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px 6px; scroll-snap-type: x mandatory; }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tab { flex: 0 0 auto; display: inline-flex; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; scroll-snap-align: start; transform: none !important; }
  .demo-tab > span:nth-child(2) > span, .demo-tab-progress { display: none !important; }
  .demo-tab strong { font-size: 0.85rem; white-space: nowrap; }
  .demo-tab .card-icon { width: 30px; height: 30px; border-radius: 50%; }
  .demo-tab .card-icon .icon { width: 16px; height: 16px; }
  .demo-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
  .demo-tab[aria-selected="true"] strong { color: #fff; }
  .demo .phone { padding: 8px; border-radius: 30px; }
  .demo .phone-screen { height: 470px; border-radius: 24px; }
  .device[data-chrome="web"] .phone-screen, .device[data-chrome="email"] .phone-screen { height: 470px; }
  .demo-outcome { margin-top: 12px; }
  .outcome-row { font-size: 0.82rem; padding: 9px 12px; }
  .outcome-row:not(.is-done) { display: none; }

  /* The day: no shared track; each event carries its own status. */
  .day { padding: 16px; gap: 14px; }
  .day-top { gap: 10px; }
  .day-title { font-size: 0.92rem; }
  .day-track { display: none; }
  .day-events { gap: 8px; }
  .day-event { position: relative; grid-template-columns: 1fr; padding: 12px 12px 12px 44px; gap: 3px; }
  .day-event::before { content: ""; position: absolute; left: 12px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: #f3d9cf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a63d1a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat; transition: background 0.35s; }
  .day-event.is-done::before { background: #e3f2ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136c45' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
  .day-event p:not(.with):not(.without) { font-size: 0.85rem; }
  .day-event .with, .day-event .without { font-size: 0.85rem; }
}
