:root {
  color-scheme: light;
  --ink: #17141c;
  --paper: #f6f5f8;
  --white: #ffffff;
  --line: #d9d6dc;
  --muted: #64616b;
  --coral: #e84d49;
  --mint: #279f84;
  --gold: #cf982d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(246, 245, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand img { border-radius: 8px; }

nav { display: flex; gap: clamp(14px, 3vw, 30px); }
nav a, footer a { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { color: var(--coral); }

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero picture, .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media { object-fit: cover; object-position: center 10%; }

.hero-copy {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(26px, 4vw, 48px) 0;
  background: rgba(246, 245, 248, 0.90);
  border-top: 1px solid rgba(23, 20, 28, 0.16);
}

.hero-inner, .content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner { max-width: 950px; margin-left: max(20px, calc((100% - 1180px) / 2)); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { max-width: 850px; margin-bottom: 16px; font-size: clamp(2.25rem, 6vw, 4rem); }
h2 { max-width: 850px; margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 3.35rem); }
h3 { margin-bottom: 8px; font-size: 1.2rem; }

.lede, .section-lede {
  max-width: 820px;
  margin: 0;
  color: #37333d;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.primary-action, .secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--coral);
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}
.primary-action { background: var(--coral); color: var(--white); }
.secondary-action { background: transparent; color: var(--coral); }

.band { padding: clamp(64px, 9vw, 120px) 0; }
.intro { background: var(--white); padding-top: clamp(36px, 4vw, 52px); }
.section-lede { margin-bottom: 42px; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article { padding: 28px; border-right: 1px solid var(--line); }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article:last-child { border-right: 0; padding-right: 0; }
.feature-grid p { margin: 0; color: var(--muted); }
.step { display: block; margin-bottom: 24px; color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; }

.proof { background: #efedf2; }
.proof-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); align-items: center; gap: clamp(34px, 7vw, 100px); }
.proof img { display: block; width: 100%; max-height: 720px; object-fit: contain; object-position: top; }
.proof p { color: var(--muted); }
.checklist { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.checklist li::before { content: "✓"; margin-right: 10px; color: var(--mint); }

.privacy-band { background: var(--ink); color: var(--white); }
.privacy-layout { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: end; gap: 36px; }
.privacy-layout p { margin: 0; color: #d7d4db; }
.privacy-layout .eyebrow { color: #69cfb7; }
.text-link { color: #ff7772; font-weight: 760; white-space: nowrap; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer span:last-child { display: flex; gap: 20px; }

.legal-main { min-height: calc(100vh - 130px); background: var(--white); }
.legal-hero { padding: clamp(60px, 10vw, 118px) 0 42px; border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-hero p { max-width: 780px; margin: 0; color: var(--muted); font-size: 1.1rem; }
.legal-copy { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 90px; }
.legal-copy h2 { margin-top: 44px; font-size: 1.5rem; }
.legal-copy h3 { margin-top: 30px; }
.legal-copy p, .legal-copy li { color: #403c45; }
.legal-copy li { margin-bottom: 8px; }
.legal-copy code { overflow-wrap: anywhere; }
.support-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 36px 0; background: var(--line); border: 1px solid var(--line); }
.support-options section { padding: 24px; background: var(--white); }
.support-options h2 { margin-top: 0; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid article { border-bottom: 1px solid var(--line); }
  .feature-grid article:nth-child(2) { border-right: 0; padding-right: 0; }
  .feature-grid article:nth-child(3) { padding-left: 0; }
  .feature-grid article:nth-child(n+3) { border-bottom: 0; }
  .proof-layout, .privacy-layout { grid-template-columns: 1fr; }
  .proof img { max-height: 580px; }
  .privacy-layout { align-items: start; }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; font-size: 0.9rem; }
  .hero { min-height: 76vh; }
  .hero-media { object-position: center top; }
  .hero-copy { padding: 26px 0 32px; }
  .hero-actions a { flex: 1 1 150px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:first-child, .feature-grid article:nth-child(2), .feature-grid article:nth-child(3), .feature-grid article:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-grid article:last-child { border-bottom: 0; }
  .support-options { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
