/* PlateMap landing — paper, deep green, serif headlines.
   Matches src/index.css tokens 1:1 so the marketing site
   feels continuous with the app. */

:root {
  --ink: #0b2f22;
  --ink-2: #174936;
  --muted: #7b8078;
  --muted-2: #a5a79f;
  --paper: #fffdf8;
  --cream: #f7f4ec;
  --cream-2: #eeebe2;
  --line: #e5e1d7;
  --green: #0b5a3f;
  --green-2: #e8eee7;
  --gold: #e6aa00;
  --bronze: #c7752d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 90, 63, 0.11), transparent 34rem),
    linear-gradient(140deg, #faf8f1 0%, #f0ede4 48%, #fbfaf6 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  padding: 22px 0 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.header-cta:hover {
  background: var(--green);
  color: var(--paper);
  text-decoration: none;
}

/* ---------- Display type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
}

.h1 { font-size: clamp(40px, 7vw, 76px); }
.h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 32px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 14px;
}

p.lede {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 36em;
  margin: 18px 0 28px;
}

p { margin: 0 0 16px; }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  display: flex;
  justify-content: flex-start;
}

.hero-text { max-width: 720px; }

.hero-foot {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

.hero-phone {
  margin: 0;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: 100%;
  max-width: 360px;
  border-radius: 38px;
  box-shadow:
    0 1px 0 rgba(11, 47, 34, 0.08),
    0 30px 60px -20px rgba(11, 47, 34, 0.28),
    0 60px 120px -40px rgba(11, 47, 34, 0.22);
  border: 1px solid var(--line);
}

/* ---------- App Store badge ---------- */

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--sans);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.appstore-badge:hover { text-decoration: none; transform: translateY(-1px); }

.appstore-badge .ax-apple {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.appstore-badge .ax-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.appstore-badge .ax-text small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.01em;
}
.appstore-badge .ax-text strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.appstore-badge.large { padding: 16px 28px; }
.appstore-badge.large .ax-apple { width: 32px; height: 32px; }
.appstore-badge.large .ax-text strong { font-size: 26px; }

/* ---------- Ghost button (Continue to web) ---------- */

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 26px;
  min-height: 64px;
  border: 2px solid var(--green);
  border-radius: 12px;
  color: var(--green);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--paper);
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  box-sizing: border-box;
}
.ghost-btn:hover {
  background: var(--green);
  color: var(--paper);
  transform: translateY(-1px);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cta-row.centered { justify-content: center; }

@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .ghost-btn, .appstore-badge.large { justify-content: center; }
}

/* ---------- Section spacing ---------- */

section.band {
  padding: 80px 0;
}
section.band + section.band { padding-top: 0; }

/* ---------- Why grid ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
}

.why-card h3 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 12px 0 12px;
  line-height: 1.15;
  color: var(--ink);
}

.why-card p {
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

.why-card .icon {
  width: 36px;
  height: 36px;
  background: var(--green-2);
  color: var(--green);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps li {
  position: relative;
  padding-left: 0;
}

.step-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--green);
  display: block;
  margin-bottom: 14px;
}

.steps h3 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}

.steps p {
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Screens row (4-up tour) ---------- */

.screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}

.screen-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.screen-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1284 / 2778;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow:
    0 1px 0 rgba(11, 47, 34, 0.06),
    0 22px 44px -22px rgba(11, 47, 34, 0.24);
}

.screen-card figcaption {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  text-align: center;
  max-width: 220px;
}

/* ---------- Final CTA ---------- */

.cta-final {
  text-align: center;
  padding: 100px 24px 96px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-final .display {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 28px;
}

.cta-foot {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--muted);
}

footer.site-footer .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

footer.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

footer.site-footer nav a {
  color: var(--ink-2);
  font-weight: 500;
}

footer.site-footer .footer-copy {
  font-size: 13px;
  color: var(--muted-2);
  margin: 0;
}

/* ---------- Legal page ---------- */

.legal {
  padding: 56px 0 96px;
}

.legal article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px clamp(24px, 5vw, 56px);
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(32px, 5vw, 44px);
  margin: 0 0 12px;
  color: var(--ink);
}

.legal .meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px;
}

.legal h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 36px 0 12px;
}

.legal h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  margin: 22px 0 8px;
  color: var(--ink);
}

.legal p, .legal li {
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 16px;
}

.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

.legal a { color: var(--green); }

.legal .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero {
    padding: 56px 0 40px;
  }
  .why-grid { grid-template-columns: 1fr; gap: 18px; }
  .why-card { padding: 24px 22px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .screens-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .screen-card img { max-width: 180px; }
  section.band { padding: 56px 0; }
  .cta-final { padding: 64px 24px; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .screens-row { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .screen-card img { max-width: 160px; }
  .screen-card figcaption { font-size: 12px; max-width: 180px; }
}
