/* Comped site. Colors follow App/Sources/Support/Theme.swift and the AccentColor asset. */
:root {
  --hero: #0f2126;
  --hero-2: #1a383b;
  --sheet: #f7f5ed;
  --surface: #ffffff;
  --ink: #17191a;
  --muted: #5d6163;
  --line: rgba(23, 25, 26, 0.09);
  --accent: #745f3a;
  --accent-soft: #d8be8a;
  --on-hero: #f4f1ea;
  --on-hero-muted: rgba(244, 241, 234, 0.68);
  --radius: 28px;
  --serif: "Newsreader", "New York", ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sheet: #141416;
    --surface: #1e1e20;
    --ink: #f2f0ea;
    --muted: #a3a6a8;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #d8be8a;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-transform: uppercase;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: inherit; opacity: 0.75; text-decoration: none; }
.top nav a:hover { opacity: 1; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--hero) 0%, var(--hero) 32%, #142b2e 65%, var(--hero-2) 100%);
  color: var(--on-hero);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.hero h1 {
  font-size: clamp(46px, 6.4vw, 78px);
  line-height: 1.02;
  margin: 0 0 22px;
}
.hero p.lead {
  font-size: 20px;
  color: var(--on-hero-muted);
  max-width: 30em;
  margin: 0 0 32px;
}
.hero-copy { padding-bottom: 64px; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--on-hero);
  color: #111;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 600;
  text-decoration: none;
  font-size: 17px;
}
.cta svg { width: 20px; height: 20px; }
.cta-note { display: block; margin-top: 14px; font-size: 14px; color: var(--on-hero-muted); }

.phone {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 46px;
  border: 10px solid #0a1214;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: #0a1214;
}
/* The hero phone is cropped by the bottom edge of the hero, like it's rising out of it. */
.hero .media { align-self: end; height: 560px; overflow: hidden; padding-top: 8px; }
.hero .phone { max-width: 320px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Sections */
section { padding: 96px 0; }
section.first { padding-top: 112px; }
h2 { font-size: clamp(36px, 5vw, 54px); line-height: 1.06; margin: 0 0 18px; }
.sub { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .phone { max-width: 320px; }

.quote {
  margin: 28px 0 0;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card .num {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}
.card h3 { font-size: 26px; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--muted); }

.cards-list {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 40em;
}

.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 42em; }

.closing {
  background: linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  color: var(--on-hero);
  text-align: center;
  border-radius: 36px;
  padding: 72px 24px;
}
.closing h2 { margin-bottom: 26px; }

/* Footer */
footer {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
footer .row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer nav a { color: inherit; text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .fine { margin: 18px 0 0; max-width: 46em; }

/* Legal and support pages */
.doc-head {
  background: linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  color: var(--on-hero);
  padding-bottom: 56px;
}
.doc-head h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.05; margin: 24px 0 10px; }
.doc-head p { color: var(--on-hero-muted); margin: 0; }
.doc { max-width: 720px; padding-top: 48px; padding-bottom: 32px; }
.doc h2 { font-size: 30px; margin: 44px 0 10px; }
.doc h3 { font-size: 22px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 24px;
}
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding-top: 24px; }
  .hero-copy { padding-bottom: 8px; }
  .hero .media { height: 420px; }
  .hero .phone { max-width: 280px; }
  section { padding: 72px 0; }
  section.first { padding-top: 72px; }
  .split .phone { max-width: 280px; }
  .split .media { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .top nav { gap: 16px; font-size: 14px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .hero p.lead { font-size: 18px; }
  .top nav .hide-sm { display: none; }
}
