/* JANABO public site — colours taken from the JANABO logo (Brand Book, Nov 2026).
   Night background, JANABO Blue for structure and actions, JANABO Green for
   "the message got through" — the signal path, the tagline and live status. */
:root {
  --night: #070B18;
  --night-raised: #0F1629;
  --night-line: #1E2A45;
  --blue: #0057D2;
  --blue-light: #1E86F0;
  --blue-deep: #0046B0;
  --green: #5CB41E;
  --green-light: #7CC71F;
  --white: #FFFFFF;
  --mist: #A9B4C8;
  --radius: 12px;
  --wrap: 72rem;
  --display: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --text: 'Noto Sans Bengali', 'Hind Siliguri', system-ui, sans-serif;
  --latin: 'Exo 2', 'Noto Sans Bengali', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: #DCE3EF;
  font: 400 1.0625rem/1.75 var(--text);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-light); text-underline-offset: 3px; }
a:hover { color: var(--green-light); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* ---------- header / footer ---------- */
.top {
  max-width: var(--wrap); margin: 0 auto; padding: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap;
}
.brand img { width: 172px; }
.top nav { display: flex; gap: .25rem 1.25rem; flex-wrap: wrap; font-size: .975rem; }
.top nav a { text-decoration: none; color: var(--mist); padding: .3rem 0; border-bottom: 2px solid transparent; }
.top nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--green); }
.top nav a:hover { color: var(--white); }
.top nav .lang { color: var(--white); font-weight: 500; }

.foot {
  max-width: var(--wrap); margin: 5rem auto 0; padding: 2.5rem 1rem 3rem;
  border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  color: var(--mist); font-size: .925rem;
}
.foot p { margin: .35rem 0 0; }
.foot .foot-tag { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--green); margin-top: .75rem; }
.foot div:last-child { display: flex; gap: 1.25rem; align-items: flex-start; }
.foot a { color: var(--mist); }

main { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--white); margin: 0; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.2; }
h1 .l1 { display: block; }
h1 .l2 { display: block; color: var(--green); }
:lang(en) h1 { font-family: var(--latin); letter-spacing: -.01em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.3; margin-bottom: 1.5rem; }
:lang(en) h2 { font-family: var(--latin); }
h3 { font-family: var(--text); font-weight: 600; font-size: 1.125rem; line-height: 1.45; }
p { margin: 0; max-width: 64ch; }
.lede { font-size: 1.15rem; color: var(--mist); margin-top: 1.25rem; }
.note, .fine { color: var(--mist); font-size: .9rem; margin-top: 1rem; }
.fine { max-width: 52ch; }
.descriptor { font-family: var(--latin); font-weight: 500; font-size: .8rem; letter-spacing: .28em; color: var(--mist); margin: 0 0 1rem; }
:lang(bn) .descriptor { font-family: var(--text); letter-spacing: .08em; font-size: .9rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .7rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--blue-light);
  background: transparent; color: var(--white); font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
}
.btn:hover { background: rgba(30, 134, 240, .14); color: var(--white); }
.btn.primary { background: linear-gradient(135deg, var(--blue-light), var(--blue-deep)); border-color: transparent; }
.btn.primary:hover { background: linear-gradient(135deg, #3896F5, var(--blue)); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- hero: the signal path is the one bold element ---------- */
.hero { padding: 3rem 0 1rem; display: grid; gap: 2.5rem; }
.signal { margin: 0; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 20px; padding: 2rem clamp(1rem, 4vw, 2.75rem) 1.5rem; }
.signal svg { width: 100%; height: auto; overflow: visible; }
.signal .track { stroke: var(--night-line); stroke-width: 6; stroke-linecap: round; fill: none; }
.signal .lit { stroke: var(--green); stroke-width: 6; stroke-linecap: round; fill: none; stroke-dasharray: 480; stroke-dashoffset: 480; animation: travel 2.4s .4s ease-out forwards; }
.signal .node { fill: var(--night-raised); stroke: var(--night-line); stroke-width: 4; }
.signal .n1 { fill: var(--blue-light); stroke: var(--blue-light); }
.signal .n2 { animation: light 0s 1.6s forwards; }
.signal .n3 { animation: light 0s 2.8s forwards; }
.signal .pulse { fill: none; stroke: var(--blue-light); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out 3; }
.signal figcaption { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--mist); font-size: .95rem; margin-top: .75rem; }
.signal figcaption span:nth-child(2) { text-align: center; }
.signal figcaption span:nth-child(3) { text-align: right; color: var(--white); }
@keyframes travel { to { stroke-dashoffset: 0; } }
@keyframes light { to { fill: var(--green); stroke: var(--green); } }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .signal .lit { animation: none; stroke-dashoffset: 0; }
  .signal .n2, .signal .n3 { animation: none; fill: var(--green); stroke: var(--green); }
  .signal .pulse { display: none; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; padding-top: 4rem; }
}

