:root {
  --primary: #00897B;
  --primary-strong: #00695C;
  --secondary: #FF6B35;
  --tertiary: #FFC145;
  --text: #152225;
  --text-muted: #5B6B70;
  --bg: #F6F8F9;
  --surface: #FFFFFF;
  --border: #E3E7EA;
  --tint: #E0F2F1;
  --radius: 16px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4DB6AC;
    --primary-strong: #80CBC4;
    --secondary: #FF8A65;
    --text: #F5F7F8;
    --text-muted: #9FB0B5;
    --bg: #12181A;
    --surface: #1D2428;
    --border: #2A3338;
    --tint: #1B3533;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--primary); }
a:hover { color: var(--primary-strong); }

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

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

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 20px; height: 20px; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--tint);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.lead { font-size: 19px; color: var(--text-muted); margin: 0 0 28px; max-width: 34em; }

.store-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.coming-soon { font-size: 14px; color: var(--text-muted); margin-top: 12px; }

/* Phone mock */
.phone {
  justify-self: center;
  width: min(300px, 100%);
  aspect-ratio: 9 / 18;
  border-radius: 40px;
  background: var(--surface);
  border: 10px solid var(--text);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}
.phone-title { font-weight: 800; font-size: 18px; }
.phone-day { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.event {
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border-left: 5px solid var(--primary);
  font-size: 13px;
  line-height: 1.4;
}
.event strong { display: block; font-size: 14px; }
.event.orange { border-left-color: var(--secondary); }
.event.yellow { border-left-color: var(--tertiary); }
.event span { color: var(--text-muted); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-intro { color: var(--text-muted); margin: 0 0 32px; max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
section.alt .card { background: var(--bg); }
.card h3 { margin: 12px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--text-muted); font-size: 16px; }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 68px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cta {
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  padding: 48px 24px;
}
.cta h2 { color: #fff; }
.cta p { margin: 0 0 20px; opacity: 0.92; }
.cta .btn { background: #fff; color: var(--primary-strong); }

/* Document pages */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 42px); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc h3 { font-size: 19px; margin-top: 24px; }
.doc .updated { color: var(--text-muted); margin-top: -8px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.callout {
  background: var(--tint);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface); }
.table-scroll { overflow-x: auto; }

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 0;
  font-size: 15px;
  color: var(--text-muted);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }

@media (max-width: 820px) {
  .hero { padding: 40px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; }
  body { font-size: 16px; }
}
