@font-face {
  font-family: 'Fredoka';
  src: url('assets/Fredoka.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --brand: #2F6B4F;
  --brand-ink: #2F6B4F;
  --clay: #C2410C;
  --clay-hover: #A8380A;
  --bg: #FBF7F0;
  --surface: #FFFFFF;
  --tint: #EEF4EF;
  --text: #1F2933;
  --muted: #52606D;
  --line: rgba(31, 41, 51, 0.1);
  --shadow: 0 1px 2px rgba(31, 41, 51, 0.06), 0 12px 32px rgba(31, 41, 51, 0.08);
  --radius: 22px;
  --display: 'Fredoka', ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #8CC7A1;
    --bg: #0F1512;
    --surface: #18201B;
    --tint: #16231C;
    --text: #F3EFE7;
    --muted: #A9B4AD;
    --line: rgba(243, 239, 231, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
.narrow { max-width: 760px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.top-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--text); letter-spacing: -0.01em; }
.wordmark span { color: var(--brand-ink); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav { display: none; } .top-inner .btn-small { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: #fff; text-decoration: none; font-weight: 600;
  border-radius: 999px; padding: 12px 22px; transition: background 0.15s;
}
.btn:hover { background: var(--clay-hover); }
.btn-small { padding: 8px 16px; font-size: 15px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stores.center { justify-content: center; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 156px; padding: 9px 18px 10px; border-radius: 14px;
  background: #111; color: #fff; text-decoration: none; line-height: 1.15;
  transition: transform 0.15s;
}
.store:hover { transform: translateY(-2px); }
.store small { font-size: 12px; opacity: 0.8; }
.store strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.store.soon { background: transparent; color: var(--text); border: 1.5px dashed var(--line); border-color: color-mix(in srgb, var(--text) 30%, transparent); cursor: default; }
.store.soon:hover { transform: none; }
@media (prefers-color-scheme: dark) { .store:not(.soon) { background: #fff; color: #111; } }

/* Type */
.eyebrow { margin: 0 0 14px; color: var(--brand-ink); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.display span { color: var(--brand-ink); }
.display.small { font-size: clamp(36px, 5vw, 56px); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 22px 0 0; max-width: 34em; }
.lede strong { color: var(--clay); }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.015em; text-align: center; }
.sub { color: var(--muted); font-size: 18px; text-align: center; max-width: 36em; margin: 14px auto 0; }
.sub.left { text-align: left; margin-left: 0; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.hero-art { position: relative; justify-self: center; width: min(320px, 78vw); }
.phone {
  position: relative; border-radius: 46px; padding: 10px; background: #111;
  box-shadow: var(--shadow), 0 40px 80px -20px rgba(47, 107, 79, 0.45);
  transform: rotate(2deg);
}
.phone img { border-radius: 36px; aspect-ratio: 1206 / 2432; object-fit: cover; }
.hero-coco { position: absolute; width: 46%; left: -34%; bottom: -4%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.18)); }
.bubble {
  position: absolute; left: -38%; top: 16%; max-width: 210px;
  background: var(--surface); color: var(--text); border-radius: 18px 18px 18px 4px;
  padding: 12px 16px; font-size: 15px; font-weight: 500; box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-copy .stores { justify-content: center; }
  .hero-art { margin-top: 16px; }
  .hero-coco { left: -26%; width: 42%; }
  .bubble { left: -20%; top: 6%; max-width: 180px; text-align: left; font-size: 14px; }
}
@media (max-width: 480px) {
  .hero-art { width: 62vw; margin-left: 16vw; }
  .hero-coco { left: -40%; width: 48%; }
  .bubble { display: none; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 48px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: var(--tint); color: var(--brand-ink); font-size: 22px; margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps-section { background: var(--tint); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { text-align: center; }
.num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--display); font-weight: 700; font-size: 24px; margin-bottom: 16px;
}
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { margin: 0 auto; color: var(--muted); max-width: 22em; }

/* Coco */
.coco-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.coco-grid .title { text-align: left; }
.coco-stage {
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 68%);
  display: grid; place-items: center; padding: 12px;
}
.coco-stage img { width: min(340px, 70vw); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18)); }
.outfits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 28px; }
.outfit {
  appearance: none; border: 2px solid transparent; background: var(--surface); border-radius: 16px;
  padding: 8px 6px 8px; cursor: pointer; color: var(--muted); font: 600 13px/1.2 var(--body);
  box-shadow: var(--shadow); transition: border-color 0.15s, transform 0.15s;
}
.outfit:hover { transform: translateY(-2px); }
.outfit:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.outfit[aria-pressed='true'] { border-color: var(--brand-ink); color: var(--text); }
.outfit img { width: 100%; max-width: 72px; margin: 0 auto 4px; }
@media (max-width: 800px) {
  .coco-grid { grid-template-columns: 1fr; gap: 16px; }
  .coco-grid .title, .sub.left { text-align: center; margin-inline: auto; }
  .coco-stage img { width: min(240px, 60vw); }
}
@media (max-width: 420px) { .outfits { gap: 6px; } .outfit { font-size: 11px; padding: 6px 2px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.plan { position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border: 1.5px solid var(--line); }
.plan-featured { border: 2px solid var(--brand-ink); }
.plan h3 { font-family: var(--display); font-size: 26px; font-weight: 700; }
.tag {
  position: absolute; top: -13px; left: 28px; margin: 0;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.price { font-size: 30px; font-weight: 700; margin: 8px 0 0; letter-spacing: -0.02em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: 16px; }
.plan li::before { content: '✓'; position: absolute; left: 2px; color: var(--brand-ink); font-weight: 700; }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.passes { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.passes th, .passes td { padding: 9px 0; border-top: 1px solid var(--line); }
.passes th { text-align: left; font-weight: 500; color: var(--muted); }
.passes td { text-align: right; font-weight: 600; }

/* FAQ */
details { background: var(--surface); border-radius: 16px; margin-top: 12px; box-shadow: var(--shadow); }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brand-ink); font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Final CTA */
.final { background: var(--brand); color: #fff; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-coco { width: 180px; margin-bottom: 8px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.25)); }
.final .lede { color: rgba(255, 255, 255, 0.85); }
.final .store:not(.soon) { background: #111; color: #fff; }
.final .store.soon { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
@media (prefers-color-scheme: dark) { .final { background: #1F4D38; } }

/* Footer */
.foot { padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.foot .wordmark { font-size: 20px; }
