/* NxtGen Tracking marketing site. One stylesheet, no build step. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/assets/fonts/lexend.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0f1c2b;
  --ink-2: #3f4c5c;
  --muted: #677384;
  --line: #e5e0d6;
  --bg: #fbfaf7;
  --card: #ffffff;
  --tint: #f4f1ea;
  --brand: #0a6dbf;
  --brand-600: #085ea6;
  --brand-700: #064b8a;
  --brand-50: #e9f2fb;
  --brand-100: #cfe6f8;
  --sun: #ffb020;
  --sun-soft: #fff2d6;
  --teal: #1a9aa0;
  --good: #16a34a;
  --coral: #f2786d;
  --navy: #0f1c2b;
  --navy-2: #12304c;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgb(15 28 43 / .06), 0 2px 8px rgb(15 28 43 / .05);
  --shadow-md: 0 6px 16px rgb(15 28 43 / .08), 0 18px 40px rgb(15 28 43 / .08);
  --shadow-lg: 0 12px 28px rgb(15 28 43 / .10), 0 40px 90px rgb(15 28 43 / .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Lexend", "Inter", system-ui, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgb(10 109 191 / .45); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgb(6 75 138 / .4), 0 6px 16px rgb(10 109 191 / .28); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgb(6 75 138 / .4), 0 10px 22px rgb(10 109 191 / .34); }
.btn-outline { background: #fff; color: var(--ink); border-color: #cbd6e2; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.btn-outline-light:hover { background: rgb(255 255 255 / .12); color: #fff; border-color: #fff; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 250 247 / .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px rgb(11 27 43 / .05); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-text { font-weight: 400; }
.logo-text b { font-weight: 700; }
.logo-light, .logo-light:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav > a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav > a:hover { color: var(--ink); background: var(--tint); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions { display: none; align-items: center; gap: 8px; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 1000px) {
  .header-actions { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px clamp(20px, 4vw, 32px) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgb(11 27 43 / .12); display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a { padding: 13px 12px; font-size: 17px; }
  .nav-cta { margin: 10px 0 0; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { min-height: 50px; }
  .nav-cta .btn-ghost { border-color: #cbd6e2; }
}
@media (max-width: 420px) { .header-cta { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); overflow: clip; }
.hero-glow { position: absolute; inset: -10% -10% auto auto; width: 70%; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 40% at 70% 35%, rgb(255 176 32 / .16), transparent 70%), radial-gradient(40% 40% at 90% 70%, rgb(10 109 191 / .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); }
.tag::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--sun); }
.hero h1 { margin-top: 18px; font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.hero h1 .word { display: inline-block; }
/* A highlighter stroke under the key words, in place of a colour gradient. */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::before { content: ""; position: absolute; left: -.06em; right: -.06em; top: 56%; height: 34%; border-radius: 6px; background: var(--sun); z-index: -1; transform-origin: left center; transform: scaleX(var(--mark, 1)); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.hero .lead { margin-top: 20px; max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .cta-row { margin-top: 28px; }
.hero-team { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 14px 18px 14px 14px; width: fit-content; max-width: 100%; border-radius: 18px; background: var(--card); border: 1px solid rgb(15 28 43 / .07); box-shadow: var(--shadow-md); }
.hero-team p { font-size: 14px; line-height: 1.45; max-width: 34ch; color: var(--ink-2); }
.hero-team b { color: var(--ink); font-weight: 600; }
.avatar-stack { display: flex; flex: none; }
.avatar-stack img, .stack-more { width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid #fff; object-fit: cover; box-shadow: 0 2px 6px rgb(15 28 43 / .15); }
.avatar-stack > * + * { margin-left: -12px; }
.stack-more { display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-ticks .ic { color: var(--good); width: 17px; height: 17px; stroke-width: 3; }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 470px; padding: 0 0 34px; }
.hero-photo-wrap { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -20px rgb(15 28 43 / .35), 0 0 0 1px rgb(15 28 43 / .06); }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(15 28 43 / .28)); pointer-events: none; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.float-card { position: absolute; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(15 28 43 / .07); border-radius: 18px; box-shadow: 0 18px 40px -12px rgb(15 28 43 / .28), 0 2px 6px rgb(15 28 43 / .06); text-align: left; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgb(15 28 43 / .18); }
.hero-chip { left: -44px; top: 30px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; }
.hero-chip .avatar { width: 38px; height: 38px; }
.chip-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 132px; }
.chip-text b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chip-text small { font-size: 12px; color: var(--muted); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgb(22 163 74 / .16); }
.hero-week { left: -56px; bottom: 120px; width: 196px; padding: 14px 16px 12px; }
.hw-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.hw-value { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; font-family: var(--display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.hw-value small { font-size: .5em; font-weight: 600; color: var(--muted); }
.hw-value em { margin-left: auto; font-family: var(--font); font-style: normal; font-size: 12px; font-weight: 700; color: #11803b; background: #e7f6ec; padding: 2px 7px; border-radius: 999px; }
.hw-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 46px; margin-top: 10px; }
.hw-bars i:nth-child(1) { height: 62%; } .hw-bars i:nth-child(2) { height: 78%; } .hw-bars i:nth-child(3) { height: 70%; } .hw-bars i:nth-child(4) { height: 84%; } .hw-bars i:nth-child(5) { height: 58%; } .hw-bars i:nth-child(6) { height: 10%; } .hw-bars i:nth-child(7) { height: 4%; }
.hw-bars i { display: block; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #2a8de0, var(--brand)); transform-origin: bottom; }
.hw-bars i.we { background: #d9dee6; }
.hw-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 5px; font-size: 10.5px; font-weight: 600; color: var(--muted); text-align: center; }
.hero-live { right: -36px; bottom: 0; width: 272px; padding: 14px 16px 8px; }
.hero-live-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.hero-live-title em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgb(22 163 74 / .16); }
.hero-live li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f0ede6; }
.hero-live li > span { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.hero-live b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hero-live small { font-size: 12px; color: var(--muted); }
.hero-live i { font-style: normal; font-size: 12.5px; font-weight: 700; color: #11803b; background: #e7f6ec; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 1180px) { .hero-chip { left: -16px; } .hero-week { left: -24px; } .hero-live { right: -14px; } }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 440px; margin-top: 4px; }
  .hero-photo { aspect-ratio: 1 / 1.05; }
}
@media (max-width: 560px) {
  .hero-team { padding: 12px; gap: 12px; }
  .avatar-stack img, .stack-more { width: 34px; height: 34px; }
  .avatar-stack img:nth-child(n+5) { display: none; }
  .hero-chip { left: 10px; top: 12px; padding: 7px 14px 7px 7px; }
  .hero-week { display: none; }
  .hero-live { right: 10px; bottom: 0; width: 236px; padding: 12px 14px 6px; }
  .hero-live li:nth-child(3) { display: none; }
  .hero-media { padding-bottom: 46px; }
}

/* Facts */
.facts { padding: 0 0 clamp(48px, 6vw, 80px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { position: relative; padding: 22px 22px 20px; border-radius: 20px; background: var(--card); border: 1px solid rgb(15 28 43 / .06); box-shadow: var(--shadow-md); transition: transform .25s, box-shadow .25s; }
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fact-ic { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-50); color: var(--brand); }
.fact-ic .ic { width: 19px; height: 19px; }
.fact b { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-size: clamp(2.3rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.fact b small { font-size: .36em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.fact p { margin-top: 10px; font-size: 14.5px; line-height: 1.45; max-width: 24ch; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts-grid { gap: 10px; } .fact { padding: 16px 14px; } .fact-ic { display: none; } .fact p { font-size: 13.5px; } }

/* Dashboard band */
.browser { border-radius: 16px; background: #fff; border: 1px solid #d9d4c9; box-shadow: 0 40px 80px -30px rgb(15 28 43 / .35), 0 0 0 1px rgb(15 28 43 / .04); overflow: hidden; transform-origin: 50% 0; }
.product .wrap { perspective: 1600px; }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #ece9e2; border-bottom: 1px solid #dfdbd1; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfcabd; }
.browser-tab { height: 28px; align-self: flex-end; padding: 0 16px; display: inline-flex; align-items: center; background: #fff; border-radius: 8px 8px 0 0; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.browser img { width: 100%; }
@media (max-width: 640px) {
  .browser-bar { height: 30px; } .browser-tab { height: 22px; font-size: 11px; } .dots i { width: 8px; height: 8px; }
  /* On phones the whole dashboard is too small to read, so show the main part of it larger. */
  .browser img { width: 170%; max-width: none; margin-left: -31.4%; }
}

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.kicker { --kick: 1; display: flex; align-items: center; gap: 10px; width: fit-content; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.kicker::before { content: ""; width: calc(22px * var(--kick, 1)); height: 3px; border-radius: 2px; background: var(--sun); }
.section-head:not(.section-head-left) .kicker { margin-inline: auto; }
.section-head h2, .app-copy h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; }
.section-head h2 + p { margin-top: 16px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.section-head-left { margin-inline: 0; text-align: left; max-width: 680px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 120px); }
.feature-flip .feature-copy { order: 2; }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); flex: none; }
.feature-icon .ic { width: 22px; height: 22px; }
.feature-art { width: 76px; height: 76px; margin-left: -8px; mix-blend-mode: multiply; }
.feature-copy h3 { margin-top: 10px; font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; letter-spacing: -0.025em; }
.feature-copy > p { margin-top: 14px; }
.ticks { display: grid; gap: 10px; }
.feature-copy .ticks { margin-top: 22px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 16px; color: var(--ink-2); }
.ticks .ic { width: 20px; height: 20px; margin-top: 3px; padding: 3px; border-radius: 50%; background: #e7f6ec; color: #11803b; stroke-width: 3.5; }
.feature-media { margin: 0; padding: clamp(12px, 2vw, 22px); border-radius: 22px; background: var(--tint); border: 1px solid var(--line); }
.feature-media img { width: 100%; border-radius: 12px; border: 1px solid #dcd7cc; box-shadow: 0 24px 50px -20px rgb(15 28 43 / .3); background: #fff; }
.feature-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.feature-wide.feature-flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.feature-media .fade-bottom { border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: none; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
@media (max-width: 880px) { .feature, .feature-wide, .feature-wide.feature-flip { grid-template-columns: 1fr; } .feature-flip .feature-copy { order: 0; } }

/* Desktop app */
.app-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.app-copy > p { margin-top: 16px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.app-points { display: grid; gap: 22px; margin-top: 34px; }
.app-points li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.app-points .feature-icon { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.app-points h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.app-points p { margin-top: 4px; font-size: 15.5px; }
.app-media { position: relative; width: 100%; padding: 0 0 56px 64px; }
.app-photo { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 46% 50%; border-radius: 24px; box-shadow: var(--shadow-md); }
.app-shot { position: absolute; left: 0; bottom: 0; width: 44%; max-width: 250px; border-radius: 16px; box-shadow: var(--shadow-lg); }
@media (max-width: 880px) { .app-grid { grid-template-columns: 1fr; } .app-media { max-width: 480px; margin-inline: auto; padding: 0 0 44px 44px; } .app-photo { aspect-ratio: 1 / 1; } }

/* Built in */
.built { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.built li { display: block; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid rgb(15 28 43 / .06); box-shadow: var(--shadow-md); transition: transform .25s, box-shadow .25s; }
.built li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.built .ic { display: block; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--sun-soft); color: #9a5b00; }
.built li:nth-child(even) .ic { background: var(--brand-50); color: var(--brand); }
.built h3 { margin-top: 16px; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.012em; }
.built p { margin-top: 6px; font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) { .built { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .built { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.steps li { padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--card); border: 1px solid rgb(15 28 43 / .06); box-shadow: var(--shadow-md); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sun-soft); font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.steps h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.steps p { margin-top: 10px; font-size: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Staff privacy */
.section-dark { background: radial-gradient(70% 90% at 80% 0%, #17406a, transparent 60%), var(--navy); color: #b9c8d8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #6cc0f5; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin-inline: auto; }
.privacy-card { padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); }
.privacy-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.privacy-card h3 .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgb(108 192 245 / .16); color: #8dd0fa; }
.privacy-card:last-child h3 .ic { background: rgb(242 120 109 / .16); color: #f7a199; }
.privacy-card li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid rgb(255 255 255 / .09); font-size: 16px; color: #d5e0ea; }
.privacy-card li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: #6cc0f5; }
.privacy-card:last-child li::before { background: #f7a199; }
.privacy-note { display: grid; grid-template-columns: 24px 1fr; gap: 14px; max-width: 980px; margin: 24px auto 0; padding: 20px 24px; border-radius: var(--radius); background: rgb(255 255 255 / .04); border: 1px dashed rgb(255 255 255 / .2); font-size: 15px; line-height: 1.6; }
.privacy-note .ic { width: 24px; height: 24px; color: #8dd0fa; margin-top: 1px; }
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { max-width: 880px; margin-inline: auto; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.price-card-featured { border: 2px solid var(--brand); box-shadow: 0 18px 44px rgb(10 109 191 / .16); }
.price-flag { position: absolute; top: -14px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.price-card h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
.price-sub { margin-top: 8px; font-size: 15.5px; min-height: 3.1em; }
.price-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 22px 0 26px; font-family: var(--display); font-size: 3.4rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.price-amount .cur { font-size: 1.6rem; font-weight: 600; align-self: flex-start; margin-top: .3rem; margin-right: -4px; }
.price-amount small { flex-basis: 100%; margin-top: 10px; font-family: var(--font); font-size: 14.5px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--muted); }
.price-soon { margin: 22px 0 26px; font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); }
.price-soon span { color: var(--brand); }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--muted); }
.price-included { margin-top: 28px; padding: 30px 32px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.price-included h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.price-included .ticks { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; gap: 28px; } .price-included .ticks { grid-template-columns: 1fr; } .price-sub { min-height: 0; } .price-card, .price-included { padding: 26px 22px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfc9bb; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 500; font-size: 1.07rem; letter-spacing: -0.01em; color: var(--ink); border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--brand); }
.faq details p { padding: 0 22px 22px; font-size: 16px; max-width: 70ch; }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; } }

/* Final call to action: words over a photo */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 11vw, 150px) 0; background: var(--navy); }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 28 43 / .9) 0%, rgb(15 28 43 / .68) 50%, rgb(15 28 43 / .3) 100%); }
.cta-band-inner { color: #dfe7ef; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; max-width: 16ch; }
.cta-band p { margin-top: 16px; max-width: 44ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.cta-band .cta-row { margin-top: 30px; }
@media (max-width: 640px) { .cta-band::before { background: rgb(15 28 43 / .78); } }

/* Footer */
.site-footer { background: var(--navy); color: #9fb1c4; font-size: 15px; }
.footer-row { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 44px; }
.footer-brand { max-width: 320px; }
.footer-brand p { margin-top: 14px; }
.footer-nav { display: flex; gap: clamp(40px, 8vw, 96px); }
.footer-nav h2 { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-nav a { display: block; padding: 5px 0; color: #9fb1c4; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; color: #8194a8; }

/* Plain pages: contact, thanks, privacy, 404 */
.page-plain { display: flex; flex-direction: column; min-height: 100dvh; }
.plain-center .cta-row { justify-content: center; }
.plain { flex: 1; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); background: radial-gradient(50% 420px at 50% 0%, rgb(10 109 191 / .09), transparent 70%); }
.plain h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.plain .lead { margin-top: 16px; }
.plain-center { display: grid; place-items: center; text-align: center; }
.plain-center .btn, .plain-center .cta-row { margin-top: 30px; }
.plain-center .cta-row .btn { margin-top: 0; }
.big-ic { width: 64px; height: 64px; color: var(--good); margin: 0 auto 20px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-ticks { margin-top: 28px; }
.contact-card { padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.015em; }
.prose p + p { margin-top: 14px; }
.prose-date { color: var(--muted); font-size: 15px; }

/* Form */
.lead-form { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #c3cfdb; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23617286' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fb1c4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(10 109 191 / .16); }
.field.has-error input, .field.has-error select { border-color: #c8372b; box-shadow: 0 0 0 4px rgb(200 55 43 / .12); }
.field-error { min-height: 0; font-size: 13.5px; color: #b42a1f; font-weight: 500; }
.field-error:empty { display: none; }
.form-alert { padding: 12px 14px; border-radius: 10px; background: #fdecea; border: 1px solid #f5c2bd; color: #8f2118; font-size: 15px; font-weight: 500; }
.form-fine { font-size: 13.5px; color: var(--muted); text-align: center; }
.form-done { text-align: center; padding: 20px 4px 8px; }
.form-done:focus { outline: none; }
.form-done-ic { width: 60px; height: 60px; color: var(--good); margin: 0 auto 16px; }
.form-done h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.form-done p { margin: 10px 0 24px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Modal */
.modal { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink-2); box-shadow: 0 40px 120px rgb(11 27 43 / .4); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgb(11 27 43 / .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-box { position: relative; padding: clamp(24px, 4vw, 36px); }
.modal-head { margin: 0 44px 22px 0; }
.modal-head h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -0.025em; }
.modal-head p { margin-top: 8px; font-size: 16px; }
.modal-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink-2); cursor: pointer; }
.modal-close:hover { background: #e3ebf3; color: var(--ink); }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) { .modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; } }

/* Animation start states. Only applied when scripts run (boot.js adds .js); if the animation
   library fails to load, boot.js removes .js after a moment so nothing stays hidden. */
.js [data-hero], .js [data-reveal] { visibility: hidden; }
.js.anim-off [data-hero], .js.anim-off [data-reveal] { visibility: visible; }

/* Leads admin */
.admin { background: var(--tint); }
.admin-wrap { max-width: 1320px; margin: 0 auto; padding: 32px clamp(16px, 3vw, 32px) 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head h1 { font-size: 1.8rem; }
.admin-table { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.admin-table th, .admin-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f8fafc; }
.admin-table td.msg { white-space: normal; min-width: 240px; max-width: 420px; overflow-wrap: anywhere; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed #c3cfdb; border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .site-header, .cta-band, .modal, .float-app, .float-live { display: none !important; } }
