:root {
  --charcoal: #121212;
  --charcoal-2: #1A1A1A;
  --charcoal-3: #202020;
  --charcoal-ink: #2B2B2B;
  --grey: #c8c8d2;
  --grey-mid: #8b93a0;
  --grey-soft: #F5F5F5;
  --grey-cool: #F0F0F0;
  --grey-mid-swatch: #D8D8D8;
  --grey-text: #6B6B6B;
  --grey-body: #2B2B2B;
  --bg-legal: #F5F5F5;
  --card: #ffffff;
  --border: #D8D8D8;
  --border-dark: #202020;
  --blue: #18B0F8;
  --blue-hot: #3CBCF8;
  --blue-dark: #1490C8;
  --white: #ffffff;
  --warn-bg: #fff8e6;
  --warn-border: #f0d78c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(26, 29, 33, 0.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 760px;
  --max-wide: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal-ink);
  background: var(--bg-legal);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue); }

/* —— Shared header (light legal chrome) —— */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  height: 34px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  display: block;
}
.brand-text strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--charcoal-ink);
  font-weight: 700;
}
.brand-tag {
  display: none;
  font-weight: 400;
  font-size: 12px;
  color: var(--grey-text);
  line-height: 1.3;
  margin-top: 2px;
}
@media (min-width: 720px) {
  .brand-tag { display: block; }
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 0;
}
nav.primary a {
  margin-left: 22px;
  padding: 0 0 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--grey-text);
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav.primary a:hover { color: var(--charcoal-ink); background: transparent; }
nav.primary a[aria-current="page"],
nav.primary a.current {
  color: var(--charcoal-ink);
  border-bottom-color: var(--blue);
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--grey-text);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* —— Main / legal card —— */
main {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
main.home { max-width: none; padding: 0; width: 100%; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.draft-banner {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--charcoal-ink);
  font-weight: 700;
  line-height: 1.2;
}
.meta {
  color: var(--grey-text);
  font-size: 14px;
  margin-bottom: 28px;
}
h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--charcoal-ink);
}
p, ul, ol { margin: 10px 0; color: var(--grey-body); font-size: 15px; line-height: 1.65; }
ul, ol { padding-left: 1.35rem; }
li { margin: 0.35rem 0; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--grey-soft);
  padding: 0.12em 0.4em;
  border-radius: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: #F0F0F0;
  color: var(--charcoal-ink);
  font-weight: 650;
}

/* —— Light legal footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  margin-top: auto;
  padding: 28px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--grey-text);
  font-size: 13px;
}
.site-footer .footer-brand img {
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.9;
}
.site-footer .addr { margin: 0.25rem 0 0; line-height: 1.5; }
.site-footer a { color: var(--grey-text); }
.site-footer a:hover { color: var(--blue-dark); }
.site-footer-meta { text-align: right; }
.site-footer-meta p { margin: 0; color: var(--grey-text); font-size: 13px; }

/* =========================================================
   HOME — dark marketing (GD desktop + mobile mocks)
   ========================================================= */
