/* Ember's site. Colours and type follow front/design-reference/tokens (brand, mascot, typography). */

@font-face { font-family: "Outfit"; font-weight: 300; font-display: swap; src: url("/fonts/Outfit-Light.ttf") format("truetype"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("/fonts/Outfit-Regular.ttf") format("truetype"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("/fonts/Outfit-Medium.ttf") format("truetype"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url("/fonts/DMMono-Regular.ttf") format("truetype"); }

:root {
  color-scheme: light dark;
  --ground: #D9D5CF;
  --raised: #E7E4DF;
  --ink: #2B2926;
  --muted: #55524D;
  --hairline: #C5C1B9;
  --accent: #EE7314;
  --mascot-body: #2B2926;
  --mascot-mid: #5B5956;
  --mascot-high: #A9A7A2;
  --font-core: "Outfit", "Helvetica Neue", -apple-system, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1E1D1B;
    --raised: #3A3836;
    --ink: #E8E6E1;
    --muted: #97938C;
    --hairline: #2C2B29;
    --accent: #F4801C;
    --mascot-body: #E8E6E1;
    --mascot-mid: #B4B2AE;
    --mascot-high: #63615F;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-core);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.page { max-width: 680px; margin: 0 auto; padding: 32px 20px 48px; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

.top { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top svg { width: 28px; height: 35px; }
.top span { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 { font-size: 36px; line-height: 46px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; margin: 40px 0 8px; }
h3 { font-size: 16px; line-height: 22px; font-weight: 500; margin: 24px 0 4px; }
p, li { margin: 0 0 12px; }
ul { padding-left: 20px; margin: 0 0 12px; }
.lead { font-size: 18px; line-height: 26px; color: var(--muted); margin-bottom: 0; }
.muted { color: var(--muted); }

/* Home */
.hero { padding: 56px 0 24px; }
.hero svg { width: 96px; height: 120px; display: block; margin-bottom: 24px; }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: var(--raised); border-radius: 16px; padding: 16px 20px; margin: 0; }
.steps .eyebrow { display: block; margin-bottom: 4px; }
.steps strong { display: block; font-weight: 500; }

.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 16px 0; border-top: 1px solid var(--hairline); margin: 0; }
.facts li:last-child { border-bottom: 1px solid var(--hairline); }
.facts strong { display: block; font-weight: 500; }

/* Legal pages */
.legal h1 { margin-top: 40px; }
.legal .updated { margin-bottom: 32px; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