/* ---------- bands ---------- */
.band { padding: 4rem 0 0; }
.page-head { padding: 3rem 0 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1rem; border-top: 3px solid var(--blue); }
.steps li::before { content: counter(s, bengali); display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--green); line-height: 1; margin-bottom: .6rem; }
:lang(en) .steps li::before { content: counter(s); font-family: var(--latin); }
.steps p { color: var(--mist); margin-top: .4rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.devices li { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 1.25rem; }
.devices li.live { border-color: rgba(92, 180, 30, .55); }
.devices p { color: var(--mist); margin-top: .35rem; font-size: .975rem; }
.devices .status { display: inline-block; font-size: .8rem; padding: .1rem .6rem; border-radius: 999px; margin-bottom: .6rem; background: rgba(169, 180, 200, .12); color: var(--mist); }
.devices .live .status { background: rgba(92, 180, 30, .16); color: var(--green-light); }

.divisions { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--night-line); }
.divisions li { display: grid; gap: .25rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--night-line); }
.divisions p { color: var(--mist); }
.divisions .status { font-size: .9rem; color: var(--green-light); font-weight: 500; }
@media (min-width: 760px) { .divisions li { grid-template-columns: 14rem 1fr 12rem; align-items: baseline; } .divisions .status { text-align: right; } }

.limits ul { margin: 0; padding: 1.5rem 1.5rem 1.5rem 2.75rem; background: var(--night-raised); border: 1px solid var(--night-line); border-left: 4px solid var(--blue); border-radius: var(--radius); max-width: 52rem; }
.limits li { margin: .4rem 0; }
.limits li::marker { color: var(--blue-light); }