body.page-home {
  background: var(--charcoal);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M0 40 Q60 20 120 40 T240 40' fill='none' stroke='%232a3038' stroke-width='1'/%3E%3Cpath d='M0 80 Q60 60 120 80 T240 80' fill='none' stroke='%232a3038' stroke-width='1'/%3E%3Cpath d='M0 120 Q60 100 120 120 T240 120' fill='none' stroke='%232a3038' stroke-width='1'/%3E%3Cpath d='M0 160 Q60 140 120 160 T240 160' fill='none' stroke='%232a3038' stroke-width='1'/%3E%3Cpath d='M0 200 Q60 180 120 200 T240 200' fill='none' stroke='%232a3038' stroke-width='1'/%3E%3C/svg%3E");
}
body.page-home a { color: var(--blue-hot); }
body.page-home .site-header {
  background: transparent;
  border-bottom: none;
  position: relative;
  backdrop-filter: none;
}
body.page-home .site-header-inner {
  padding: 28px 72px;
  max-width: none;
}
body.page-home .brand-logo { height: 42px; max-width: min(240px, 60vw); }
body.page-home .brand-text,
body.page-home .brand-tag { display: none; }
body.page-home nav.primary a {
  color: var(--grey-mid);
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border-bottom: none;
  font-weight: 500;
  font-size: 15px;
}
body.page-home nav.primary {
  gap: 32px;
}
body.page-home nav.primary a:hover { color: var(--white); }
body.page-home nav.primary a.btn {
  padding: 14px 28px;
  border-bottom: none;
  color: var(--charcoal);
}
body.page-home nav.primary a.btn:hover { color: var(--charcoal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: var(--charcoal) !important;
  box-shadow: 0 8px 24px rgba(24, 176, 248, 0.28);
}
.btn-primary:hover { background: var(--blue-hot); color: var(--charcoal) !important; }
.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid #3a424e;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--white) !important; }

.hero {
  padding: 56px 72px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(24, 176, 248, 0.18), transparent 60%);
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
  color: var(--blue-hot);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin-bottom: 20px;
  max-width: 11ch;
  color: var(--white);
}
.hero .tagline {
  font-size: clamp(1.05rem, 2vw, 22px);
  color: var(--grey);
  line-height: 1.45;
  margin-bottom: 36px;
  max-width: 28ch;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #121212;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 10px 16px;
  min-width: 168px;
  text-decoration: none;
  color: var(--white);
}
.store:hover { border-color: var(--blue); color: var(--white); }
.store .glyph { font-size: 22px; line-height: 1; }
.store small {
  display: block;
  font-size: 10px;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.store strong { font-size: 15px; font-weight: 650; }

.phone-wrap { position: relative; justify-self: end; }
.phone {
  width: 320px;
  height: 640px;
  border-radius: 40px;
  background: linear-gradient(165deg, #1a1f27 0%, #0d1015 100%);
  border: 3px solid #2e3540;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(24, 176, 248, 0.15);
  padding: 18px 14px;
  position: relative;
  overflow: hidden;
}
.notch {
  width: 120px;
  height: 22px;
  background: #121212;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 14px;
}
.app-screen {
  height: calc(100% - 36px);
  border-radius: 24px;
  overflow: hidden;
  background: #0f1319;
  display: flex;
  flex-direction: column;
}
.app-photo {
  height: 55%;
  background:
    linear-gradient(180deg, transparent 40%, rgba(12, 15, 20, 0.85)),
    linear-gradient(135deg, #2a3340, #1a222c 40%, #3a4656);
  position: relative;
}
.app-photo::after {
  content: "LOCAL STOREFRONT";
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
}
.pin {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 36px;
  height: 44px;
}
.app-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #1a212b;
  color: var(--grey);
  border: 1px solid #2a3340;
}
.chip.on {
  color: var(--blue-hot);
  border-color: rgba(24, 176, 248, 0.45);
}
.slider {
  height: 6px;
  border-radius: 999px;
  background: #243040;
  position: relative;
  margin-top: 4px;
}
.slider::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: var(--blue);
  border-radius: 999px;
}
.map-mini {
  margin-top: auto;
  height: 72px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 60% 45%, var(--blue) 0 4px, transparent 5px),
    repeating-linear-gradient(0deg, transparent, transparent 11px, #1e2630 12px),
    repeating-linear-gradient(90deg, transparent, transparent 11px, #1e2630 12px),
    #151a22;
  border: 1px solid #2a3340;
}

/* Mobile preview card (shown below hero on small screens) */
.mobile-preview {
  display: none;
  margin: 8px 20px 28px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #2a3340;
  background: #0f1319;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.mobile-preview .app-photo { height: 210px; }
.mobile-preview .app-body { padding: 14px; }
.mobile-preview .slider { height: 5px; }
.mobile-preview .slider::after { width: 58%; }

.section {
  padding: 72px;
  background: var(--charcoal-2);
  border-top: 1px solid var(--border-dark);
}
.section.light {
  background: var(--grey-soft);
  color: var(--charcoal);
  border-top: none;
}
.section-inner {
  max-width: 1296px;
  margin: 0 auto;
}
.section h2 {
  font-size: 36px;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  font-weight: 750;
  color: var(--white);
  border: none;
  padding: 0;
}
.section.light h2 { color: var(--charcoal); }
.section .sub {
  color: var(--grey-mid);
  font-size: 17px;
  margin: 0 0 40px;
  max-width: 46ch;
}
.section.light .sub { color: var(--grey-text); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 28px 24px;
}
.section.light .step {
  background: #fff;
  border-color: #D8D8D8;
}
.num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(24, 176, 248, 0.15);
  color: var(--blue-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  margin-bottom: 16px;
  font-size: 14px;
}
.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--white);
}
.section.light .step h3 { color: var(--charcoal); }
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-mid);
  margin: 0;
}
.section.light .step p { color: var(--grey-text); }

