:root {
  --accent: #3B5BDB;
  --accent-soft: #E7EBFB;
  --accent-soft-fg: #2439A8;
  --bg: #FFFFFF;
  --bg-alt: #F5F6F8;
  --text: #1A1A1E;
  --text-secondary: #5B5D66;
  --border: #E4E5E9;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5B7BFF;
    --accent-soft: #232940;
    --accent-soft-fg: #8AA0FF;
    --bg: #121214;
    --bg-alt: #1A1A1D;
    --text: #F2F2F4;
    --text-secondary: #9A9CA6;
    --border: #2A2B30;
  }
}

/* Manual override: wins over the system setting above regardless of
   source order, because an attribute selector on :root is more specific
   than a plain :root inside a media query. Absence of the attribute
   (default) means "follow the system" — untouched by a visitor who
   never clicks the toggle. */
:root[data-theme="light"] {
  --accent: #3B5BDB;
  --accent-soft: #E7EBFB;
  --accent-soft-fg: #2439A8;
  --bg: #FFFFFF;
  --bg-alt: #F5F6F8;
  --text: #1A1A1E;
  --text-secondary: #5B5D66;
  --border: #E4E5E9;
}
:root[data-theme="dark"] {
  --accent: #5B7BFF;
  --accent-soft: #232940;
  --accent-soft-fg: #8AA0FF;
  --bg: #121214;
  --bg-alt: #1A1A1D;
  --text: #F2F2F4;
  --text-secondary: #9A9CA6;
  --border: #2A2B30;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.brand-icon { width: 24px; height: 24px; border-radius: 6px; }
.icon-dark { display: none; }
.icon-light { display: inline-block; }
@media (prefers-color-scheme: dark) {
  .icon-dark { display: inline-block; }
  .icon-light { display: none; }
}
:root[data-theme="light"] .icon-dark { display: none; }
:root[data-theme="light"] .icon-light { display: inline-block; }
:root[data-theme="dark"] .icon-dark { display: inline-block; }
:root[data-theme="dark"] .icon-light { display: none; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  margin-left: 4px;
}
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline; }
@media (prefers-color-scheme: dark) {
  .theme-toggle .sun { display: inline; }
  .theme-toggle .moon { display: none; }
}
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: inline; }
:root[data-theme="dark"] .theme-toggle .sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--text-secondary); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 100px;
  font-weight: 600;
}
.nav-cta:hover { opacity: 0.9; }

/* Hero */
.hero { padding: 100px 24px 60px; text-align: center; }
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px -12px color-mix(in srgb, var(--accent) 50%, transparent);
}
.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost { color: var(--text) !important; }
.btn-ghost:hover { color: var(--accent) !important; }
.btn-large { padding: 16px 36px; font-size: 16px; }
.hero-micro { font-size: 13px; color: var(--text-secondary); margin: 0; }

/* Stat band */
.band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 24px;
}
.band-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.band-num { font-size: 36px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.band-label { font-size: 13px; color: var(--text-secondary); line-height: 1.3; }

/* Sections */
.section { padding: 96px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner.centered { text-align: center; max-width: 600px; }
.pricing-section .section-inner.centered { max-width: 900px; }
.pricing-section .centered-lede { max-width: 620px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-soft-fg);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section h2 { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 560px; }
.section-lede { font-size: 17px; color: var(--text-secondary); line-height: 1.6; max-width: 620px; margin: 0 0 48px; }

/* Privacy section */
.privacy-section { background: var(--bg-alt); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.privacy-copy { padding-top: 8px; }
.privacy-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.25);
}
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.check-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
}
.check-list li strong { color: var(--text); }

/* Features */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  margin-top: 72px;
}
.feature-row:first-of-type { margin-top: 48px; }
.feature-row.reverse { grid-template-columns: 1.2fr 1fr; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-shot { order: 1; }
.feature-copy h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.feature-copy p { font-size: 15px; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.feature-shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.25);
}

