/* Private English Teaching — coming-soon squeeze page
   Palette pulled from PET Logo.svg: ink #424242 · cobalt #3B58B8 · amber #FFC400 · gray #A0A09F */

:root {
  --ink: #1f1f1f;
  --ink-soft: #424242;
  --cobalt: #3B58B8;
  --cobalt-deep: #2c4494;
  --amber: #FFC400;
  --gray: #A0A09F;
  --paper: #F7F6F3;
  --white: #ffffff;
  --night: #161616;
  --night-2: #1f1f1f;

  --maxw: 1080px;
  --readw: 720px;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow: 0 18px 50px -22px rgba(20, 25, 60, .38);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--cobalt); text-decoration-thickness: .08em; text-underline-offset: .18em; }

::selection { background: var(--amber); color: var(--ink); }

/* ── layout helpers ─────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.read { max-width: var(--readw); }
.section { padding-block: clamp(56px, 9vw, 108px); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--cobalt);
  margin: 0 0 18px;
}
.eyebrow.on-dark { color: var(--amber); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 6.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1.15em; }
.lede { font-size: clamp(1.12rem, 2.1vw, 1.4rem); color: var(--ink-soft); }

/* amber highlighter for the one phrase that matters per section */
.hl {
  background-image: linear-gradient(transparent 58%, rgba(255, 196, 0, .85) 58%);
  padding-inline: .04em;
  font-weight: 600;
}
.hl-dark { background-image: linear-gradient(transparent 58%, rgba(255, 196, 0, .32) 58%); color: #fff; }
.cobalt-word { color: var(--cobalt); }
.strike { text-decoration: line-through; text-decoration-color: var(--gray); color: var(--gray); }

/* ── announcement bar (normal flow — stays at top, scrolls away) ─── */
.announce {
  background: var(--cobalt);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: 9px 16px;
}
.announce b { color: var(--amber); }

/* ── sticky header bar (full-width paper bg = clean edge over any section) */
.site-header-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  transition: box-shadow .2s ease;
}
.site-header-bar.scrolled { box-shadow: 0 6px 22px -14px rgba(20, 25, 60, .45); }

/* ── header ─────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  transition: padding .2s ease;
}
.site-header-bar.scrolled .site-header { padding-block: 10px; }
.site-header .logo { width: clamp(150px, 30vw, 184px); transition: width .2s ease; }
.site-header-bar.scrolled .site-header .logo { width: clamp(122px, 24vw, 150px); }
.site-header .logo svg, .site-header .logo img { width: 100%; height: auto; }

.header-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(.82rem, 1.5vw, 1.05rem);
  color: var(--cobalt);
  background: rgba(59, 88, 184, .09);
  border: 1px solid rgba(59, 88, 184, .22);
  border-radius: 100px;
  padding: 8px 18px;
  white-space: nowrap;
  text-decoration: none;
  transition: padding .2s ease, font-size .2s ease, background .15s ease;
}
.header-pill:hover { background: rgba(59, 88, 184, .16); }
.site-header-bar.scrolled .header-pill { padding: 5px 14px; font-size: .84rem; }

.header-link {
  justify-self: end;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 3px solid var(--amber);
  padding-bottom: 2px;
  white-space: nowrap;
}
.header-link:hover { color: var(--cobalt); }

/* ── hero (centered) ────────────────────────────────────────────── */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(56px, 9vw, 96px); text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: none; margin-inline: auto; }
.hero h1 br.brk { display: inline; }
.hero .lede { max-width: 46ch; margin-inline: auto; }
.hero .capture { margin-inline: auto; }
.hero .newsletter-form { justify-content: center; }