.features {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #151a22;
  border: 1px solid #2a3340;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-hot);
  font-size: 18px;
}
.section.light .icon {
  background: #F0F0F0;
  border-color: #D8D8D8;
  color: var(--blue-dark);
}
.feature-row h3 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--charcoal);
}
.feature-row p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.5;
  margin: 0;
}

.dash-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  color: var(--charcoal);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid #D8D8D8;
}
.dash-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--grey-text);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 16px;
}
.bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: #D8D8D8;
  min-height: 8px;
}
.bar.on { background: var(--blue); }
.dash-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-top: 1px solid #F0F0F0;
  color: var(--grey-text);
}
.dash-row strong { color: var(--charcoal); }

body.page-home .site-footer {
  background: transparent;
  border-top: 1px solid var(--border-dark);
  padding: 40px 72px 56px;
  color: var(--grey-mid);
  max-width: none;
}
body.page-home .site-footer .footer-brand img { height: 28px; }
body.page-home .site-footer a { color: var(--grey-mid); }
body.page-home .site-footer a:hover { color: var(--blue-hot); }
body.page-home .site-footer-meta { text-align: left; }
body.page-home .site-footer-meta p { color: var(--grey-mid); }

.home-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  body.page-home .site-header-inner,
  .hero,
  .section,
  body.page-home .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 36px;
    padding-bottom: 48px;
  }
  .phone-wrap { justify-self: center; display: none; }
  .mobile-preview { display: block; margin-left: 28px; margin-right: 28px; }
  .hero h1 { max-width: none; }
  .hero .tagline { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .section h2 { font-size: 28px; }
}

@media (max-width: 640px) {
  .site-header-inner { padding: 16px 20px; }
  .brand-logo { height: 28px; }
  body.page-home .brand-logo { height: 28px; }
  body.page-home .site-header-inner { padding: 20px 20px 8px; }

  .nav-toggle { display: inline-flex; }
  nav.primary {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
  }
  nav.primary.is-open { display: flex; }
  nav.primary a {
    margin-left: 0;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
  }
  body.page-home nav.primary {
    gap: 4px;
  }
  body.page-home nav.primary a {
    border-bottom: 1px solid var(--border-dark);
    padding: 12px 4px;
  }
  body.page-home nav.primary a.btn {
    margin-top: 8px;
    text-align: center;
  }

  .hero { padding: 28px 20px 36px; }
  .mobile-preview { margin: 0 20px 28px; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .hero h1 { font-size: 36px; margin-bottom: 14px; }
  .hero .tagline { font-size: 16px; margin-bottom: 24px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .store-row { gap: 8px; }
  .store { flex: 1; min-width: 0; padding: 10px; }
  .section { padding: 28px 20px 40px; }
  .section h2 { font-size: 24px; }
  .step { padding: 16px; margin-bottom: 0; }
  .num {
    width: auto;
    height: auto;
    background: transparent;
    justify-content: flex-start;
    margin-bottom: 6px;
    font-size: 12px;
  }
  main { padding: 28px 16px 48px; }
  .card { padding: 24px 18px; }
  h1 { font-size: 26px; }
  .site-footer {
    padding: 24px 20px 36px;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer-meta { text-align: left; }
  body.page-home .site-footer { padding: 24px 20px 36px; }
}

@media (min-width: 641px) {
  nav.primary { display: flex !important; }
  .nav-toggle { display: none !important; }
}
