/* ==========================================================================
   SuperCat42 — parody product page for an English lesson on greenwashing
   ========================================================================== */

:root {
  --paper: #f4f1e4;
  --paper-2: #fbf9f0;
  --ink: #10291f;
  --green: #0f5132;
  --green-deep: #0b3a26;
  --mint: #c7f5d6;
  --mint-2: #8ceab5;
  --lime: #d9ff4f;
  --orange: #ff5b2e;
  --pink: #ff2d55;
  --muted: #5a6f64;
  --line: rgba(16, 41, 31, .14);
  --shadow: 0 18px 40px rgba(16, 41, 31, .12);
  --radius: 18px;
  --font: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(16, 41, 31, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.05; margin: 0; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- announcement bar ---------- */
.announce {
  background: var(--lime);
  border-bottom: 2px solid var(--ink);
  text-align: center;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: .55rem 1rem;
}
.announce p { margin: 0; }
.announce sup { font-weight: 700; }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .8rem 1.5rem;
  background: rgba(244, 241, 228, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  margin-right: auto;
}
.logo-cat {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  font-size: 1.1rem;
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -.04em;
}
.logo-text strong { font-weight: 900; color: var(--green); }

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: .88rem;
  font-weight: 600;
}
.nav-links a { text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--green); }
.nav-teacher { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 5px 0 var(--green);
}
.btn-small { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { box-shadow: 4px 5px 0 var(--mint-2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) 1.5rem clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 255, 79, .55), transparent 68%);
  filter: blur(10px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .95;
  margin-bottom: 1.4rem;
}
.marker-green {
  background: linear-gradient(180deg, transparent 56%, var(--lime) 56%, var(--lime) 94%, transparent 94%);
  padding: 0 .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  max-width: 46ch;
  color: #294237;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--muted);
}
.trust .stars { color: var(--orange); font-size: 1rem; letter-spacing: .1em; }
.trust .dot { opacity: .5; }
.trust strong { color: var(--ink); }

/* ---------- bottle artwork ---------- */
.hero-art { position: relative; isolation: isolate; display: grid; justify-items: center; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  z-index: -1;
}
.blob-a {
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, var(--mint), var(--mint-2) 60%, #35b07c);
  opacity: .55;
}
.blob-b {
  width: 45%;
  aspect-ratio: 1;
  right: 2%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(255, 91, 46, .35), transparent 70%);
}

.bottle-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 82vw);
  padding: 1rem 0;
}
.bottle {
  width: 100%;
  filter: drop-shadow(0 26px 26px rgba(11, 58, 38, .22));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-12px) rotate(.4deg); }
}

.float-badge {
  position: absolute;
  z-index: 3;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 3px 3px 0 var(--ink);
  white-space: nowrap;
}
.badge-top { top: 4%; left: 0; transform: rotate(-7deg); }
.badge-right { top: 38%; right: -6%; transform: rotate(5deg); background: var(--paper-2); }
.badge-left { bottom: 22%; left: -7%; transform: rotate(-4deg); background: var(--paper-2); }

.art-caption {
  margin-top: 1.6rem;
  font-size: .72rem;
  color: var(--muted);
  text-align: center;
  max-width: 34ch;
}
.art-caption strong { color: var(--green); }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--lime);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: .7rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  animation: scroll 30s linear infinite;
}
.marquee-track span { white-space: nowrap; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- generic section ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
}
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1.02rem; max-width: 60ch; }

.footnote {
  margin-top: 1.6rem;
  font-size: .74rem;
  color: var(--muted);
}

/* ---------- 42 uses ---------- */
.uses-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: .7rem;
}
.uses-grid li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .55rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .8rem .9rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.uses-grid li:hover {
  transform: translateY(-3px) rotate(-.5deg);
  box-shadow: 3px 4px 0 var(--ink);
}
.uses-grid .emoji { font-size: 1.1rem; }
.uses-grid b { font-size: .84rem; font-weight: 700; line-height: 1.2; }
.uses-grid i {
  font-style: normal;
  font-size: .6rem;
  font-weight: 800;
  color: var(--green);
  background: var(--mint);
  border-radius: 999px;
  padding: .15rem .4rem;
}

