@font-face {
  font-family: Fredoka;
  src: url("fonts/fredoka.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff9e9;
  --espresso: #342820;
  --muted: #645d53;
  --teal: #11695e;
  --teal-deep: #0b5148;
  --mint: #d0efdd;
  --mint-light: #e9f3e7;
  --line: #d9d7c6;
  --radius: 28px;
  --section: clamp(64px, 7vw, 100px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--espresso); font: 400 18px/1.55 "DM Sans", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--teal-deep); }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, .brand, .step-number, .commission-number { font-family: Fredoka, "DM Sans", sans-serif; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(52px, 5.3vw, 76px); line-height: 1.04; }
h1 em { color: var(--teal); font-style: normal; }
h2 { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.12; }
h3 { font-size: 28px; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 4px; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 24px; padding: 12px 20px; border-radius: 12px; background: var(--espresso); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: var(--paper); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 102px; }
.brand { color: var(--espresso); font-size: 38px; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--espresso); }
.brand span { color: var(--teal); }
.site-header nav { display: flex; align-items: center; gap: 40px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--espresso); font-size: 16px; font-weight: 700; text-decoration: none; }
.site-header nav a:hover { color: var(--teal); text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 40px 0; }
.hero-copy { padding-block: 8px; }
.status { display: inline-block; padding: 7px 18px; margin-bottom: 22px; border-radius: 100px; background: var(--mint); color: var(--teal); font-size: 16px; font-weight: 700; line-height: 1.25; }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.55; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 56px; padding: 14px 26px; border: 2px solid transparent; border-radius: 16px; background: var(--teal); color: var(--paper); font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
.button span { font-size: 24px; line-height: 1; }
.button:hover { color: var(--paper); background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 4px 0 var(--espresso); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 16px; font-weight: 700; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero-note a { color: inherit; }
.hero-art { display: block; border-radius: 40px; overflow: hidden; background: var(--mint); }
.hero-art img { width: 100%; }

.section { padding-top: var(--section); }
.section-heading { text-align: center; }
.section-heading > p { margin: 18px auto 0; max-width: 64ch; }
.mobile-break { display: none; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--mint-light); }
.step-number { display: inline-block; border-radius: 100px; padding: 5px 14px; margin-bottom: 18px; background: var(--mint); color: var(--teal); font-size: 24px; line-height: 1.2; }
.steps p { margin-top: 12px; }

.partner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 50px; align-items: center; margin-top: 44px; padding: 44px; border-radius: var(--radius); background: var(--espresso); color: var(--paper); }
.partner h2 { font-size: clamp(32px, 3.1vw, 44px); }
.partner-copy > p { margin-top: 20px; max-width: 49ch; }
.button-mint { margin-top: 24px; background: var(--mint); color: var(--teal-deep); }
.button-mint:hover { color: var(--teal-deep); background: #e0f6e9; box-shadow: 0 4px 0 #907d67; }
.partner :focus-visible { outline-color: var(--mint); }
.commission { border-left: 1px solid #867b6e; padding: 16px 0 16px 50px; }
.commission-number { color: var(--mint); font-size: clamp(88px, 9vw, 132px); line-height: 1; letter-spacing: -.04em; }
.commission-number span { font-size: .82em; }
.commission > p + p { margin-top: 10px; font-size: 22px; line-height: 1.35; }
.commission strong { font-weight: 700; }

.family { padding-bottom: 68px; }
.family h2 { font-size: clamp(32px, 2.8vw, 40px); }
.family-row { display: flex; gap: 32px; align-items: center; margin-top: 38px; }
.family-members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; gap: 20px; list-style: none; margin: 0; padding: 0; }
.family-members li { padding-right: 16px; border-right: 1px solid var(--line); }
.family-members li > span { display: block; }
.family-members li > span:last-child { color: var(--muted); font-size: 14px; margin-top: 5px; }
.family-name { color: var(--espresso); font-size: 17px; font-weight: 700; }
.family-us .family-name { color: var(--teal); }
.family-link { flex-shrink: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 28px 32px; }
.site-footer .brand { font-size: 28px; }
.site-footer p { color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero { gap: 36px; }
  h1 { font-size: clamp(42px, 5.2vw, 58px); }
  .lead { font-size: 17px; }
  .actions { gap: 12px 20px; }
  .steps { gap: 16px; }
  .steps li { padding: 24px; }
  h3 { font-size: 25px; }
  .partner { padding: 36px; gap: 30px; }
  .commission { padding-left: 30px; }
  .family-row { flex-direction: column; align-items: stretch; }
  .family-members li:last-child { border: 0; }
  .family-link { align-self: center; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 48px); }
  .site-header { min-height: 82px; gap: 14px; }
  .brand { font-size: 29px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(41px, 12.2vw, 64px); }
  .status { margin-bottom: 22px; font-size: 14px; padding: 7px 16px; }
  .lead { font-size: 17px; line-height: 1.55; margin-top: 22px; }
  .actions { margin-top: 24px; gap: 12px 20px; }
  .button { min-height: 52px; font-size: 15px; padding: 13px 19px; gap: 16px; border-radius: 14px; }
  .text-link { font-size: 14px; }
  .hero-note { font-size: 13px; margin-top: 14px; }
  .hero-art { border-radius: var(--radius); }
  h2 { font-size: clamp(31px, 8.8vw, 42px); }
  .mobile-break { display: initial; }
  .section-heading > p { font-size: 17px; margin-top: 16px; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .steps li { padding: 26px; border-radius: 24px; }
  .step-number { margin-bottom: 15px; font-size: 22px; }
  h3 { font-size: 27px; }
  .steps p { font-size: 17px; margin-top: 10px; }
  .partner { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 30px 24px; margin-top: 32px; }
  .partner h2 { font-size: clamp(27px, 7vw, 36px); text-wrap: balance; }
  .partner-copy > p { font-size: 17px; margin-top: 18px; }
  .button-mint { gap: 12px; padding-inline: 14px; width: 100%; }
  .button-mint span { font-size: 20px; }
  .commission { border-left: 0; border-top: 1px solid #867b6e; padding: 24px 0 0; }
  .commission-number { font-size: 100px; }
  .commission > p + p { font-size: 19px; }
  .family { padding-bottom: 48px; }
  .family-row { flex-direction: column; align-items: stretch; gap: 26px; margin-top: 32px; }
  .family-members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .family-members li:nth-child(even) { border: 0; padding-right: 0; }
  .family-link { align-self: center; font-size: 16px; }
  .site-footer { gap: 18px; padding-block: 26px; }
  .site-footer .brand { font-size: 24px; }
  .site-footer p { font-size: 12px; }
}

@media (max-width: 359px) {
  .shell { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 4px; padding-block: 20px 8px; }
  .site-header nav { justify-content: space-between; width: 100%; }
  .hero { padding-top: 22px; }
  .actions { gap: 8px 18px; }
  .partner { padding-inline: 20px; }
  .button-mint { font-size: 14px; gap: 8px; }
  .site-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
