/* palette: bg=#0A0A0F fg=#F0F0F5 accent=#FF00AA */
/* fonts: display="JetBrains Mono" body="Inter" mono="VT323" */

:root {
  --bg: #0A0A0F;
  --bg-alt: #0F0F18;
  --bg-elev: #15151E;
  --fg: #F0F0F5;
  --fg-soft: #C8C8D0;
  --muted: #6E6E80;
  --accent: #FF00AA;
  --accent-cyan: #00F0FF;
  --accent-lime: #B5FF00;
  --accent-deep: #C8008C;
  --border: rgba(240, 240, 245, 0.12);
  --border-bright: rgba(240, 240, 245, 0.24);
  --serif: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'VT323', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* SCAN LINES — fixed CRT overlay */
.scan-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}
.scan-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.45) 100%);
}

/* NOISE TEXTURE */
.noise {
  position: fixed;
  inset: 0;
  z-index: 199;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* CONTAINER */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* TYPOGRAPHY */
.eyebrow {
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "▌";
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
}
.eyebrow--lime { color: var(--accent-lime); }
.eyebrow--magenta { color: var(--accent); }

@keyframes blink { 50% { opacity: 0; } }

.label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
}

h1 { font-size: clamp(3.5rem, 10vw, 9rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; }

em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
em::before, em::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0.85;
}
em::before { color: var(--accent-cyan); transform: translate(-3px, 1px); }
em::after  { color: var(--accent-lime); transform: translate(3px, -1px); mix-blend-mode: screen; }

p { margin: 0 0 1.2em; color: var(--fg-soft); }
p:last-child { margin-bottom: 0; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(10, 10, 15, 0.92);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1440px;
  margin: 0 auto;
}
@media (max-width: 720px) { .header__inner { padding: 14px 20px; } }

.brand {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.brand__slash {
  color: var(--accent);
  margin: 0 1px;
  text-shadow: -1px 0 var(--accent-cyan), 1px 0 var(--accent-lime);
}

.nav { display: none; gap: 36px; align-items: center; }
@media (min-width: 880px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::before { content: "/"; color: var(--muted); margin-right: 4px; }
.nav a:hover { color: var(--accent-cyan); }
.nav a[aria-current="page"] { color: var(--accent); }

.nav__cta {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  color: var(--fg);
  transition: background 0.2s, color 0.2s;
}
.nav__cta::before { display: none; }
.nav__cta:hover { background: var(--accent); color: var(--bg); }

/* MOBILE MENU */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin: -10px;
}
@media (min-width: 880px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 1.5px; background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--accent); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--accent-cyan); }

.mobile-menu {
  position: fixed;
  inset: 56px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 48px 24px;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; }
.mobile-menu__list a {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu__list a::before { content: "/ "; color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 32px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255, 0, 170, 0.12), transparent 60%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 240, 255, 0.08), transparent 60%),
              var(--bg);
}
@media (max-width: 720px) { .hero { padding: 100px 20px 60px; } }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 240, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 240, 245, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero__inner { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  letter-spacing: -0.04em;
}
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { padding-left: clamp(40px, 12vw, 200px); }
.hero h1 .line:nth-child(3) { padding-left: clamp(20px, 6vw, 100px); }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 64px;
  align-items: end;
}
@media (min-width: 880px) {
  .hero__bottom { grid-template-columns: 1.4fr 1fr 0.9fr; gap: 64px; }
}

.hero__lede { max-width: 480px; font-size: 18px; line-height: 1.7; color: var(--fg-soft); }

.hero__ctas { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background: var(--accent-cyan);
  color: var(--bg);
  border-color: var(--accent-cyan);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-bright);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--accent-lime);
  border-color: var(--accent-lime);
  box-shadow: 4px 4px 0 var(--accent-cyan);
}
.btn__arrow { font-family: var(--mono); font-size: 18px; line-height: 1; }

.hero__terminal {
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.4;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: rgba(15, 15, 24, 0.6);
  color: var(--fg-soft);
  max-width: 280px;
}
.hero__terminal div { white-space: nowrap; overflow: hidden; }
.hero__terminal .ok { color: var(--accent-lime); }
.hero__terminal .warn { color: var(--accent); }
.hero__terminal .info { color: var(--accent-cyan); }

.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  flex-wrap: wrap;
}
.hero__stat__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.hero__stat__num em { color: var(--accent-lime); }
.hero__stat__label {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  max-width: 280px;
}

