:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #eef2f6;
  --ink: #18202c;
  --muted: #667085;
  --border: #d5dbe3;
  --accent: #2563eb;
  --accent-soft: #e8f0fe;
  --success: #2e7d4f;
  --error: #b42318;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(24, 32, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 120ms ease;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: none; background: white; }
.brand-logo img.is-ready { display: block; }
.brand-logo img.is-ready + .brand-fallback { display: none; }
.brand-fallback { color: white; font-weight: 900; font-size: 20px; }
.brand-copy { display: grid; line-height: 1.1; gap: 4px; }
.brand-copy strong { font-size: 17px; letter-spacing: -.02em; }
.brand-copy span { font-size: 11px; color: var(--muted); font-weight: 650; letter-spacing: .02em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.desktop-nav a { text-decoration: none; color: #475467; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }
.desktop-nav .nav-cta { padding: 10px 15px; background: var(--ink); color: white; }
.menu-button { display: none; border: 1px solid var(--border); background: var(--surface); width: 42px; height: 42px; padding: 9px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.mobile-nav { padding: 8px 24px 18px; border-top: 1px solid var(--border); background: white; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-weight: 700; }

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 84px 0 82px;
  overflow: hidden;
}
.hero .shell { width: min(calc(100% - 48px), 1420px); }
.hero-grid { display: grid; grid-template-columns: minmax(420px, .82fr) minmax(620px, 1.18fr); align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 14px; font-weight: 850; letter-spacing: .14em; }
.hero h1 { margin: 0; max-width: 610px; font-size: clamp(46px, 5vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.hero-lede { max-width: 590px; margin: 24px 0 0; color: #475467; font-size: 19px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); text-decoration: none; font-weight: 800; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: #2a3442; }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--surface); border-color: #aeb7c4; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust-list li::before { content: "✓"; color: var(--success); margin-right: 7px; }

.product-stage { position: relative; padding: 8px 0 22px; }
.device-mockup { position: relative; width: 100%; max-width: 790px; margin-inline: auto; }
.device-screen {
  position: relative;
  overflow: hidden;
  padding: 10px;
  background: #202733;
  border: 1px solid #111722;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(24, 32, 44, .20);
}
.product-screenshot {
  display: none;
  width: 100%;
  height: auto;
  background: white;
  border-radius: 8px;
}
.device-screen.has-screenshot .product-screenshot { display: block; }
.device-screen:not(.has-screenshot) { aspect-ratio: 16 / 10; }
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  padding: 28px;
  text-align: center;
  color: #475467;
  background: #f8fafc;
  border-radius: 8px;
}
.device-screen.has-screenshot .screenshot-placeholder { display: none; }
.placeholder-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  background: var(--ink);
  color: white;
  font-size: 20px;
  font-weight: 900;
}
.screenshot-placeholder strong { color: var(--ink); font-size: 17px; }
.screenshot-placeholder span:last-child { font-size: 12px; line-height: 1.6; }
.screenshot-placeholder code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--accent); }

.signal-bar { background: var(--ink); color: white; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid > div { padding: 28px 34px; border-right: 1px solid rgba(255,255,255,.16); }
.signal-grid > div:first-child { padding-left: 0; }
.signal-grid > div:last-child { border-right: 0; }
.signal-grid strong { display: block; font-size: 15px; }
.signal-grid span { display: block; margin-top: 5px; color: #b7c0cc; font-size: 12px; line-height: 1.5; }

.section { padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading h2, .privacy-section h2, .release-card h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 286px; padding: 28px; background: var(--surface); border: 1px solid var(--border); }
.feature-card-wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 24px; }
.feature-card h3 { margin: 22px 0 10px; font-size: 20px; letter-spacing: -.025em; }
.feature-card-wide h3 { margin-top: 2px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent-soft); }
.feature-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; }
.feature-icon svg .fill-surface { fill: var(--surface); }
.feature-icon svg .dashed { stroke-dasharray: 3 4; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.chip-row span { padding: 6px 9px; background: var(--surface-alt); border: 1px solid var(--border); color: #475467; font-size: 11px; font-weight: 750; }

.privacy-section { background: var(--surface); border-block: 1px solid var(--border); }
.privacy-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; }
.privacy-lede { max-width: 720px; margin: 22px 0 0; color: #475467; font-size: 19px; line-height: 1.65; }
.check-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: #344054; font-weight: 650; }
.check-list span { color: var(--success); font-weight: 900; }
.privacy-card { padding: 38px; background: var(--bg); border: 1px solid var(--border); }
.privacy-card strong { display: block; margin-top: 18px; font-size: 24px; }
.privacy-card p { color: var(--muted); line-height: 1.65; }
.privacy-graphic { width: 150px; height: 150px; }
.privacy-graphic svg { width: 100%; height: 100%; fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.privacy-graphic .accent-fill { fill: var(--accent); stroke: var(--accent); }
.privacy-graphic .accent-stroke { stroke: var(--accent); }
.privacy-graphic .surface-stroke { stroke: white; fill: none; stroke-width: 4; }

.workflow-section { padding-bottom: 118px; }
.compact-heading { margin-bottom: 36px; }
.workflow-grid { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.workflow-grid li { padding: 28px 28px 30px; border: 1px solid var(--border); background: var(--surface); }
.workflow-grid li > span { color: var(--accent); font-size: 18px; font-weight: 900; letter-spacing: .12em; }
.workflow-grid strong { display: block; margin-top: 28px; font-size: 20px; }
.workflow-grid p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }


.faq-section { background: var(--surface); border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item { padding: 28px; border: 1px solid var(--border); background: var(--bg); }
.faq-item h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.65; }

.release-section { padding: 0 0 110px; }
.release-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 54px; color: white; background: var(--ink); }
.release-card .eyebrow { color: #8fb4ff; }
.release-card p:last-child { max-width: 680px; margin: 18px 0 0; color: #bec7d2; font-size: 17px; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.platforms span { padding: 10px 13px; border: 1px solid #5b6573; color: white; font-size: 12px; font-weight: 800; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { min-height: 140px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 36px; }
.footer-grid p { color: var(--muted); font-size: 13px; }
.footer-legal { display: grid; gap: 8px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a { color: #475467; font-size: 13px; font-weight: 800; text-decoration: none; }
.footer-legal a:hover, .footer-legal a:focus-visible { text-decoration: underline; }
.footer-grid > a { color: #475467; font-size: 13px; font-weight: 800; text-decoration: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 420ms ease, transform 420ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1160px) {
  .hero { min-height: auto; display: block; padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-stage { width: 100%; max-width: 860px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card { max-width: 640px; }
}

@media (max-width: 760px) {
  .shell, .hero .shell { width: min(calc(100% - 32px), var(--max)); }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero { padding: 58px 0 68px; }
  .hero h1 { font-size: clamp(44px, 14vw, 66px); }
  .hero-lede { font-size: 18px; }
  .product-stage::before { display: none; }
  .product-stage { padding-bottom: 24px; }
  .device-screen { padding: 7px; border-radius: 11px; }
  .product-screenshot, .screenshot-placeholder { border-radius: 5px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .signal-grid > div:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: 210px; }
  .release-card { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .platforms { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 34px; gap: 12px; }
}

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

.legal-page { max-width: 840px; }
.legal-page h1 { margin: 8px 0 24px; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.04em; }
.legal-page h2 { margin: 30px 0 8px; font-size: 20px; }
.legal-page p { color: var(--muted); line-height: 1.75; }
.legal-page a { color: var(--accent); font-weight: 800; }
.legal-draft { padding: 14px 16px; border: 1px solid var(--border); background: var(--surface); }

/* Two-screen hero product showcase */
.screenshot-showcase {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding: 8px 42px 112px 0;
}
.screenshot-card { position: relative; }
.screenshot-card-main { z-index: 1; }
.screenshot-card-editor {
  position: absolute;
  z-index: 2;
  width: min(74%, 590px);
  right: 0;
  bottom: 0;
}
.screenshot-card-editor .device-screen {
  padding: 8px;
  border-radius: 13px;
  box-shadow: 0 24px 65px rgba(24, 32, 44, .22);
}
.screenshot-label {
  position: absolute;
  left: 16px;
  top: -17px;
  z-index: 3;
  padding: 6px 10px;
  color: white;
  background: var(--ink);
  border: 1px solid #111722;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
}

@media (max-width: 1160px) {
  .screenshot-showcase { max-width: 900px; padding-right: 48px; }
}

@media (max-width: 760px) {
  .screenshot-showcase {
    display: grid;
    gap: 22px;
    padding: 0;
  }
  .screenshot-card-editor {
    position: relative;
    width: 92%;
    right: auto;
    bottom: auto;
    margin-left: auto;
  }
  .screenshot-label { top: -14px; }
}
