/* Vamos website. Colours match the app: the accent red and saffron from Assets.xcassets and Theme. */
:root {
  --red: #c7332e;
  --red-deep: #8e191b;
  --saffron: #f7bf28;
  --green: #29a85c;
  --bg: #fffaf2;
  --surface: #ffffff;
  --surface-2: #fbf0e0;
  --text: #2a1a17;
  --muted: #6e5d57;
  --line: #ecdcc8;
  --radius: 20px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --red: #f55c54;
    --red-deep: #ffb4a8;
    --bg: #17110f;
    --surface: #221a17;
    --surface-2: #2c211d;
    --text: #f6ece6;
    --muted: #bba79f;
    --line: #3b2d28;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--red); }
a:hover { text-decoration-thickness: 2px; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
h1 .accent { background: linear-gradient(90deg, var(--saffron), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 12px 20px; border-radius: 14px; font-weight: 700; text-decoration: none;
}
.badge-soon svg { width: 22px; height: 22px; fill: currentColor; }
.badge-soon small { display: block; font-size: 12px; font-weight: 600; opacity: 0.75; line-height: 1.2; }
.badge-soon span { line-height: 1.2; }
.cta-note { color: var(--muted); font-size: 15px; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.trust li::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* Screenshots */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(80, 20, 10, 0.35); background: #fff; }
.shot figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-shot { width: 300px; max-width: 80%; margin: 0 auto; }
.hero-shot img { border: 8px solid #1c1412; border-radius: 44px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; padding: 0 4%; }
.shots-tight { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 0; padding: 0; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface-2); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lede { color: var(--muted); font-size: 19px; margin: 0 0 36px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--surface-2); margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card li { margin: 4px 0; }
.card .tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--saffron) 30%, transparent); color: var(--text); margin-bottom: 10px; }

.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 32px; line-height: 1.1; color: var(--red); }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

.cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.cities li { background: var(--surface-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 600; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { font-size: 30px; font-weight: 800; margin: 4px 0 10px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* Closing CTA */
.closing { text-align: center; }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* Long-form pages (privacy, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc h3 { font-size: 19px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc .updated { color: var(--muted); margin-top: -6px; }
.doc .summary { background: var(--surface-2); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { font-size: 14px; color: var(--muted); }
.doc details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; background: var(--surface); }
.doc summary { font-weight: 700; cursor: pointer; }
.doc details[open] summary { margin-bottom: 8px; }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 20px 0; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .features, .pricing { grid-template-columns: 1fr; }
  .card.wide { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 12px; gap: 16px; }
  .shots-tight { grid-template-columns: repeat(2, 72%); }
  .shot { scroll-snap-align: center; }
  .nav { display: none; }
  section { padding: 48px 0; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: none; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}

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