/* SECTION GENERIC */
.section { padding: clamp(80px, 12vw, 160px) 32px; position: relative; }
@media (max-width: 720px) { .section { padding: 80px 20px; } }
.section--alt { background: var(--bg-alt); }
.section--invert { background: var(--fg); color: var(--bg); }
.section--invert p { color: rgba(10, 10, 15, 0.78); }
.section--invert .label { color: rgba(10, 10, 15, 0.55); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
@media (min-width: 880px) {
  .section__head { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: end; }
}
.section__num {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* FEATURED COURSE */
.featured {
  position: relative;
  padding: 0;
  margin: clamp(60px, 10vw, 120px) 32px;
}
@media (max-width: 720px) { .featured { margin: 60px 20px; } }

.featured__card {
  border: 1px solid var(--border-bright);
  background: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-alt) 100%);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.featured__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-lime), var(--accent));
}
@media (min-width: 880px) {
  .featured__card { grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
}

.featured__meta {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--accent-lime);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.featured__meta span::before { content: "× "; color: var(--muted); }
.featured__meta span:first-child::before { content: ""; }

.featured h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  margin-bottom: 16px;
}
.featured__sub { font-size: 19px; color: var(--fg-soft); margin-bottom: 32px; max-width: 520px; }

.featured__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
@media (min-width: 600px) { .featured__stats { grid-template-columns: repeat(4, 1fr); } }
.featured__stat__k { font-family: var(--mono); font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.featured__stat__v { font-family: var(--serif); font-size: 22px; color: var(--fg); margin-top: 4px; }

/* CATALOG */
.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 720px) { .catalog__grid { grid-template-columns: repeat(2, 1fr); } }

.course {
  background: var(--bg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 360px;
}
.course:hover { background: var(--bg-elev); }
.course__id {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.course h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
}
.course p { font-size: 16px; color: var(--fg-soft); flex: 1; }
.course__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
}
.course__foot strong { color: var(--accent-lime); font-weight: 400; }
.course__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.25s, gap 0.25s;
}
.course__link:hover { color: var(--accent-cyan); gap: 14px; }

/* MANIFESTO */
.manifesto {
  padding: clamp(120px, 18vw, 220px) 32px;
  text-align: center;
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.04) 0,
    rgba(0, 0, 0, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}
.manifesto__quote {
  position: relative;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
}
.manifesto__quote em {
  color: var(--accent-deep);
  font-style: normal;
}
.manifesto__quote em::before { color: var(--accent-cyan); }
.manifesto__quote em::after { color: var(--accent-lime); }
.manifesto__sig {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 20px;
  color: rgba(10, 10, 15, 0.6);
}

/* INSTRUCTOR */
.instructor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 880px) { .instructor { grid-template-columns: 0.9fr 1.1fr; gap: 96px; } }

.monogram {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.monogram::before, .monogram::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 170, 0.08), transparent 50%),
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0, 240, 255, 0.04) 2px, rgba(0, 240, 255, 0.04) 3px);
}
.monogram__letters {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(8rem, 18vw, 14rem);
  letter-spacing: -0.06em;
  color: var(--fg);
  position: relative;
  z-index: 2;
}
.monogram__letters::before, .monogram__letters::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: screen;
}
.monogram__letters::before { color: var(--accent-cyan); transform: translate(-5px, 2px); }
.monogram__letters::after  { color: var(--accent); transform: translate(5px, -2px); }
.monogram__corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  z-index: 3;
}
.monogram__corner--tl { top: 16px; left: 18px; color: var(--accent-lime); }
.monogram__corner--br { bottom: 16px; right: 18px; }

.instructor__name { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 8px; }
.instructor__role { font-family: var(--mono); font-size: 22px; color: var(--accent-cyan); margin-bottom: 32px; }
.instructor__bio p { font-size: 18px; line-height: 1.78; }
.instructor__quote {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--fg);
}
.instructor__quote::before { content: "“ "; color: var(--accent); }

/* TESTIMONIALS */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

.quote {
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.quote:hover { border-color: var(--accent); transform: translateY(-4px); }
.quote__mark {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 0.6;
  color: var(--accent);
  font-weight: 300;
}
.quote__text { font-size: 17px; line-height: 1.7; color: var(--fg-soft); flex: 1; }
.quote__attr { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px dashed var(--border); }
.quote__avatar {
  width: 44px; height: 44px;
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; font-weight: 400;
  color: var(--fg);
  flex: 0 0 44px;
  position: relative;
}
.quote__avatar::after {
  content: "";
  position: absolute; inset: 0;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent-cyan);
  transform: translate(2px, 2px);
  pointer-events: none;
}
.quote__name { font-family: var(--serif); font-size: 14px; color: var(--fg); }
.quote__name small { display: block; font-family: var(--mono); font-size: 16px; color: var(--muted); margin-top: 2px; }

