/* =========================================================
   Watt & Why — innovative.land
   Palette : deep indigo night, signal amber, trace blue
   Type    : Bricolage Grotesque (display) / IBM Plex Sans (body)
             IBM Plex Mono (labels, data)
   ========================================================= */

:root {
  --ink:      #0E0B1F;
  --ink-2:    #16112F;
  --ink-3:    #241C52;
  --paper:    #F3F0FF;
  --muted:    #A099CE;
  --signal:   #FFC24B;
  --trace:    #7FB2FF;

  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --wrap: 1120px;
  --pad:  clamp(1.25rem, 5vw, 3rem);
  --r:    14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 500px at 15% -10%, rgba(127,178,255,.13), transparent 60%),
    radial-gradient(700px 420px at 92% 4%, rgba(255,194,75,.10), transparent 65%);
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }
a   { color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem;
  z-index: 99;
  background: var(--signal);
  color: var(--ink);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

/* ---------- masthead ---------- */

.masthead {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--signal);
}
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--paper);
}
.brand__name em { color: var(--signal); font-style: normal; }
.brand__eye { transform-origin: center; }
.brand:hover .brand__eye { animation: blink .5s steps(1, end); }
.brand:hover .brand__eye--b { animation-delay: .08s; }
@keyframes blink { 0%,100% { opacity: 1 } 40% { opacity: .15 } }

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: .95rem;
}
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--paper); }
.nav .btn { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--signal);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #FFD37B; border-color: #FFD37B; }
.btn--sm    { padding: .45rem 1rem; font-size: .9rem; }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--ink-3); }
.btn--ghost:hover { background: transparent; border-color: var(--trace); color: var(--trace); }

/* ---------- shared section furniture ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.block { padding-block: clamp(3.5rem, 8vw, 6rem); }
.block + .block { border-top: 1px solid var(--ink-3); }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--trace);
  margin: 0 0 .9rem;
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 .8rem;
}

.lede { color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 7vw, 5rem); }

.hero__label {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.hero__label b { color: var(--signal); font-weight: 500; }

.hero__q {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 7.2vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  margin: 0;
  max-width: 17ch;
  min-height: 3.15em;
}
.hero__q span { position: relative; }
.hero__q .mark { color: var(--signal); }
.hero__text { transition: opacity .35s ease; }
.hero__text.fade { opacity: 0; }

.hero__caret {
  display: inline-block;
  width: .06em;
  height: .82em;
  background: var(--signal);
  vertical-align: -.06em;
  margin-left: .1em;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 0%,50% { opacity: 1 } 51%,100% { opacity: 0 } }

.hero__answer {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 54ch;
  margin: 1.8rem 0 2.2rem;
}
.hero__answer strong { color: var(--paper); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.featurewrap { margin-top: .4rem; margin-bottom: 15rem; }

.feature {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .18s ease, transform .18s ease;
}
.feature:hover { border-color: var(--signal); transform: translateY(-3px); }
.feature__tag {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--trace);
  padding: .9rem 1.1rem .1rem;
}
.feature__shot { aspect-ratio: 16 / 9; margin: .8rem 0 0; background: var(--ink-3); overflow: hidden; }
.feature__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature__q {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0;
  padding: 1rem 1.1rem 1.2rem;
}

.hero__meta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--muted);
}
.hero__meta b { display: block; color: var(--paper); font-weight: 500; font-size: .95rem; }

/* ---------- episode grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.grid--shorts { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card__shot--tall { aspect-ratio: 9 / 16; }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.tabs__t {
  display: inline-block;
  padding: .45rem 1rem;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: .9rem;
}
.tabs__t:hover { color: var(--paper); border-color: var(--trace); }
.tabs__t.on { background: var(--signal); color: var(--ink); border-color: var(--signal); font-weight: 600; }

/* transcript */
.muted-note {
  background: var(--ink-2);
  border: 1px dashed var(--ink-3);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: .95rem;
}
.transcript { margin: 2.5rem 0; }
.transcript > summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  color: var(--signal);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--ink-3);
}
.transcript > summary::-webkit-details-marker { display: none; }
.transcript > summary::after { content: "+"; font-family: var(--mono); }
.transcript[open] > summary::after { content: "\2212"; }
.transcript__body { padding-top: 1.2rem; }
.transcript__body p { color: var(--muted); }
.transcript__note {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted);
  margin-top: 1.4rem;
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--signal); transform: translateY(-3px); }

.card__link { text-decoration: none; color: inherit; display: block; }

.card__shot { position: relative; aspect-ratio: 16 / 9; background: var(--ink-3); }
.card__shot img { width: 100%; height: 100%; object-fit: cover; }
.card__play {
  position: absolute;
  inset: auto .7rem .7rem auto;
  background: rgba(14,11,31,.82);
  color: var(--signal);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  padding: .25rem .55rem;
  border-radius: 6px;
}

