/* 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: #2563EB; /* the one accent: a solid blue for the main action */
  --grad-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
  --grad-dark: #0B1020; /* dark grounds are flat */
  --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 -8px rgba(37,99,235,.6);
  --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); }
/* The bar's button is dark, like the mark, so the blue button on the page stays the main action. */
.nav-cta .btn.primary { background: var(--grad-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(11,16,32,.3), 0 6px 14px -8px rgba(11,16,32,.5); }
.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; }
.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;
  /* Glass: the page shows through, blurred and a little richer; a light edge on top, a soft one below. */
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.38)); backdrop-filter: blur(26px) saturate(1.9); -webkit-backdrop-filter: blur(26px) saturate(1.9); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(15,23,42,.06), 0 18px 36px -18px rgba(15,23,42,.38); }
/* Below the hero the floating pill becomes an ordinary top bar: full width, flush with the top edge. */
.nav, .nav-bar { transition: top .2s, border-radius .2s, width .2s; }
.nav.docked { top: 0; }
.nav.docked .nav-bar { width: 100%; border-radius: 0; border: 0; border-bottom: 1px solid rgba(221,227,236,.8); background: rgba(255,255,255,.88); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px -18px rgba(15,23,42,.35); padding-inline: max(18px, calc((100% - var(--wrap)) / 2)); }
/* While it floats there is nothing behind the logo: no pill, no glass. The glass above is the docked bar's. */
.nav:not(.docked):not(.open) .nav-bar { background: none; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.open:not(.docked) .nav-bar { background: #fff; border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
/* The header's action is a plain outlined rectangle. */
.nav-cta .btn.primary { height: 40px; padding: 0 14px; border-radius: 6px; border: 1.5px solid currentColor; background: none; color: var(--ink); box-shadow: none; }
.nav-burger { color: var(--ink); }
/* Over the dark part of the hero the logo, the links and the outline turn white. site.js sets .on-dark. */
.nav.on-dark .brand, .nav.on-dark .nav-a, .nav.on-dark .nav-btn, .nav.on-dark .nav-burger, .nav.on-dark .nav-cta .btn.primary { color: #fff; }
.nav.on-dark .nav-a:hover, .nav.on-dark .nav-btn:hover, .nav.on-dark .nav-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); color: #fff; }
.nav.on-dark .mark { background: #fff; box-shadow: none; }
.nav.on-dark .mark i { background: var(--grad-dark); }
.brand, .mark, .mark i, .nav-a, .nav-btn, .nav-cta .btn.primary { transition: color .2s, background-color .2s; }
.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: 9px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 7px; background: var(--grad-dark); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 6px -2px rgba(11,16,32,.5); }
.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: #EEF2F8; }
.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: var(--bg); }
.hero-dark { position: absolute; inset: 0; opacity: var(--dark); background: var(--grad-dark); }
.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: #8FB0FF; }
.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 { position: relative; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; background: linear-gradient(180deg, #F7F9FC, #EDF1F7); border-bottom: 1px solid var(--line-soft); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); }
.shot-bar i:nth-child(2) { background: #FEBC2E; } .shot-bar i:nth-child(3) { background: #28C840; }
.shot-url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 14px; min-width: min(46%, 240px); justify-content: center; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px var(--line-soft); font-size: 11.5px; font-weight: 500; line-height: 1; color: var(--muted); white-space: nowrap; }
.shot-url svg { opacity: .6; }
.shot-view { overflow: hidden; }
.shot img { width: 100%; }
/* One part of a screenshot at a readable size: --z zooms, --x and --y place its top left corner. */
/* A whole-screen shot plays a short tour when it scrolls into view: in on the top left, across,
   down, and back out. site.js adds .play once; reduced motion keeps the still. */
.shot video { display: block; width: 100%; height: auto; aspect-ratio: 1360 / 860; object-fit: cover; object-position: top; background: #fff; }
/* Every clip has a pause button: motion that loops must be stoppable, by pointer and by keyboard. */
.shot-view { position: relative; }
.clip-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(11,16,32,.62); color: #fff; cursor: pointer; opacity: .55; transition: opacity .15s; }
.shot:hover .clip-toggle, .clip-toggle:focus-visible, .clip-toggle.paused { opacity: 1; }
.clip-toggle svg { fill: currentColor; }
.clip-toggle .i-play, .clip-toggle.paused .i-pause { display: none; }
.clip-toggle.paused .i-play { display: block; }
@media (prefers-reduced-motion: reduce) { .clip-toggle { display: none; } }
.shot.tour img { transform-origin: 0 0; will-change: transform; }
.shot.tour.play img { animation: tour 11s cubic-bezier(.6, 0, .25, 1) .3s 1 both; }
@keyframes tour {
  0%, 100% { transform: none; }
  14%, 30% { transform: scale(1.75) translate(-2%, -3%); }
  44%, 58% { transform: scale(1.75) translate(-41%, -6%); }
  72%, 86% { transform: scale(1.75) translate(-22%, -40%); }
}
@media (prefers-reduced-motion: reduce) { .shot.tour.play img { animation: none; } }
.shot.crop .shot-view { aspect-ratio: var(--ar); }
.shot.crop img, .shot.crop video { width: calc(100% * var(--z)); max-width: none; height: auto; transform: translate(calc(-1 * var(--x)), calc(-1 * var(--y))); }

.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, .bento:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-panel); }
.bento .more::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.bento .more:focus-visible { outline: none; }
.bento:has(.more:focus-visible) { outline: 2px solid var(--blue, #2563EB); outline-offset: 3px; }
.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: var(--grad-card); }
.bento:nth-child(3) { background: var(--grad-card); }

/* ---------------------------------------------------------------- blueprint steps */
.steps-frame { padding: 0 clamp(10px, 4.5vw, 64px) clamp(10px, 1.6vw, 18px); border-radius: 30px; background: var(--grad-dark); 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; }
/* Drawn icons: white and grey blocks with one blue accent (public/icons, public/art). */
.sol-art { width: 88px; height: 88px; margin: -8px 0 4px -8px; }
.fact-art { width: 76px; height: 76px; margin: -8px 0 8px -8px; }
.phero-art { width: 128px; height: 128px; margin: 0 0 14px -12px; }
.phero.center .phero-art { margin-inline: auto; }
.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: var(--grad-dark); border-radius: 36px; margin-inline: clamp(8px, 1.5vw, 20px); }
.dark .eyebrow { color: #8FB0FF; }
.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, linear-gradient(var(--blue), var(--blue)) 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: 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); }
.eu { display: inline-block; width: 1.5em; height: 1em; vertical-align: -.14em; margin-right: .4em; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(15,23,42,.18); }
.holding { font-weight: 600; letter-spacing: .01em; color: var(--slate); }
.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: none; }
.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, .row-text .more { margin-top: 20px; }
.also { display: grid; gap: 12px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.also p { margin: 0; }
.crm-logos { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; vertical-align: middle; }
.crm-logos img { height: 20px; width: auto; }
.compare .crm-logos { display: flex; margin-top: 6px; }
.compare .crm-logos img { height: 16px; }
.crm-logos img[alt="Pipedrive"] { height: 30px; margin-block: -5px; }
.compare .crm-logos img[alt="Pipedrive"] { height: 24px; margin-block: -4px; }
/* A grid item is as wide as its content unless told otherwise: a long line of code must scroll in its box. */
.row-text, .row-media { min-width: 0; }
.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: #8FB0FF; }
.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-cta { margin-left: auto; } /* the menu is out of the row here: the button and the burger go to the right */
  .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; }
  /* minmax(0, 1fr): a bare 1fr grows to the widest child, which pushed the sheet off the screen. */
  .steps-sheet { grid-template-columns: minmax(0, 1fr); }
  .steps-art { min-height: 0; }
  .steps-art, .steps-copy { grid-column: 1; grid-row: auto; }
  .steps-tabs { grid-template-columns: repeat(2, minmax(0, 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: minmax(0, 1fr); }
  /* The dark frame is a thin edge on a phone, so the sheet keeps the width. */
  .steps-frame { padding: 0 6px 6px; border-radius: 18px; }
  .steps-copy { padding: 20px 18px; }
  /* Room at the sides, so a label at the edge of the drawing is whole. */
  .steps-pane { inset: 0 22px; }
  .steps-tabs { padding: 0 18px 22px; gap: 14px; }
  .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; }
}

/* Legal pages: plain reading text. */
.legal { font-size: 16.5px; }
.legal section { padding-top: 34px; scroll-margin-top: 90px; }
.legal h2 { font-size: 24px; margin: 0 0 12px; }
.legal p, .legal ul { margin: 0 0 12px; color: var(--slate); }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue-ink); }
.legal-toc { padding: 20px 24px; border-radius: 18px; background: var(--grad-card); border: 1px solid var(--line); }
.legal-toc ol { margin: 0; padding-left: 22px; list-style: decimal; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-table { overflow-x: auto; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.legal-table th { font-weight: 600; background: #F6F8FB; }
.legal-table tr:last-child td { border-bottom: 0; }
.foot-legal { display: inline-flex; gap: 18px; }
.foot-legal a { color: inherit; text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
