:root {
  --navy: #0f172a;
  --navy-2: #15243b;
  --ink: #17212f;
  --muted: #64748b;
  --line: #dce5ec;
  --paper: #f5f8fa;
  --white: #fff;
  --teal: #16758a;
  --green: #2a9d8f;
  --mint: #dff5ef;
  --orange: #f4a261;
  --coral: #e76f51;
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(220, 229, 236, .8);
  background: rgba(245, 248, 250, .9);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 15px/1.2 Inter, ui-sans-serif, sans-serif; }
.brand img { border-radius: 11px; box-shadow: 0 6px 16px rgba(15,23,42,.12); }
.site-header nav, footer nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 32px); }
.site-header nav a, footer nav a { color: #536274; font-size: 14px; font-weight: 600; }
.site-header nav a:hover, footer nav a:hover { color: var(--teal); }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #0f172a;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
  font: 700 14px Inter, ui-sans-serif, sans-serif;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); background: #1a2c47; box-shadow: 0 14px 30px rgba(15,23,42,.22); }
.button svg { width: 20px; fill: #fff; }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.text-link { color: var(--teal); font-weight: 700; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  min-height: calc(100vh - 76px);
  max-width: 1520px;
  margin: auto;
  padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 92px);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow { margin: 0 0 20px; color: var(--teal); font: 700 12px/1.2 Inter, ui-sans-serif, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 2px; margin: 0 9px 3px 0; background: var(--green); }
