  :root{
    --cream:#f1e6d5; --paper:#fffdf8; --ink:#2b2a33; --muted:#5c5a66;
    --teal:#5f9ea0; --teal-dk:#3f7c7e; --teal-lt:#d6e8e6;
    --yellow:#f7d462; --yellow-lt:#fdf1c4; --coral:#e2725b; --coral-dk:#c65640;
    --s:#4caf6e; --t:#3d8fd1; --e:#ef8a2f; --a:#a46bd1; --m:#e2525b;
    --line:#2b2a33; --radius:22px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{font-family:Nunito,system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6;font-size:17px}
  img{max-width:100%;display:block}
  a{color:inherit}
  .wrap{max-width:1140px;margin:0 auto;padding:0 24px}
  h1,h2,h3{font-family:Fredoka,Nunito,sans-serif;line-height:1.15;letter-spacing:-.01em}
  .stamp{font-family:"Special Elite",monospace;letter-spacing:.06em;text-transform:uppercase;font-size:.85rem;color:var(--muted)}

  /* faint doodle background (gears & magnifier) */
  body{background-image:
    radial-gradient(circle at 12% 18%, rgba(95,158,160,.10) 0 60px, transparent 61px),
    radial-gradient(circle at 88% 42%, rgba(247,212,98,.18) 0 80px, transparent 81px),
    radial-gradient(circle at 8% 78%, rgba(226,114,91,.10) 0 70px, transparent 71px);
    background-attachment:fixed}

  /* header */
  header{position:sticky;top:0;z-index:20;background:rgba(241,230,213,.92);backdrop-filter:blur(8px);border-bottom:2px dashed rgba(43,42,51,.15)}
  .nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:16px}
  .logo{display:flex;align-items:center;gap:10px;text-decoration:none}
  .logo-mark{width:48px;height:48px;object-fit:contain;transition:transform .2s}
  .logo:hover .logo-mark{transform:rotate(-8deg) scale(1.05)}
  .logo-text{font-family:Fredoka;font-weight:700;font-size:1.35rem;line-height:1}
  .logo-text small{display:block;font-family:"Special Elite";font-weight:400;font-size:.62rem;letter-spacing:.12em;color:var(--muted);margin-top:3px}
  .nav ul{display:flex;gap:26px;list-style:none;font-weight:700;font-size:.95rem}
  .nav ul a{text-decoration:none;opacity:.85}
  .nav ul a:hover{opacity:1;color:var(--teal-dk)}
  .btn{display:inline-flex;align-items:center;gap:8px;font-family:Fredoka;font-weight:600;font-size:1.05rem;padding:13px 24px;border-radius:999px;border:2.5px solid var(--line);text-decoration:none;cursor:pointer;transition:transform .15s, box-shadow .15s;box-shadow:0 4px 0 var(--line)}
  .btn:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--line)}
  .btn:active{transform:translateY(2px);box-shadow:0 2px 0 var(--line)}
  .btn-primary{background:var(--coral);color:#fff}
  .btn-ghost{background:var(--paper)}
  .btn-sm{padding:9px 18px;font-size:.95rem;box-shadow:0 3px 0 var(--line)}
  @media (max-width:860px){.nav ul{display:none}}

  /* hero */
  .hero{padding:72px 0 64px}
  .hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
  .case-tag{display:inline-flex;align-items:center;gap:10px;background:var(--yellow);border:2.5px solid var(--line);border-radius:10px;padding:6px 14px;font-family:"Special Elite";font-size:.85rem;letter-spacing:.08em;transform:rotate(-1.5deg);margin-bottom:22px}
  .hero h1{font-size:clamp(2.4rem,5.2vw,3.9rem);margin-bottom:20px}
  .hero h1 .hl{background:linear-gradient(transparent 60%, var(--yellow) 60%);padding:0 4px}
  .hero p.lead{font-size:1.2rem;color:var(--muted);max-width:33rem;margin-bottom:30px}
  .hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:28px}
  .hero-meta{display:flex;gap:22px;flex-wrap:wrap;font-weight:700;font-size:.95rem}
  .hero-meta span{display:flex;align-items:center;gap:7px}
  .dot{width:10px;height:10px;border-radius:50%;display:inline-block}
  .fan{position:relative;height:520px}
  .fan img{position:absolute;width:58%;border-radius:16px;border:3px solid var(--line);box-shadow:0 18px 40px rgba(43,42,51,.22);background:#fff;transition:transform .3s}
  .fan img:nth-child(1){left:0;top:50px;transform:rotate(-8deg)}
  .fan img:nth-child(2){left:21%;top:10px;transform:rotate(1deg);z-index:2}
  .fan img:nth-child(3){right:0;top:60px;transform:rotate(8deg);z-index:1}
  .fan:hover img:nth-child(1){transform:rotate(-11deg) translateX(-12px)}
  .fan:hover img:nth-child(3){transform:rotate(11deg) translateX(12px)}
  @media (max-width:900px){.hero-grid{grid-template-columns:1fr}.fan{height:420px;max-width:520px;margin:0 auto;width:100%}}

  /* steam strip */
  .steam{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:6px 0 10px}
  .chip{display:flex;align-items:center;gap:10px;background:var(--paper);border:2.5px solid var(--line);border-radius:999px;padding:7px 18px 7px 7px;font-weight:800}
  .chip b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-family:Fredoka;font-size:1.1rem;border:2px solid var(--line)}

  /* sections */
  section{padding:84px 0}
  .sec-head{text-align:center;max-width:680px;margin:0 auto 48px}
  .sec-head h2{font-size:clamp(2rem,4vw,2.8rem);margin:8px 0 14px}
  .sec-head p{color:var(--muted);font-size:1.1rem}
  .card{background:var(--paper);border:3px solid var(--line);border-radius:var(--radius);box-shadow:0 6px 0 rgba(43,42,51,.9)}

  /* how it works */
  .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;counter-reset:s}
  .step{padding:30px 26px 28px;position:relative}
  .step .num{position:absolute;top:-22px;left:24px;width:46px;height:46px;border-radius:50%;border:3px solid var(--line);display:grid;place-items:center;font-family:Fredoka;font-weight:700;font-size:1.3rem;background:var(--paper)}
  .step h3{font-size:1.45rem;margin:10px 0 8px}
  .step .bar{display:inline-block;font-family:Fredoka;font-weight:600;color:#fff;padding:4px 14px;border-radius:8px;border:2px solid var(--line);margin-top:4px;font-size:.95rem}
  .step p{color:var(--muted)}
  @media (max-width:860px){.steps{grid-template-columns:1fr;gap:40px}}

  /* habit band */
  .band{background:var(--teal);color:#fff;border-top:3px solid var(--line);border-bottom:3px solid var(--line)}
  .band-grid{display:grid;grid-template-columns:auto 1fr;gap:40px;align-items:center}
  .band h2{font-size:clamp(1.9rem,3.6vw,2.6rem);margin-bottom:12px}
  .band p{font-size:1.12rem;opacity:.95;max-width:44rem}
  .calendar{display:grid;grid-template-columns:repeat(7,38px);gap:7px;background:var(--paper);padding:16px;border-radius:16px;border:3px solid var(--line)}
  .calendar i{width:38px;height:38px;border-radius:9px;border:2px solid var(--line);background:#fff;display:grid;place-items:center;font-style:normal;font-family:Fredoka;color:var(--ink);font-size:.9rem}
  .calendar i.done{background:var(--yellow)}
  .calendar i.done::after{content:"✓";font-weight:700}
  @media (max-width:760px){.band-grid{grid-template-columns:1fr}.calendar{justify-self:start}}

  /* samples */
  .gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
  .gallery figure{cursor:zoom-in}
  .gallery img{border-radius:14px;border:3px solid var(--line);background:#fff;box-shadow:0 6px 0 rgba(43,42,51,.9);transition:transform .2s}
  .gallery figure:hover img{transform:translateY(-6px) rotate(-1deg)}
  .gallery figcaption{text-align:center;font-weight:700;margin-top:14px;font-size:.95rem}
  .gallery figcaption span{display:block;font-weight:600;color:var(--muted);font-size:.85rem}
  @media (max-width:900px){.gallery{grid-template-columns:repeat(2,1fr)}}
  .lightbox{position:fixed;inset:0;background:rgba(30,28,36,.82);display:none;align-items:center;justify-content:center;z-index:50;padding:24px;cursor:zoom-out}
  .lightbox.open{display:flex}
  .lightbox img{max-height:92vh;width:auto;border-radius:14px;border:3px solid #fff}

  /* book */
  .book{display:grid;grid-template-columns:.9fr 1.1fr;gap:0;overflow:hidden}
  .book-visual{background:var(--yellow);border-right:3px solid var(--line);padding:40px;display:grid;place-items:center;position:relative}
  .book-visual img{border-radius:12px;border:3px solid var(--line);transform:rotate(-3deg);box-shadow:0 14px 30px rgba(43,42,51,.25);max-height:440px;width:auto}
  .book-visual .sticker{position:absolute;top:22px;right:22px;background:var(--coral);color:#fff;border:3px solid var(--line);border-radius:50%;width:96px;height:96px;display:grid;place-items:center;text-align:center;font-family:Fredoka;font-weight:700;line-height:1.05;transform:rotate(10deg);font-size:.95rem}
  .book-body{padding:44px 44px 40px}
  .book-body h3{font-size:2rem;margin:6px 0 4px}
  .age{display:inline-block;background:var(--yellow-lt);border:2px solid var(--line);border-radius:8px;padding:3px 12px;font-weight:800;font-size:.9rem;margin:6px 0 16px}
  .book-body p{color:var(--muted);margin-bottom:18px}
  .inside{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:9px 20px;margin-bottom:28px}
  .inside li{display:flex;gap:9px;align-items:flex-start;font-weight:700;font-size:.97rem}
  .inside li::before{content:"";flex:0 0 18px;height:18px;margin-top:4px;border-radius:5px;border:2px solid var(--line);background:var(--teal-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%232b2a33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
  .fine{font-size:.85rem;color:var(--muted);margin-top:14px}
  @media (max-width:900px){.book{grid-template-columns:1fr}.book-visual{border-right:0;border-bottom:3px solid var(--line)}.inside{grid-template-columns:1fr}.book-body{padding:32px 26px}}

  /* helpers */
  .helpers{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
  .helper{padding:26px 22px}
  .helper .ico{width:52px;height:52px;border-radius:14px;border:2.5px solid var(--line);display:grid;place-items:center;margin-bottom:14px;font-size:1.6rem}
  .helper h3{font-size:1.2rem;margin-bottom:6px}
  .helper p{color:var(--muted);font-size:.97rem}
  @media (max-width:960px){.helpers{grid-template-columns:1fr 1fr}}
  @media (max-width:560px){.helpers{grid-template-columns:1fr}}

  /* signup */
  .signup{padding:50px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;background:var(--paper);position:relative;overflow:hidden}
  .signup::before{content:"CONFIDENTIAL";position:absolute;right:-30px;top:30px;transform:rotate(12deg);font-family:"Special Elite";font-size:2.2rem;color:rgba(226,114,91,.14);border:4px solid rgba(226,114,91,.14);padding:2px 16px;letter-spacing:.1em}
  .signup h2{font-size:clamp(1.8rem,3.4vw,2.4rem);margin:6px 0 12px}
  .signup p{color:var(--muted)}
  form{display:grid;gap:12px;position:relative}
  input[type=email],input[type=text]{font:inherit;padding:14px 18px;border:2.5px solid var(--line);border-radius:14px;background:#fff;width:100%}
  input:focus{outline:3px solid var(--yellow);outline-offset:1px}
  .consent{display:flex;gap:10px;font-size:.88rem;color:var(--muted);align-items:flex-start}
  .consent input{margin-top:5px;width:18px;height:18px;accent-color:var(--teal-dk);flex:0 0 auto}
  .form-msg{font-weight:700;color:var(--teal-dk);min-height:1.5em}
  @media (max-width:860px){.signup{grid-template-columns:1fr;padding:32px 26px}}

  /* about */
  .about{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
  .about h2{font-size:clamp(1.9rem,3.6vw,2.5rem);margin:6px 0 16px}
  .about p{color:var(--muted);margin-bottom:14px}
  .roadmap{padding:30px}
  .roadmap h3{font-size:1.3rem;margin-bottom:18px}
  .rung{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:2px dashed rgba(43,42,51,.15)}
  .rung:last-child{border-bottom:0}
  .rung .pill{font-family:Fredoka;font-weight:600;border:2px solid var(--line);border-radius:8px;padding:4px 12px;min-width:84px;text-align:center}
  .rung span{font-weight:700}
  .rung em{margin-left:auto;font-style:normal;font-size:.85rem;font-weight:800;color:var(--muted)}
  @media (max-width:860px){.about{grid-template-columns:1fr}}

  /* faq */
  .faq{max-width:820px;margin:0 auto;display:grid;gap:14px}
  .faq-item{padding:0;box-shadow:0 4px 0 rgba(43,42,51,.9)}
  .faq-item summary{cursor:pointer;list-style:none;padding:18px 56px 18px 24px;font-family:Fredoka;font-weight:600;font-size:1.15rem;position:relative}
  .faq-item summary::-webkit-details-marker{display:none}
  .faq-item summary::after{content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;background:var(--yellow);font-size:1.1rem;line-height:1}
  .faq-item[open] summary::after{content:"–"}
  .faq-item p{padding:0 24px 20px;color:var(--muted)}

  footer{background:var(--ink);color:#e9e5dc;padding:44px 0;margin-top:30px}
  .foot{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:center}
  footer a{color:#e9e5dc;text-decoration:none;opacity:.85}
  footer a:hover{opacity:1}
  .foot-links{display:flex;gap:22px;flex-wrap:wrap;font-weight:600;font-size:.95rem}
  .foot small{display:block;opacity:.6;margin-top:6px;font-size:.85rem}