.card__body { padding: 1.1rem 1.15rem 1.3rem; }
.card__q {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0 0 .6rem;
}
.card__date {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.empty {
  border: 1px dashed var(--ink-3);
  border-radius: var(--r);
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- three-up pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.pillar__t {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
  color: var(--signal);
}
.pillar p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--ink-3); }
.faq details {
  border-bottom: 1px solid var(--ink-3);
  padding: 1.15rem 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--signal); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: .8rem 0 0; max-width: 68ch; }

/* ---------- closing CTA ---------- */

.cta {
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 22px;
  padding: clamp(2.2rem, 6vw, 3.6rem);
  margin: clamp(3rem, 7vw, 5rem) 0;
}
.cta .h2 { margin-inline: auto; max-width: 18ch; }
.cta .lede { margin-inline: auto; text-align: center; }

/* ---------- article ---------- */

.article { max-width: 44rem; margin-inline: auto; padding-block: 3rem 4rem; }
.article h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: .4rem 0 1rem;
}
.article h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  margin: 2.6rem 0 .7rem;
  color: var(--signal);
}
.article p  { margin: 0 0 1.15rem; }
.article ul { margin: 0 0 1.15rem; padding-left: 1.2rem; }
.article li { margin-bottom: .45rem; }
.article a  { color: var(--trace); }
.article .btn { color: var(--ink); }
.article .btn--ghost { color: var(--paper); }
.article .btn--ghost:hover { color: var(--trace); }
.article .byline {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.article .pull {
  border-left: 3px solid var(--signal);
  padding-left: 1.2rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.answer-box {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-left: 4px solid var(--signal);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0 2.4rem;
}
.answer-box p:last-child { margin-bottom: 0; }
.answer-box .label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 .5rem;
}
.sources { font-size: .94rem; }
.sources li { margin-bottom: .7rem; color: var(--muted); }
.sources a { color: var(--trace); }
.updated {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
  border-top: 1px solid var(--ink-3);
  padding-top: 1rem;
  margin-top: 2.5rem;
}

.article .embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--ink-3);
  margin: 2rem 0;
}
.article .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--ink-3);
  padding: 3rem var(--pad) 2rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
}
.footer__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 .5rem;
}
.footer__mark em { color: var(--signal); font-style: normal; }
.footer__line { color: var(--muted); font-size: .92rem; max-width: 42ch; margin: 0; }
.footer__head {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--trace);
  margin: 0 0 .7rem;
}
.footer nav a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  margin-bottom: .4rem;
}
.footer nav a:hover { color: var(--paper); }
.footer__legal {
  margin: 2.5rem 0 0;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; }
  .nav { gap: 1rem; font-size: .9rem; width: 100%; justify-content: flex-start; }
  .hero__q { max-width: none; min-height: 2.95em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================
   Learning platform: courses, quizzes, profile, leaderboard
   ========================================================= */

.chip {
  display: inline-block;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 2rem;
}
.chip a { color: var(--trace); }

.bar { height: 7px; background: var(--ink-3); border-radius: 4px; overflow: hidden; margin: .7rem 0 .4rem; }
.bar span { display: block; height: 100%; background: var(--signal); border-radius: 4px; }
.progress { max-width: 30rem; margin: 1.5rem 0 2rem; }
.progress .muted { font-size: .88rem; margin: 0; }

.list { list-style: none; padding: 0; margin: 0; }
.list__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--ink-3); flex-wrap: wrap;
}
.list__row a { color: var(--paper); text-decoration: none; font-weight: 500; }
.list__row a:hover { color: var(--signal); }
.list__row .muted { color: var(--muted); font-size: .88rem; }