.partner-teaser { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.partner-teaser h2 { margin-bottom: .75rem; }
.partner-teaser p { color: var(--mist); }

.categories { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.categories li { padding: 1.25rem; border: 1px solid var(--night-line); border-radius: var(--radius); background: var(--night-raised); }
.categories p { color: var(--mist); margin-top: .35rem; }
@media (min-width: 760px) { .categories { grid-template-columns: repeat(2, 1fr); } }

.journey { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: j; }
.journey li { counter-increment: j; display: flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .5rem; border-radius: 999px; background: var(--night-raised); border: 1px solid var(--night-line); font-size: .95rem; }
.journey li::before { content: counter(j, bengali); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: .85rem; }
.journey li:last-child::before { background: var(--green); }
:lang(en) .journey li::before { content: counter(j); }

/* ---------- forms ---------- */
.form-band { max-width: 46rem; }
.form { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full, .form .btn { grid-column: 1 / -1; } .form .btn { justify-self: start; } }
.field { display: grid; gap: .35rem; font-size: .95rem; font-weight: 500; color: var(--white); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.5 var(--text); color: var(--white); background: var(--night-raised);
  border: 1.5px solid var(--night-line); border-radius: 10px; padding: .65rem .8rem; min-height: 48px; width: 100%;
}
.field select option { background: var(--night-raised); }
.field input::placeholder { color: #66728A; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-light); outline: 3px solid rgba(30, 134, 240, .35); outline-offset: 0; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--mist); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .3rem; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem; }
.flash.ok { background: rgba(92, 180, 30, .14); color: #CDEFB4; border-left: 4px solid var(--green); }
.flash.err { background: rgba(240, 160, 30, .12); color: #F7D9A6; border-left: 4px solid #F0A01E; }

.prose p { margin-bottom: 1rem; }

/* ---------- v0.2: commerce, plans, Happiness ---------- */
.btn.small { min-height: 38px; padding: .4rem 1rem; font-size: .9rem; }
.top nav { align-items: center; }
.muted { color: var(--mist); }
.small { font-size: .875rem; }

.pgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.pgrid.two { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.pcard { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.pcard.live { border-color: rgba(92, 180, 30, .5); }
.pimg { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #16234A, #0B1122); display: grid; place-items: center; }
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.ph span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--night-line); color: var(--mist); font: 700 1.8rem var(--display); }
.pbody { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pbody p { color: var(--mist); font-size: .975rem; }
.pbody .btn { margin-top: auto; align-self: flex-start; }
.tag { align-self: flex-start; font-size: .78rem; padding: .1rem .6rem; border-radius: 999px; background: rgba(169, 180, 200, .12); color: var(--mist); }
.pcard.live .tag { background: rgba(92, 180, 30, .16); color: var(--green-light); }
.price { font: 700 1.5rem var(--display); color: var(--white) !important; }
.price small { font: 400 .8rem var(--text); color: var(--mist); }
.price.soon { font-size: 1rem; color: var(--mist) !important; }
.ticks { list-style: none; margin: .25rem 0; padding: 0; display: grid; gap: .3rem; }
.ticks li { padding-left: 1.5rem; position: relative; color: #DCE3EF; font-size: .95rem; }
.ticks li::before { content: ''; position: absolute; left: .2rem; top: .55em; width: .55rem; height: .3rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.benefits li { border-top: 2px solid var(--blue); padding-top: 1rem; }
.benefits p { color: var(--mist); margin-top: .35rem; }
.benefits em { color: var(--green-light); font-style: normal; font-size: .85rem; }

.split { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.split h2 { margin-bottom: .5rem; }

.happiness-band, .give-band, .city { background: linear-gradient(160deg, #0E1B3A, #0A1424); border: 1px solid var(--night-line); border-radius: 20px; padding: 2.5rem clamp(1rem, 4vw, 3rem); margin-top: 4rem; }
.values { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.values li { background: rgba(7, 11, 24, .55); border: 1px solid var(--night-line); border-radius: 12px; padding: 1rem 1.1rem; }
.values h3 { color: var(--green-light); }
.values p { color: var(--mist); margin-top: .3rem; font-size: .95rem; }
.give { font-size: 1.05rem; margin: 1rem 0 1.25rem; }
.give strong { color: var(--green-light); }
.callout { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--green); background: rgba(92, 180, 30, .08); border-radius: 0 10px 10px 0; max-width: 60rem; }

.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.tiers > li { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.tiers > li.featured { border-color: var(--blue-light); box-shadow: 0 0 0 1px var(--blue-light) inset; }
.tiers .fee { font: 700 1.1rem var(--display); color: var(--green-light); }
.tiers > li > p { color: var(--mist); }
.tiers.compact > li { padding: 1.1rem 1.25rem; }

.soon-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.soon-grid li { border: 1px dashed var(--night-line); border-radius: 12px; padding: .9rem 1rem; display: grid; gap: .2rem; }
.soon-grid span { color: var(--mist); font-size: .875rem; }

.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.plan { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 16px; padding: 1.5rem; }
.plan.featured { border-color: var(--green); }
.plan table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.plan th, .plan td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--night-line); }
.plan th { color: var(--mist); font-weight: 500; font-size: .875rem; }
.plan td strong { color: var(--white); }
.calc { max-width: 46rem; }
.calcform { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important; }
.total { font: 600 1.15rem var(--display); color: var(--green-light); margin-top: 1rem; min-height: 1.5em; }

.courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.courses a { display: flex; flex-direction: column; gap: .35rem; height: 100%; text-decoration: none; color: inherit; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 14px; padding: 1.25rem; }
.courses a:hover { border-color: var(--blue-light); color: inherit; }
.courses .lvl { font-size: .8rem; color: var(--blue-light); }
.courses p { color: var(--mist); font-size: .95rem; }
.courses .free { margin-top: auto; align-self: flex-start; font-size: .8rem; padding: .1rem .6rem; border-radius: 999px; background: rgba(92, 180, 30, .16); color: var(--green-light); }
.lessons { margin: 0; padding-left: 1.25rem; display: grid; gap: 1.25rem; max-width: 46rem; }
.lessons li::marker { color: var(--green); font-weight: 700; }
.lessons p { color: var(--mist); margin-top: .3rem; }
@media (max-width: 720px) { .top nav { gap: .25rem .9rem; font-size: .9rem; } }
.ph img { width: 96px; height: 96px; opacity: .22; }

/* v0.3 — customer account, progress, Legacy */
form.inline { display: inline-block; margin: .5rem .5rem 0 0; }
.ok-badge, .warn-badge { font-size: .8rem; padding: .1rem .6rem; border-radius: 999px; }
.ok-badge { background: rgba(92, 180, 30, .18); color: #CDEFB4; }
.warn-badge { background: rgba(240, 160, 30, .16); color: #F7D9A6; }
.progress, .orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 46rem; }
.progress a { display: flex; gap: .75rem; align-items: baseline; color: var(--white); text-decoration: none; }
.progress .lvl { color: var(--green-light); font-size: .85rem; }
.progress small { color: var(--mist); }
.bar { height: 8px; border-radius: 999px; background: var(--night-line); overflow: hidden; margin: .4rem 0 .2rem; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-light), var(--green)); }
.orders li { padding: .75rem 1rem; background: var(--night-raised); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.lessons li.done h3::after { content: ' ✓'; color: var(--green-light); }
table.simple { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
table.simple th, table.simple td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--night-line); vertical-align: top; }
table.simple small { color: var(--mist); }
blockquote.decl { margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: var(--night-raised); border-left: 4px solid var(--blue-light); border-radius: 8px; max-width: 46rem; }
blockquote.decl p { margin: .35rem 0; white-space: pre-wrap; }
button[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) { table.simple thead { display: none; } table.simple td { display: block; border: 0; padding: .2rem 0; } table.simple tr { display: block; padding: .75rem 0; border-bottom: 1px solid var(--night-line); } }

/* v0.3.6 — mobile header: logo, quick order, hamburger */
.order-quick, .nav-btn { display: none; }
@media (max-width: 860px) {
  .top { flex-wrap: nowrap; padding: .75rem 1rem; position: relative; }
  .brand { margin-right: auto; }
  .brand img { width: 132px; height: auto; }
  .order-quick { display: inline-flex; }
  .nav-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--night-line); border-radius: 10px; cursor: pointer; }
  .nav-btn i { display: grid; gap: 4px; }
  .nav-btn span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle:checked + .nav-btn i { display: none; }
  .nav-toggle:checked + .nav-btn::after { content: '✕'; color: var(--white); font-size: 1.2rem; line-height: 1; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; background: var(--night-raised); border-bottom: 1px solid var(--night-line); box-shadow: 0 12px 24px rgba(0,0,0,.4); font-size: 1.05rem; }
  .nav-toggle:checked ~ nav { display: flex; }
  .top nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--night-line); text-align: left; }
  .top nav a[aria-current="page"] { border-bottom-color: var(--night-line); color: var(--green-light); }
  .top nav .btn { display: none; }
  .top nav .lang { border-bottom: 0; }
}

/* v0.3.6 — home: pillars, steps, starter, footer links */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.pillars li { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 16px; padding: 1.5rem 1.4rem; }
.pillars li.kids { border-top: 3px solid var(--green); }
.pillars li.home { border-top: 3px solid var(--blue-light); }
.pillars li.community { border-top: 3px solid var(--green-light); }
.pillars .pic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(30, 134, 240, .14); color: var(--blue-light); font-size: 1.4rem; margin-bottom: .9rem; }
.pillars .kids .pic { background: rgba(92, 180, 30, .16); color: var(--green-light); }
.pillars h3 { font-size: 1.2rem; }
.pillars p { color: var(--mist); margin-top: .5rem; line-height: 1.75; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 1rem 0 0 3.4rem; }
.steps li::before { content: counter(s, bengali); position: absolute; left: 0; top: .9rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 700; }
.steps p { color: var(--mist); margin-top: .3rem; }
.starter { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.starter a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-radius: 12px; background: var(--night-raised); border: 1px solid var(--night-line); color: var(--white); text-decoration: none; }
.starter a:hover { border-color: var(--blue-light); }
.starter .sn { font-weight: 600; }
.starter .sp { color: var(--green-light); white-space: nowrap; }
.happiness-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2rem; }
.foot .foot-links div { display: grid; gap: .45rem; align-content: start; }
.foot-links h4 { margin: 0 0 .25rem; color: var(--white); font-size: .95rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 640px) { .foot { flex-direction: column; } .foot-links { gap: 1.5rem; } }

/* v0.4 — portals, referral, payment */
.share-card { display: grid; gap: 1rem; padding: 1.25rem; border-radius: 16px; background: linear-gradient(135deg, rgba(0, 87, 210, .22), rgba(92, 180, 30, .12)); border: 1px solid var(--night-line); }
.share-card .code { display: block; font-family: 'Exo 2', var(--display); font-size: 1.8rem; letter-spacing: .12em; color: var(--white); }
.share-link code { display: block; margin-top: .25rem; padding: .6rem .75rem; border-radius: 10px; background: rgba(7, 11, 24, .6); color: var(--mist); overflow-wrap: anywhere; font-size: .9rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.kpi-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin-top: 1rem; }
.kpi-d { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 14px; padding: 1rem; display: grid; gap: .2rem; }
.kpi-d span, .kpi-d small { color: var(--mist); font-size: .85rem; }
.kpi-d strong { font-size: 1.5rem; color: var(--white); }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.olist li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .8rem 1rem; background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 12px; }
.olist li > div { display: grid; gap: .15rem; min-width: 0; }
.olist small { color: var(--mist); overflow-wrap: anywhere; }
.olist a { color: var(--blue-light); }
.split2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: start; }
.card-form { background: var(--night-raised); border: 1px solid var(--night-line); border-radius: 16px; padding: 1.25rem; grid-template-columns: 1fr !important; }
.card-form h2 { margin: 0 0 .25rem; font-size: 1.15rem; }
.callout { background: var(--night-raised); border: 1px solid var(--night-line); border-left: 4px solid var(--green); border-radius: 14px; padding: 1.25rem; }
.facts-d { list-style: none; margin: 0 0 1.25rem; padding: 0; max-width: 34rem; }
.facts-d li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--night-line); }
.facts-d li span { color: var(--mist); }
.facts-d li.big strong { font-size: 1.5rem; color: var(--green-light); }
.orders li { flex-wrap: wrap; }
.orders .muted { font-size: .85rem; }

