/* Grow Strong Minds — storefront styles (from approved design prototype) */
:root {
  --paper:#fffaf2; --paper-2:#fff3dc; --surface:#ffffff; --surface-soft:#f7f4ec;
  --ink:#1e2a22; --muted:#56645b; --line:#ded8cb;
  --green:#168b39; --green-dark:#0c6d2a; --green-soft:#dff2df;
  --orange:#f47d20; --orange-dark:#c85209; --orange-soft:#ffe4ca;
  --yellow:#ffd15c;
  --shadow:0 20px 60px rgba(60,44,22,.14);
  --radius-xl:30px; --radius-lg:20px; --radius-md:14px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink);
  font-family:"Nunito Sans",system-ui,sans-serif; line-height:1.55; }
h1,h2,h3 { font-family:"Baloo 2",system-ui,sans-serif; line-height:1.05; margin:0; letter-spacing:-.02em; }
img { max-width:100%; display:block; }
a { color:inherit; }
.wrap { width:min(1120px, calc(100% - 40px)); margin-inline:auto; }
section { padding:72px 0; }

/* topbar */
.topbar { position:sticky; top:0; z-index:20; background:rgba(255,250,242,.92);
  backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.topbar-inner { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; align-items:center; gap:11px; text-decoration:none; font-family:"Baloo 2"; font-weight:800; font-size:1.25rem; }
.brand img { width:40px; height:40px; border-radius:50%; object-fit:cover; }
.nav { display:flex; gap:22px; font-weight:700; color:var(--muted); }
.nav a { text-decoration:none; }
.nav a:hover { color:var(--ink); }
@media (max-width:760px){ .nav{ display:none; } }

/* buttons */
.button { display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:52px; padding:0 22px; border-radius:13px; font-weight:800; font-size:1rem;
  text-decoration:none; border:2px solid transparent; cursor:pointer; font-family:inherit; }
.button.primary { background:var(--green); color:#fff; box-shadow:0 8px 0 #0c6d2a; }
.button.primary:active { transform:translateY(4px); box-shadow:0 4px 0 #0c6d2a; }
.button.secondary { background:var(--surface); border-color:var(--line); color:var(--ink); }
.button:disabled { opacity:.55; cursor:wait; }

/* hero */
.hero { padding:64px 0 80px; position:relative; overflow:hidden; }
.hero::after { content:""; position:absolute; width:480px; height:480px; border-radius:50%;
  right:-160px; top:60px; background:var(--orange-soft); opacity:.6; z-index:0; }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; position:relative; z-index:1; }
@media (max-width:860px){ .hero-grid{ grid-template-columns:1fr; } }
.kicker { display:inline-flex; align-items:center; gap:9px; color:var(--green-dark); font-weight:800; margin:0 0 18px; }
.kicker::before { content:""; width:30px; height:3px; background:var(--orange); border-radius:4px; }
.hero h1 { font-size:clamp(2.6rem,6vw,4.6rem); }
.hero h1 span { color:var(--orange); }
.lede { color:var(--muted); font-size:clamp(1.05rem,2vw,1.25rem); margin:22px 0; max-width:580px; }
.hero-meta { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin-bottom:26px; }
.price { font:800 1.5rem/1 "Baloo 2"; }
.delivery { display:flex; align-items:center; gap:8px; color:var(--muted); font-weight:700; font-size:.95rem; }
.actions { display:flex; flex-wrap:wrap; gap:12px; }
.book-stage { display:grid; place-items:center; }
.book { width:min(340px,76vw); filter:drop-shadow(0 30px 30px rgba(55,33,5,.25)); transform:rotate(3deg); }
.book img { border-radius:6px; }

/* sections */
.section-head { max-width:720px; margin-bottom:40px; }
.section-head h2 { font-size:clamp(2rem,4.5vw,3.4rem); margin-bottom:12px; }
.section-head p { color:var(--muted); font-size:1.1rem; margin:0; }

/* how it works */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:860px){ .steps{ grid-template-columns:1fr; } }
.step { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px; }
.step-no { font:800 2.6rem/1 "Baloo 2"; color:var(--orange); }
.step h3 { font-size:1.45rem; margin:18px 0 10px; }
.step p { color:var(--muted); margin:0; }
.step p strong { color:var(--ink); }

/* chapters */
.chapter-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (max-width:760px){ .chapter-grid{ grid-template-columns:1fr; } }
.chapter { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:18px 20px; display:flex; gap:14px; align-items:baseline; }
.chapter b { font-family:"Baloo 2"; color:var(--orange-dark); font-size:1.1rem; }
.chapter span { font-weight:700; }

/* story */
.story { background:var(--surface); border-block:1px solid var(--line); }
.story-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center; }
@media (max-width:860px){ .story-grid{ grid-template-columns:1fr; } }
.story-photo img { border-radius:var(--radius-xl); box-shadow:var(--shadow); }
.story-photo figcaption { text-align:center; color:var(--muted); font-weight:700; margin-top:12px; font-size:.95rem; }
.story-copy p { color:var(--muted); font-size:1.08rem; }
.story-copy p strong { color:var(--ink); }
.origin-band { background:var(--green-dark); color:#fff; border-radius:var(--radius-xl); padding:44px; margin-top:36px; }
.origin-band blockquote { margin:0; font:700 clamp(1.3rem,2.6vw,1.9rem)/1.25 "Baloo 2"; }

/* giving */
.give-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:760px){ .give-grid{ grid-template-columns:1fr; } }
.give-card { background:var(--green-soft); border-radius:var(--radius-lg); padding:30px; }
.give-card h3 { font-size:1.5rem; margin-bottom:8px; color:var(--green-dark); }
.give-card p { margin:0; color:var(--ink); }