/* ---------- stats ---------- */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
}
.stats-inner { max-width: 1180px; margin: 0 auto; }
.stats-head { max-width: 640px; margin-bottom: 2.5rem; }
.stats-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.035em;
  margin-bottom: .7rem;
}
.stats-head p { color: rgba(244, 241, 228, .65); font-size: .9rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(217, 255, 79, .3);
  padding-top: 2.2rem;
}
.stat-num {
  display: block;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--lime);
}
.stat-label { display: block; font-size: .92rem; margin-top: .5rem; color: rgba(244, 241, 228, .82); }

/* ---------- seals ---------- */
.seals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
}
.seal {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px dashed rgba(15, 81, 50, .45);
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: .15rem;
  padding: 1rem;
  box-shadow: inset 0 0 0 7px var(--paper-2), 0 0 0 1px var(--line);
}
.seal-icon { font-size: 1.6rem; line-height: 1; }
.seal b { font-size: .82rem; letter-spacing: -.01em; }
.seal small {
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.seal-a { transform: rotate(-6deg); }
.seal-b { transform: rotate(4deg); }
.seal-c { transform: rotate(-3deg); }
.seal-d { transform: rotate(7deg); }
.seal-e { transform: rotate(-5deg); }

/* ---------- ingredients ---------- */
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.ing-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.ing-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ing-card h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}
.ing-list { list-style: none; margin: 0; padding: 0; }
.ing-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .58rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
}
.ing-list small {
  color: var(--muted);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ing-list-no span {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 45, 85, .55);
  text-decoration-thickness: 2px;
}
.ing-list-no small { color: var(--orange); font-weight: 700; }
.ing-note { font-size: .76rem; color: var(--muted); margin: 1rem 0 0; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
}
.link-btn:hover { color: var(--orange); }

/* ---------- reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem;
}
.review {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.review .stars { color: var(--orange); letter-spacing: .1em; font-size: .95rem; }
.review blockquote { margin: 0; font-size: .98rem; line-height: 1.5; }
.review figcaption { font-size: .76rem; color: var(--muted); margin-top: auto; }
.review figcaption span { display: block; font-size: .66rem; opacity: .8; }

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.7rem;
}
.price-card h3 { font-size: 1.2rem; font-weight: 800; }
.price { font-size: 2.4rem; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.price s { font-size: 1.1rem; font-weight: 500; opacity: .45; }
.price small { font-size: .85rem; font-weight: 600; opacity: .6; }
.price-note { font-size: .8rem; color: var(--muted); margin: 0 0 .5rem; }
.price-card ul { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .87rem; }
.price-card li { padding: .32rem 0 .32rem 1.2rem; position: relative; }
.price-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.price-card > .btn { margin-top: auto; }
.price-card-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.price-card-featured .price-note,
.price-card-featured .price small { color: rgba(244, 241, 228, .6); }
.price-card-featured li::before { color: var(--lime); }
.price-card-featured .btn { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.price-card-featured .btn:hover { box-shadow: 4px 5px 0 var(--orange); }
.ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--orange);
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .14em;
  padding: .28rem .8rem;
  border-radius: 999px;
  margin: 0;
}

/* ---------- faq ---------- */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--muted); max-width: 62ch; }

/* ---------- fine print ---------- */
.fineprint {
  background: #eae6d5;
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}
.fineprint h2 {
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--green);
}
.fineprint p {
  max-width: 900px;
  margin: 0 auto;
  font-size: .7rem;
  line-height: 1.9;
  color: #4a5d53;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem 2.5rem;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-brand .logo-text { font-size: 1.6rem; color: var(--paper); }
.footer-brand .logo-text strong { color: var(--lime); }
.footer-brand p { margin: .4rem 0 0; font-size: .85rem; color: rgba(244, 241, 228, .6); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .85rem; }
.footer-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-bottom-color: var(--lime); }
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(244, 241, 228, .18);
  padding-top: 1.8rem;
  margin-top: .5rem;
  max-width: 720px;
  font-size: .78rem;
  color: rgba(244, 241, 228, .72);
}
.footer-legal strong { color: var(--lime); }
.footer-small { font-size: .7rem; color: rgba(244, 241, 228, .45); margin-bottom: 0; }
.footer-small a { color: inherit; }

/* ==========================================================================
   Greenwashing check
   ========================================================================== */