/* v0.4.1 — video lessons, quiz, certificate */
.video { position: relative; aspect-ratio: 16 / 9; margin: .75rem 0; border-radius: 12px; overflow: hidden; background: #000; max-width: 46rem; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.quiz-cta .btn { margin-top: .75rem; }
.quiz { display: grid; gap: 1rem; max-width: 46rem; }
.quiz .q { border: 1px solid var(--night-line); border-radius: 14px; padding: 1rem 1.1rem; background: var(--night-raised); margin: 0; display: grid; gap: .5rem; }
.quiz legend { font-weight: 600; padding: 0 .3rem; color: var(--white); }
.quiz .opt { display: flex; gap: .65rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--night-line); cursor: pointer; }
.quiz .opt:has(input:checked) { border-color: var(--blue-light); background: rgba(30, 134, 240, .12); }
.quiz .opt input { width: 1.15rem; height: 1.15rem; accent-color: var(--green); }
.answers { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; max-width: 46rem; }
.answers li { padding: .9rem 1rem; border-radius: 12px; background: var(--night-raised); border-left: 4px solid var(--green); }
.answers li.wrong { border-left-color: #F0A01E; }
.answers p { margin: .3rem 0 0; color: var(--mist); }
.certs { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.cert-chip { display: grid; gap: .15rem; padding: .85rem 1.1rem; border-radius: 12px; background: linear-gradient(135deg, rgba(92, 180, 30, .2), rgba(0, 87, 210, .2)); border: 1px solid var(--night-line); color: var(--white); text-decoration: none; }
.cert-chip small { color: var(--mist); }
.cert { max-width: 52rem; margin: 0 auto; background: #FFFDF7; color: #1B2433; border-radius: 6px; padding: 3rem 2.5rem; text-align: center; border: 10px double #5CB41E; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.cert img { width: 170px; height: auto; }
.cert-kicker { margin: 1.75rem 0 .25rem; color: #586579; letter-spacing: .05em; }
.cert-name { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.8rem); color: #0046B0; margin: .25rem 0 1rem; border-bottom: 2px solid #A9C8F5; display: inline-block; padding: 0 1.5rem .35rem; }
.cert-line { max-width: 38rem; margin: 0 auto; line-height: 1.9; color: #1B2433; }
.cert-title { margin: 1.5rem 0; color: #3E8E12; font-size: 1.4rem; }
.cert-foot { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cert-foot div { display: grid; gap: .2rem; }
.cert-foot span { color: #586579; font-size: .85rem; }
.cert-verify { margin-top: 1.5rem; font-size: .8rem; color: #586579; overflow-wrap: anywhere; }
.noprint { margin-top: 1.25rem; justify-content: center; }
@media print {
  body { background: #fff !important; }
  .top, .foot, .noprint, [data-piniola-chat] { display: none !important; }
  .band { padding: 0 !important; }
  .cert { box-shadow: none; margin: 0; }
}

/* v0.5 — cloud upsell, offers, plan picker */
.offer-card, .upsell-card { border-radius: 16px; padding: 1.25rem 1.3rem; margin-bottom: 1rem; border: 1px solid var(--night-line); }
.offer-card { background: linear-gradient(135deg, rgba(92, 180, 30, .28), rgba(0, 87, 210, .25)); border-color: rgba(124, 199, 31, .5); }
.upsell-card { background: var(--night-raised); border-left: 4px solid var(--blue-light); }
.offer-card h3, .upsell-card h3 { margin: .25rem 0 .4rem; }
.offer-card p, .upsell-card p { color: var(--mist); margin: 0 0 .9rem; }
.offer-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .03em; color: #0A1A05; background: var(--green-light); padding: .15rem .6rem; border-radius: 999px; }
.olist li.optional { border-style: dashed; }
.olist small.gift { color: var(--green-light); }
.plan-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.plan-box { border: 1px solid var(--night-line); border-radius: 14px; padding: 1rem; margin: 0; background: var(--night-raised); display: grid; gap: .5rem; }
.plan-box legend { font-weight: 700; color: var(--white); padding: 0 .3rem; }
.plan-box legend small { color: var(--mist); font-weight: 400; }
.plan-box .opt { display: flex; gap: .65rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--night-line); cursor: pointer; }
.plan-box .opt:has(input:checked) { border-color: var(--green); background: rgba(92, 180, 30, .12); }
.plan-box .opt span { display: grid; gap: .1rem; }
.plan-box .opt small { color: var(--mist); }
.plan-box .opt input { accent-color: var(--green); width: 1.1rem; height: 1.1rem; }
.row-inline { display: flex !important; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.row-inline .field { min-width: 10rem; }

/* Delivery + money-back promise, legal pages */
.promise { margin-top: .9rem; font-weight: 600; color: var(--green-light); }
.promise a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form .promise { font-weight: 500; font-size: .92rem; }
.foot .foot-promise { font-size: .85rem; opacity: .85; margin-top: .3rem; }
.prose h2 { margin: 1.6rem 0 .6rem; font-size: 1.15rem; }
.biz { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; }
.biz dt { font-weight: 600; }
@media (max-width: 640px) { .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