/* lessons */
.lessons { list-style: none; counter-reset: l; padding: 0; margin: 0; }
.lesson {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--ink-3);
}
.lesson__n {
  flex: 0 0 2rem; height: 2rem; display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 50%;
  font-family: var(--mono); font-size: .8rem; color: var(--muted);
}
.lesson__main { flex: 1 1 auto; min-width: 0; }
.lesson__t { color: var(--paper); text-decoration: none; font-weight: 500; }
.lesson__t:hover { color: var(--signal); }
.lesson__meta { margin: .15rem 0 0; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.lesson--done .lesson__t { color: var(--muted); }
.lesson--done .lesson__n { border-color: var(--signal); color: var(--signal); }
.lesson__tick { margin: 0; }
.tick {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: transparent; border: 1px solid var(--ink-3);
  color: var(--ink); cursor: pointer; font-size: .95rem; line-height: 1;
}
.tick:hover { border-color: var(--signal); }
.tick--on { background: var(--signal); border-color: var(--signal); }

/* quiz */
.quizwrap { max-width: 44rem; }
.qblock { border: 1px solid var(--ink-3); border-radius: 14px; padding: 1.2rem 1.3rem; margin: 0 0 1.2rem; background: var(--ink-2); }
.qblock { padding-top: 1.3rem; }
.qblock legend, .qr {
  font-family: var(--display); font-weight: 500; font-size: 1.1rem;
  letter-spacing: -.01em; margin: 0 0 .9rem;
  display: block; float: left; width: 100%; padding: 0;
}
.qblock legend + label { clear: both; }
.qnum {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem;
  background: var(--ink-3); border-radius: 50%; font-family: var(--mono);
  font-size: .75rem; color: var(--signal); margin-right: .5rem; vertical-align: .05em;
}
.opt {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .6rem .8rem; border: 1px solid transparent; border-radius: 10px; cursor: pointer;
}
.opt:hover { background: var(--ink); border-color: var(--ink-3); }
.opt input { margin-top: .35rem; accent-color: var(--signal); }
.qblock--ok { border-color: rgba(95,211,154,.5); }
.qblock--no { border-color: rgba(255,138,138,.45); }
.answers { list-style: none; padding: 0; margin: 0; }
.answers li { padding: .45rem .7rem; border-radius: 8px; color: var(--muted); font-size: .95rem; }
.a-right { background: rgba(95,211,154,.12); color: var(--paper); }
.a-wrong { background: rgba(255,138,138,.12); color: var(--paper); }
.tagok, .tagno { font-family: var(--mono); font-size: .68rem; padding: .08rem .4rem; border-radius: 5px; margin-left: .4rem; }
.tagok { background: #5FD39A; color: var(--ink); }
.tagno { background: #FF8A8A; color: var(--ink); }
.why { margin: .9rem 0 0; font-size: .92rem; color: var(--muted); border-left: 2px solid var(--signal); padding-left: .9rem; }

.scorecard { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 18px; padding: 2rem; text-align: center; margin: 0 0 2rem; }
.scorecard--pass { border-color: var(--signal); }
.scorecard__pct { font-family: var(--display); font-weight: 800; font-size: clamp(3rem,10vw,4.5rem); line-height: 1; margin: 0; letter-spacing: -.04em; }
.scorecard--pass .scorecard__pct { color: var(--signal); }
.scorecard__sub { color: var(--muted); margin: .6rem 0 0; }
.quizactions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; }

/* profile */
.profilewrap { max-width: 44rem; }
.panel { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: 1.4rem; margin: 1.2rem 0; }
.panel--quiet { background: transparent; }
.panel--quiet summary { cursor: pointer; color: var(--muted); }
.panel--warn { border-color: var(--signal); }
.lbl { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--trace); margin: 0 0 .3rem; }
.inp { width: 100%; background: var(--ink); border: 1px solid var(--ink-3); border-radius: 10px; color: var(--paper); font: inherit; padding: .7rem .9rem; margin-bottom: 1rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.consent input { margin-top: .3rem; accent-color: var(--signal); }
.code { font-family: var(--mono); font-size: .9rem; word-break: break-all; background: var(--ink); border: 1px dashed var(--ink-3); border-radius: 9px; padding: .8rem; color: var(--signal); }
.btn--danger { background: transparent; border-color: #FF8A8A; color: #FF8A8A; }
.btn--danger:hover { background: #FF8A8A; border-color: #FF8A8A; color: var(--ink); }
.err { color: #FF8A8A; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit,minmax(128px,1fr)); gap: .9rem; margin: 1.5rem 0; }
.kpi { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 1rem 1.1rem; }
.kpi b { display: block; font-family: var(--mono); font-size: 1.8rem; line-height: 1.1; }
.kpi span { font-size: .73rem; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; }

/* leaderboard */
.board { list-style: none; padding: 0; margin: 0; counter-reset: b; }
.board__row { display: flex; align-items: center; gap: 1rem; padding: .95rem .9rem; border-bottom: 1px solid var(--ink-3); border-radius: 10px; }
.board__row--me { background: var(--ink-2); border: 1px solid var(--signal); }
.board__rank { flex: 0 0 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; font-family: var(--mono); font-size: .9rem; background: var(--ink-3); color: var(--muted); }
.board__rank--1 { background: var(--signal); color: var(--ink); font-weight: 600; }
.board__rank--2 { background: #C9D2E8; color: var(--ink); font-weight: 600; }
.board__rank--3 { background: #C98B5A; color: var(--ink); font-weight: 600; }
.board__name { flex: 1 1 auto; font-weight: 500; min-width: 0; }
.board__meta { color: var(--muted); font-size: .85rem; font-family: var(--mono); }
.board__pts { font-family: var(--mono); font-size: 1.15rem; color: var(--signal); min-width: 3.5rem; text-align: right; }

/* ---------- quiz intro, timer and artwork ---------- */

.quizhero { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.quizhero > div { flex: 1 1 18rem; }
.quizart { width: 210px; height: 175px; flex: 0 0 auto; }
@media (max-width: 620px) { .quizart { width: 160px; height: 134px; } }

.rules { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.rules li {
  position: relative; padding: .55rem 0 .55rem 1.6rem;
  border-bottom: 1px solid var(--ink-3); color: var(--muted);
}
.rules li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
}
.rules strong { color: var(--paper); }

.warnbar {
  background: rgba(255,194,75,.1);
  border: 1px solid var(--signal);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  color: var(--paper);
  font-weight: 500;
  margin: 0 0 1.6rem;
}

.btn--big { padding: 1rem 2.2rem; font-size: 1.05rem; }

.timer {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: 12px; padding: .8rem 1.1rem; margin: 0 0 1.6rem;
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
}
.timer__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); }
.timer__clock { font-family: var(--mono); font-size: 1.5rem; color: var(--signal); font-weight: 500; }
.timer__bar { flex: 1 1 8rem; height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.timer__bar span { display: block; height: 100%; width: 100%; background: var(--signal); border-radius: 3px;
  transition: width 1s linear; }
.timer--warn .timer__clock { color: #FF8A8A; }
.timer--warn .timer__bar span { background: #FF8A8A; }
.timer--warn { border-color: #FF8A8A; }

.resultart { width: 104px; height: 104px; display: block; margin: 0 auto .4rem; }

.quizthumb {
  position: relative; flex: 0 0 auto; width: 260px; display: block;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--ink-3);
  transition: border-color .18s ease, transform .18s ease; text-decoration: none;
}
.quizthumb:hover { border-color: var(--signal); transform: translateY(-2px); }
.quizthumb img { width: 100%; height: auto; display: block; }
.quizthumb__tag {
  position: absolute; inset: auto .6rem .6rem auto;
  background: rgba(14,11,31,.85); color: var(--signal);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
  padding: .25rem .55rem; border-radius: 6px;
}
@media (max-width: 620px) { .quizthumb { width: 100%; } }

/* ---------- Watt poses ----------
   All poses share one canvas and one aspect ratio (260x420).
   Set width only and let height follow, never both.           */

.watt {
  display: block;
  height: auto;
  width: 100%;
  max-width: 100%;
}
.watt--hero  { width: 96px; }
.watt--side  { width: 78px; }
.watt--small { width: 60px; }
.watt--tiny  { width: 46px; }

@media (min-width: 720px) {
  .watt--hero  { width: 118px; }
  .watt--side  { width: 92px; }
}

/* side-by-side block: pose hugs the text instead of floating in dead space */
.withwatt {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
}
.withwatt > .watt { flex: 0 0 auto; }
.withwatt > div   { flex: 1 1 auto; min-width: 0; }
.withwatt .h2, .withwatt h1 { margin-bottom: .3rem; }
.withwatt .eyebrow { margin-bottom: .35rem; }

.empty--watt {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: nowrap;
  text-align: left;
  justify-content: flex-start;
}
.empty--watt > span { flex: 1 1 auto; }

@keyframes wattfloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.watt--float { animation: wattfloat 4.5s ease-in-out infinite; }

.scorecard .watt { width: 78px; margin: 0 auto .5rem; }

.article > .watt { float: right; margin: .2rem 0 1rem 1.3rem; width: 84px; }
@media (max-width: 560px) { .article > .watt { float: none; margin: 0 0 1rem; } }

/* ---------- avatars, badges, levels ---------- */
.avatar { border-radius: 50%; display: block; flex: 0 0 auto; background: var(--ink-3); }

.avpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .7rem; margin: .4rem 0 1.2rem; }
.avpick label { cursor: pointer; text-align: center; }
.avpick input { position: absolute; opacity: 0; width: 0; height: 0; }
.avpick span { display: block; font-size: .76rem; color: var(--muted); margin-top: .3rem; }
.avpick .avatar { margin: 0 auto; border: 3px solid transparent; transition: border-color .15s ease, transform .15s ease; }
.avpick label:hover .avatar { transform: translateY(-2px); }
.avpick input:checked + .avatar { border-color: var(--signal); }
.avpick input:checked ~ span { color: var(--paper); }
.avpick input:focus-visible + .avatar { outline: 3px solid var(--trace); outline-offset: 2px; }

.badge { display: block; flex: 0 0 auto; }
.badgewrap { display: inline-flex; align-items: center; gap: .6rem; }
.badgewrap__t { display: flex; flex-direction: column; line-height: 1.25; }
.badgewrap__t b { font-size: .95rem; }
.badgewrap__t span { font-size: .8rem; color: var(--muted); }

.levelcard { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: 1.2rem 1.3rem; margin: 1.4rem 0; }
.levelcard__top { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.levelcard__top .badge { width: 52px; height: 61px; }
.levelcard h3 { font-family: var(--display); font-size: 1.25rem; margin: 0; letter-spacing: -.02em; }
.levelcard p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.levelbar { height: 8px; background: var(--ink-3); border-radius: 4px; overflow: hidden; margin: 1rem 0 .5rem; }
.levelbar span { display: block; height: 100%; background: var(--signal); border-radius: 4px; }

.board__row .avatar { width: 34px; height: 34px; }
.board__row .badge  { width: 26px; height: 30px; }
.list__row .avatar  { width: 28px; height: 28px; }


/* heading first, pose on the right */
.withwatt--right { justify-content: space-between; }
.withwatt--right > .watt { order: 2; }
@media (max-width: 560px) { .withwatt--right > .watt { display: none; } }

/* ---------- article list with episode thumbnails ---------- */
.artlist { list-style: none; padding: 0; margin: 0; }
.artrow { border-bottom: 1px solid var(--ink-3); }
.artrow__link {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0; text-decoration: none; color: inherit;
}
.artrow__link:hover .artrow__t { color: var(--signal); }
.artrow__link:hover .artrow__shot { border-color: var(--signal); }

.artrow__shot {
  position: relative; flex: 0 0 auto;
  width: 132px; aspect-ratio: 16 / 9;
  border-radius: 9px; overflow: hidden;
  border: 1px solid var(--ink-3); background: var(--ink-2);
  display: grid; place-items: center;
  transition: border-color .15s ease;
}
.artrow__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artrow__noshot { color: var(--ink-3); font-size: 1.4rem; }
.artrow__dur {
  position: absolute; inset: auto .3rem .3rem auto;
  background: rgba(14,11,31,.85); color: var(--signal);
  font-family: var(--mono); font-size: .64rem;
  padding: .1rem .3rem; border-radius: 4px;
}

.artrow__body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.artrow__t {
  font-family: var(--display); font-weight: 500; font-size: 1.05rem;
  line-height: 1.3; letter-spacing: -.015em; transition: color .15s ease;
}
.artrow__m {
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@media (max-width: 560px) {
  .artrow__shot { width: 96px; }
  .artrow__t { font-size: .97rem; }
}

/* ---------- quiz pitch, badges row, test card ---------- */

.quizpitch {
  display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 2.6rem);
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem);
  position: relative; overflow: hidden;
}
.quizpitch::before {
  content: ""; position: absolute; inset: auto -80px -120px auto;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,194,75,.12), transparent 70%);
  pointer-events: none;
}
.quizpitch__body { flex: 1 1 20rem; min-width: 0; position: relative; }
.quizpitch .lede { margin-bottom: 1.2rem; }
.watt--pitch { width: clamp(96px, 15vw, 150px); flex: 0 0 auto; }
@media (max-width: 620px) { .watt--pitch { display: none; } }

.badgerow { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; }
.badgerow .badge { opacity: .92; }

.testcard {
  display: flex; align-items: center; gap: 1.3rem;
  background: var(--ink-2); border: 1px solid var(--signal);
  border-radius: 16px; padding: 1.4rem 1.5rem; margin: 2.5rem 0;
}
.testcard h2 { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; color: var(--paper); }
.watt--test { width: 84px; flex: 0 0 auto; }
@media (max-width: 560px) { .watt--test { display: none; } }

/* score / cta chip on list rows */
.artrow__score, .artrow__cta {
  flex: 0 0 auto; font-family: var(--mono); font-size: .8rem;
  padding: .3rem .7rem; border-radius: 999px; white-space: nowrap;
}
.artrow__score { background: var(--ink-3); color: var(--muted); }
.artrow__score.is-pass { background: rgba(95,211,154,.16); color: #5FD39A; }
.artrow__cta { border: 1px solid var(--ink-3); color: var(--signal); }
.artrow__link:hover .artrow__cta { border-color: var(--signal); }

/* ---------- stars, contact, anti-copy ---------- */
.star { display: inline-block; vertical-align: -.2em; }
.award { display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin: .9rem 0 0; font-weight: 500; }
.award span { font-size: .95rem; }
.artrow__award { flex: 0 0 auto; display: flex; align-items: center; }

.noselect, .noselect * {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
textarea.inp { font: inherit; line-height: 1.6; resize: vertical; min-height: 9rem; }

.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.place { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: 1.2rem 1.3rem; }
.place__flag { font-size: 1.9rem; margin: 0 0 .4rem; line-height: 1; }
.place h3 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 .15rem; letter-spacing: -.015em; }
.place p.muted { margin: 0; font-size: .9rem; }

/* ---------- platform wordmark + sample question ---------- */
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__sub {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-top: .18rem;
}
@media (max-width: 420px) { .brand__sub { display: none; } }

.hero__h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 5.4vw, 3.4rem); line-height: 1.06;
  letter-spacing: -.03em; margin: 0 0 1rem; max-width: 18ch;
}
.hero__rotator {
  display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: start;
  margin: 0 0 1.4rem; min-height: 3.6em;
}
.hero__rotator .hero__rotlabel { padding-top: .45em; }
.hero__rotlabel {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); flex: 0 0 auto;
}
.hero__rotator .hero__q {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1rem, 2.4vw, 1.3rem); line-height: 1.35;
  letter-spacing: -.015em; color: var(--signal);
  margin: 0; min-height: 0; max-width: none; display: inline;
}

.sampleq {
  background: var(--ink-2); border: 1px solid var(--ink-3);
  border-radius: 16px; padding: 1.4rem 1.5rem; margin: 2.5rem 0;
}
.sampleq h2 { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.02em; color: var(--paper); }
.sampleq__q { font-weight: 500; margin: 0 0 .9rem; }
.sampleq__opts { list-style: none; counter-reset: o; padding: 0; margin: 0; }
.sampleq__opts li {
  counter-increment: o; position: relative; padding: .5rem .7rem .5rem 2.2rem;
  border-radius: 9px; color: var(--muted); font-size: .95rem;
}
.sampleq__opts li::before {
  content: counter(o, upper-alpha); position: absolute; left: .7rem;
  font-family: var(--mono); font-size: .8rem; color: var(--ink-3);
}
.sampleq__opts li.is-right { background: rgba(95,211,154,.12); color: var(--paper); }
.sampleq__opts li.is-right::before { color: #5FD39A; }

/* ---------- search ---------- */
.searchbar { display: flex; align-items: center; gap: .5rem; margin: 0; }
.searchbar input[type="search"] {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 999px;
  color: var(--paper); font: inherit; font-size: .9rem; padding: .4rem .95rem;
  width: 8.5rem; transition: width .2s ease, border-color .15s ease;
}
.searchbar input[type="search"]:focus { width: 12rem; border-color: var(--signal); outline: none; }
.searchbar input::placeholder { color: var(--muted); }
@media (max-width: 900px) { .masthead .searchbar { display: none; } }

.searchbar--big { margin: 0 0 2rem; gap: .7rem; }
.searchbar--big input[type="search"] {
  flex: 1 1 auto; width: auto; font-size: 1.05rem; padding: .85rem 1.3rem;
}
.searchbar--big input[type="search"]:focus { width: auto; }


/* ---------- light YouTube embed ---------- */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--ink-3); background: var(--ink-3); margin: 2rem 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__poster { position: absolute; inset: 0; display: block; color: var(--paper); text-decoration: none; }
.yt__poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.yt__poster:hover img { transform: scale(1.02); }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); transition: transform .15s ease; }
.yt__poster:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); }
.yt__label { position: absolute; left: .9rem; bottom: .8rem; background: rgba(14,11,31,.82); color: var(--signal); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 6px; }
.quizthumb img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }

/* ---------- inline subscribe ---------- */
.subform { display: grid; gap: .6rem; max-width: 34rem; margin: 1rem auto 0; text-align: left; }
.subform__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.subform__row .inp { flex: 1 1 14rem; margin: 0; }
.subform .consent { margin: 0; font-size: .82rem; }
.subform__note { font-size: .9rem; color: var(--muted); min-height: 1.2em; margin: 0; }
.subform__note.is-ok { color: #5FD39A; }
.subform__note.is-err { color: #FF8A8A; }
.cta .subform { margin-top: 1.4rem; }

/* ---------- social proof ---------- */
.proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.2rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.proof b { color: var(--paper); font-family: var(--mono); font-weight: 500; }

/* ---------- save-this-score ---------- */
.savecard { background: var(--ink-2); border: 1px solid var(--signal); border-radius: 16px; padding: 1.4rem; margin: 1.6rem 0; display: grid; gap: .6rem; }
.savecard h2 { font-family: var(--display); font-size: 1.35rem; margin: 0; letter-spacing: -.02em; }
.savecard .inp { margin: 0; }
.savecard__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 560px) { .savecard__row { grid-template-columns: 1fr; } }
.savecard .consent { margin: 0; font-size: .82rem; }
.savecard__alt { font-size: .9rem; color: var(--muted); margin: .2rem 0 0; }

/* ---------- article extras ---------- */
.takeaways { background: var(--ink-2); border: 1px solid var(--ink-3); border-left: 4px solid var(--trace); border-radius: 12px; padding: 1.1rem 1.3rem 1.1rem 2.4rem; margin: 2rem 0; }
.takeaways li { margin: .35rem 0; }
.faqlist details { border-top: 1px solid var(--ink-3); padding: .7rem 0; }
.faqlist summary { cursor: pointer; font-weight: 500; }
.faqlist p { color: var(--muted); margin: .5rem 0 0; }
.related { margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--ink-3); }
.related h2 { margin-top: 0; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; list-style: none; padding: 0; margin: .8rem 0 0; }
.related__card { display: block; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--paper); transition: border-color .15s ease, transform .15s ease; }
.related__card:hover { border-color: var(--signal); transform: translateY(-2px); }
.related__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.related__card span { display: block; padding: .7rem .85rem .85rem; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.authorbox { display: flex; gap: 1rem; align-items: flex-start; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: 1.1rem 1.2rem; margin: 2.2rem 0 0; }
.authorbox img { width: 56px; height: auto; flex: 0 0 auto; }
.authorbox p { margin: 0; color: var(--muted); font-size: .92rem; }
.authorbox b { color: var(--paper); display: block; margin-bottom: .15rem; }
.draftbar { background: #2a2412; border: 1px solid var(--signal); color: var(--paper); border-radius: 10px; padding: .7rem 1rem; margin: 0 0 1.4rem; font-size: .9rem; }

/* ---------- eclipse hub ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: 34rem; margin: 1.4rem 0; }
.countdown div { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: .9rem .4rem; text-align: center; }
.countdown b { display: block; font-family: var(--mono); font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 500; line-height: 1.1; color: var(--signal); }
.countdown span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem; list-style: none; padding: 0; margin: 1.4rem 0; }
.facts li { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; padding: 1rem 1.1rem; }
.facts b { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: .9rem; }
.prose { max-width: 44rem; }
.prose h2 { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; margin: 2rem 0 .6rem; }
.prose p { color: var(--paper); }
.prose .muted { color: var(--muted); }
.pathlist { padding-left: 1.2rem; }
.pathlist li { margin: .3rem 0; }

/* ---------- mobile navigation ----------
   Eight links plus a button do not fit a phone. Below 700px the nav wraps
   onto its own full-width row and becomes a horizontal strip you can swipe,
   so nothing ever pushes the page wider than the screen. */
@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  .masthead { gap: .7rem 1rem; }
  .nav {
    flex: 1 0 100%;
    gap: .9rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .2rem;
    margin: 0 calc(-1 * var(--pad));
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; flex: 0 0 auto; }
}

/* ---------- Ask Watt chat ---------- */
.chat__fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--signal); color: var(--ink); border: 0; border-radius: 999px;
  padding: .55rem 1.1rem .55rem .7rem; font: 600 .92rem/1 var(--body); cursor: pointer;
  box-shadow: 0 8px 26px rgba(0,0,0,.4); transition: transform .15s ease;
}
.chat__fab:hover { transform: translateY(-2px); }
.chat__fab img { width: 22px; height: auto; display: block; }
body.chat-open .chat__fab { display: none; }
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; width: min(400px, calc(100vw - 2rem)); }
.chat [hidden], .chat[hidden] { display: none !important; }
.chat__panel {
  display: flex; flex-direction: column; height: min(640px, calc(100vh - 2rem));
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55); overflow: hidden;
}
.chat__head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; background: var(--ink); border-bottom: 1px solid var(--ink-3); }
.chat__head img { width: 30px; height: auto; }
.chat__head b { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; }
.chat__head span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.chat__close { margin-left: auto; background: transparent; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .2rem .4rem; }
.chat__close:hover { color: var(--paper); }
.chat__log { flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat__msg { max-width: 88%; padding: .6rem .85rem; border-radius: 14px; font-size: .93rem; line-height: 1.5; }
.chat__msg p { margin: 0; }
.chat__msg p + p { margin-top: .5rem; }
.chat__msg ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.chat__msg a { color: var(--trace); }
.chat__msg--assistant { align-self: flex-start; background: var(--ink); border: 1px solid var(--ink-3); border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: var(--signal); color: var(--ink); border-bottom-right-radius: 4px; }
.chat__msg--wait { color: var(--muted); font-style: italic; }
.chat__msg--err { border-color: #FF8A8A; color: #FFB4B4; }
.chat__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chat__chips button { background: transparent; border: 1px solid var(--ink-3); color: var(--paper); border-radius: 999px; padding: .35rem .75rem; font: .82rem/1.2 var(--body); cursor: pointer; }
.chat__chips button:hover { border-color: var(--signal); color: var(--signal); }
.chat__gate { padding: .9rem 1rem; border-top: 1px solid var(--ink-3); background: var(--ink); }
.chat__gatetext { margin: 0 0 .6rem; font-size: .9rem; }
.chat__captcha { display: block; border-radius: 10px; border: 1px solid var(--ink-3); margin: 0 0 .6rem; width: 220px; height: 72px; image-rendering: auto; }
.chat__gateform { display: flex; gap: .5rem; }
.chat__gateform .inp { margin: 0; padding: .55rem .75rem; letter-spacing: .15em; text-transform: uppercase; font-family: var(--mono); }
.chat__gatealt { margin: .5rem 0 0; font-size: .8rem; color: var(--muted); }
.chat__gatealt a { color: var(--trace); }
.chat__ts { min-height: 65px; }
.chat__form { display: flex; gap: .5rem; align-items: flex-end; padding: .7rem .8rem; border-top: 1px solid var(--ink-3); background: var(--ink); }
.chat__form textarea { flex: 1 1 auto; resize: none; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 12px; color: var(--paper); font: inherit; font-size: .93rem; padding: .6rem .8rem; max-height: 7rem; }
.chat__form textarea:focus { outline: none; border-color: var(--signal); }
.chat__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat__note { margin: 0; padding: .45rem .9rem .7rem; font-size: .7rem; line-height: 1.4; color: var(--muted); background: var(--ink); }
.chat__note a { color: var(--muted); }
@media (max-width: 480px) {
  .chat { right: 0; bottom: 0; width: 100vw; }
  .chat__panel { height: 100vh; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .chat__fab { transition: none; } }

/* ---------- forms: honeypot, CAPTCHA ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.captcha { display: block; border-radius: 10px; border: 1px solid var(--ink-3); margin: 0 0 .6rem; width: 220px; height: 72px; }
.inp--code { max-width: 220px; letter-spacing: .18em; text-transform: uppercase; font-family: var(--mono); }
.cf-turnstile { margin: 0 0 1rem; min-height: 65px; }

/* ---------- comments ---------- */
.comments { margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--ink-3); }
.comments__list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.comment { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: .9rem 1.1rem; }
.comment--reply { margin-left: 2.2rem; border-left: 3px solid var(--signal); }
.comment--owner { background: rgba(255, 196, 61, .06); }
.comment--pending { border-style: dashed; }
.comment__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; margin-bottom: .45rem; }
.comment__head .avatar { width: 34px; height: 34px; }
.comment__head .watt--tiny { width: 26px; height: auto; }
.comment__head time { color: var(--muted); font-size: .82rem; }
.comment__head .tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); border: 1px solid var(--signal); border-radius: 999px; padding: .05rem .5rem; }
.comment__pending { color: var(--muted); font-size: .78rem; font-style: italic; }
.comment__body { font-size: .97rem; line-height: 1.6; overflow-wrap: anywhere; }
.comment__remove { margin: .4rem 0 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--paper); }
.comment__form textarea.inp { min-height: 6rem; resize: vertical; }
@media (max-width: 600px) { .comment--reply { margin-left: 1rem; } }