/* pricing */
.price-card { background:var(--surface); border:2px solid var(--green); border-radius:var(--radius-xl);
  padding:40px; max-width:560px; margin-inline:auto; text-align:center; box-shadow:var(--shadow); }
.price-card .amount { font:800 3.4rem/1 "Baloo 2"; }
.price-card .per { color:var(--muted); font-weight:700; }
.price-card ul { text-align:left; max-width:380px; margin:24px auto; padding:0; list-style:none; }
.price-card li { padding:8px 0 8px 30px; position:relative; font-weight:600; }
.price-card li::before { content:"✓"; position:absolute; left:4px; color:var(--green); font-weight:900; }
.band-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:8px; }
@media (max-width:1000px){ .band-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .band-grid{ grid-template-columns:1fr;} }
.band-card { background:var(--surface); border:2px solid var(--line); border-radius:var(--radius-xl);
  padding:28px 24px; text-align:center; display:flex; flex-direction:column; gap:10px; }
.band-card:not(.soon){ border-color:var(--green); box-shadow:var(--shadow); }
.band-card.soon { opacity:.92; background:var(--paper-2); }
.band-age { font:800 1.9rem/1 "Baloo 2"; color:var(--green); }
.band-name { font-weight:800; }
.band-blurb { color:var(--muted); font-size:.95rem; flex:1; }
.band-price { font:800 1.6rem/1 "Baloo 2"; }
.soon-note { font-size:.85rem; color:var(--muted); }
.ship-note { background:var(--paper-2); border-radius:var(--radius-md); padding:16px 18px; font-size:.95rem; color:var(--muted); margin-top:20px; }
.ship-note strong { color:var(--ink); }

/* faq */
.faq details { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:18px 22px; margin-bottom:12px; }
.faq summary { font-weight:800; font-size:1.05rem; cursor:pointer; }
.faq p { color:var(--muted); margin:10px 0 0; }

/* footer */
footer { border-top:1px solid var(--line); padding:36px 0; color:var(--muted); font-size:.92rem; }
.foot-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }

/* ---------- order page ---------- */
.order-shell { max-width:760px; margin:0 auto; }
.mode-toggle { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:24px 0 8px; }
.mode-card { border:2px solid var(--line); border-radius:var(--radius-lg); padding:24px; cursor:pointer;
  background:var(--surface); text-align:left; font-family:inherit; }
