/* Downtown website: fonts, tokens, header, footer and the home page.
   The home page loads only this file. The legal and help pages load global.css (their content
   layout) first, then this file for the shared header, footer and type. */

@font-face {font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/Inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/Inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Lobster'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Lobster-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Lobster'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/Lobster-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/PlusJakartaSans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/PlusJakartaSans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --blue: #1876F3;
  --blue-top: #2A86FF;
  --blue-mist: #F0F6FF;
  --yellow: #FFD84D;
  --ink: #0B0B0F;
  --muted: #5E6472;
  --line: #E7E9EF;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand: 'Lobster', cursive;
  /* global.css (legal pages) reads these */
  --font-sans: var(--sans);
  --font-brand: var(--brand);
  --text-primary: var(--ink);
  --color-brand: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }

/* Plus Jakarta's apostrophe, comma and full stop sit loose at display sizes: pull them in */
.pq { letter-spacing: -0.12em; margin-left: -0.03em; }
br.sm { display: none; } /* a line break for small screens only */
.pc { margin-left: -0.05em; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-nav { position: relative; z-index: 10; color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
/* The brand logo: the spark mark (the app's DowntownMark) beside the Lobster wordmark, in one colour.
   Blue on the white header, white on blue and on the dark footer, as on the app's sign-in screen. */
.mark, .hero-mark { display: block; flex: none; fill: currentColor; }
.logo .mark { width: 30px; height: 30px; color: var(--blue); }
.wordmark { font-family: var(--brand); font-size: 32px; line-height: 1; color: inherit; text-decoration: none; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; opacity: 0.8; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
body.home .site-nav { position: absolute; top: 0; left: 0; right: 0; color: #fff; background: transparent; border: 0; }
body.home .nav-cta { background: #fff; color: var(--ink); }
body.home .site-nav .logo .mark { color: #fff; }

/* ── Store badges ───────────────────────────────────────────────────────── */
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.badges a { display: block; transition: transform 0.2s ease; }
.badges a:hover { transform: translateY(-2px); }
.badges img { display: block; height: 54px; width: auto; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue) 70%);
  color: #fff; text-align: center; padding: 156px 24px 0;
}
.hero-mark { width: 68px; height: 68px; margin: 0 auto 30px; color: #fff; }
.hero h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.95; letter-spacing: -0.045em; margin: 0 auto; text-wrap: balance;
}
.hero h1 em, .band h2 em { font-style: normal; color: var(--yellow); }
.hero .lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, 0.9); max-width: 620px; margin: 28px auto 0; text-wrap: balance; }
.hero .badges { margin-top: 36px; }
.hero .fine, .band .fine { margin: 18px auto 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

.photo-band { background: linear-gradient(var(--blue) 0 50%, #fff 50%); padding: 64px 24px 0; }
.photo-band figure { margin: 0 auto; max-width: 1200px; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(9, 40, 100, 0.5); }
.photo-band img { display: block; width: 100%; aspect-ratio: 1729 / 910; object-fit: cover; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 128px 24px; }
.section.mist { background: var(--blue-mist); }
.section.dark { background: var(--ink); color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; }
.kicker { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--blue); margin-bottom: 16px; }
.dark .kicker, .band .kicker { color: var(--yellow); }
.section h2, .band h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1; letter-spacing: -0.04em; margin: 0; text-wrap: balance;
}
.copy p { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 22px 0 0; max-width: 30em; text-wrap: pretty; }
.dark .copy p { color: rgba(255, 255, 255, 0.72); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row.flip .copy { order: 2; }
.stage { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.stage .phone + .phone { margin-top: 72px; }

/* The app's screens in a phone */
.phone {
  --pad: 11px;
  position: relative; flex: none; width: 296px; max-width: 100%; padding: var(--pad); border-radius: 50px;
  background: #0B0B0F; container-type: inline-size;
  box-shadow: inset 0 0 0 2px #2C2C33, 0 50px 90px -40px rgba(9, 40, 100, 0.45);
}
.phone img { display: block; width: 100%; aspect-ratio: 720 / 1494; border-radius: 40px; background: #fff; }
.phone::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--pad) + 2.6cqw); width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000;
}
.dark .phone { box-shadow: inset 0 0 0 2px #3A3A42, 0 50px 90px -40px rgba(0, 0, 0, 0.6); }

/* How a spark works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 19px;
}
.steps b { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; word-spacing: 0.04em; line-height: 1.3; }
.steps span { color: var(--muted); font-size: 17px; line-height: 1.5; margin-top: 4px; }
.small-print { margin-top: 32px; font-size: 15px; color: var(--muted); }

/* Safety */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 56px; }
.facts div { border-top: 2px solid var(--ink); padding-top: 20px; }
.facts h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; word-spacing: 0.04em; margin: 0; }
.facts p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 10px 0 0; }
.facts a, .text-link, .faq a { color: var(--blue); font-weight: 600; text-decoration: none; }
.facts a:hover, .text-link:hover, .faq a:hover { text-decoration: underline; }
.text-link { display: inline-block; margin-top: 44px; font-size: 17px; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid #D6DEEA; }
.faq details { border-bottom: 1px solid #D6DEEA; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; word-spacing: 0.04em; text-wrap: pretty;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 26px; line-height: 1; color: var(--blue); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 40em; }

/* Downtown Hour: the closing call to action */
.band {
  background: linear-gradient(180deg, var(--blue-top) 0%, var(--blue) 100%);
  color: #fff; text-align: center; padding: 128px 24px;
}
.band h2 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.96; }
.band p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 26px auto 0; text-wrap: balance; }
.band .badges { margin-top: 40px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 80px 24px 40px; border: 0; font-family: var(--sans); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo .mark { width: 34px; height: 34px; color: #fff; }
.site-footer .wordmark { font-size: 36px; }
.footer-tagline { margin: 14px 0 0; font-size: 15px; line-height: 1.5; max-width: 22em; }
.site-footer h4 { margin: 6px 0 16px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.site-footer nav a { display: block; color: inherit; text-decoration: none; font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
.site-footer nav a:hover { color: #fff; }
.footer-base { max-width: 1120px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }

/* ── Legal and help pages (content layout comes from global.css) ─────────── */
.glow-container, .dot-grid, .line-grid { display: none !important; }
body:not(.home) { background: #fff; }
.legal-view { padding-top: 72px; }
.legal-title, .legal-content h2, .legal-content h3, .help-card-title, .waitlist-title {
  font-family: var(--display); letter-spacing: -0.025em;
}
.legal-title { font-weight: 800; }
.legal-meta { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* ── Small screens ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; gap: 56px; }
  .row.flip .copy { order: 0; }
  .section { padding: 96px 24px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; height: 38px; padding: 0 16px; font-size: 14px; }
  .wordmark { font-size: 28px; }
  .logo .mark { width: 26px; height: 26px; }
  .hero { padding-top: 112px; }
  .hero-mark { width: 56px; height: 56px; margin-bottom: 24px; }
  br.sm { display: inline; }
  .badges img { height: 46px; }
  .photo-band { padding: 44px 16px 0; }
  .photo-band figure { border-radius: 20px; }
  .photo-band img { aspect-ratio: 4 / 3; object-position: 58% 62%; }
  .section { padding: 80px 20px; }
  .copy p { font-size: 17px; }
  .phone { --pad: 10px; width: 258px; border-radius: 44px; }
  .phone img { border-radius: 35px; }
  .stage { gap: 14px; }
  .stage .phone { --pad: 7px; width: calc(50% - 7px); border-radius: 30px; }
  .stage .phone img { border-radius: 24px; }
  .stage .phone:only-child { --pad: 10px; width: 258px; border-radius: 44px; }
  .stage .phone:only-child img { border-radius: 35px; }
  .stage .phone + .phone { margin-top: 40px; }
  .facts { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { gap: 32px 20px; }
  .band { padding: 96px 20px; }
}