.gw-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--lime);
  border-radius: 999px;
  padding: .7rem 1rem;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 41, 31, .3);
  transition: transform .18s ease, background .18s ease;
}
.gw-toggle:hover { transform: translateY(-2px); }
.gw-toggle-count {
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: .05rem .45rem;
  font-size: .7rem;
  font-weight: 800;
  min-width: 1.4rem;
  text-align: center;
}
body.gw-on .gw-toggle { background: var(--pink); border-color: #fff; }

/* claim markers are injected by script.js */
.gw-marker {
  display: none;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 .28rem;
  margin-left: .18rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: .6rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: super;
  font-family: var(--font);
  letter-spacing: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}

body.gw-on .claim {
  outline: 2px dashed rgba(255, 45, 85, .85);
  outline-offset: 3px;
  background: rgba(255, 45, 85, .09);
  border-radius: 5px;
  cursor: pointer;
}
body.gw-on .gw-marker { display: inline-grid; }
body.gw-on .claim.gw-flash {
  animation: gwFlash 1.2s ease;
  background: rgba(255, 45, 85, .3);
}
@keyframes gwFlash {
  0%, 100% { background: rgba(255, 45, 85, .12); }
  30% { background: rgba(255, 45, 85, .45); }
}

/* panel */
.gw-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 20, 15, .45);
  backdrop-filter: blur(2px);
}

.gw-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(430px, 100vw);
  display: flex;
  flex-direction: column;
  background: #0d2018;
  color: #eef7f0;
  box-shadow: -24px 0 70px rgba(0, 0, 0, .35);
  animation: gwIn .28s ease;
}
@keyframes gwIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.gw-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.gw-kicker {
  margin: 0 0 .2rem;
  font-size: .62rem;
  letter-spacing: .2em;
  font-weight: 900;
  color: var(--lime);
}
.gw-panel-head h2 { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
.gw-close {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  flex: none;
}
.gw-close:hover { background: rgba(255, 255, 255, .18); }

.gw-panel-body { overflow-y: auto; padding: 1.4rem 1.5rem 2rem; }
.gw-intro { font-size: .88rem; line-height: 1.55; color: rgba(238, 247, 240, .85); }
.gw-intro strong { color: var(--lime); }

.gw-legend { margin: 1rem 0 1.2rem; }
.gw-legend details {
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: .75rem 1rem;
}
.gw-legend summary { cursor: pointer; font-size: .8rem; font-weight: 800; color: var(--lime); }
.gw-legend dl { margin: .8rem 0 0; }
.gw-legend dt { font-size: .76rem; font-weight: 800; color: #fff; margin-top: .6rem; }
.gw-legend dd { margin: .1rem 0 0; font-size: .75rem; color: rgba(238, 247, 240, .72); line-height: 1.45; }

.gw-list { list-style: none; margin: 0; padding: 0; }
.gw-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .8rem;
  padding: .95rem .5rem;
  margin: 0 -.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
  border-radius: 8px;
}
.gw-list li:hover { background: rgba(255, 255, 255, .06); }
.gw-list .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 900;
}
.gw-list .sin {
  display: inline-block;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--lime);
  margin-bottom: .2rem;
}
.gw-list p { margin: 0; font-size: .8rem; line-height: 1.5; color: rgba(238, 247, 240, .82); }

.gw-panel-foot {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.2rem 1.5rem;
  font-size: .8rem;
  background: #0a1a13;
}
.gw-panel-foot p { color: rgba(238, 247, 240, .8); }
.gw-panel-foot .btn { width: 100%; }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 20, 15, .62);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(1.6rem, 5vw, 2.6rem);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
  animation: popIn .25s ease;
}
@keyframes popIn {
  from { transform: translateY(14px) scale(.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: .9rem;
}
.modal-close:hover { background: rgba(16, 41, 31, .06); }
.modal-card h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: .8rem; }
.modal-big { font-size: 2rem; font-weight: 900; color: var(--green); letter-spacing: -.03em; margin: 0 0 .6rem; }
.modal-small { font-size: .72rem; color: var(--muted); }
.modal-card .btn { margin-top: .6rem; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Teacher page
   ========================================================================== */

.teacher-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
.teacher-hero-inner { max-width: 980px; margin: 0 auto; }
.teacher-hero .eyebrow { color: var(--lime); }
.teacher-hero .eyebrow::before { background: var(--lime); }
.teacher-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.teacher-hero p { max-width: 62ch; color: rgba(244, 241, 228, .78); }

.teacher-wrap { max-width: 980px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.teacher-wrap h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ink);
}
.teacher-wrap h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.teacher-wrap h3 { font-size: 1.05rem; font-weight: 800; margin: 1.4rem 0 .5rem; }
.teacher-wrap p, .teacher-wrap li { font-size: .95rem; }
.teacher-wrap ul, .teacher-wrap ol { padding-left: 1.2rem; }
.teacher-wrap li { margin-bottom: .35rem; }

.lesson-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .8rem;
  margin: 1.5rem 0 0;
}
.lesson-meta div {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .8rem 1rem;
}
.lesson-meta dt {
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--green);
}
.lesson-meta dd { margin: .2rem 0 0; font-size: .85rem; font-weight: 600; }

