@font-face {
  font-family: Jakarta;
  src: url('/assets/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url('/assets/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f7f8f1;
  --paper: #fffdf8;
  --ink: #20352a;
  --muted: #485d4e;
  --forest: #225c40;
  --dark: #175c30;
  --green: #247a40;
  --meadow: #4da45b;
  --mint: #d6eec8;
  --sky: #bde7d4;
  --apricot: #ffd8ad;
  --line: #dbe4d7;
  --display: Fraunces, Georgia, serif;
  --body: Jakarta, system-ui, sans-serif;
  font: 100%/1.6 var(--body);
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.03; }
.shell { width: min(1140px, calc(100% - 56px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: .6rem 1rem;
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header, .footer-top, .site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
}
.site-header, .footer-top { justify-content: space-between; gap: 1rem; }
.site-header { min-height: 88px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  flex: none;
  color: var(--ink);
  font: 800 1.65rem/1 var(--display);
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand img { border-radius: 12px; }
.site-header nav, .site-footer nav { gap: clamp(.7rem, 3vw, 2rem); flex-wrap: wrap; }
.site-header nav a, .site-footer nav a { color: var(--ink); font-size: .86rem; font-weight: 750; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.site-header nav .nav-support, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .6rem 1.05rem;
  border-radius: 99px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}
.nav-support:hover, .button:hover { background: var(--forest); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  min-height: 664px;
  padding: clamp(2.6rem, 6.5vw, 4.6rem) 1.2rem 0;
  border-radius: 44px;
  background: var(--sky) url('/assets/meadow.svg') center bottom / auto 63% no-repeat;
  text-align: center;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  color: var(--dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.sprout { font-size: 1rem; margin-right: .22rem; }
.hero h1 {
  margin-top: .65rem;
  font: 800 clamp(3.1rem, 7vw, 6rem)/.96 var(--display);
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--dark); font-style: normal; }
.hero-description {
  max-width: 29rem;
  margin: 1rem auto 0;
  color: #304e3a;
  font-size: clamp(.97rem, 1.65vw, 1.13rem);
  font-weight: 650;
}

.hero-stage { display: grid; align-items: end; margin-top: 2rem; }
.phone {
  position: relative;
  width: 247px;
  min-height: 328px;
  padding: 10px 12px 0;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(168deg, #b7e2c4, #76b779 46%, #4da45b 75%);
  box-shadow: 0 0 0 1px #225c4038, 0 20px 52px #1d593a66;
  text-align: left;
}
.phone-status, .phone-top, .phone-today { display: flex; align-items: center; justify-content: space-between; }
.phone-status { padding-inline: 4px; font-size: .55rem; font-weight: 800; }
.phone-top { padding: 5px 3px 0; font: 800 1.15rem/1.2 var(--display); }
.phone-carrots { font: .67rem/1 var(--body); }
.phone-bunny { height: 172px; width: auto; margin: 6px auto 4px; filter: drop-shadow(0 6px 4px #24593642); }
.phone-card { padding: .65rem .75rem; border-radius: 15px 15px 0 0; background: var(--paper); font-size: .72rem; }
.phone-today strong { font-size: .92rem; }
.phone-today > span { color: var(--muted); font-size: .62rem; font-weight: 750; }
.phone-progress { height: 6px; margin: .4rem 0 .55rem; border-radius: 99px; background: linear-gradient(90deg, var(--green) 34%, #e6eee4 34%); }
.phone-task { display: flex; align-items: center; gap: .45rem; margin-top: .32rem; font-weight: 700; }
.phone-task span { display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid #adc9af; border-radius: 50%; color: var(--dark); font-size: .62rem; }
.phone-task:first-of-type span { background: var(--mint); }

.features { display: grid; gap: clamp(1.7rem, 4vw, 3.1rem); padding-block: clamp(3.7rem, 8vw, 7rem); scroll-margin-top: 2rem; }
.section-intro { margin-bottom: .35rem; text-align: center; }
.section-intro h2, .help h2 { margin-top: .55rem; font: 750 clamp(2.25rem, 5.2vw, 4.25rem)/1 var(--display); letter-spacing: -.055em; }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 5rem); }
.feature:nth-of-type(even) .feature-art { grid-column: 1; grid-row: 1; }
.feature-copy { padding-inline: clamp(0rem, 3.5vw, 2.5rem); }
.feature h3 { margin-top: .65rem; font: 750 clamp(2.2rem, 4.8vw, 3.8rem)/1.02 var(--display); letter-spacing: -.048em; }
.feature-copy > p:last-child { max-width: 24rem; margin-top: 1rem; color: var(--muted); }

.feature-art {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  min-height: 320px;
  border-radius: 32px;
}
.wheel-art { background: var(--apricot); }
.wheel {
  display: grid;
  place-items: center;
  width: min(218px, 69%);
  aspect-ratio: 1;
  border: 8px solid #b98259;
  border-radius: 50%;
  background: conic-gradient(from -36deg, #fff1bc 0 20%, #cce5b6 20% 40%, #bde7d4 40% 60%, #ffd8ad 60% 80%, #f8d8df 80%);
  box-shadow: 0 0 0 2px #89552e, inset 0 0 0 2px #fff5e7, 0 12px 18px #a8774240;
}
.wheel-center { display: grid; place-items: center; border: 5px solid #f9e4c8; border-radius: 50%; background: var(--mint); overflow: hidden; }
.wheel-pin { z-index: 1; position: absolute; top: 39px; left: calc(50% - 11px); width: 22px; height: 24px; background: var(--dark); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.wheel-sparkle, .progress-sparkle { position: absolute; color: #fff9de; font-size: 3rem; line-height: 1; }
.wheel-sparkle { top: 16%; right: 15%; }
.focus-art { background: var(--mint); }
.focus-card, .streak-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .7rem;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 10px 30px #25452c20;
}
.focus-card { width: min(234px, 64%); min-height: 229px; margin-right: 17%; transform: rotate(-7deg); }
.focus-label { color: var(--muted); font-size: .75rem; font-weight: 800; }
.timer {
  display: grid;
  place-content: center;
  width: 126px;
  aspect-ratio: 1;
  border: 5px solid var(--green);
  border-left-color: #d6e6d1;
  border-radius: 50%;
  text-align: center;
}
.timer strong { font: 800 1.9rem/1.1 var(--display); }
.timer span { color: var(--muted); font-size: .67rem; }
.play-indicator { color: var(--green); }
.focus-bunny { position: absolute; bottom: 36px; left: 61%; width: clamp(75px, 10vw, 110px); height: auto; filter: drop-shadow(0 6px 5px #24593630); transform: rotate(9deg); }
.progress-art { background: #f6dce1; }
.streak-card { z-index: 1; width: min(280px, 85%); min-height: 192px; padding: .9rem; transform: rotate(5deg); }
.streak-carrot { font-size: 2rem; line-height: 1; }
.streak-card strong { font: 800 1.65rem/1 var(--display); }
.streak-card small { color: var(--muted); font-size: .68rem; font-weight: 750; }
.week { display: flex; justify-content: center; gap: .22rem; }
.week span { display: grid; place-items: center; width: 1.56rem; aspect-ratio: 1; border-radius: 50%; background: #e9eee4; color: var(--muted); font-size: .78rem; font-weight: 800; }
.week span:nth-child(-n+3) { background: var(--mint); color: var(--dark); }
.progress-sparkle { bottom: 13%; right: 9%; color: #fff8f7; }

.help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.35rem, 5.5vw, 4rem);
  border-radius: 32px;
  background: #e6f1df;
}
.help p:last-child { max-width: 27rem; margin-top: .8rem; color: var(--muted); }
.help-links { display: grid; gap: .6rem; }
.help-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .72rem 1.05rem;
  border-radius: 14px;
  background: var(--paper);
  color: var(--dark);
  font-weight: 750;
  text-decoration: none;
}
.help-links a:hover { background: #f0f8ed; text-decoration: underline; }

.site-footer { margin-top: clamp(2.5rem, 7vw, 5rem); padding-block: 1.8rem; border-top: 1px solid var(--line); }
.copyright { margin-top: 1rem; color: var(--muted); font-size: .76rem; }

.page-header {
  display: grid;
  justify-items: center;
  gap: .85rem;
  padding: clamp(2rem, 7vw, 5rem) 1rem;
  border-radius: 32px;
  background: #e6f1df;
  text-align: center;
}
.page-header h1 { font: 800 clamp(2.6rem, 6vw, 5.2rem)/1 var(--display); letter-spacing: -.055em; }
.page-header > p:last-child { color: var(--muted); }
.prose { width: min(680px, calc(100% - 24px)); margin: clamp(1.65rem, 4.8vw, 3.5rem) auto 0; overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.65rem; font: 750 clamp(1.45rem, 3.3vw, 2rem)/1.15 var(--display); letter-spacing: -.027em; }
.prose p + p, .prose h2 + p, .prose p + .button { margin-top: .75rem; }
.prose p { line-height: 1.75; }
.prose a { font-weight: 750; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 70px; }
  .site-header nav .features-link { display: none; }
  .hero { min-height: auto; border-radius: 30px; background-size: auto 58%; }
  .feature { grid-template-columns: 1fr; gap: 1.2rem; }
  .feature:nth-of-type(even) .feature-art { grid-area: auto; }
  .feature-copy { padding-inline: .25rem; }
  .feature-art { min-height: 288px; border-radius: 24px; }
  .wheel-pin { top: 24px; }
  .help { grid-template-columns: 1fr; }
  .footer-top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.36rem; gap: .4rem; }
  .brand img { width: 29px; height: 29px; }
  .site-header nav { gap: .56rem; }
  .site-header nav a { font-size: .76rem; }
  .site-header nav .nav-support { padding: .47rem .6rem; }
  .nav-support span { display: none; }
}
