:root {
  --background: #fbfbfd;
  --surface: #ffffff;
  --surface-muted: #f2f4f8;
  --text: #16181d;
  --text-muted: #626875;
  --line: #e3e6eb;
  --text-secondary: #626875;
  --border-color: #e3e6eb;
  --blue: #146ef5;
  --blue-hover: #075edb;
  --dark: #171a20;
  --container-width: 1160px;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101217;
    --surface: #191c23;
    --surface-muted: #191c23;
    --text: #f4f6fa;
    --text-muted: #abb2c0;
    --line: #2c303a;
    --text-secondary: #abb2c0;
    --border-color: #2c303a;
    --blue: #3486ff;
    --blue-hover: #68a5ff;
    --dark: #08090c;
  }
}

html[data-theme="light"] {
  --background: #fbfbfd;
  --surface: #ffffff;
  --surface-muted: #f2f4f8;
  --text: #16181d;
  --text-muted: #626875;
  --line: #e3e6eb;
  --text-secondary: #626875;
  --border-color: #e3e6eb;
  --blue: #146ef5;
  --blue-hover: #075edb;
  --dark: #171a20;
}

html[data-theme="dark"] {
  --background: #101217;
  --surface: #191c23;
  --surface-muted: #191c23;
  --text: #f4f6fa;
  --text-muted: #abb2c0;
  --line: #2c303a;
  --text-secondary: #abb2c0;
  --border-color: #2c303a;
  --blue: #3486ff;
  --blue-hover: #68a5ff;
  --dark: #08090c;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.container { width: min(100%, var(--container-width)); margin: 0 auto; padding: 0 28px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 66px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: saturate(150%) blur(16px);
}

nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; text-decoration: none; }
.logo-img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--text-muted); font-size: 14px; text-decoration: none; }
.nav-link:hover { color: var(--text); }
.theme-toggle { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent); outline-offset: 3px; }
.theme-toggle-icon { font-size: 17px; line-height: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 9px 17px; background: var(--blue); color: white; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-large { padding: 13px 22px; font-size: 16px; }
.btn-secondary { background: transparent; color: var(--blue); }
.btn-secondary:hover { background: transparent; color: var(--blue-hover); }

.hero { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(400px, 1.1fr); align-items: center; gap: 56px; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(76px, 12vw, 160px); }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.03; }
h1 { max-width: 570px; font-size: clamp(48px, 5.3vw, 76px); font-weight: 700; }
.subtitle { max-width: 520px; margin-top: 25px; color: var(--text-muted); font-size: clamp(19px, 2vw, 23px); line-height: 1.35; letter-spacing: -0.028em; }
.hero-actions { margin-top: 34px; }
.version-info { margin-top: 12px; color: var(--text-muted); font-size: 13px; }
.hero-visual { position: relative; isolation: isolate; }
.screen-glow { position: absolute; z-index: -1; inset: 8% 2% -5%; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--blue) 28%, transparent), transparent 68%); filter: blur(25px); }
.product-shot { display: block; width: 100%; height: auto; border-radius: clamp(14px, 2vw, 24px); box-shadow: 0 28px 65px rgba(18, 26, 42, .18), 0 2px 6px rgba(18, 26, 42, .08); }
.hero-shot { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); transform-origin: left center; }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 20px; padding-bottom: 20px; }
.trust-items p { color: var(--text-muted); font-size: 14px; font-weight: 600; text-align: center; }
.trust-items p + p { border-left: 1px solid var(--line); }
.trust-items span { margin-right: 8px; color: var(--blue); font-size: 17px; }

.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding-top: clamp(96px, 13vw, 170px); padding-bottom: clamp(96px, 13vw, 170px); }
h2 { font-size: clamp(37px, 4vw, 56px); font-weight: 700; }
.statement h2 { max-width: 500px; }
.statement-copy { max-width: 510px; padding-top: 4px; color: var(--text-muted); font-size: 21px; line-height: 1.45; }
code { padding: 2px 6px; border-radius: 5px; background: var(--surface-muted); color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8em; }