.note-de {
  background: #fff6d6;
  border-left: 5px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.2rem;
  font-size: .88rem;
  margin: 1.5rem 0;
}
.note-de p { margin: 0; font-size: .88rem; }
.note-de strong { color: var(--ink); }

.sin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
  background: var(--paper-2);
  border-radius: 14px;
  overflow: hidden;
}
.sin-table th, .sin-table td {
  text-align: left;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sin-table th {
  background: var(--ink);
  color: var(--paper);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sin-table tr:last-child td { border-bottom: 0; }
.sin-table td:first-child { font-weight: 800; white-space: nowrap; color: var(--green); }

.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.task {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem;
}
.task h3 { margin-top: 0; font-size: .98rem; }
.task p { font-size: .86rem; margin-bottom: .6rem; }
.task .level {
  display: inline-block;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
  background: var(--mint);
  color: var(--green);
  border-radius: 999px;
  padding: .15rem .5rem;
  margin-bottom: .5rem;
}

.vocab { list-style: none; padding: 0; }
.vocab li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .88rem;
}
.vocab b { color: var(--green); }

.worksheet {
  background: var(--paper-2);
  border: 2px dashed var(--line);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1.2rem;
}
.worksheet table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.worksheet th, .worksheet td {
  border: 1px solid var(--line);
  padding: .6rem .7rem;
  text-align: left;
  vertical-align: top;
}
.worksheet th { background: var(--mint); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.worksheet td { height: 2.6rem; }
.worksheet .line { display: block; border-bottom: 1px solid rgba(16, 41, 31, .35); height: 1.6rem; }

.teacher-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 0; }

.teacher-footer {
  background: var(--ink);
  color: rgba(244, 241, 228, .7);
  padding: 2.5rem 1.5rem;
  font-size: .8rem;
}
.teacher-footer-inner { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.teacher-footer a { color: var(--lime); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { margin-top: .5rem; }
  .bottle-wrap { width: min(310px, 76vw); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.4rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav { gap: .6rem; padding: .7rem 1rem; }
  .nav-links { display: none; }
  .announce { font-size: .62rem; letter-spacing: .07em; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .trust { font-size: .76rem; }
  .uses-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .seal { width: 145px; height: 145px; }
  .seal b { font-size: .74rem; }
  .vocab li { grid-template-columns: 1fr; gap: .1rem; }
  .sin-table { display: block; overflow-x: auto; white-space: nowrap; }
  .sin-table td { white-space: normal; }
}

@media (max-width: 460px) {
  .badge-right { right: -2%; }
  .badge-left { left: -2%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .gw-toggle-text { display: none; }
  .gw-toggle { padding: .8rem; }
  .uses-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .uses-grid li { padding: .65rem .6rem; gap: .35rem; }
  .uses-grid b { font-size: .76rem; }
  .uses-grid i { display: none; }
}

/* ==========================================================================
   Motion / print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bottle, .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gw-panel, .modal-card { animation: none; }
}

@media print {
  .announce, .nav, .gw-toggle, .gw-panel, .gw-scrim, .modal, .footer-links { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
  .hero { padding-top: 0; }
  .section, .stats, .fineprint { break-inside: avoid; }
  a { text-decoration: none; }
  .teacher-wrap { max-width: none; }
  .sin-table { font-size: .75rem; }
}
