:root {
  color-scheme: light;
  --ink: #402317;
  --muted: #755445;
  --sun: #ffd84d;
  --coral: #ff7652;
  --leaf: #2e7c5e;
  --cream: #fffaf0;
  --nest: #c9842b;
  --line: #e9d9bd;
  font-family: "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--cream); }
body { margin: 0; color: var(--ink); background: var(--cream); }
a { color: inherit; }

.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.topbar { padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; }
.brand-mark { width: 2rem; height: 2rem; border-radius: .75rem; background: var(--sun); display: grid; place-items: center; color: var(--coral); font-size: 1.25rem; }
.nav { display: flex; gap: 1rem; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover, .nav a:focus-visible { color: var(--leaf); text-decoration: underline; text-underline-offset: .25rem; }

.hero { overflow: hidden; position: relative; padding: clamp(2rem, 8vw, 6rem) 0 3rem; background: radial-gradient(circle at 78% 22%, #fff4a5 0 9%, transparent 27%), linear-gradient(135deg, #ffe46d 0%, #ffd84d 52%, #f4c52e 100%); }
.hero::after { content: ""; position: absolute; width: 34rem; height: 10rem; border: 2rem solid #eda92e; border-color: #eda92e transparent transparent; border-radius: 50%; left: -8rem; bottom: -7rem; transform: rotate(-7deg); opacity: .8; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); }
.eyebrow { color: var(--leaf); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
h1, h2 { font-family: ui-rounded, "Avenir Next", system-ui, sans-serif; letter-spacing: -.04em; }
h1 { margin: .5rem 0 1rem; max-width: 10ch; font-size: clamp(3rem, 8vw, 5.8rem); line-height: .93; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1; margin: 0 0 1rem; }
p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.hero p { max-width: 35rem; color: #5d381c; }
.button { display: inline-block; margin-top: .75rem; padding: .85rem 1.1rem; border-radius: 999px; text-decoration: none; background: var(--leaf); color: white; font-weight: 800; box-shadow: 0 .25rem 0 #1c5c44; }
.button:hover, .button:focus-visible { transform: translateY(-1px); background: #22694f; }
.app-icon { width: min(100%, 28rem); height: auto; aspect-ratio: 1 / 1; border-radius: 20%; display: block; margin-inline: auto; box-shadow: .75rem 1rem 0 rgba(166, 97, 40, .2); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: #fff2d7; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: 1.25rem; background: white; padding: 1.35rem; box-shadow: 0 .25rem 0 rgba(166, 101, 40, .08); }
.card-icon { color: var(--coral); font-size: 1.5rem; }
.card h3 { margin: .7rem 0 .25rem; font-size: 1.1rem; }
.card p { margin: 0; font-size: .95rem; }
.route-hero { padding: 4rem 0 3rem; background: #fff2d7; border-bottom: 1px solid var(--line); }
.route-hero p { max-width: 42rem; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.5rem; }
.prose li { color: var(--muted); line-height: 1.6; margin-bottom: .5rem; }
.notice { border-left: .35rem solid var(--coral); padding: .2rem 0 .2rem 1rem; }
.support-box { background: var(--sun); border-radius: 1.5rem; padding: clamp(1.5rem, 5vw, 3rem); }
.support-box p { color: #5d381c; }
footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 720px) {
  .topbar { align-items: flex-start; }
  .nav { gap: .65rem; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .app-icon { width: min(76vw, 21rem); }
  .cards { grid-template-columns: 1fr; }
  h1 { max-width: 12ch; }
}
