@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
}

:root {
  --navy: #102A43;
  --ink: #17212B;
  --muted: #585F66;
  --blue: #4A90E2;
  --sky: #EAF4FF;
  --light: #9CCBFF;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --lavender: #B9B7FF;
  --line: rgba(16, 42, 67, 0.12);
  --line-strong: rgba(16, 42, 67, 0.6);
  --radius: 16px;
  --shadow: 0 20px 48px rgba(16, 42, 67, 0.14);
  --gutter: clamp(16px, 6vw, 120px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
section { padding: 96px 0; scroll-margin-top: 72px; }
section.pt-0 { padding-top: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* type */
h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; color: var(--navy); }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.22; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.h2-sm { font-size: clamp(24px, 2.4vw, 28px); }
h3 { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--navy); }
.h3-lg { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.02em; }
.eyebrow { display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: var(--light); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }
.lead-sm { font-size: 18px; line-height: 1.55; }
.muted { color: var(--muted); }
.light { color: var(--light); }
.small { font-size: 13px; line-height: 18px; }
.strong { font-weight: 600; }
.block { display: block; }
.src { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out; }
.btn-sm { height: 44px; padding: 0 18px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #0B1F33; color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--blue); }
.btn-secondary:hover { color: var(--navy); background: var(--sky); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 600; color: var(--navy); }
.brand img { width: 36px; height: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--blue); }
.header-cta { margin-left: auto; display: flex; gap: 12px; }

/* hero */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--sky), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.hero-media { display: flex; flex-direction: column; gap: 16px; max-width: 500px; width: 100%; justify-self: end; }

/* compare slider: the before image is clipped, never resized */
.compare { --split: 50%; position: relative; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--blue); pointer-events: none; }
.compare-handle { position: absolute; top: 45%; left: var(--split); width: 44px; height: 44px; margin-left: -22px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 2px solid var(--blue); border-radius: 10px; color: var(--navy); pointer-events: none; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.tag { position: absolute; top: 16px; padding: 4px 10px; border-radius: 6px; background: var(--white); color: var(--navy); font-size: 12px; line-height: 16px; font-weight: 600; pointer-events: none; }
.tag-left { left: 16px; }
.tag-right { right: 16px; }
.tag-dark { background: var(--navy); color: var(--white); }
.tag-ai { background: var(--lavender); }
.checked-btn { position: absolute; right: 16px; bottom: 16px; z-index: 2; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.checks-pop { position: absolute; right: 16px; bottom: 72px; z-index: 2; width: min(260px, calc(100% - 32px)); padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16, 42, 67, 0.1); font-size: 14px; color: var(--navy); }
.checklist { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink); }
.checklist li { display: flex; align-items: center; gap: 8px; }
.checklist svg { color: var(--navy); }
.examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.examples button { min-height: 60px; padding: 8px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 13px; line-height: 1.25; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; }
.examples button img { width: 30px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.examples button[aria-pressed="true"], .looks button[aria-pressed="true"] { border: 2px solid var(--blue); font-weight: 600; color: var(--navy); }

/* bands and cards */
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--navy); color: var(--white); }
.band-dark h2 { color: var(--white); }
.band-blue { background: var(--sky); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-flat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card-dashed { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 14px; }
.card-dashed strong { font-size: 16px; color: var(--navy); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 32px; }
.section-head.split { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head.split p { max-width: 380px; font-size: 14px; line-height: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gap-sm { gap: 14px; }
.chip { display: inline-flex; align-self: flex-start; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip-warn { background: #FDF1DC; color: #7A4A00; }
.chip-ok { background: #E6F4EC; color: #1E6B45; }
.chip-outline { border: 1px dashed var(--line-strong); color: var(--muted); }
.chip-dark { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; background: var(--navy); color: var(--white); border-radius: 6px; font-size: 12px; font-weight: 600; }
.icon-box { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--sky); border-radius: 8px; color: var(--navy); }
.pill { padding: 4px 12px; background: var(--sky); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--navy); }

/* KPIs */
#kpis { padding: 56px 0; }
.kpi { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; }
.kpi-name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--navy); }
.kpi-value { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.kpi-how { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--muted); }
.calc { margin-top: 24px; display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)) 1.6fr; gap: 20px; align-items: end; }
.calc-title { display: flex; flex-direction: column; gap: 6px; align-self: center; font-size: 17px; color: var(--navy); }
.calc label, .contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field { display: flex; align-items: center; gap: 6px; }
.unit { width: 14px; font-size: 14px; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; background: var(--white); color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.calc-result { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--navy); border-radius: 12px; color: var(--white); font-size: 14px; line-height: 20px; }
.calc-label { font-size: 13px; color: var(--light); }
.calc-total { font-size: 28px; line-height: 34px; font-weight: 600; }
.calc-note { grid-column: 1 / -1; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 220px; gap: 16px; }
.step { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 20px; }
.step strong { font-size: 18px; line-height: 1.5; color: var(--navy); }
.step-n { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.step-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step-dark strong { color: var(--white); }
.step-dark .step-n { color: var(--light); }
.step-pass { background: var(--sky); border: 2px solid var(--blue); justify-content: center; }
.retry { margin: 14px 0 32px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); }
.retry svg { color: var(--blue); }
.improve { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 24px; align-items: center; padding: 20px 24px; background: var(--navy); border-radius: var(--radius); color: var(--white); font-size: 14px; line-height: 20px; }
.improve strong { display: flex; align-items: center; gap: 10px; font-size: 16px; }

