/* pfase.com. Tokens follow frontend/src/styles/tokens.css. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('/fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #0F172A; --ink-2: #1E293B; --slate: #334155; --muted: #556277; --line: #DDE3EC; --line-soft: #E8ECF2;
  --bg: #F3F6FB; --surface: #FFFFFF;
  --blue: #2563EB; --blue-ink: #1D4FD7; --blue-deep: #1E40AF; --blue-soft: #EAF2FF; --navy: #14204A; --on-dark: #D6E2FF;
  --peach: #FFB980; --orchid: #BC65BD; --indigo: #3C3DFF; --tag: #E0559C;
  --grad-brand: linear-gradient(90deg, #FFB980 0%, #BC65BD 47%, #3C3DFF 85%);
  --grad-button: linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,.1) 100%), linear-gradient(100deg, #FFB980 -15%, #BC65BD 35%, #3C3DFF 90%);
  --grad-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
  --grad-dark: linear-gradient(160deg, #14204A 0%, #1B3A9C 60%, #2563EB 100%);
  --shadow-button: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.15), 0 1px 2px rgba(15,23,42,.2), 0 8px 18px -6px rgba(124,82,214,.65);
  --shadow-white: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.1), 0 6px 14px -8px rgba(15,23,42,.25);
  --shadow-card: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.06), 0 14px 30px -16px rgba(37,99,235,.28);
  --shadow-panel: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.06), 0 30px 60px -28px rgba(37,99,235,.4);
  --shadow-pop: 0 2px 4px rgba(15,23,42,.06), 0 24px 48px -16px rgba(15,23,42,.35);
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font: 500 .9em var(--mono); background: var(--blue-soft); color: var(--blue-deep); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid rgba(37,99,235,.45); outline-offset: 3px; border-radius: 8px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: #fff; border-radius: 10px; }
.mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; font-weight: 600; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 16px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--slate); max-width: 34em; text-wrap: pretty; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.center { text-align: center; }
.head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }
.head h2 + .lede { margin-top: 18px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }
.after { margin-top: 40px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue-ink); text-decoration: none; }
.more .ic { transition: transform .2s; }
a:hover > .more .ic, a.more:hover .ic { transform: translateX(3px); }

/* Buttons: the glossy brand gradient, plastic white, and glass for dark grounds. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 0; font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn:active { transform: translateY(0); filter: brightness(.97); }
.btn.sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn.lg { height: 54px; padding: 0 26px; border-radius: 15px; font-size: 16.5px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { color: #fff; background: var(--grad-button); box-shadow: var(--shadow-button); text-shadow: 0 1px 1px rgba(40,20,90,.35); }
.btn.white { color: var(--ink); background: linear-gradient(180deg, #fff 0%, #F1F5FB 100%); box-shadow: var(--shadow-white); border: 1px solid var(--line); }
.btn.glass { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.1)); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .cta-row, .cta-row.center { justify-content: center; }

.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 600 11.5px/1 var(--body); letter-spacing: .01em; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 1px 2px rgba(15,23,42,.18); vertical-align: middle; }
.soon-pill { background: #B45309; }
.ok-pill { background: #15803D; }
.plan-pill { background: #A21CAF; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; z-index: 50; top: 12px; left: 0; right: 0; pointer-events: none; }
.nav-bar { pointer-events: auto; position: relative; width: min(var(--wrap), 100% - 24px); margin-inline: auto; height: 62px; padding: 0 12px 0 18px; display: flex; align-items: center; gap: 28px; border-radius: 18px; background: rgba(255,255,255,.8); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.08), 0 16px 32px -18px rgba(15,23,42,.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.mark { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 7px; background: var(--grad-brand); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 8px -2px rgba(188,101,189,.6); }
.mark i { width: 3px; border-radius: 1px; background: #fff; height: 7px; }
.mark i:nth-child(2) { height: 15px; } .mark i:nth-child(3) { height: 10px; }
.wordmark { height: 27px; width: auto; overflow: visible; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-a, .nav-btn { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; background: none; border-radius: 10px; font: 500 15px/1 var(--body); color: var(--ink-2); text-decoration: none; }
.nav-a:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { background: rgba(37,99,235,.08); color: var(--blue-ink); }
.nav-a[aria-current] { color: var(--blue-ink); }
.nav-btn .ic { transition: transform .2s; }
.nav-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.narrow-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; place-items: center; }
.nav-burger .ic:last-child, .nav.open .nav-burger .ic:first-child { display: none; }
.nav.open .nav-burger .ic:last-child { display: block; }

.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega-in { display: grid; grid-template-columns: 1fr 300px; gap: 8px; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px 8px 8px; }
.mega-cols.two { grid-template-columns: repeat(2, 1fr); }
.mega-h { font: 600 12px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 0 12px 10px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.mega-link:hover { background: var(--bg); }
.mega-ic { flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--blue-ink); background: linear-gradient(180deg, #F4F8FF, #DCE8FF); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.1); }
.mega-link b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega-link small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.mega-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; text-decoration: none; color: var(--ink); background: radial-gradient(120% 90% at 0% 0%, rgba(255,185,128,.5), transparent 55%), radial-gradient(120% 100% at 100% 100%, rgba(60,61,255,.28), transparent 60%), #F4EEFB; }
.mega-card.dark { color: #fff; background: var(--grad-dark); }
.mega-card b { font: 700 21px/1.15 var(--display); letter-spacing: -.02em; }
.mega-card small { font-size: 14px; line-height: 1.45; opacity: .8; }
.mega-card .tagline { font: 600 12px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; opacity: .75; }
.mega-card .more { margin-top: auto; padding-top: 14px; color: inherit; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 430vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --copy: 1; --dark: 0; --reveal: 0;
  background: radial-gradient(60% 50% at 12% 18%, rgba(255,185,128,.38), transparent 70%), radial-gradient(55% 55% at 88% 30%, rgba(60,61,255,.2), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(188,101,189,.22), transparent 70%), var(--bg); }
.hero-dark { position: absolute; inset: 0; opacity: var(--dark); background: radial-gradient(70% 60% at 50% 55%, rgba(72,128,255,.55), transparent 70%), radial-gradient(40% 40% at 85% 15%, rgba(188,101,189,.35), transparent 70%), linear-gradient(180deg, #0B1230 0%, #14204A 55%, #101A40 100%); }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px 14vh; opacity: var(--copy); transform: scale(calc(.92 + .08 * var(--copy))); }
.hero-copy h1 { font-size: clamp(60px, 13vw, 216px); line-height: .9; letter-spacing: -.055em; max-width: 8.2em; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; opacity: var(--copy); }
.hero-foot .lede { max-width: 33em; }
.hero-foot .cta-row { margin-top: 22px; }
.hero-stage.gone [data-hero-foot], .hero-stage.gone .hero-copy { visibility: hidden; }
.hero-reveal { position: absolute; left: 0; right: 0; top: clamp(96px, 13vh, 150px); text-align: center; color: #fff; padding: 0 20px; opacity: var(--reveal); transform: translateY(calc(18px * (1 - var(--reveal)))); pointer-events: none; }
.hero-reveal .eyebrow { color: var(--peach); }
.hero-reveal h2 { font-size: clamp(30px, 4.6vw, 62px); }
.hero-reveal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.hero-reveal li { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.hero-scroll { position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: var(--copy); }
.hero-scroll span { width: 1px; height: 34px; background: linear-gradient(180deg, transparent, var(--muted)); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60%, 100% { transform: scaleY(1); } }
.hero-fallback { display: none; }
/* No WebGL, or the reader asked for less motion: a plain hero with the screenshot. */
.no3d .hero { height: auto; }
.no3d .hero-stage { position: relative; height: auto; overflow: visible; padding: 150px 20px 72px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.no3d .hero-copy, .no3d .hero-foot { position: static; padding: 0; transform: none; }
.no3d .hero-copy h1 { font-size: clamp(48px, 9vw, 120px); }
.no3d .hero-canvas, .no3d .hero-reveal, .no3d .hero-scroll, .no3d .hero-dark { display: none; }
.no3d .hero-fallback { display: block; width: min(980px, 100%); }

/* ---------------------------------------------------------------- shots, bento */
.shot { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-panel); }
.shot-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: linear-gradient(180deg, #fff, #F1F5FB); border-bottom: 1px solid var(--line-soft); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DCE8; }
.shot img { width: 100%; }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento { grid-column: span 6; position: relative; display: flex; flex-direction: column; gap: 26px; min-height: 480px; padding: 32px 32px 0; border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.bento:hover { transform: translateY(-3px); box-shadow: var(--shadow-panel); }
.bento:nth-child(1) { grid-column: span 7; } .bento:nth-child(2) { grid-column: span 5; }
.bento:nth-child(5) { grid-column: span 12; flex-direction: row; min-height: 380px; padding-bottom: 0; }
.bento:nth-child(5) .bento-text { flex: 0 0 34%; padding-bottom: 32px; }
.bento h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; margin-bottom: 10px; }
.bento p:not(.eyebrow) { color: var(--slate); font-size: 16px; max-width: 30em; }
.bento .more { margin-top: 16px; }
.bento-media { flex: 1; min-height: 0; margin-right: -80px; }
.bento-media .shot { border-radius: 14px 0 0 0; border-bottom: 0; box-shadow: 0 20px 50px -20px rgba(37,99,235,.45); }
.bento:nth-child(2n) { background: radial-gradient(90% 60% at 100% 0%, rgba(255,185,128,.22), transparent 70%), var(--grad-card); }
.bento:nth-child(3) { background: radial-gradient(90% 60% at 0% 0%, rgba(60,61,255,.1), transparent 70%), var(--grad-card); }

/* ---------------------------------------------------------------- blueprint steps */
.steps-frame { padding: 0 clamp(10px, 4.5vw, 64px) clamp(10px, 1.6vw, 18px); border-radius: 30px; background: linear-gradient(180deg, #F08DB0 0%, #BC65BD 42%, #5B4DF0 78%, #3C3DFF 100%); box-shadow: 0 40px 80px -40px rgba(60,61,255,.55); }
.steps-sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: linear-gradient(90deg, rgba(47,91,234,.045) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(0deg, rgba(47,91,234,.045) 1px, transparent 1px) 0 0 / 32px 32px, #fff; border-radius: 0 0 18px 18px; overflow: hidden; }
.steps-copy { grid-column: 1; grid-row: 1; align-self: end; padding: clamp(24px, 4vw, 56px); }
.steps-copy .mono { color: #2F5BEA; }
.steps-copy h2 { font-weight: 500; letter-spacing: -.035em; }
.steps-copy .lede { margin-top: 16px; font-size: 17px; }
.steps-art { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 640 / 460; min-height: 320px; }
.steps-pane { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.steps-pane[hidden] { display: none; }
.steps-pane.on { opacity: 1; }
.steps-tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); padding: 0 clamp(24px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.steps-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; border: 0; background: none; text-align: left; color: var(--muted); }
.steps-tab .mono { color: #2F5BEA; }
.steps-tab i { display: block; width: 100%; height: 2px; background: #C9D6FB; border-radius: 2px; overflow: hidden; }
.steps-tab i b { display: block; height: 100%; width: 0; background: #2F5BEA; }
.steps-tab.on i b { width: 100%; transition: width 7s linear; }
.steps-tab.done i b { width: 100%; }
.steps-tab strong { font: 700 20px/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; }
.steps-text { font-size: 14.5px; line-height: 1.5; }
.steps-tab:not(.on) .steps-text { opacity: .75; }

.bp { width: 100%; height: 100%; }
.bp path:not(.bp-dash) { stroke-dasharray: 1; stroke-dashoffset: 0; }
.steps-pane.on .bp path:not(.bp-dash), .in .bp path:not(.bp-dash), .in.art .bp path:not(.bp-dash) { animation: draw 1.5s cubic-bezier(.6, 0, .2, 1) both; }
.steps-pane.on .bp-tag, .in .bp-tag { animation: tag .5s 1s both; }
.steps-pane.on .bp-tag:nth-of-type(2), .in .bp-tag:nth-of-type(2) { animation-delay: 1.15s; }
.steps-pane.on .bp-tag:nth-of-type(3), .in .bp-tag:nth-of-type(3) { animation-delay: 1.3s; }
.steps-pane.on .bp-tag:nth-of-type(4), .in .bp-tag:nth-of-type(4) { animation-delay: 1.45s; }
@keyframes draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 60% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes tag { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.art { border-radius: 20px; border: 1px solid #D5E0FB; overflow: hidden; background: linear-gradient(90deg, rgba(47,91,234,.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(0deg, rgba(47,91,234,.05) 1px, transparent 1px) 0 0 / 28px 28px, #fff; box-shadow: var(--shadow-card); }

/* ---------------------------------------------------------------- solutions, facts, dark */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; text-decoration: none; color: var(--ink); background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.sol:hover { transform: translateY(-3px); box-shadow: var(--shadow-panel); }
.sol p { color: var(--slate); font-size: 16px; }
.sol .more { margin-top: auto; padding-top: 14px; }
.sol-ic, .fact-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--blue-ink); background: linear-gradient(180deg, #F4F8FF, #DCE8FF); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.12); margin-bottom: 8px; flex: 0 0 auto; }
.sol-all { color: #fff; background: var(--grad-dark); border-color: transparent; }
.sol-all p, .sol-all .more { color: var(--on-dark); }
.sol-all .sol-ic { background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.1)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.fact { padding: 26px; border-radius: 20px; background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.fact h3 { margin: 6px 0 8px; font-size: 19px; }
.fact p { font-size: 15.5px; color: var(--slate); }
.section.dark { color: #fff; background: radial-gradient(50% 60% at 100% 0%, rgba(188,101,189,.35), transparent 70%), var(--grad-dark); border-radius: 36px; margin-inline: clamp(8px, 1.5vw, 20px); }
.dark .eyebrow { color: var(--peach); }
.dark .lede { color: var(--on-dark); }
.dark .fact { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07)); border-color: rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.dark .fact p { color: var(--on-dark); }
.dark .fact-ic { background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.1)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }

/* ---------------------------------------------------------------- plans, table */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: 24px; background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.plan.popular { border: 2px solid transparent; background: linear-gradient(180deg, #fff, #F8FAFE) padding-box, var(--grad-brand) border-box; box-shadow: var(--shadow-panel); }
.plan-pill { position: absolute; top: 26px; right: 26px; }
.plan h3 { font-size: 26px; }
.plan-for { color: var(--muted); font-size: 15px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.price-n { font: 700 54px/1 var(--display); letter-spacing: -.04em; }
.price-u { font-size: 14.5px; color: var(--muted); }
.plan-total { min-height: 1.6em; font-size: 14.5px; color: var(--slate); font-weight: 500; margin-bottom: 14px; }
.plan .btn { margin: 6px 0 18px; }
.plan-lead { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: var(--slate); }
.ticks .ic { flex: 0 0 auto; margin-top: 2px; color: var(--blue); }
.ticks b { color: var(--ink); font-weight: 600; }
.dark .ticks li { color: var(--on-dark); }

.bill { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin: 36px 0 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: #E3E9F2; box-shadow: inset 0 1px 2px rgba(15,23,42,.12); }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.seg button.on { background: linear-gradient(180deg, #fff, #F1F5FB); color: var(--ink); box-shadow: var(--shadow-white); }
.seats { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-white); overflow: hidden; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--blue-ink); }
.stepper button:hover { background: var(--blue-soft); }
.stepper input { width: 52px; height: 100%; border: 0; text-align: center; font: 700 18px var(--display); color: var(--ink); background: none; }
.phero .plans { margin-top: 36px; }

.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare td, .compare thead th:not(:first-child) { text-align: center; width: 17%; }
.compare thead th { font: 700 19px var(--display); position: sticky; top: 0; background: #fff; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .grp th { font: 600 12.5px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-ink); background: var(--bg); padding: 12px 20px; }
.compare tbody:last-child tr:last-child > * { border-bottom: 0; }
.yes, .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.yes { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(15,23,42,.2); }
.no { width: 12px; height: 2px; border-radius: 2px; background: #B6C0CF; }

/* ---------------------------------------------------------------- faq, cta, footer */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 16px; background: var(--grad-card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,.05); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 600 17.5px/1.35 var(--body); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: 0 0 auto; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq p { padding: 0 22px 22px; color: var(--slate); max-width: 44em; }

.cta { padding: 0 0 clamp(48px, 7vw, 96px); }
.cta-card { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px); border-radius: 36px; color: #fff; text-align: center; background: radial-gradient(60% 80% at 0% 100%, rgba(255,185,128,.55), transparent 65%), radial-gradient(55% 80% at 100% 0%, rgba(188,101,189,.55), transparent 65%), var(--grad-dark); box-shadow: 0 40px 80px -40px rgba(60,61,255,.6); }
.cta-card h2 { position: relative; font-size: clamp(32px, 4.6vw, 60px); max-width: 15em; margin-inline: auto; }
.cta-card p { position: relative; margin: 18px auto 0; color: var(--on-dark); max-width: 32em; }
.cta-card .cta-row { position: relative; justify-content: center; }
.cta-word { position: absolute; left: 50%; bottom: -4%; width: min(1100px, 120%); transform: translateX(-50%); color: rgba(255,255,255,.08); pointer-events: none; }
.wordmark.big { width: 100%; height: auto; }

.foot { padding: 56px 0 28px; border-top: 1px solid var(--line); background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot-brand p { margin-top: 16px; color: var(--slate); font-size: 15.5px; max-width: 22em; }
.foot-brand .foot-small, .foot-base { font-size: 14px; color: var(--muted); }
.foot-h { font: 600 12.5px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a:not(.brand) { display: block; padding: 5px 0; font-size: 15.5px; color: var(--ink-2); text-decoration: none; }
.foot-grid a:not(.brand):hover { color: var(--blue-ink); }
.foot-base { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); }

/* ---------------------------------------------------------------- deep pages */
.phero { padding: clamp(132px, 15vw, 190px) 0 clamp(36px, 5vw, 64px); background: radial-gradient(50% 60% at 8% 0%, rgba(255,185,128,.32), transparent 70%), radial-gradient(45% 60% at 95% 10%, rgba(60,61,255,.16), transparent 70%); }
.phero > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero.center > .wrap { display: block; }
.phero.center .phero-text { max-width: 820px; margin-inline: auto; }
.phero.center .lede { margin-inline: auto; }
.phero h1 { font-size: clamp(38px, 5vw, 66px); }
.phero h1 + .lede { margin-top: 22px; }
.phero-media .shot { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }

.rows { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 112px); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.row.flip .row-text { order: 2; }
.row-text h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.row-text > p { color: var(--slate); }
.row-text .ticks { margin-top: 20px; }
.soon { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px dashed #B6C0CF; font-size: 15px; color: var(--slate); }
.soon .pill { flex: 0 0 auto; margin-top: 1px; }
.code { margin: 0; padding: 24px; border-radius: 18px; overflow-x: auto; background: #0B1230; color: #D6E2FF; font: 500 14px/1.7 var(--mono); box-shadow: var(--shadow-panel); }
.code code { background: none; color: inherit; padding: 0; font: inherit; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: f; }
.flow li { padding: 24px; border-radius: 20px; background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.flow .mono { color: #2F5BEA; }
.flow h3 { margin: 14px 0 8px; }
.flow p { font-size: 15.5px; color: var(--slate); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.settings, .plan-note { padding: clamp(24px, 3vw, 36px); border-radius: 24px; }
.settings { background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.settings h3 { margin-bottom: 14px; }
.settings dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15.5px; }
.settings dt { color: var(--slate); }
.settings dd { font-weight: 600; text-align: right; }
.plan-note { color: #fff; background: var(--grad-dark); display: flex; flex-direction: column; justify-content: center; }
.plan-note .eyebrow { color: var(--peach); }
.plan-note .big { font: 500 clamp(19px, 1.9vw, 24px)/1.35 var(--display); letter-spacing: -.015em; }
.plan-note .more { color: #fff; margin-top: 20px; }

.sec { display: flex; flex-direction: column; gap: 14px; }
.sec-block { display: flex; gap: 22px; padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--grad-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.sec-block h2 { font-size: 24px; margin: 8px 0 6px; }

/* Reveal on scroll, only when the script is running. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 960px) {
  .nav-bar { gap: 8px; }
  .nav-burger { display: grid; }
  .nav-cta .nav-a { display: none; }
  .nav-links > .narrow-only { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; max-height: calc(100svh - 110px); overflow-y: auto; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
  .nav.open .nav-links { display: flex; }
  .nav-btn, .nav-links > .nav-a { width: 100%; justify-content: space-between; height: 48px; font-size: 16px; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-item.open .mega { display: block; }
  .mega-in { grid-template-columns: 1fr; padding: 0; border: 0; box-shadow: none; }
  .mega-cols, .mega-cols.two { grid-template-columns: 1fr; padding: 4px 0; }
  .mega-h { padding-top: 10px; }
  .bento, .bento:nth-child(n) { grid-column: span 12; min-height: 0; flex-direction: column; }
  .bento:nth-child(5) .bento-text { flex: none; padding-bottom: 0; }
  .bento-media { margin-right: -60px; }
  .steps-sheet { grid-template-columns: 1fr; }
  .steps-art, .steps-copy { grid-column: 1; grid-row: auto; }
  .steps-tabs { grid-template-columns: 1fr 1fr; }
  .sol-grid, .plans { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
  .phero > .wrap, .row, .split { grid-template-columns: 1fr; }
  .row.flip .row-text { order: 0; }
  .phero-media .shot { transform: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps-tabs, .flow, .foot-grid { grid-template-columns: 1fr; }
  .steps-tab:not(.on) .steps-text { display: none; }
  .bento { padding: 24px 24px 0; }
  .hero-scroll { display: none; }
  .hero-reveal ul { gap: 6px; margin-top: 16px; }
  .hero-reveal li { height: 32px; padding: 0 11px; font-size: 13px; gap: 6px; }
  .hero-foot .btn.lg { height: 50px; padding: 0 20px; }
  .sec-block { flex-direction: column; gap: 6px; }
  .foot-base { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