.mode-card h3 { font-size:1.35rem; margin-bottom:6px; }
.mode-card p { color:var(--muted); margin:0; font-size:.95rem; }
.mode-card.active { border-color:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.field-group { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; margin-bottom:18px; }
.field-group h3 { font-size:1.25rem; margin-bottom:4px; }
.field-group .hint { color:var(--muted); font-size:.92rem; margin:0 0 16px; }
.field { margin-bottom:14px; }
.field label { display:block; font-weight:800; margin-bottom:6px; font-size:.95rem; }
.field input[type=text], .field input[type=email], .field input[type=number], .field select {
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font:inherit; background:#fff; }
.field input:focus, .field select:focus { outline:none; border-color:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:600px){ .field-row{ grid-template-columns:1fr; } }
.generic-row { display:flex; gap:10px; align-items:center; }
.generic-row select { flex:0 0 168px; }
.generic-row input { flex:1; }
.generic-row input:disabled { background:var(--surface-soft); color:var(--muted); }
.chips { display:flex; flex-wrap:wrap; gap:10px; }
.chip { border:2px solid var(--line); background:var(--surface); border-radius:999px; padding:10px 18px;
  font-weight:700; cursor:pointer; font-family:inherit; font-size:.95rem; }
.chip.active { border-color:var(--green); background:var(--green-soft); color:var(--green-dark); }
.add-row { display:flex; gap:10px; margin-bottom:10px; }
.add-row input { flex:1; }
.icon-btn { border:1.5px solid var(--line); background:var(--surface); border-radius:10px; width:46px;
  font-size:1.2rem; cursor:pointer; font-weight:800; color:var(--orange-dark); }
.icon-btn.remove { color:#b3261e; }
.mini-add { background:none; border:none; color:var(--green-dark); font-weight:800; cursor:pointer; padding:6px 0; font-size:.95rem; }
.spotlight { background:var(--green-soft); border-radius:var(--radius-lg); padding:22px 24px; margin:18px 0; }
.spotlight h3 { color:var(--green-dark); font-size:1.15rem; margin-bottom:10px; }
.spotlight ul { margin:0; padding-left:20px; }
.spotlight li { margin-bottom:6px; font-weight:600; }
.spotlight li small { display:block; color:var(--muted); font-weight:400; }
.privacy { display:flex; gap:10px; align-items:flex-start; background:var(--paper-2); border-radius:var(--radius-md);
  padding:14px 16px; font-size:.9rem; color:var(--muted); margin:18px 0; }
.ship-options { display:grid; gap:10px; margin-top:12px; }
.ship-option { display:flex; gap:12px; align-items:flex-start; border:1.5px solid var(--line); border-radius:12px;
  padding:14px 16px; cursor:pointer; background:#fff; }
.ship-option.active { border-color:var(--green); box-shadow:0 0 0 3px var(--green-soft); }
.ship-option input { margin-top:4px; }
.ship-option .eta { margin-left:auto; font-weight:800; color:var(--green-dark); white-space:nowrap; }
.review-box { background:var(--surface-soft); border-radius:var(--radius-md); padding:18px 20px; font-size:.95rem; }
.review-box dt { font-weight:800; } .review-box dd { margin:0 0 8px; color:var(--muted); }
.total-line { display:flex; justify-content:space-between; font:800 1.3rem "Baloo 2"; margin-top:14px;
  padding-top:14px; border-top:2px solid var(--line); }
.error { background:#fdecea; color:#b3261e; border-radius:10px; padding:12px 16px; font-weight:700; margin:12px 0; display:none; }
.success-hero { text-align:center; padding:60px 0; }
.success-hero h1 { font-size:clamp(2.2rem,5vw,3.6rem); margin-bottom:14px; }
.success-hero p { color:var(--muted); font-size:1.1rem; max-width:560px; margin:0 auto 12px; }