.features { padding-bottom: clamp(100px, 13vw, 170px); }
.section-heading { margin-bottom: 46px; }
.section-heading h2 { max-width: 660px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { min-height: 265px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.feature-card-blue { border-color: transparent; background: #e8f1ff; color: #112e5b; }
.feature-card-dark { border-color: transparent; background: var(--dark); color: #f7f9fe; }
.feature-symbol { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 48px; border-radius: 13px; background: color-mix(in srgb, var(--blue) 13%, transparent); color: var(--blue); font-size: 23px; font-weight: 700; }
.feature-card-dark .feature-symbol { background: #2c75ee; color: white; }
.feature-card h3 { max-width: 320px; font-size: 27px; font-weight: 700; }
.feature-card p { max-width: 400px; margin-top: 14px; color: var(--text-muted); font-size: 17px; line-height: 1.4; }
.feature-card-blue p { color: #395275; }
.feature-card-dark p { color: #b7c0cf; }

.showcase { overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; background: var(--surface-muted); }
.showcase-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.showcase-copy > p:not(.eyebrow) { margin-top: 23px; color: var(--text-muted); font-size: 18px; line-height: 1.5; }
.check-list { display: grid; gap: 11px; margin-top: 30px; list-style: none; color: var(--text); font-weight: 600; }
.check-list li::before { content: "✓"; display: inline-grid; width: 20px; height: 20px; place-items: center; margin-right: 10px; border-radius: 50%; background: var(--blue); color: white; font-size: 12px; }
.showcase-shot-wrap { width: min(100%, 660px); justify-self: end; }
.showcase-shot { border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(18, 26, 42, .14); }

.closing { display: flex; flex-direction: column; align-items: center; padding-top: clamp(100px, 12vw, 160px); padding-bottom: clamp(105px, 12vw, 165px); text-align: center; }
.closing-icon { width: 76px; height: 76px; margin-bottom: 25px; border-radius: 20px; box-shadow: 0 12px 24px rgba(14, 49, 101, .18); }
.closing .eyebrow { margin-bottom: 13px; }
.closing h2 { font-size: clamp(40px, 5vw, 62px); }
.closing > p:not(.eyebrow) { margin-top: 17px; color: var(--text-muted); font-size: 19px; }
.closing .btn { margin-top: 32px; }
.closing small { margin-top: 13px; color: var(--text-muted); font-size: 12px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--text-muted); font-size: 13px; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 21px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* Privacy page */
.privacy-hero { max-width: 920px; padding-top: clamp(78px, 10vw, 130px); padding-bottom: clamp(68px, 8vw, 105px); text-align: center; }
.privacy-hero h1 { max-width: none; font-size: clamp(48px, 6vw, 76px); }
.privacy-hero > p:not(.eyebrow) { max-width: 530px; margin: 23px auto 0; color: var(--text-muted); font-size: 21px; line-height: 1.4; }
.privacy-content { max-width: 880px; padding-bottom: clamp(100px, 12vw, 150px); }
.privacy-section { display: grid; grid-template-columns: minmax(200px, .7fr) minmax(300px, 1.3fr); gap: 50px; padding: 42px 0; border-top: 1px solid var(--line); }
.privacy-section h2 { font-size: 27px; font-weight: 700; }
.privacy-section p { color: var(--text-muted); font-size: 18px; line-height: 1.55; }
.privacy-intro { border-top: 2px solid var(--text); }
.privacy-updated { margin-top: 18px; color: var(--text-muted); font-size: 13px; }

@media (max-width: 820px) {
  .hero, .statement, .showcase-grid { grid-template-columns: 1fr; }
  .hero { gap: 58px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-shot { max-width: 650px; margin: 0 auto; transform: none; }
  .statement { gap: 30px; }
  .showcase-grid { gap: 48px; }
  .showcase-shot-wrap { justify-self: stretch; }
  .privacy-section { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 600px) {
  .container { padding-right: 20px; padding-left: 20px; }
  .site-header { height: 60px; }
  .nav-link { display: none; }
  .trust-items { grid-template-columns: 1fr; gap: 11px; }
  .trust-items p + p { border: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-symbol { margin-bottom: 34px; }
  .footer-content { flex-direction: column; text-align: center; }
}
