/* Brand fonts, self-hosted (SIL OFL) so every page renders the same wordmark as the app. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_800ExtraBold.woff') format('woff');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_600SemiBold.woff') format('woff');
}
@font-face {
  font-family: 'Instrument Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/InstrumentSans_400Regular.woff') format('woff');
}
@font-face {
  font-family: 'Instrument Sans';
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/InstrumentSans_600SemiBold.woff') format('woff');
}
:root {
  --paper: #fbf7f2;
  --ink: #241e1b;
  --muted: #756b63;
  --line: #e3d8ca;
  --tile: #f0e6d8;
  --red: #ab4043;
  --cream: #fffdf9;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(171, 64, 67, 0.12), transparent 25rem),
    radial-gradient(circle at 92% 24%, rgba(218, 181, 128, 0.18), transparent 22rem), var(--paper);
  font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}
a {
  color: var(--red);
}
.shell {
  max-width: 940px;
  margin: 0 auto;
  padding: 28px 24px 88px;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.45rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
}
.brand-word {
  color: var(--ink);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current='page'] {
  color: var(--red);
}
.eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1,
h2 {
  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
}
h1 {
  font-weight: 800;
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
h2 {
  font-weight: 600;
  margin: 44px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
p {
  max-width: 680px;
  margin: 12px 0;
}
.lede {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  max-width: 670px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.78);
  padding: 22px;
  box-shadow: 0 14px 42px rgba(72, 47, 31, 0.05);
}
.card h2 {
  margin-top: 0;
  font-size: 1.05rem;
}
.card p {
  color: var(--muted);
  font-size: 0.94rem;
}
.callout {
  border-left: 4px solid var(--red);
  background: var(--tile);
  border-radius: 0 18px 18px 0;
  padding: 18px 20px;
  margin: 28px 0;
}
ul,
ol {
  padding-left: 24px;
  max-width: 700px;
}
li {
  margin: 8px 0;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}
/* Grubbly's Instagram, with its mark so it reads at a glance. */
.footer .ig {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
  vertical-align: bottom;
}
.footer .ig svg {
  flex: none;
}
.button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  font-weight: 700;
}
.spaced {
  margin-top: 14px;
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
code {
  background: var(--tile);
  padding: 1px 6px;
  border-radius: 6px;
}
/* Forms (account deletion request). */
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 14px 0 6px;
}
.form input,
.form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}
.form textarea {
  min-height: 90px;
  resize: vertical;
}
.form button {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 13px;
  cursor: pointer;
}
/* Homepage. */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}
.hero-art {
  width: 100%;
  height: auto;
  max-width: 300px;
  justify-self: center;
  border-radius: 28%;
  box-shadow: 0 24px 60px rgba(72, 47, 31, 0.14);
}
.steps {
  counter-reset: step;
}
.steps .card h2::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.button.secondary {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--line);
  margin-left: 8px;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 13px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  line-height: 1.15;
  font-weight: 600;
  font-size: 1.05rem;
}
.store-badge svg {
  width: 24px;
  height: 24px;
}
.store-badge small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.8;
}
@media (max-width: 680px) {
  .masthead {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 52px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 180px;
    justify-self: start;
    order: -1;
  }
  .shell {
    padding-inline: 18px;
  }
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: -28px 0 28px;
  font-size: 0.86rem;
}
.langs a {
  color: inherit;
  opacity: 0.62;
  text-decoration: none;
}
.langs a[aria-current='true'] {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