h1, h2, h3 { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1 { margin: 0; font-size: clamp(54px, 6.1vw, 94px); line-height: .98; letter-spacing: -.065em; }
h1 em, h2 em { color: var(--teal); font-style: normal; }
.hero-lead { max-width: 590px; margin: 30px 0 34px; color: #536274; font-size: clamp(18px, 1.5vw, 22px); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-list { display: flex; gap: 25px; margin: 28px 0 0; padding: 0; color: #728095; font-size: 13px; list-style: none; }
.trust-list li::before { margin-right: 7px; color: var(--green); content: "✓"; font-weight: 800; }
.hero-visual { position: relative; margin-left: 4vw; }
.hero-visual img { position: relative; z-index: 2; display: block; border-radius: 28px; box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(1px); }
.glow-one { width: 65%; aspect-ratio: 1; right: -12%; top: -30%; background: rgba(42, 157, 143, .16); }
.glow-two { width: 48%; aspect-ratio: 1; left: -12%; bottom: -25%; background: rgba(244, 162, 97, .13); }

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-bar div { display: flex; flex-direction: column; padding: 30px 40px; border-right: 1px solid var(--line); }
.proof-bar div:last-child { border: 0; }
.proof-bar strong { color: var(--navy); font: 800 26px Inter, ui-sans-serif, sans-serif; }
.proof-bar span { color: var(--muted); font-size: 13px; }

.section { max-width: 1320px; margin: 0 auto; padding: clamp(90px, 10vw, 150px) 24px; }
.section-heading { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.section-heading.left { max-width: none; margin-left: 0; text-align: left; }
.section-heading h2, .privacy-callout h2, .final-cta h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -.055em; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-5px); border-color: #a7d8cd; box-shadow: 0 18px 45px rgba(15,23,42,.08); }
.feature h3 { margin: 20px 0 10px; font-size: 23px; line-height: 1.18; }
.feature p { margin: 0; color: var(--muted); }
.feature-large { display: grid; grid-column: span 4; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 55px; min-height: 520px; padding: 44px; overflow: hidden; background: #eaf1f5; }
.feature-large img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); transform: translate(4%, 6%); }
.feature-large h3 { max-width: 470px; font-size: clamp(34px, 3.3vw, 52px); letter-spacing: -.045em; }
.feature-large ul { padding: 0; color: #425166; list-style: none; }
.feature-large li { margin: 8px 0; }
.feature-large li::before { margin-right: 8px; color: var(--green); content: "✓"; }
.feature-number { color: var(--green); font: 700 13px Inter, ui-sans-serif, sans-serif; letter-spacing: .12em; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--navy); background: var(--mint); font: 800 19px Inter, ui-sans-serif, sans-serif; }
.waveform { display: flex; justify-content: center; gap: 3px; }
.waveform i { display: block; width: 3px; height: 10px; border-radius: 5px; background: var(--teal); }
.waveform i:nth-child(2), .waveform i:nth-child(4) { height: 22px; }
.waveform i:nth-child(3) { height: 32px; }
.feature-profile { grid-column: span 4; display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; background: var(--navy); color: #fff; }
.feature-profile p { color: #afbdce; }
.profile-list { display: grid; gap: 10px; }
.profile-list span { display: flex; justify-content: space-between; gap: 18px; padding: 17px 20px; border: 1px solid #31445f; border-radius: 13px; background: #192a43; }
.profile-list b { font-family: Inter, ui-sans-serif, sans-serif; }
.profile-list em { color: #82d5c3; font-style: normal; font-size: 14px; }

.demo-section { max-width: none; padding-left: max(24px, calc((100vw - 1320px)/2)); padding-right: 0; background: #e9f0f4; overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1296px; gap: 24px; padding-right: 24px; }
.steps article { padding: 26px 0; border-top: 1px solid #bdcad4; }
.steps span { color: var(--green); font: 800 13px Inter, ui-sans-serif, sans-serif; }
.steps h3 { margin: 12px 0 6px; font-size: 22px; }
.steps p { max-width: 350px; margin: 0; color: var(--muted); }
.screenshot-strip { display: flex; gap: 24px; margin-top: 70px; overflow-x: auto; padding: 0 24px 24px 0; scrollbar-width: thin; }
.screenshot-strip img { width: min(67vw, 760px); flex: 0 0 auto; border-radius: 20px; box-shadow: var(--shadow); }

.privacy-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; max-width: 1272px; margin: clamp(90px, 10vw, 150px) auto 0; padding: clamp(34px, 5vw, 62px); border-radius: 30px; color: #fff; background: var(--navy); }
.privacy-callout h2 { font-size: clamp(35px, 4vw, 54px); }
.privacy-callout p:not(.eyebrow) { max-width: 750px; margin-bottom: 0; color: #b6c3d3; }
.privacy-callout .text-link { color: #88dac8; white-space: nowrap; }
.privacy-lock { display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid #4e6b72; border-radius: 50%; color: #a2e7d7; background: #1a3444; font-size: 28px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 25px 46px 25px 0; cursor: pointer; font: 700 18px Inter, ui-sans-serif, sans-serif; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 5px; color: var(--green); content: "+"; font-size: 24px; }
details[open] summary::after { content: "−"; }
details p { margin: 0 40px 24px 0; color: var(--muted); }
code { padding: 2px 6px; border-radius: 5px; background: #e3eaf0; font-size: 13px; }

.final-cta { margin: 0 24px 24px; padding: clamp(75px, 9vw, 125px) 24px; border-radius: 32px; text-align: center; background: #dcebea; }
.final-cta img { border-radius: 20px; box-shadow: 0 14px 30px rgba(15,23,42,.15); }
.final-cta .eyebrow { margin: 18px 0 12px; }
.final-cta p:not(.eyebrow) { margin: 15px 0 28px; color: var(--muted); font-size: 18px; }

footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 38px clamp(24px, 6vw, 90px); color: #afbdce; background: var(--navy); }
footer .brand { color: #fff; }
footer p { grid-column: 1; margin: 0; font-size: 14px; }
footer nav { grid-row: 1 / span 2; grid-column: 2; }
footer nav a { color: #bac6d4; }
footer small { grid-column: 1 / -1; margin-top: 22px; padding-top: 20px; border-top: 1px solid #293c56; color: #74849a; }

/* Privacy and secondary pages */
.page-hero { max-width: 1040px; margin: 0 auto; padding: 110px 24px 55px; }
.page-hero h1 { max-width: 900px; font-size: clamp(48px, 7vw, 82px); }
.page-hero .hero-lead { max-width: 750px; }
.prose { max-width: 900px; margin: 0 auto; padding: 0 24px 120px; }
.prose section { padding: 30px 0; border-top: 1px solid var(--line); }
.prose h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.03em; }
.prose h3 { margin-top: 25px; }
.prose p, .prose li { color: #526173; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 20px 22px; border: 1px solid #bfe2d9; border-radius: 14px; background: #eefaf7; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 55px; min-height: 0; }
  .hero-copy { max-width: 760px; }
  .hero-visual { margin: 0; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .proof-bar div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large, .feature-profile { grid-column: span 2; }
  .privacy-callout { margin-left: 24px; margin-right: 24px; grid-template-columns: auto 1fr; }
  .privacy-callout .text-link { grid-column: 2; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 66px; padding: 10px 16px; }
  .site-header .brand span { max-width: 120px; }
  .button-small { min-height: 38px; padding: 0 14px; }
  .hero { padding: 72px 20px 75px; }
  h1 { font-size: clamp(47px, 14.5vw, 65px); }
  .hero-lead { margin: 24px 0 28px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-list { gap: 10px 18px; flex-wrap: wrap; }
  .hero-visual img { border-radius: 16px; transform: none; }
  .proof-bar { margin: 0 18px; }
  .proof-bar div { padding: 20px; }
  .proof-bar strong { font-size: 21px; }
  .section { padding: 80px 18px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .privacy-callout h2, .final-cta h2 { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-large, .feature-profile { grid-column: auto; }
  .feature-large, .feature-profile { grid-template-columns: 1fr; padding: 28px; gap: 25px; }
  .feature-large { min-height: 0; }
  .feature-large img { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .demo-section { padding-right: 0; padding-left: 18px; }
  .screenshot-strip { margin-top: 40px; }
  .screenshot-strip img { width: 88vw; }
  .privacy-callout { grid-template-columns: 1fr; gap: 20px; margin: 80px 18px 0; padding: 30px; }
  .privacy-callout .text-link { grid-column: auto; }
  .privacy-lock { width: 58px; height: 58px; }
  .faq { padding-bottom: 90px; }
  .final-cta { margin: 0 12px 12px; padding: 70px 18px; }
  footer { grid-template-columns: 1fr; }
  footer nav { grid-row: auto; grid-column: auto; align-items: flex-start; flex-direction: column; gap: 12px; margin: 20px 0; }
  footer small, footer p { grid-column: auto; }
  .page-hero { padding-top: 80px; }
}

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