/* PRICING / ENROLL CTA */
.enroll { padding: clamp(80px, 12vw, 160px) 32px; }
.enroll__head { max-width: 880px; margin-bottom: 72px; }
.enroll__head h2 { margin-bottom: 24px; }
.enroll__head p { font-size: 19px; color: var(--fg-soft); max-width: 640px; }

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 420px;
}
.plan--featured { background: var(--bg-elev); position: relative; }
.plan--featured::before {
  content: "// recomendado";
  position: absolute;
  top: -1px; left: -1px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.plan__id { font-family: var(--mono); font-size: 22px; color: var(--accent-cyan); letter-spacing: 0.02em; }
.plan h3 { font-size: 1.5rem; }
.plan__price { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; color: var(--fg); }
.plan__price small { font-family: var(--mono); font-size: 18px; color: var(--muted); margin-left: 6px; letter-spacing: 0.04em; }
.plan__lede { font-size: 16px; color: var(--fg-soft); flex: 1; }
.plan__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan__list li {
  font-size: 15px;
  color: var(--fg-soft);
  padding-left: 22px;
  position: relative;
}
.plan__list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-lime);
}
.plan__cta {
  margin-top: auto;
  padding: 14px 18px;
  border: 1px solid var(--border-bright);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}
.plan__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.plan--featured .plan__cta { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.plan--featured .plan__cta:hover { background: var(--accent-cyan); border-color: var(--accent-cyan); }

/* FOOTER */
.footer {
  padding: 100px 32px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) { .footer { padding: 80px 20px 32px; } }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 80px;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer__brand { font-family: var(--serif); font-size: 28px; letter-spacing: -0.03em; margin-bottom: 16px; }
.footer__brand .brand__slash { font-size: 28px; }
.footer__tag { font-family: var(--mono); font-size: 22px; color: var(--muted); max-width: 320px; line-height: 1.4; }

.footer__col h4 {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 15px; color: var(--fg-soft); transition: color 0.25s; }
.footer__col a:hover { color: var(--accent-cyan); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  max-width: 1280px;
  margin: 0 auto;
}

/* PAGE HEADER (interior pages) */
.page-head {
  padding: clamp(140px, 18vw, 220px) 32px clamp(60px, 10vw, 120px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255, 0, 170, 0.08), transparent 60%),
              var(--bg);
}
.page-head__inner { max-width: 1280px; margin: 0 auto; }
.page-head h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  margin: 24px 0 32px;
}
.page-head__lede { font-size: 22px; color: var(--fg-soft); max-width: 720px; line-height: 1.55; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }

.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info dt {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.contact-info dd { margin: 0; font-family: var(--serif); font-size: 19px; color: var(--fg); letter-spacing: -0.01em; line-height: 1.4; }
.contact-info dd a:hover { color: var(--accent-cyan); }

form.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form label {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input, .contact-form textarea, .contact-form select {
  font-family: var(--serif);
  font-size: 16px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-bright);
  color: var(--fg);
  border-radius: 0;
  transition: border-color 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

/* PRINCIPLES (about) */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.principle:nth-child(odd) { border-right: 1px solid var(--border); }
@media (max-width: 720px) { .principle:nth-child(odd) { border-right: 0; } }
.principle__num {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.principle h3 { font-size: 1.4rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.principle p { font-size: 16px; color: var(--fg-soft); }

/* SERVICE / COURSE DETAIL */
.service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 880px) { .service { grid-template-columns: 0.6fr 1.4fr 0.8fr; gap: 48px; } }
.service__num { font-family: var(--mono); font-size: 22px; color: var(--accent); letter-spacing: 0.04em; }
.service h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.service p { font-size: 17px; color: var(--fg-soft); }
.service__meta {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service__meta span { color: var(--accent-lime); }
.service__meta small { color: var(--muted); display: block; font-size: 16px; }

/* LEGAL PAGES */
.legal { max-width: 760px; margin: 0 auto; padding: 100px 32px 120px; }
@media (max-width: 720px) { .legal { padding: 80px 20px 100px; } }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; font-weight: 300; }
.legal h2 { font-size: 1.4rem; margin: 56px 0 16px; letter-spacing: -0.01em; color: var(--accent-cyan); }
.legal p, .legal li { font-size: 16px; line-height: 1.78; color: var(--fg-soft); }
.legal ul { padding-left: 20px; }
.legal__meta { font-family: var(--mono); font-size: 18px; color: var(--muted); margin-bottom: 56px; }

/* THANKS */
.thanks { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 120px 32px; text-align: center; }
.thanks__inner { max-width: 640px; }
.thanks h1 { margin-bottom: 24px; font-weight: 300; }
.thanks p { font-size: 19px; color: var(--fg-soft); margin-bottom: 48px; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* HERO ZOOM */
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes glitchShift {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 1px); }
}
.brand__slash { display: inline-block; animation: glitchShift 4s infinite; }

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  border: 1px solid var(--accent);
  padding: 32px 36px;
  max-width: 480px;
  position: relative;
}
.cookie-popup__card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cookie-popup__card p { font-size: 14px; line-height: 1.65; color: var(--fg-soft); margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cookie-popup__actions button {
  padding: 10px 22px;
  border: 1px solid var(--border-bright);
  background: transparent;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-popup__actions button:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.cookie-popup__actions button:last-child {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.cookie-popup__actions button:last-child:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg);
}

/* UTIL */
.flex-end { display: flex; align-items: flex-end; }
.divider { height: 1px; background: var(--border); margin: 0 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .brand__slash { animation: none; }
}
