/* Fonts are served from this site, never a font CDN; fonts/OFL.txt carries their licence. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* The app's palette, transcribed from apps/mobile/src/theme/colors.ts. */
:root {
  color-scheme: dark;
  --background: #15120e;
  --card: #221c16;
  --border: #332a20;
  --text-primary: #f3e9d8;
  --info-body: #bdb4a6;
  --text-secondary: #9c9082;
  --accent: rgb(255, 106, 61);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--info-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
  text-wrap: balance;
}

a {
  color: var(--text-primary);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

.page {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 0;
}

.wordmark {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* The legal pages' wordmark leads home. */
a.wordmark {
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1rem 0 4rem;
}

.bowl {
  order: -1;
  width: min(100%, 16.25rem);
  height: auto;
  margin: 0 auto;
}

h1 {
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
}

.status {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: var(--card);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

h2 {
  font-size: clamp(1.625rem, 4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--card);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.prose,
.facts {
  max-width: 38rem;
  margin-top: 1.25rem;
}

.prose p + p,
.prose .facts + p,
.facts li + li {
  margin-top: 1rem;
}

.facts {
  padding-left: 1.25rem;
}

.facts li::marker {
  color: var(--accent);
}

.footer {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.footer p + p {
  margin-top: 0.5rem;
}

.footer-name {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
}

.footer-note {
  max-width: 38rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (min-width: 54rem) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0 5.5rem;
  }

  .bowl {
    order: 0;
    width: 100%;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
  }

  .split .prose,
  .split .facts {
    margin-top: 0.25rem;
  }
}
