:root {
  --background: #f7f7f5;
  --surface: #ffffff;
  --text: #171716;
  --muted: #6d6b67;
  --line: #deded9;
  --mars: #bd452b;
  --dark: #1d1c1a;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; }
a { color: inherit; }
.site-header, main, footer { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.8rem, 8vw, 7.2rem); line-height: .92; letter-spacing: -.07em; }
h2 { margin-bottom: 44px; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.03; letter-spacing: -.055em; }
.eyebrow { margin-bottom: 18px; color: var(--mars); font-size: .75rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(50px, 8vw, 110px); padding: 88px 0 110px; }
.lead { max-width: 680px; margin-bottom: 34px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 680; text-decoration: none; transition: transform .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--mars); background: var(--mars); color: white; }
.button-secondary { background: var(--surface); }
.availability { margin: 17px 0 0; color: #88857f; font-size: .84rem; }
.app-preview { min-height: 410px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border: 1px solid var(--line); border-radius: 36px; background: var(--surface); box-shadow: 0 35px 90px rgba(31, 26, 20, .09); text-align: center; }
.app-preview img { margin-bottom: 22px; border-radius: 29px; box-shadow: 0 18px 40px rgba(0,0,0,.17); }
.app-preview p { margin-bottom: 5px; font-size: 1.35rem; font-weight: 720; }
.app-preview span { color: var(--muted); font-size: .9rem; }
.screenshots, .features { padding: 115px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(42px, 5vw, 72px) clamp(16px, 3vw, 32px); align-items: start; }
.screenshot-grid figure { margin: 0; }
.screenshot-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 34px; box-shadow: 0 24px 60px rgba(40,35,28,.12); }
.screenshot-grid figcaption { display: flex; flex-direction: column; gap: 3px; padding: 18px 8px 0; }
.screenshot-grid figcaption strong { font-size: 1rem; }
.screenshot-grid figcaption span { color: var(--muted); font-size: .88rem; }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 60px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 27px 0; border-bottom: 1px solid var(--line); }
.feature-list li > span { color: var(--mars); font-size: .75rem; }
.feature-list strong { font-size: 1.2rem; }
.feature-list p { margin: 0; color: var(--muted); }
.privacy-card { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; margin-bottom: 110px; padding: clamp(38px, 7vw, 80px); border-radius: 36px; background: var(--dark); color: white; }
.privacy-card h2 { margin-bottom: 20px; }
.privacy-card div > p:last-child { max-width: 650px; margin-bottom: 0; color: #bbb8b1; font-size: 1.08rem; }
.button-light { border-color: white; background: white; color: var(--text); white-space: nowrap; }
.policy-layout { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(60px, 10vw, 140px); padding: 90px 0 120px; }
.policy-heading { position: sticky; top: 40px; align-self: start; }
.policy-heading h1 { font-size: clamp(3.5rem, 7vw, 6rem); }
.policy-heading > p:not(.eyebrow) { color: var(--muted); }
.back-link { display: inline-block; margin-top: 25px; color: var(--mars); font-weight: 650; text-underline-offset: 4px; }
.policy-content { max-width: 720px; }
.policy-lead { font-size: 1.35rem; }
.policy-content section { padding: 29px 0; border-top: 1px solid var(--line); }
.policy-content h2 { margin-bottom: 10px; font-size: 1.4rem; letter-spacing: -.025em; }
.policy-content p { color: var(--muted); }
.policy-content a { color: var(--mars); }
footer { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; padding: 36px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .app-preview { min-height: 340px; }
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 18px; }
  .privacy-card { grid-template-columns: 1fr; align-items: start; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-heading { position: static; }
  footer { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header { min-height: 70px; }
  .brand span { display: none; }
  nav { gap: 14px; }
  h1 { font-size: 3.15rem; }
  h2 { font-size: 2.7rem; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .screenshot-grid { grid-template-columns: 1fr; gap: 22px; }
  .screenshot-grid figure { width: min(100%, 280px); margin-inline: auto; }
  .feature-list li { grid-template-columns: 42px 1fr; }
  .feature-list p { grid-column: 2; }
}