/* lab */
.lab-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.lab-copy { display: flex; flex-direction: column; gap: 20px; }
.stats div { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.stats dt { width: 150px; flex-shrink: 0; font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.lab-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
figure { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 20px; }
.fig-img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.fig-img img { width: 100%; height: 100%; object-fit: cover; }
.fig-img .tag { left: 12px; top: 12px; }

/* technology */
.feature { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 22px; }
.feature svg { color: var(--navy); }
.checks-row { margin: 20px 0 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.integration { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; }
.integration-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.integration > div { display: flex; flex-direction: column; gap: 14px; }
.code { margin: 0; padding: 20px 24px; background: var(--navy); border-radius: var(--radius); color: var(--white); font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 20px; overflow-x: auto; display: flex; flex-direction: column; gap: 10px; }
.code-note { color: var(--light); white-space: normal; }

/* try */
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.looks { display: flex; flex-direction: column; gap: 10px; }
.looks button { padding: 10px; display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.looks button img { width: 60px; height: 80px; object-fit: cover; border-radius: 10px; }
.looks button > span { display: flex; flex-direction: column; gap: 4px; }
.looks strong { color: var(--navy); font-size: 15px; }
.compare-try { box-shadow: none; border-radius: var(--radius); }
.try-info { display: flex; flex-direction: column; gap: 16px; }
.try-info .card-flat { display: flex; flex-direction: column; gap: 10px; }

/* privacy */
.privacy-list li { display: flex; gap: 12px; font-size: 15px; line-height: 22px; }
.privacy-list svg { color: var(--navy); }

/* dashboard */
.dash-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.dash-copy { display: flex; flex-direction: column; gap: 20px; }
.dash-copy p:not(.small) { font-size: 18px; line-height: 28px; }
.dash-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 20px; background: var(--bg); border-radius: 24px; color: var(--ink); }
.dash-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; font-size: 14px; }
.dash-card.wide, .span-2 { grid-column: span 2; }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.row-base { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.row-gap { display: flex; gap: 24px; }
.num-lg { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.num-md { font-size: 26px; line-height: 34px; font-weight: 600; color: var(--navy); }
.dash-card strong { font-size: 18px; color: var(--navy); }
.bar { height: 10px; background: var(--sky); border-radius: 5px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--navy); }
.bar-fill-79 { width: 79%; }
.shots { margin: 40px 0 16px; }
.shots img { width: 100%; height: auto; aspect-ratio: 1440 / 920; object-fit: cover; object-position: top left; border-radius: 12px; background: var(--white); }
.shots figcaption { color: var(--light); }
.shots strong { color: var(--white); }

/* roadmap, contact, footer */
.roadmap { padding: 56px 0; }
.roadmap-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-grid > div { display: flex; flex-direction: column; gap: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; padding: 32px; box-shadow: var(--shadow); }
.consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; line-height: 20px; }
.form-error { color: #8A1C12; font-weight: 600; }
.site-footer { background: var(--ink); color: var(--white); padding: 40px 0 32px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-row img { width: 120px; height: auto; }
.footer-row nav { display: flex; gap: 24px; }
.footer-row a { color: var(--white); text-decoration: none; font-size: 14px; }
.footer-row a:hover { color: var(--light); text-decoration: underline; }
.footer-legal { padding-top: 20px; color: var(--light); }

/* legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; line-height: 1.6; }
.legal ul { list-style: disc; padding-left: 22px; }

/* responsive */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-pass { grid-column: span 2; }
  .improve { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .improve strong { grid-column: span 2; }
  .calc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-title, .calc-result { grid-column: 1 / -1; }
  .try-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .try-info { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid, .integration { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .hero { padding: 40px 0 48px; }
  .hero-grid, .lab-grid, .contact-grid, .roadmap-row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-media { justify-self: stretch; max-width: none; }
  .hide-sm { display: none; }
  .header-row { gap: 12px; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .grid-2, .grid-3, .grid-4, .steps, .improve, .calc, .try-grid { grid-template-columns: minmax(0, 1fr); }
  .step-pass, .improve strong { grid-column: auto; }
  .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats dt { width: 104px; font-size: 24px; line-height: 32px; }
  .dash-preview { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .dash-card.wide, .span-2 { grid-column: auto; }
  .contact-form, .integration { padding: 20px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .lead-sm { font-size: 16px; }
}