/* ---------- hero: alive ---------- */
.hero { position: relative; overflow: visible; }
.hero__sky { position: absolute; inset: -1.5rem -1.5rem 0; width: calc(100% + 3rem); height: calc(100% + 1.5rem); pointer-events: none; z-index: 0; opacity: .9; }
.hero > :not(.hero__sky) { position: relative; z-index: 1; }
.featurewrap { position: relative; }
.herowatt { position: absolute; right: 2.6rem; top: calc(100% + 1.6rem); width: 120px; display: flex; flex-direction: column; align-items: center; }
.herowatt__img { width: 120px; height: auto; display: block; animation: wattbob 3.6s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); transition: transform .25s ease; }
.herowatt__bubble {
  background: var(--paper); color: var(--ink); font: 500 .78rem/1.25 var(--body); padding: .45rem .65rem; border-radius: 12px;
  margin-bottom: .5rem; max-width: 170px; text-align: center; position: relative; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.herowatt__bubble.on { opacity: 1; transform: translateY(0); }
.herowatt__bubble::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--paper); transform: translateX(-50%) rotate(45deg); }
@keyframes wattbob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
.ticker { margin-top: 2rem; display: flex; align-items: center; gap: .9rem; border: 1px solid var(--ink-3); border-radius: 999px; background: rgba(28, 23, 58, .7); padding: .35rem .5rem .35rem .9rem; overflow: hidden; backdrop-filter: blur(4px); }
.ticker__live { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--trace); display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 0 rgba(88,214,141,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(88,214,141,.6); } 70% { box-shadow: 0 0 0 8px rgba(88,214,141,0); } 100% { box-shadow: 0 0 0 0 rgba(88,214,141,0); } }
.ticker__track { flex: 1 1 auto; overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.2rem; flex: 0 0 auto; padding-right: 2.2rem; animation: tickermove 60s linear infinite; white-space: nowrap; }
.ticker:hover .ticker__list { animation-play-state: paused; }
.ticker__list a { color: var(--paper); text-decoration: none; font-size: .86rem; }
.ticker__list a:hover { color: var(--signal); }
.ticker__flag { margin-right: .15rem; }
.ticker__ago { color: var(--muted); font-size: .76rem; margin-left: .3rem; }
@keyframes tickermove { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.proof b[data-count] { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .herowatt { right: 0; width: 92px; } .featurewrap { margin-bottom: 11rem; } .herowatt__img { width: 92px; } .herowatt__bubble { max-width: 140px; } }
@media (prefers-reduced-motion: reduce) {
  .herowatt__img, .ticker__list, .ticker__dot { animation: none; }
  .hero__sky { display: none; }
}
