/* =========================================================
   JellyJoy — Design System v2
   Glossy, bubbly palette lifted straight from the logo:
   amber/gold "Jelly" + turquoise "Joy" + coral smile,
   on white — English-only, sparkle-accented, candy-glossy UI.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* Jelly amber (from "Jelly" lettering) */
  --amber-300:#ffd88a;
  --amber-500:#f6a828;
  --amber-600:#e2860f;
  --amber-100:#fff2d8;

  /* Joy turquoise (from "Joy" lettering) */
  --teal-300:#7fe3e8;
  --teal-500:#2bc4ce;
  --teal-600:#12939c;
  --teal-900:#0b3a3d;
  --teal-100:#e3f9fa;

  /* Coral smile / heart accent */
  --coral-300:#ffb0c0;
  --coral-500:#ff5d7e;
  --coral-600:#f13c61;

  --cream:#ffffff;
  --paper:#fffaf1;
  --ink:#123236;
  --ink-600:#4c6467;
  --line:#ebe4d6;

  --font-display:'Baloo 2', sans-serif;
  --font-body:'Inter', sans-serif;

  --radius-card:22px;
  --radius-pill:999px;
  --shadow-card:0 14px 30px -14px rgba(11,58,61,0.28);
  --shadow-soft:0 8px 20px -10px rgba(11,58,61,0.16);
  --container:1180px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
h1,h2,h3,h4{font-family:var(--font-display);margin:0 0 .4em;font-weight:700;color:var(--teal-900);line-height:1.12;}
p{margin:0 0 1em;}

.container{max-width:var(--container);margin:0 auto;padding:0 28px;}

.paper-bg{background:var(--paper);}

/* ---------- Sparkle decorations (borrowed from the logo mark) ---------- */
.sparkle{position:absolute; pointer-events:none;}
.sparkle svg{display:block;}
@keyframes twinkle{0%,100%{opacity:.5; transform:scale(.85);} 50%{opacity:1; transform:scale(1.05);}}
.sparkle{animation:twinkle 2.6s ease-in-out infinite;}

/* ---------- Buttons — glossy jelly-bubble style ---------- */
.btn{
  position:relative;
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 28px;
  border-radius:var(--radius-pill);
  font-family:var(--font-display);
  font-weight:700;
  font-size:15px;
  border:none;
  color:#fff;
  isolation:isolate;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 55%);
  z-index:1; pointer-events:none;
}
.btn > *{position:relative; z-index:2;}
.btn:active{transform:translateY(1px) scale(.98);}
.btn-primary{
  background:linear-gradient(180deg, var(--coral-500), var(--coral-600));
  box-shadow:0 10px 22px -8px rgba(241,60,97,0.55), inset 0 -3px 0 rgba(0,0,0,0.08);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 26px -8px rgba(241,60,97,0.6);}
.btn-outline{
  background:#fff;
  border:2px solid var(--teal-900);
  color:var(--teal-900);
  box-shadow:none;
}
.btn-outline::before{display:none;}
.btn-outline:hover{background:var(--teal-900); color:#fff; transform:translateY(-2px);}
.btn-gold{
  background:linear-gradient(180deg, var(--amber-500), var(--amber-600));
  color:var(--teal-900);
  box-shadow:0 10px 22px -8px rgba(226,134,15,0.55), inset 0 -3px 0 rgba(0,0,0,0.08);
}
.btn-gold:hover{transform:translateY(-2px);}
.btn-teal{
  background:linear-gradient(180deg, var(--teal-500), var(--teal-600));
  box-shadow:0 10px 22px -8px rgba(18,147,156,0.55), inset 0 -3px 0 rgba(0,0,0,0.08);
}
.btn-sm{padding:10px 18px;font-size:13px;}
.btn-block{width:100%;justify-content:center;}

/* ---------- Glossy frame — signature motif ----------
   A soft two-tone glow ring echoing the logo's puffy, glossy
   lettering. Used to "dress" cards and feature panels. */
.glow-frame{
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--radius-card);
  background:#fff;
}
.glow-frame::before{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  box-shadow:inset 0 2px 0 rgba(255,255,255,0.9);
  pointer-events:none;
}