/* Pricing */
.pricing-section { background: var(--bg-alt); overflow: visible; }
.centered-lede { margin-left: auto; margin-right: auto; text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.price-card-head { margin-bottom: 28px; }
.price-card h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin: 0 0 14px; }
.price-tag { margin: 0 0 6px; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.price-sub { font-size: 13px; color: var(--text-secondary); margin: 0; }
.price-current { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.price-was {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--text-secondary) 55%, transparent);
  text-decoration-thickness: 2px;
}
.price-features { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.price-features li { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.feat-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}
.feat-icon-check { background: color-mix(in srgb, var(--text-secondary) 15%, transparent); position: relative; }
.feat-icon-check::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--text-secondary);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/12px no-repeat;
}
.feat-icon-star { background: var(--accent); position: relative; }
.feat-icon-star::after {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2l2.6 6.9L22 10l-5.5 4.9L18 22l-6-3.6L6 22l1.5-7.1L2 10l7.4-1.1z"/></svg>') center/13px no-repeat;
}
.btn-ghost-card {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
}
.btn-ghost-card:hover { background: var(--bg-alt); }
.btn-full { display: block; text-align: center; width: 100%; padding: 13px; }

.price-card-pro {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)) 0%, var(--bg) 40%);
  box-shadow: 0 32px 64px -24px color-mix(in srgb, var(--accent) 45%, transparent),
              0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent) inset;
  transform: scale(1.04);
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #a78bfa));
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.pro-pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-soft-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.price-card-pro h3 { color: var(--accent); }
.price-note {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* Download */
.download-section { text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 24px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
}
.footer-dot { opacity: 0.5; }

/* Responsive */
@media (max-width: 760px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .privacy-grid, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-shot { order: unset; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section h2 { font-size: 28px; }
}

/* ---------- Pro features ---------- */
.pro-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, color-mix(in srgb, #a78bfa 10%, transparent), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.eyebrow-pro {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #a78bfa));
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--accent) 75%, transparent);
  letter-spacing: 0.04em;
}
.pro-section h2 { font-size: 40px; line-height: 1.12; max-width: 640px; }
.pro-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-soft-fg);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 5px 12px 5px 6px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.pro-tag-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--accent) 70%, transparent);
}
.pro-tag-icon::after {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  -webkit-mask: var(--glyph) center/13px no-repeat;
          mask: var(--glyph) center/13px no-repeat;
}
.pro-tag-firewall { --glyph: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2 4 5v6c0 5.2 3.4 9.9 8 11 4.6-1.1 8-5.8 8-11V5l-8-3zm0 2.2 6 2.25V11c0 4.1-2.6 7.9-6 8.9V4.2z"/></svg>'); }
.pro-tag-gears { --glyph: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M19.4 13a7.5 7.5 0 0 0 0-2l2.1-1.6-2-3.5-2.5 1a7 7 0 0 0-1.7-1L15 3.3h-4l-.4 2.6a7 7 0 0 0-1.7 1l-2.5-1-2 3.5L6.6 11a7.5 7.5 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-1a7 7 0 0 0 1.7 1l.4 2.6h4l.4-2.6a7 7 0 0 0 1.7-1l2.5 1 2-3.5L19.4 13zM13 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z"/></svg>'); }
.pro-tag-box { --glyph: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2 3 6.5v11L12 22l9-4.5v-11L12 2zm0 2.2 6.4 3.2L12 10.6 5.6 7.4 12 4.2zM5 9.1l6 3v7.4l-6-3V9.1zm8 10.4v-7.4l6-3v7.4l-6 3z"/></svg>'); }
.pro-section .feature-copy h3 { font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; }
.pro-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pro-points li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}
.pro-points li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
}
.pro-row .feature-shot { position: relative; }
.pro-row .feature-shot::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  filter: blur(56px);
  opacity: 0.45;
  z-index: 0;
  border-radius: 40px;
}
.pro-row .feature-shot img {
  position: relative;
  z-index: 1;
  border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
  box-shadow: 0 32px 70px -28px color-mix(in srgb, var(--accent) 55%, rgba(0,0,0,0.35));
}

/* Pricing: richer Pro list */
.price-features li strong { color: var(--text); font-weight: 600; }
.price-card-pro .price-features li { align-items: flex-start; line-height: 1.45; }
.price-card-pro .price-features .feat-icon { margin-top: 0; }
.price-divider { height: 1px; background: var(--border); margin: 4px 0; }
.feat-icon-plain { background: color-mix(in srgb, var(--accent) 14%, transparent); position: relative; }
.feat-icon-plain::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/12px no-repeat;
}

@media (max-width: 760px) {
  .pro-section h2 { font-size: 30px; }
  .pro-section .feature-copy h3 { font-size: 22px; }
}
.pricing-section h2 { margin-left: auto; margin-right: auto; }
.launch-badge { align-self: flex-start; }
