@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/unbounded-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --cream: #ffffcd;
  --butter: #ffe386;
  --pink: #ffe2f1;
  --mint: #d9f0e7;
  --ink: #171717;
  --text: #353535;
  --muted: #5f5f58;
  --white: #ffffff;
  --line-soft: rgba(23, 23, 23, 0.18);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-small: 3px 3px 0 var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 7%, rgba(255, 226, 241, 0.95), transparent 24rem),
    linear-gradient(180deg, var(--cream) 0%, #fffef2 32rem, #fffef8 100%);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 0.4rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0.82rem;
  background: var(--butter);
  box-shadow: var(--shadow-small);
  font-family: "Unbounded", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.09em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.52rem 0.85rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--pink);
}

.hero,
.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 9.5rem);
  padding: clamp(4rem, 10vw, 8rem) 0 5.5rem;
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.72fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1.35rem;
  padding: 0.46rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--pink);
  font-family: "Unbounded", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Unbounded", sans-serif;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.25rem, 7.5vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.page-title {
  max-width: 17ch;
  font-size: clamp(2.65rem, 6.5vw, 5.4rem);
}

h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.06rem;
  line-height: 1.3;
}

p,
ul,
ol {
  max-width: 72ch;
}

.lede {
  max-width: 39rem;
  margin: 1.65rem 0 0;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.beta-note {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.hero-card,
.notice,
.support-card,
.toc,
.policy-body {
  border: 2px solid var(--ink);
  background: var(--white);
}

.hero-card {
  position: relative;
  align-self: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2rem;
  box-shadow: 12px 12px 0 var(--pink);
  transform: rotate(1.5deg);
}

.hero-card::before {
  content: "family recipe";
  display: inline-flex;
  margin-bottom: 2.5rem;
  padding: 0.4rem 0.7rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--butter);
  font-family: "Unbounded", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 4rem;
  right: -1.4rem;
  bottom: -1.6rem;
  z-index: -1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
}

.hero-card p {
  margin: 0;
  color: var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.38;
}

.actions {
  margin-top: 2.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.08rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-small);
  font-family: "Unbounded", sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  box-shadow: 1px 1px 0 var(--ink);
  text-decoration: none;
  transform: translate(2px, 2px);
}

.button.secondary {
  color: var(--ink);
  background: var(--butter);
}

.page-shell {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 6rem;
}

.page-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: minmax(13rem, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.toc {
  position: sticky;
  top: 1rem;
  padding: 1.35rem;
  border-radius: 1.4rem;
  background: var(--butter);
  box-shadow: var(--shadow-small);
}

.toc strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0.95rem 0 0;
  padding-left: 1.15rem;
}

.toc li + li {
  margin-top: 0.3rem;
}

.toc a {
  font-size: 0.91rem;
}

.policy-body {
  padding: clamp(1.35rem, 4vw, 3rem);
  border-radius: 2rem;
  box-shadow: 8px 8px 0 var(--mint);
}

.policy-body > :first-child,
.policy-body section:first-child h2 {
  margin-top: 0;
}

.policy-body section + section {
  margin-top: 3.25rem;
  padding-top: 0.2rem;
  border-top: 1.5px solid var(--line-soft);
}

.policy-body li + li {
  margin-top: 0.65rem;
}

.notice {
  margin: 2rem 0;
  padding: 1.35rem 1.45rem;
  border-radius: 1.2rem;
  background: var(--mint);
  box-shadow: var(--shadow-small);
}

.notice p {
  margin: 0;
}

.meta {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-grid {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.support-card {
  padding: 1.6rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-small);
}

.support-card:nth-child(4n + 1) {
  background: var(--pink);
}

.support-card:nth-child(4n + 2) {
  background: var(--butter);
}

.support-card:nth-child(4n + 3) {
  background: var(--mint);
}

.support-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.support-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0 2.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .hero,
  .page-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-card {
    max-width: 32rem;
    margin-right: 1.25rem;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .page-title {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .hero-card {
    margin-right: 0.75rem;
    box-shadow: 8px 8px 0 var(--pink);
  }

  .policy-body {
    padding: 1.25rem;
    border-radius: 1.4rem;
    box-shadow: 5px 5px 0 var(--mint);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
