
:root {
  color-scheme: light dark;
  --bg: #f4f4f6;
  --surface: #ffffff;
  --surface-raised: rgba(255, 255, 255, 0.82);
  --text: #171719;
  --muted: #6c6c73;
  --border: rgba(0, 0, 0, 0.09);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.11);
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--accent); }

.container {
  width: min(100% - 40px, 1100px);
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}

.nav-links a:hover { color: var(--accent); }

.theme-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
}

.theme-toggle-mark {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd76a 0 50%, #22252c 50% 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent);
}

.theme-toggle[data-mode="light"] .theme-toggle-mark {
  background: #ffd76a;
}

.theme-toggle[data-mode="dark"] .theme-toggle-mark {
  background: #22252c;
  box-shadow: inset -5px -3px 0 #f5f5f7, inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero {
  padding: 78px 0 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 620px; }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 790;
  letter-spacing: 0.14em;
}

h1 {
  margin: 14px 0 20px;
  font-size: clamp(46px, 5.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.trust-row span,
.purchase-options span {
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.availability {
  margin-top: 24px;
  font-weight: 720;
}

.store-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
}

.store-row .availability {
  margin-top: 0;
  color: var(--muted);
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 194px;
  max-width: min(100%, 194px);
  text-decoration: none;
}

.store-badge-link:hover {
  opacity: 0.86;
}

.store-badge {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #111;
  box-shadow: var(--shadow);
}

/* Soft transparent edge fade around screenshots */
.screenshot-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(to right, rgba(17,17,17,.28), transparent 10%, transparent 90%, rgba(17,17,17,.28)),
    linear-gradient(to bottom, rgba(17,17,17,.22), transparent 8%, transparent 90%, rgba(17,17,17,.28));
}

.hero-preview {
  width: min(100%, 350px);
  justify-self: center;
}

.hero-preview img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
}

.section { padding: 70px 0; }

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.closing h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.section-heading p,
.closing p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
}

.feature-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 7px 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.027em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.card-preview {
  width: 100%;
  max-width: 190px;
  justify-self: end;
}

.card-preview img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: top;
}

.privacy-card {
  display: block;
  align-self: stretch;
  background:
    radial-gradient(circle at top right, var(--accent-soft), transparent 52%),
    var(--surface);
}

.privacy-card .feature-copy {
  width: 100%;
  align-self: start;
  padding-top: 0;
}

.privacy-card .feature-copy {
  grid-column: 1 / -1;
}

.privacy-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.privacy-card li + li { margin-top: 7px; }

.plans-section { padding-top: 82px; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plan-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan-card.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: var(--shadow);
}

.plan-label {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.plan-card h3 {
  margin: 8px 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.plan-card > p:not(.plan-label),
.plan-card li {
  color: var(--muted);
}

.plan-card ul { padding-left: 20px; }

.plan-card li + li { margin-top: 7px; }

.purchase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.purchase-options span {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.closing {
  margin-top: 18px;
  margin-bottom: 90px;
  padding: 40px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.closing img {
  width: 82px;
  height: 82px;
  border-radius: 20px;
}

footer { border-top: 1px solid var(--border); }

.footer-content {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a { text-decoration: none; }

/* Legal and support pages */
.page-wrap { padding: 64px 0 88px; }

.legal-page,
.support-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
}

.legal-page h1,
.support-heading h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.048em;
}

.updated {
  margin: 14px 0 42px;
  color: var(--muted);
  font-size: 15px;
}

.legal-page h2 {
  margin: 40px 0 12px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-page p,
.legal-page li { color: var(--muted); }

.legal-page strong { color: var(--text); }

.legal-page ul { padding-left: 24px; }

.legal-page li + li { margin-top: 8px; }

.notice {
  margin: 26px 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
}

.notice strong { color: var(--text); }

.support-heading {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.support-heading p {
  max-width: 670px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.support-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.support-card {
  border-radius: 20px;
  padding: 28px;
}

.support-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.support-card p {
  margin: 0;
  color: var(--muted);
}

.email-button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
}

.faq {
  max-width: 860px;
  margin: 44px auto 0;
}

.faq h2 {
  font-size: 31px;
  letter-spacing: -0.03em;
}

details {
  border-top: 1px solid var(--border);
  padding: 20px 2px;
}

details:last-child { border-bottom: 1px solid var(--border); }

summary {
  cursor: pointer;
  font-weight: 720;
  font-size: 17px;
}

details p { color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --surface: #1b1b1d;
    --surface-raised: rgba(30, 30, 32, 0.78);
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #1b95ff;
    --accent-soft: rgba(27, 149, 255, 0.14);
    --shadow: none;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f6;
  --surface: #ffffff;
  --surface-raised: rgba(255, 255, 255, 0.82);
  --text: #171719;
  --muted: #6c6c73;
  --border: rgba(0, 0, 0, 0.09);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.11);
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #1b1b1d;
  --surface-raised: rgba(30, 30, 32, 0.78);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #1b95ff;
  --accent-soft: rgba(27, 149, 255, 0.14);
  --shadow: none;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy { margin-inline: auto; }

  .trust-row { justify-content: center; }

  .hero-preview { width: min(100%, 320px); }

  .feature-card {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

  .card-preview { max-width: 160px; }

  .card-preview img { height: 290px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1100px); }

  .feature-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .hero {
    padding-top: 58px;
    gap: 36px;
  }

  .footer-content {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  nav { min-height: 60px; }

  .brand span { display: none; }

  .nav-links { gap: 12px; }

  .nav-links a { font-size: 14px; }

  .theme-toggle {
    padding-inline: 8px;
  }

  .theme-toggle span:last-child {
    display: none;
  }

  h1 { font-size: 44px; }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .card-preview {
    max-width: 230px;
    justify-self: center;
  }

  .card-preview img { height: 410px; }

  .closing {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .closing img { margin-inline: auto; }
}