/* ── email capture ──────────────────────────────────────────────── */
.capture { max-width: 560px; margin-top: 30px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font: inherit;
  padding: 15px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(59, 88, 184, .18);
}
.newsletter-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 15px 26px;
  background: var(--amber);
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
}
/* hover/press: the black offset stays put while the yellow slides onto it */
.button:hover,
.button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.microtrust { font-size: .82rem; color: #5f5f5e; margin: 12px 2px 0; }
.newsletter-note { font-size: .9rem; margin: 10px 2px 0; color: var(--cobalt); }
.newsletter-note.is-error { color: #c0392b; }
.newsletter-success { margin: 0; font-weight: 600; color: var(--cobalt); }

/* ── generic sections ───────────────────────────────────────────── */
.section h2 { max-width: 18ch; }
.section .read p { color: var(--ink-soft); }

/* ── the trap (dark) ────────────────────────────────────────────── */
.trap { background: var(--night); color: #ece9e4; }
.trap h2 { color: #fff; }
.trap .lede { color: #cfccc6; }
.lies { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.lies li {
  background: var(--night-2);
  border: 1px solid #2e2e2e;
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  padding: 20px 22px;
}
.lies .lie {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 6px;
}
.lies .lie::before { content: "“"; color: var(--amber); }
.lies .lie::after { content: "”"; color: var(--amber); }
.lies .truth { display: block; color: #b7b3ac; font-size: .98rem; }
.lies .truth b { color: var(--amber); font-weight: 600; }

/* ── the math ───────────────────────────────────────────────────── */
.math-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 8px 0 30px; }
.stat {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: var(--shadow);
}
.stat .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-weight: 600; margin: 0 0 8px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1; color: var(--ink); }
.stat.you { border-color: var(--gray); }
.stat.you .num { color: var(--gray); }
.stat.direct { border-color: var(--cobalt); }
.stat.direct .num { color: var(--cobalt); }
.stat.direct { position: relative; }
.stat.direct .flag {
  position: absolute; top: -13px; right: 18px;
  background: var(--amber); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; border: 2px solid var(--ink);
}

/* ── story ──────────────────────────────────────────────────────── */
.story { background: #fff; }
.story .read { border-left: 4px solid var(--amber); padding-left: clamp(20px, 4vw, 40px); }
.story .kicker-line { font-family: var(--font-display); font-weight: 700; color: var(--cobalt); }

/* ── what this is ───────────────────────────────────────────────── */
.learn { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.learn li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: #fff;
  border: 1px solid #e6e3dd;
  border-radius: 12px;
  color: var(--ink-soft);
}
.learn li::before {
  content: "";
  position: absolute; left: 18px; top: 20px;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--amber);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.learn li::after {
  content: "→";
  position: absolute; left: 22px; top: 17px;
  font-weight: 700; color: var(--ink);
}
.learn li b { color: var(--ink); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 26px; margin-top: 30px; }
.faq h3 { margin-bottom: .35em; }
.faq h3::before { content: "Q. "; color: var(--cobalt); }
.faq p { color: var(--ink-soft); margin-bottom: 0; }

/* ── final CTA ──────────────────────────────────────────────────── */
.final { background: var(--cobalt); color: #fff; text-align: center; padding-block: clamp(40px, 5vw, 60px); }
.final h2 { color: #fff; margin-inline: auto; max-width: none; }
.final .capture { margin-inline: auto; }
/* beat `.section .read p` (0,2,1) so the copy is actually white on cobalt */
.section.final .read p { color: #fff; }

/* ── footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--night); color: #b7b3ac; padding-block: 44px; font-size: .9rem; text-align: center; }
.site-footer a { color: #e7e4de; }
.site-footer .foot-tag { font-family: var(--font-display); color: #fff; font-weight: 500; max-width: 40ch; margin: 0 auto 16px; }
.site-footer .foot-legal { color: #8b8880; font-size: .82rem; }
.site-footer .foot-legal a { color: #c7c3bc; }
.backtop { color: #c7c3bc; text-decoration: none; font-weight: 600; }

/* ── simple header (404 / legal pages: no pill, no grid) ─────────── */
.site-header--simple { display: flex; justify-content: space-between; align-items: center; }

/* ── 404 (full page, centred, tight) ────────────────────────────── */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.page-404 .oops { flex: 1 1 auto; }
.oops {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-block: 40px;
}
.oops-inner { max-width: 600px; }
.oops .code {
  font-family: var(--font-display); font-weight: 700;
  color: var(--amber); font-size: clamp(4rem, 16vw, 9rem);
  line-height: .9; -webkit-text-stroke: 2px var(--ink);
  margin: 0 0 .1em;
}
.oops h1 { margin: 0 0 .35em; }
.oops p { max-width: 44ch; margin: 0 auto 1.5em; color: var(--ink-soft); }
.oops .button { display: inline-block; text-decoration: none; }

/* ── legal / prose pages ────────────────────────────────────────── */
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 1.7em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .lede { color: var(--ink); }
.legal ul { padding-left: 1.15em; margin: 0 0 1.15em; }
.legal li { margin-bottom: .45em; }
.section .legal .updated { color: #5f5f5e; font-size: .9rem; margin: 0 0 1.6em; }
.section .legal .disclosure { color: #5f5f5e; font-size: .9rem; }

/* ── responsive ─────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .math-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hero h1 br.brk, .final h2 br.brk { display: none; }
}
@media (max-width: 560px) {
  /* stack: logo on top, pill below, both centred */
  .site-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .site-header .logo { width: clamp(140px, 44vw, 172px); }
  .header-pill { font-size: .82rem; }
}
@media (max-width: 430px) {
  .newsletter-form .button { width: 100%; }
}