/* ---------- Top announcement bar ---------- */
.announce{
  background:var(--teal-900);
  color:#fff;
  text-align:center;
  font-size:13.5px;
  padding:9px 16px;
  letter-spacing:.02em;
}
.announce b{color:var(--amber-300);}

/* ---------- Header ---------- */
.site-header{
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:50;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 28px;
  max-width:var(--container); margin:0 auto;
  gap:24px;
}
.logo{display:flex; align-items:center;}
.logo img{height:46px; width:auto; display:block;}
.nav-links{
  display:flex; align-items:center; gap:30px;
  font-weight:700; font-size:15px;
  font-family:var(--font-display);
}
.nav-links a{
  position:relative; padding:6px 0; color:var(--ink);
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:3px; width:0; border-radius:3px;
  background:var(--coral-500); transition:width .2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{width:100%;}
.nav-links a.active{color:var(--coral-600);}
.header-actions{display:flex; align-items:center; gap:14px;}
.icon-btn{
  position:relative;
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--teal-100);border:1px solid var(--line);
  color:var(--teal-900);
  transition:transform .18s ease, background .18s ease;
}
.icon-btn:hover{background:var(--teal-500); color:#fff; transform:translateY(-2px);}
.icon-btn .badge{
  position:absolute; top:-4px; right:-4px;
  background:var(--coral-500); color:#fff;
  font-size:11px; font-weight:800;
  width:19px;height:19px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:2px solid #fff;
}
.burger{display:none;background:none;border:none;color:var(--teal-900);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:60px 0 40px;
  background:radial-gradient(ellipse at 80% 10%, var(--teal-100) 0%, var(--cream) 55%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:40px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--teal-900); color:#fff;
  padding:8px 18px; border-radius:var(--radius-pill);
  font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  margin-bottom:20px;
}
.hero h1{
  font-size:clamp(38px, 5vw, 62px);
  letter-spacing:-.01em;
}
.hero h1 .accent{
  background:linear-gradient(180deg, var(--coral-500), var(--coral-600));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{
  font-family:var(--font-body);
  font-size:18px; color:var(--ink-600);
  max-width:520px; margin-bottom:28px;
}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px;}
.hero-stats{display:flex; gap:34px; flex-wrap:wrap;}
.hero-stat b{
  display:block; font-family:var(--font-display); font-size:26px; color:var(--teal-900);
}
.hero-stat span{font-size:13px; color:var(--ink-600);}

.hero-art{position:relative; height:460px;}
.card-fan{position:absolute; inset:0;}
.play-card{
  position:absolute; width:200px; height:280px;
  border-radius:22px;
  box-shadow:var(--shadow-card);
  display:flex; flex-direction:column; justify-content:space-between;
  padding:16px;
  font-family:var(--font-display); font-weight:700;
  transition:transform .35s ease;
  border:3px solid rgba(255,255,255,0.6);
}
.play-card::after{
  content:""; position:absolute; top:8px; left:8px; right:8px; height:34%;
  background:linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  border-radius:16px; pointer-events:none;
}
.play-card .corner{font-size:15px; position:relative; z-index:2;}
.play-card .mid{align-self:center; font-size:52px; position:relative; z-index:2;}
.play-card .corner.bottom{align-self:flex-end; transform:rotate(180deg);}
.pc-1{background:linear-gradient(180deg, var(--coral-500), var(--coral-600)); color:#fff; top:16px; left:6%; transform:rotate(-14deg);}
.pc-2{background:linear-gradient(180deg, var(--amber-500), var(--amber-600)); color:var(--teal-900); top:44px; left:30%; transform:rotate(-2deg); z-index:2;}
.pc-3{background:linear-gradient(180deg, var(--teal-500), var(--teal-600)); color:#fff; top:20px; left:54%; transform:rotate(12deg);}
.hero-art:hover .pc-1{transform:rotate(-20deg) translateY(-6px);}
.hero-art:hover .pc-2{transform:rotate(0deg) translateY(-14px);}
.hero-art:hover .pc-3{transform:rotate(18deg) translateY(-6px);}
.jelly-blob{
  position:absolute; bottom:0; right:6%;
  width:180px; height:180px;
  background:linear-gradient(160deg, var(--teal-300), var(--teal-500));
  border-radius:58% 42% 60% 40% / 45% 55% 45% 55%;
  opacity:.55;
}

/* ---------- Section headers ---------- */
.section{padding:76px 0;}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:20px; margin-bottom:42px; flex-wrap:wrap;
}
.section-head h2{font-size:clamp(28px,3.4vw,40px); max-width:640px;}
.section-head p{color:var(--ink-600); max-width:460px; font-size:15.5px;}
.section-eyebrow{
  font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--coral-600); margin-bottom:10px; display:block;
}

/* ---------- Skill pills (proof-of-claim) ---------- */
.skill-pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 13px; border-radius:var(--radius-pill);
  font-size:12.5px; font-weight:700;
  background:#fff; border:1.5px solid var(--line);
}
.skill-pill.memory{color:var(--teal-600); border-color:var(--teal-300); background:var(--teal-100);}
.skill-pill.vocab{color:var(--coral-600); border-color:var(--coral-300); background:#fff0f3;}
.skill-pill.logic{color:#8a5a1f; border-color:var(--amber-300); background:var(--amber-100);}
.skill-pill.math{color:#1a7a3d; border-color:#b7e6c6; background:#eafbf0;}
.skill-dot{width:7px;height:7px;border-radius:50%;background:currentColor;}

/* ---------- Product Grid & Cards ---------- */
.product-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:26px;
}
.product-card{
  background:#fff;
  border-radius:var(--radius-card);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  border:1px solid var(--line);
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-card);}
.pc-media{
  aspect-ratio:1/0.85;
  position:relative;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.pc-media svg{width:78%;height:78%;}
.pc-tag{
  position:absolute; top:12px; left:12px;
  background:var(--teal-900); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:.03em; text-transform:uppercase;
  padding:5px 11px; border-radius:var(--radius-pill);
}
.pc-tag.new{background:linear-gradient(180deg, var(--coral-500), var(--coral-600));}
.pc-body{padding:18px 18px 20px; display:flex; flex-direction:column; gap:8px; flex:1;}
.pc-age{font-size:12px; color:var(--ink-600); font-weight:700;}
.pc-title{font-family:var(--font-display); font-size:18px; color:var(--teal-900); font-weight:700;}
.pc-skill-row{display:flex; gap:6px; flex-wrap:wrap; margin:2px 0 6px;}
.pc-foot{display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:8px;}
.pc-price{font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--ink);}
.pc-price .strike{font-size:13px; color:#b3a999; text-decoration:line-through; font-weight:500; margin-right:6px;}
.pc-add{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(180deg, var(--teal-500), var(--teal-600)); color:#fff;
  display:flex;align-items:center;justify-content:center;
  border:none; transition:background .2s ease, transform .2s ease;
  box-shadow:0 6px 14px -6px rgba(18,147,156,0.6);
}
.pc-add:hover{background:linear-gradient(180deg, var(--coral-500), var(--coral-600)); transform:scale(1.08);}

/* ---------- Filters bar (shop page) ---------- */
.filters-bar{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  padding:18px 22px; background:var(--paper);
  border:1px solid var(--line); border-radius:18px; margin-bottom:36px;
}
.filter-chip{
  padding:9px 17px; border-radius:var(--radius-pill);
  border:1.5px solid var(--line); background:#fff;
  font-size:13.5px; font-weight:700; color:var(--ink-600);
  font-family:var(--font-display);
  transition:all .18s ease;
}
.filter-chip.active,.filter-chip:hover{
  background:var(--teal-900); color:#fff; border-color:var(--teal-900);
}
.filters-bar .spacer{flex:1;}
.sort-select{
  border:1.5px solid var(--line); border-radius:var(--radius-pill);
  padding:9px 16px; font-size:13.5px; font-weight:600; background:#fff; color:var(--ink);
}

/* ---------- Feature / How-it-works ---------- */
.feature-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.feature-item{
  background:#fff; border-radius:20px; padding:26px 22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.feature-item .ic{
  width:50px;height:50px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  color:#fff; margin-bottom:16px; font-size:22px; line-height:1;
  box-shadow:inset 0 -3px 0 rgba(0,0,0,0.12), 0 8px 16px -8px rgba(11,58,61,0.4);
}
.feature-item:nth-child(1) .ic{background:linear-gradient(180deg, var(--teal-500), var(--teal-600));}
.feature-item:nth-child(2) .ic{background:linear-gradient(180deg, var(--coral-500), var(--coral-600));}
.feature-item:nth-child(3) .ic{background:linear-gradient(180deg, var(--amber-500), var(--amber-600)); color:var(--teal-900);}
.feature-item:nth-child(4) .ic{background:linear-gradient(180deg, #6bd08a, #2e9e57);}
.feature-item h4{font-size:17px; margin-bottom:6px;}
.feature-item p{font-size:14px; color:var(--ink-600); margin:0;}

/* ---------- Two-column story / identity ---------- */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.split .media{
  border-radius:26px; overflow:hidden; position:relative;
  aspect-ratio:4/3.4;
  background:linear-gradient(160deg, var(--teal-500), var(--teal-600));
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-card);
}
.split.reverse{grid-template-columns:1fr 1fr;}
.split.reverse .media{order:2;}

/* ---------- Testimonials ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.testi-card{
  background:#fff; border-radius:20px; padding:26px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.testi-stars{color:var(--amber-500); font-size:15px; margin-bottom:10px; letter-spacing:2px;}
.testi-quote{font-size:14.5px; color:var(--ink); margin-bottom:16px;}
.testi-who{display:flex; align-items:center; gap:10px;}
.testi-avatar{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(180deg, var(--coral-500), var(--coral-600)); color:#fff; font-family:var(--font-display); font-weight:700;
  display:flex;align-items:center;justify-content:center; font-size:14px;
}
.testi-name{font-weight:700; font-size:13.5px;}
.testi-loc{font-size:12px; color:var(--ink-600);}

/* ---------- Expert / trust band ---------- */
.trust-band{
  background:var(--teal-900); color:#fff;
  border-radius:32px; padding:52px;
  display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:center;
  position:relative; overflow:hidden;
}
.trust-band h2{color:#fff;}
.trust-band p{color:rgba(255,255,255,0.78);}
.expert-card{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:20px; padding:22px;
  display:flex; gap:16px; align-items:flex-start;
}
.expert-avatar{
  width:56px;height:56px;border-radius:50%; flex:none;
  background:linear-gradient(180deg, var(--amber-500), var(--amber-600)); color:var(--teal-900);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display); font-weight:800; font-size:20px;
}

/* ---------- Ladder / subscription ---------- */
.ladder{display:flex; gap:0; align-items:stretch; border-radius:24px; overflow:hidden; box-shadow:var(--shadow-soft); border:1px solid var(--line);}
.ladder-step{
  flex:1; padding:30px 24px; background:#fff;
  border-right:1px dashed var(--line);
  position:relative;
}
.ladder-step:last-child{border-right:none; background:var(--teal-900); color:#fff;}
.ladder-step:last-child h4, .ladder-step:last-child .step-age{color:#fff;}
.ladder-step .step-age{font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--coral-600);}
.ladder-step h4{margin:8px 0 8px; font-size:19px;}
.ladder-step p{font-size:13.5px; color:var(--ink-600); margin:0;}
.ladder-step:last-child p{color:rgba(255,255,255,0.75);}

/* ---------- Newsletter / community CTA ---------- */
.cta-band{
  background:linear-gradient(135deg, var(--coral-500), var(--coral-600));
  border-radius:32px;
  padding:56px 60px;
  display:flex; justify-content:space-between; align-items:center; gap:30px;
  color:#fff; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band h2{color:#fff; margin-bottom:8px;}
.cta-band p{color:rgba(255,255,255,0.85); margin:0;}
.cta-form{display:flex; gap:10px; position:relative; z-index:2;}
.cta-form input{
  padding:14px 18px; border-radius:var(--radius-pill); border:none;
  min-width:260px; font-family:var(--font-body); font-size:14px;
}

/* ---------- Footer ---------- */
.site-footer{background:var(--teal-900); color:rgba(255,255,255,0.85); padding:64px 0 26px; margin-top:40px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.12);}
.footer-logo img{height:40px; filter:brightness(0) invert(1); opacity:.95;}
.footer-col h5{color:#fff; font-family:var(--font-display); font-size:14.5px; margin-bottom:16px; letter-spacing:.02em;}
.footer-col li{margin-bottom:10px; font-size:14px;}
.footer-col a:hover{color:var(--amber-300);}
.footer-bottom{display:flex; justify-content:space-between; padding-top:22px; font-size:13px; flex-wrap:wrap; gap:10px;}
.social-row{display:flex; gap:10px;}
.social-row a{
  width:36px;height:36px;border-radius:50%; background:rgba(255,255,255,0.08);
  display:flex;align-items:center;justify-content:center;
}
.social-row a:hover{background:var(--coral-500);}

/* ---------- Badge / breadcrumb ---------- */
.breadcrumb{font-size:13px; color:var(--ink-600); margin-bottom:24px;}
.breadcrumb a:hover{color:var(--coral-600);}

/* ---------- Product detail ---------- */
.pd-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:56px;}
.pd-media-main{
  border-radius:28px; aspect-ratio:1/0.95;
  display:flex;align-items:center;justify-content:center;
  position:relative; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.pd-media-main svg{width:64%;height:64%;}
.pd-thumbs{display:flex; gap:10px; margin-top:14px;}
.pd-thumb{
  width:64px;height:64px;border-radius:14px;
  border:2px solid var(--line); display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.pd-thumb.active{border-color:var(--coral-500);}
.pd-thumb svg{width:60%;height:60%;}
.pd-price-row{display:flex; align-items:baseline; gap:12px; margin:16px 0 6px;}
.pd-price{font-family:var(--font-display); font-size:32px; font-weight:800;}
.pd-old{font-size:16px; color:#b3a999; text-decoration:line-through;}
.pd-save{color:#1a7a3d; font-weight:700; font-size:13px;}
.pd-skill-row{display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 20px;}
.pd-desc{color:var(--ink-600); font-size:15px; margin-bottom:24px;}
.pd-qty{display:flex; align-items:center; border:1.5px solid var(--line); border-radius:var(--radius-pill); width:fit-content;}
.pd-qty button{width:38px;height:38px; background:none; border:none; font-size:18px; color:var(--teal-900);}
.pd-qty span{width:34px; text-align:center; font-weight:700;}
.pd-actions{display:flex; gap:12px; margin:22px 0 8px; flex-wrap:wrap;}
.pd-meta-list{margin-top:26px; border-top:1px solid var(--line); padding-top:20px;}
.pd-meta-row{display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px dashed var(--line); font-size:14px;}
.pd-meta-row b{color:var(--teal-900);}
.pd-tabs{display:flex; gap:26px; border-bottom:1px solid var(--line); margin:56px 0 28px;}
.pd-tab{padding:12px 0; font-weight:700; font-family:var(--font-display); color:var(--ink-600); border-bottom:3px solid transparent; cursor:pointer;}
.pd-tab.active{color:var(--teal-900); border-color:var(--coral-500);}
.pd-tab-panel{display:none;}
.pd-tab-panel.active{display:block;}
.skill-proof{
  display:flex; gap:16px; background:var(--teal-100); border:1px solid var(--teal-300);
  border-radius:18px; padding:20px; margin-bottom:14px; align-items:flex-start;
}
.skill-proof .ic{
  width:44px;height:44px;border-radius:14px; flex:none;
  background:linear-gradient(180deg, var(--teal-500), var(--teal-600)); color:#fff;
  display:flex;align-items:center;justify-content:center;
}

/* ---------- Cart page ---------- */
.cart-grid{display:grid; grid-template-columns:1.6fr 1fr; gap:40px; align-items:flex-start;}
.cart-line{
  display:grid; grid-template-columns:90px 1fr auto auto; gap:18px; align-items:center;
  padding:20px 0; border-bottom:1px solid var(--line);
}
.cart-thumb{width:90px;height:90px;border-radius:16px; display:flex;align-items:center;justify-content:center; border:1px solid var(--line);}
.cart-thumb svg{width:70%;height:70%;}
.cart-title{font-family:var(--font-display); font-weight:700; font-size:16px; color:var(--teal-900);}
.cart-sub{font-size:12.5px; color:var(--ink-600); margin-top:2px;}
.cart-remove{font-size:12.5px; color:var(--coral-600); font-weight:700; margin-top:6px; display:inline-block;}
.summary-card{
  background:var(--paper); border:1px solid var(--line); border-radius:22px; padding:26px;
  position:sticky; top:100px;
}
.summary-row{display:flex; justify-content:space-between; padding:9px 0; font-size:14.5px;}
.summary-row.total{border-top:1px solid var(--line); margin-top:10px; padding-top:16px; font-weight:800; font-size:17px; color:var(--teal-900);}
.empty-state{text-align:center; padding:80px 20px;}
.empty-state .ic{font-size:56px; margin-bottom:18px;}

/* ---------- Utility ---------- */
.text-center{text-align:center;}
.mt-0{margin-top:0;}
.badge-count{display:none;}
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ---------- Responsive ---------- */
/* ---------- Tablet / iPad breakpoint ---------- */
@media (max-width: 1100px){
  .product-grid{grid-template-columns:repeat(3,1fr);}
  .hero-stats{gap:22px;}
  .nav-links{gap:20px; font-size:14px;}
  .header-inner{padding:12px 20px;}
  .container{padding:0 22px;}
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-art{height:340px; order:-1;}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .feature-strip{grid-template-columns:repeat(2,1fr);}
  .testi-grid{grid-template-columns:1fr;}
  .split, .split.reverse{grid-template-columns:1fr;}
  .split.reverse .media{order:0;}
  .trust-band{grid-template-columns:1fr; padding:34px;}
  .cart-grid{grid-template-columns:1fr;}
  .ladder{flex-direction:column;}
  .ladder-step{border-right:none; border-bottom:1px dashed var(--line);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .pd-grid{grid-template-columns:1fr;}
}
@media (max-width: 860px){
  .nav-links{position:fixed; top:73px; left:0; right:0; bottom:0; background:#fff;
    flex-direction:column; padding:30px 28px; gap:22px; transform:translateX(100%);
    transition:transform .25s ease; z-index:40; font-size:17px;}
  .nav-links.open{transform:translateX(0);}
  .burger{display:block;}
  .header-actions .btn{display:none;}
}
@media (max-width: 720px){
  .product-grid{grid-template-columns:1fr 1fr;}
  .feature-strip{grid-template-columns:1fr;}
  .cta-band{flex-direction:column; align-items:flex-start;}
  .footer-grid{grid-template-columns:1fr;}
  .section{padding:52px 0;}
}
/* ---------- Growth lineup section wrapper ---------- */
.lineup-band{
  background:linear-gradient(180deg, var(--teal-100) 0%, var(--cream) 100%);
  border-radius:32px;
  padding:44px 30px 24px;
  position:relative;
  overflow:hidden;
}
.lineup-caption-row{
  display:flex; justify-content:space-between; max-width:640px; margin:14px auto 0; padding:0 4px;
}
.lineup-caption-row span{
  flex:1; text-align:center; font-family:var(--font-display); font-weight:700; font-size:12.5px; color:var(--teal-600);
}

/* ---------- Skill Tree animation ----------
   A trunk draws itself, then four branches — one per JellyJoy skill —
   grow outward and bloom into a card icon, hold, then reset and
   loop. Deliberately animates ONLY stroke-dashoffset, r and opacity:
   properties with no interaction with an element's own positioning,
   so nothing can snap to the wrong place mid-animation. */
.skill-tree{width:100%; height:auto; display:block; max-width:520px; margin:0 auto;}

.tt-trunk{stroke-dasharray:1; animation: ttTrunk 10s ease-in-out infinite;}
.tt-branch-1{stroke-dasharray:1; animation: ttBranch1 10s ease-in-out infinite;}
.tt-branch-2{stroke-dasharray:1; animation: ttBranch2 10s ease-in-out infinite;}
.tt-branch-3{stroke-dasharray:1; animation: ttBranch3 10s ease-in-out infinite;}
.tt-branch-4{stroke-dasharray:1; animation: ttBranch4 10s ease-in-out infinite;}

.tt-bud-1{animation: ttBud1 10s ease-in-out infinite;}
.tt-bud-2{animation: ttBud2 10s ease-in-out infinite;}
.tt-bud-3{animation: ttBud3 10s ease-in-out infinite;}
.tt-bud-4{animation: ttBud4 10s ease-in-out infinite;}

.tt-icon-1{animation: ttIcon1 10s ease-in-out infinite;}
.tt-icon-2{animation: ttIcon2 10s ease-in-out infinite;}
.tt-icon-3{animation: ttIcon3 10s ease-in-out infinite;}
.tt-icon-4{animation: ttIcon4 10s ease-in-out infinite;}

.tt-label-1{animation: ttLabel1 10s ease-in-out infinite;}
.tt-label-2{animation: ttLabel2 10s ease-in-out infinite;}
.tt-label-3{animation: ttLabel3 10s ease-in-out infinite;}
.tt-label-4{animation: ttLabel4 10s ease-in-out infinite;}

@keyframes ttTrunk{
  0%{stroke-dashoffset:1;} 20%{stroke-dashoffset:0;}
  89%{stroke-dashoffset:0;} 90%{stroke-dashoffset:1;} 100%{stroke-dashoffset:1;}
}
@keyframes ttBranch1{
  0%{stroke-dashoffset:1;} 22%{stroke-dashoffset:1;} 37%{stroke-dashoffset:0;}
  89%{stroke-dashoffset:0;} 90%{stroke-dashoffset:1;} 100%{stroke-dashoffset:1;}
}
@keyframes ttBranch2{
  0%{stroke-dashoffset:1;} 26%{stroke-dashoffset:1;} 41%{stroke-dashoffset:0;}
  89%{stroke-dashoffset:0;} 90%{stroke-dashoffset:1;} 100%{stroke-dashoffset:1;}
}
@keyframes ttBranch3{
  0%{stroke-dashoffset:1;} 30%{stroke-dashoffset:1;} 45%{stroke-dashoffset:0;}
  89%{stroke-dashoffset:0;} 90%{stroke-dashoffset:1;} 100%{stroke-dashoffset:1;}
}
@keyframes ttBranch4{
  0%{stroke-dashoffset:1;} 34%{stroke-dashoffset:1;} 49%{stroke-dashoffset:0;}
  89%{stroke-dashoffset:0;} 90%{stroke-dashoffset:1;} 100%{stroke-dashoffset:1;}
}
@keyframes ttBud1{
  0%{r:0;} 37%{r:0;} 40%{r:15;} 43%{r:11;}
  89%{r:11;} 90%{r:0;} 100%{r:0;}
}
@keyframes ttBud2{
  0%{r:0;} 41%{r:0;} 44%{r:15;} 47%{r:11;}
  89%{r:11;} 90%{r:0;} 100%{r:0;}
}
@keyframes ttBud3{
  0%{r:0;} 45%{r:0;} 48%{r:15;} 51%{r:11;}
  89%{r:11;} 90%{r:0;} 100%{r:0;}
}
@keyframes ttBud4{
  0%{r:0;} 49%{r:0;} 52%{r:15;} 55%{r:11;}
  89%{r:11;} 90%{r:0;} 100%{r:0;}
}
@keyframes ttIcon1{0%{opacity:0;} 43%{opacity:0;} 46%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttIcon2{0%{opacity:0;} 47%{opacity:0;} 50%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttIcon3{0%{opacity:0;} 51%{opacity:0;} 54%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttIcon4{0%{opacity:0;} 55%{opacity:0;} 58%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttLabel1{0%{opacity:0;} 46%{opacity:0;} 49%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttLabel2{0%{opacity:0;} 50%{opacity:0;} 53%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttLabel3{0%{opacity:0;} 54%{opacity:0;} 57%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}
@keyframes ttLabel4{0%{opacity:0;} 58%{opacity:0;} 61%{opacity:1;} 89%{opacity:1;} 90%{opacity:0;} 100%{opacity:0;}}

@media (prefers-reduced-motion: reduce){
  .tt-trunk,.tt-branch-1,.tt-branch-2,.tt-branch-3,.tt-branch-4{animation:none !important; stroke-dashoffset:0 !important;}
  .tt-bud-1,.tt-bud-2,.tt-bud-3,.tt-bud-4{animation:none !important; r:11 !important;}
  .tt-icon-1,.tt-icon-2,.tt-icon-3,.tt-icon-4,.tt-label-1,.tt-label-2,.tt-label-3,.tt-label-4{animation:none !important; opacity:1 !important;}
}
