/* FootDown Connect website. Plain CSS, no framework, no build step.

   Plain, blue, flat. A warm off-white page broken up by deep ink panels,
   blue for every button and every accent. No gradients, no stripes, no
   blur, nothing that is only there to look like a template. The type is
   Archivo and Archivo Narrow, the same as the app, so the site and the app
   read as one thing. Only Archivo and Archivo Narrow are loaded; the rest
   of each font stack is system fonts.

   Classes used by the other pages (support, privacy, terms, testers, blog,
   partners) and which must keep working: brand, button, check, contents,
   draft-note, feature, field, hidden-field, hide-sm, hint, kicker, list,
   narrow, nav, page-head, prose, site-footer, site-header, skip, table-wrap,
   ticks, todo, wrap. */

:root {
  --blue: #0066b3;
  --blue-dark: #00508c;
  --blue-light: #4da8e8;
  --ink: #0b1620;
  --ink-2: #122434;
  --text: #15202b;
  --muted: #5c6a79;
  --muted-dark: #9fb0c0;
  --label: #4a5560;
  --bg: #f6f4f0;
  --card: #ffffff;
  --line: #e2ddd4;
  --rule: #d9d2c3;
  --line-dark: #22384c;
  --radius: 12px;
  --heading: "Archivo Narrow", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --body: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-family: var(--body); font-size: 17px; line-height: 1.62; color: var(--text); background: var(--bg); }
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 8vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand img { width: 152px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); font-family: var(--heading); font-weight: 600; font-size: 1.02rem; padding: 10px 12px; border-radius: 10px; }
.nav a:hover { background: rgba(0, 0, 0, 0.05); }
.nav a.button { color: #fff; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .brand img { width: 130px; } }

/* Buttons: always blue, always at least 48px tall */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 24px; border-radius: var(--radius); background: var(--blue); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 1.08rem; text-decoration: none; border: 0; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
.button.ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.button.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.nav .button { min-height: 48px; padding: 0 16px; font-size: 1rem; }

/* Hero */
.hero { background: var(--ink); color: #fff; }
.hero .wrap { padding-top: 54px; padding-bottom: 60px; }
.hero .logo-big { width: min(290px, 64vw); margin-bottom: 26px; }
.hero p.lead { font-size: clamp(1.1rem, 3.4vw, 1.3rem); color: rgba(255, 255, 255, 0.84); max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stores { margin: 22px 0 0; font-size: 0.98rem; color: rgba(255, 255, 255, 0.74); }

/* The three promises directly under the hero */
.promise-strip { background: var(--ink-2); color: #fff; border-top: 1px solid var(--line-dark); }
.promise-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 28px; padding-top: 20px; padding-bottom: 20px; }
.promise-strip b { display: block; font-family: var(--heading); font-size: 1.1rem; color: #fff; font-weight: 700; }
.promise-strip span { font-size: 0.93rem; color: var(--muted-dark); }
@media (max-width: 720px) { .promise-strip .wrap { grid-template-columns: 1fr; gap: 14px; } }

/* Sections */
.block { padding: 68px 0; }
.block.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block.dark { background: var(--ink); color: #fff; }
.block.dark h2, .block.dark h3 { color: #fff; }
.block.dark p { color: var(--muted-dark); }
.kicker { display: block; font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--label); text-transform: none; letter-spacing: 0; margin-bottom: 6px; }
.block.dark .kicker { color: var(--muted-dark); }
.block > .wrap > p.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.block.dark > .wrap > p.lead { color: var(--muted-dark); }

/* Plain lists of heading + paragraph: two columns, one on a phone, a thin rule above each */
.list { display: grid; gap: 22px 36px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .list { grid-template-columns: 1fr; } }
.list > * { min-width: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
.list h3 { margin-bottom: 0.3em; }
.list p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.block.dark .list > * { border-top-color: var(--line-dark); }
.block.dark .list p { color: var(--muted-dark); }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .grid.two { grid-template-columns: 1fr; } }

/* Blog post list */
.card { border-top: 1px solid var(--rule); padding: 16px 0; min-width: 0; }
.card h3 { margin-bottom: 0.3em; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* A small label after a heading: "Members", "Coming", "Always free" */
.tag { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--blue); margin-left: 8px; white-space: nowrap; }
.block.dark .tag, .page-head .tag { color: var(--blue-light); }
h2 .tag { font-size: 1.05rem; vertical-align: middle; }

/* A feature with its own weight: blue rule down the side */
.feature { border-left: 4px solid var(--blue); padding: 4px 0 4px 20px; }
.block.dark .feature { border-left-color: var(--blue-light); }
.feature h3 { font-size: 1.45rem; }
.feature p:last-child { margin-bottom: 0; }
.feature .tag { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--blue); margin-left: 8px; }
.block.dark .feature .tag { color: var(--blue-light); }

/* Filter chips, to show the map's range without listing it all in prose */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chips span { font-size: 0.88rem; font-weight: 600; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; }
.block.dark .chips span { color: var(--muted-dark); background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }

/* Tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 10px; width: 8px; height: 4px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

/* Rank ladder */
.ladder { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.ladder span { font-family: var(--heading); font-weight: 700; font-size: 0.98rem; padding: 6px 13px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
.ladder span:last-child { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Languages */
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.langs span { font-family: var(--heading); font-weight: 700; font-size: 1.05rem; padding: 8px 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }

/* Closing band */
.band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 38px 30px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.88); max-width: 56ch; margin-inline: auto; }

/* Content pages: support, privacy, terms, testers, blog */
.page-head { background: var(--ink); color: #fff; padding: 44px 0 36px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 0.2em; }
.page-head p { color: var(--muted-dark); margin: 0; }
.page-head a { color: var(--blue-light); }
.prose { max-width: 760px; margin: 0 auto; padding-top: 40px; padding-bottom: 72px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 4vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--blue-dark); }
.prose a.button, .prose a.button:hover { color: #fff; }
.todo { background: #fff3c4; color: #6b4a06; border-radius: 5px; padding: 0 5px; font-size: 0.92em; }
.draft-note { background: #fff3c4; border: 1px solid #e9d08a; color: #6b4a06; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; }
/* "On this page" list at the top of the privacy policy and terms */
.contents { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0 8px; }
.contents p { margin: 0 0 6px; }
.contents ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.contents li { margin-bottom: 4px; break-inside: avoid; font-size: 0.95rem; }
@media (max-width: 560px) { .contents ul { columns: 1; } }
/* Tables in the privacy policy. On a phone each row becomes a card, with the
   column heading in front of each value, so nothing scrolls sideways. */
.table-wrap { margin: 1em 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.93rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; background: var(--bg); }
.prose tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { padding: 6px 0; border-bottom: 1px solid var(--line); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { border: 0; padding: 4px 14px; }
  .prose td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
  .prose td:first-child { font-weight: 600; padding-top: 8px; }
  .prose td:first-child::before { display: none; }
}
.hint { color: var(--muted); font-size: 0.93rem; }
.check { display: flex; gap: 10px; align-items: flex-start; }

/* Forms (tester sign-up) */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-family: var(--heading); font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.field textarea { min-height: 120px; }
.field > label:not(.check) { display: block; font-family: var(--heading); font-weight: 700; margin-bottom: 6px; }
.field > label:not(.check) .hint { font-family: var(--body); font-weight: 400; }
.field input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; flex: none; padding: 0; margin: 3px 0 0; accent-color: var(--blue); }
.check { cursor: pointer; }
.hidden-field { position: absolute; left: -9999px; }

/* Videos and blog */
.videos { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .videos { grid-template-columns: 1fr; } }
.video { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video .frame { aspect-ratio: 16 / 9; background: var(--ink-2); }
.video .frame iframe, .video .frame video { display: block; width: 100%; height: 100%; border: 0; }
.video .meta { padding: 14px 16px 16px; }
.video .meta p { margin: 0; color: var(--muted); font-size: 0.98rem; }
/* Until the first videos are up: one plain line, no empty player box */
.videos-soon { margin: 0; max-width: 60ch; padding: 4px 0 4px 18px; border-left: 4px solid var(--blue); color: var(--muted); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.post-list a { text-decoration: none; color: inherit; }
.post-date { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 46px 0 56px; }
.site-footer img { width: 150px; margin-bottom: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 16px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: #fff; text-decoration: none; font-family: var(--heading); font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }
.site-footer small a { display: inline-block; padding: 13px 0; }
.site-footer small { color: #9fb0c0; }

/* Members: scannable benefits, two plain price cards, assurances, questions */
.moments { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.moments article { border-top: 1px solid var(--rule); padding-top: 14px; min-width: 0; }
.moments h3 { margin-bottom: 0.3em; }
.moments p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; min-width: 0; }
.plan.pick { border: 2px solid var(--blue); }
.plan-label { margin: 0 0 4px; font-weight: 600; font-size: 0.95rem; color: var(--blue); }
.plan h3 { margin: 0; }
.plan .price { margin: 10px 0 0; font-family: var(--heading); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.plan .price span { font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--muted); }
.plan .price-alt { margin: 8px 0 16px; color: var(--muted); font-size: 0.98rem; }
.plan .ticks { margin-bottom: 20px; }
.plan .button { margin-top: auto; width: 100%; }
.button.ghost-dark { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.button.ghost-dark:hover { background: rgba(0, 102, 179, 0.08); }
.assurances { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.assurances li { color: var(--muted); font-size: 0.98rem; }
.assurances strong { display: block; color: var(--ink); }
.faq-title { margin-top: 34px; }
/* Main-content h2s outside .prose (partners pages) need room above */
.block .narrow > :not(.kicker) + h2 { margin-top: 1.6em; }
#members .hint { margin-top: 20px; }
.faq details { border-top: 1px solid var(--rule); padding: 0; }
.faq summary { cursor: pointer; min-height: 52px; padding: 10px 0; gap: 12px; display: flex; align-items: center; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-size: 1.4rem; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 14px; color: var(--muted); max-width: 60ch; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.prose .faq h3 { margin-bottom: 0.4em; }
@media (max-width: 720px) { .moments, .plans, .assurances { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Phone shots and showcase rows (31 Oct 2026)

   The screens inside these phones are REAL screenshots of the app, never a
   mock-up, so they have to be retaken whenever a screen changes. The phone is
   drawn in CSS: a dark bezel, a notch, and a turn slight enough to keep the
   screen readable, because our screens carry real information (bridges
   flagged, a parking spot's details) that a steep angle would throw away.

   Two details earn their keep. The phone stands on a surface rather than
   floating: a soft elliptical contact shadow at its base does that, and it is
   a cast shadow, not decoration, so the flat brand rule still holds. And the
   screen starts below a status strip, so the notch never covers the app's own
   content -- set --chrome to the colour at the top of that screenshot.
   --------------------------------------------------------------------------- */
.phone-stand { position: relative; flex: 0 0 auto; }
.phone-stand::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 84%; height: 30px; border-radius: 50%;
  background: rgba(6, 16, 26, 0.38); filter: blur(15px);
}
.block.dark .phone-stand::after, .hero .phone-stand::after { background: rgba(0, 0, 0, 0.62); }

.phone {
  --phone-w: 272px;
  --turn: -8deg;
  --chrome: #ffffff;
  width: var(--phone-w);
  position: relative;
  padding: 9px;
  border-radius: 40px;
  background: #080d12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13), 0 16px 26px -14px rgba(5, 14, 22, 0.45);
  transform: perspective(1600px) rotateY(var(--turn)) rotateX(2deg);
}
.phone .screen { border-radius: 32px; overflow: hidden; background: var(--chrome); }
.phone .screen img { width: 100%; display: block; }
/* The status strip the notch sits in, so no app content is ever covered. */
.phone .screen::before { content: ""; display: block; height: 22px; background: var(--chrome); }
.phone::after {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 19px; border-radius: 0 0 13px 13px; background: #080d12;
}

/* One feature per row: the phone one side, a short piece of writing the other,
   sides swapping as you scroll so no two rows look the same. */
.showcase .wrap { display: flex; align-items: center; gap: clamp(30px, 5.5vw, 76px); }
.showcase.flip .wrap { flex-direction: row-reverse; }
.showcase.flip .phone { --turn: 8deg; }
.showcase .words { flex: 1 1 0; min-width: 0; max-width: 46ch; }
.showcase .words p:last-child { margin-bottom: 0; }
.showcase h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }

/* The hero's phone sits beside the writing on a wide screen, under it on a phone. */
.hero .wrap { display: flex; align-items: center; gap: clamp(30px, 5vw, 70px); }
.hero .words { flex: 1 1 0; min-width: 0; }
.hero .phone { --phone-w: 258px; }

/* One plain line, never a ticking clock: the launch date is a fact, not a
   pressure tactic. It swaps itself to "Out now" on the day (site.js). */
.countdown { margin: 20px 0 0; font-size: 1rem; color: rgba(255, 255, 255, 0.78); }
.countdown b { font-family: var(--heading); font-weight: 700; color: #fff; }

@media (max-width: 880px) {
  .hero .wrap, .showcase .wrap, .showcase.flip .wrap { flex-direction: column; align-items: flex-start; }
  .phone, .hero .phone { --phone-w: min(262px, 66vw); --turn: -5deg; }
  .showcase.flip .phone { --turn: 5deg; }
  .phone-stand { margin: 34px auto 10px; }
}
@media (prefers-reduced-motion: reduce) { .phone { transform: none; } }
.contents a { display: inline-block; padding: 12px 0; }
