/* The app's tokens, verbatim (packages/ui/src/tokens.ts). Shared by every
   page here so the promo and the legal pages cannot drift apart. */
:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #ffae00;
  --green: #1eb300;
  --grey: #a7a7a7;
  --frame: 15px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: Tektur, system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}
main { width: 100%; max-width: 390px; }

/* The brand box, matching BrandHeader (Figma 4053-1958). */
.brand {
  border: var(--frame) solid var(--orange);
  background: var(--black);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.wordmark {
  display: flex;
  align-items: flex-start;
  font-weight: 700;
  font-size: 57px;
  line-height: 1.05;
  letter-spacing: 6.25px;
  /* Tracking is applied after the last glyph too, which would push the pair
     off-centre without this. */
  margin-left: 6.25px;
  color: var(--white);
  text-decoration: none;
}
.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  margin-left: 6px;
  margin-top: 8px;
  flex: none;
}
.tagline {
  margin-top: 10px;
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 1.65px;
  text-align: center;
  text-transform: uppercase;
}

/* The orange signpost the app hangs its screens from (SignPostLayout). */
.post {
  width: var(--frame);
  height: 60px;
  background: var(--orange);
  margin: 0 auto;
}

/* Plate: 80px tall, white accent bar (packages/ui/src/Plate.tsx). */
.plate {
  display: flex;
  align-items: center;
  height: 80px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.plate::before {
  content: "";
  width: var(--frame);
  height: 50px;
  background: var(--white);
  margin-left: var(--frame);
  flex: none;
}
.plate span { margin-left: 25px; }
.plate:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.note {
  color: var(--grey);
  font-size: 15px;
  letter-spacing: 1.5px;
  line-height: 1.6;
  margin-top: 40px;
  text-align: center;
}

/* Store links: two outlined plates under the note. */
.stores { margin-top: 40px; }
.stores-title {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  text-align: center;
}
.stores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 14px;
  border: 3px solid var(--white);
  color: var(--white);
  text-decoration: none;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store-label {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 1.5px;
}
.store-label small {
  color: var(--grey);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.store:hover, .store:focus-visible { border-color: var(--orange); outline: none; }
.store:hover svg, .store:focus-visible svg { color: var(--orange); }

footer {
  margin-top: auto;
  padding-top: 40px;
  color: var(--grey);
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
  line-height: 2;
}
footer a { color: var(--grey); }

/* --- the legal pages ------------------------------------------------- */

/* Wider than the promo column: these are read, not glanced at. */
.doc { max-width: 720px; }
.doc h1 {
  font-size: 30px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 30px 0 6px;
}
.doc .updated {
  color: var(--grey);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}
.doc h2 {
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 34px 0 10px;
}
.doc p, .doc li {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: var(--white);
}
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--orange); }

/* Anything a lawyer or the company still has to fill in. Deliberately loud:
   these must not reach production unnoticed. */
.todo {
  border: 2px dashed var(--orange);
  color: var(--orange);
  padding: 12px 14px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.back {
  display: inline-block;
  margin: 30px 0 10px;
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 400px) {
  .wordmark { font-size: 44px; letter-spacing: 4px; margin-left: 4px; }
  .plate { font-size: 24px; }
}
