:root {
  --ink: #1a1323;
  --ink-soft: #3e3349;
  --muted: #746a80;
  --muted-2: #988ca5;
  --cream: #faf6f1;
  --paper: #fffdfb;
  --line: #e9e0d8;
  --line-dark: rgba(255, 255, 255, 0.11);
  --indigo: #5b4be8;
  --indigo-deep: #4635c9;
  --indigo-soft: #eeebff;
  --sky: #0ea5e9;
  --amber: #f5b93e;
  --green: #1f9d63;
  --dark: #120f1d;
  --dark-2: #191327;
  --shadow-sm: 0 8px 24px -16px rgba(42, 28, 67, 0.35);
  --shadow-md: 0 30px 70px -35px rgba(42, 28, 67, 0.35);
  --radius: 22px;
  --container: 1180px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code, pre { font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
}
.skip-link:focus { top: 12px; }

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(233, 224, 216, 0.8);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-nav.scrolled { background: rgba(250, 246, 241, .94); box-shadow: 0 16px 30px -28px rgba(36, 23, 57, .6); }
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-word {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.brand-word span { color: var(--indigo); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--indigo);
  transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 16px 24px 24px;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid rgba(233, 224, 216, .7);
}
.mobile-menu .btn { margin-top: 16px; text-align: center; border-bottom: 0; }

/* ── Buttons & links ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(91, 75, 232, .32); outline-offset: 3px; }
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(91, 75, 232, .8);
}
.btn-primary:hover { background: var(--indigo-deep); box-shadow: 0 18px 40px -14px rgba(91, 75, 232, .9); }
.btn-ghost {
  border-color: #ddd2c7;
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
}
.btn-ghost:hover { border-color: #c8b9aa; background: #fff; }
.btn-ghost-light {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--ink); }
.btn-large { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--indigo);
  font-weight: 600;
  font-size: 14px;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 76px 0 0;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(91, 75, 232, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, black, transparent 75%);
  opacity: .55;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero-glow-a {
  width: 680px;
  height: 680px;
  right: -180px;
  top: -150px;
  background: radial-gradient(circle, rgba(99, 102, 241, .26), transparent 65%);
}
.hero-glow-b {
  width: 560px;
  height: 560px;
  left: -220px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(245, 185, 62, .18), transparent 68%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 24px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 157, 99, .13);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.3vw, 6.1rem);
  line-height: .93;
  letter-spacing: -.058em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.accent {
  position: relative;
  display: inline-block;
  color: var(--indigo);
  margin-top: 6px;
}
.accent::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -10px;
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(245, 185, 62, .75), rgba(245, 185, 62, 0));
  opacity: .85;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 575px;
  margin: 30px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d4c8bc;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, .18), rgba(14, 165, 233, .1) 55%, rgba(245, 185, 62, .14));
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(2px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 540px;
  border-radius: 48px;
  border: 1px solid rgba(91, 75, 232, .15);
  background: rgba(255, 255, 255, .22);
  top: 50px;
  left: 50%;
  transform: translateX(-50%) rotate(-7deg);
}
.phone {
  position: relative;
  width: 330px;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(155deg, #444052, #0b0e16 42%, #25243a);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 50px 90px -34px rgba(30, 20, 50, .65), 0 0 0 2px rgba(20, 15, 30, .5);
  overflow: hidden;
}
.phone-hero {
  width: min(354px, 100%);
  z-index: 2;
  transform: rotate(1.1deg);
}
.phone-top {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  background: #0b1020;
  border-radius: 44px 44px 0 0;
  position: relative;
}
.phone-pill {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 86px;
  height: 18px;
  border-radius: 20px;
  background: #000;
}
.phone img { width: 100%; height: auto; border-radius: 0 0 44px 44px; }

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 253, 251, .95);
  border: 1px solid #eee4da;
  border-radius: 15px;
  padding: 12px 14px;
  box-shadow: 0 22px 40px -20px rgba(44, 30, 68, .4);
  backdrop-filter: blur(10px);
}
.float-card strong { display: block; font-size: 12px; color: var(--ink); line-height: 1.4; }
.float-card span { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.45; }
.float-icon {
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.float-icon-indigo { background: var(--indigo-soft); color: var(--indigo); }
.float-icon-amber { background: #fff4da; color: #b97706; }
.float-icon-green { background: #e7f8ee; color: var(--green); }
.float-community { left: -6px; top: 120px; }
.float-lesson { right: -14px; bottom: 122px; }
.hero-badge {
  position: absolute;
  right: 4px;
  top: 44px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: 8px 12px;
  z-index: 3;
  transform: rotate(2deg);
  box-shadow: var(--shadow-sm);
}

.stats-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 253, 251, .86);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 25px 8px;
  backdrop-filter: blur(10px);
}
.stats-strip div {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--line);
}
.stats-strip div:last-child { border-right: 0; }
.stats-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.stats-strip span { display: block; margin-top: 3px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.tech-strip { border-bottom: 1px solid rgba(233, 224, 216, .7); }
.tech-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 30px;
  padding: 22px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.tech-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.tech-inner span:not(.tech-label) { color: var(--ink-soft); }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 112px 0; }
.section-head { max-width: 740px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--indigo);
}
.kicker-light { color: #bdb5ff; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 700;
  margin: 0;
}
.muted-head { color: #b4a7b6; }
.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 630px;
  margin: 22px 0 0;
}
.section-head.center .section-sub { margin-inline: auto; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px 24px 23px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 220px at 90% 0%, rgba(99, 102, 241, .09), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: #d9cbc0; box-shadow: var(--shadow-md); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--indigo-soft);
  color: var(--indigo);
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card:nth-child(2) .feature-icon { background: #e7f5ff; color: #1380b8; }
.feature-card:nth-child(3) .feature-icon { background: #fff4da; color: #b97706; }
.feature-card:nth-child(4) .feature-icon { background: #e7f8ee; color: var(--green); }
.feature-card:nth-child(5) .feature-icon { background: #fdecf5; color: #c13d86; }
.feature-card h3 { margin: 0; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.feature-card p { margin: 9px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.feature-tag {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Experience */
.experience { padding-top: 96px; }
.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  max-width: 1000px;
  margin: 16px auto 0;
}
.phone-card { margin: 0; text-align: center; }
.phone-small { width: 100%; max-width: 296px; margin: 0 auto; }
.phone-card-raised { margin-top: -24px; }
.phone-card figcaption { margin-top: 22px; }
.phone-card figcaption strong { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -.02em; }
.phone-card figcaption span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.experience-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.experience-features > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.experience-features span { font-family: var(--font-display); font-size: 12px; color: var(--indigo); grid-row: span 2; padding-top: 4px; }
.experience-features h3 { margin: 0; font-family: var(--font-display); font-size: 17px; }
.experience-features p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

/* Admin dark */
.admin {
  position: relative;
  background: var(--dark);
  color: #f4f1fb;
  overflow: hidden;
  padding: 120px 0;
}
.admin-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 80% at 65% 45%, black, transparent 75%);
}
.admin::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -200px;
  top: -220px;
  background: radial-gradient(circle, rgba(91, 75, 232, .35), transparent 65%);
  filter: blur(20px);
}
.admin-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.admin-grid > * { min-width: 0; }
.admin h2 { color: #fff; }
.accent-light { color: #b9afff; }
.admin .section-sub { color: #a79db7; }
.admin-points { display: flex; flex-direction: column; gap: 22px; margin: 32px 0 36px; }
.admin-points > div { position: relative; padding-left: 23px; }
.admin-points .dot { position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 3px; }
.dot-indigo { background: #7c70ff; }
.dot-amber { background: var(--amber); }
.dot-sky { background: #38bdf8; }
.admin-points strong { font-size: 13.5px; color: #fff; }
.admin-points p { margin: 2px 0 0; font-size: 13px; color: #958aa7; line-height: 1.55; }

.admin-visual { position: relative; min-width: 0; }
.browser {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  background: #0d0b16;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
  min-width: 0;
  max-width: 100%;
}
.browser img { width: 100%; height: auto; }
.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: #171223;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; }
.browser-dot.red { background: #ff5f57; }
.browser-dot.amber { background: #febc2e; }
.browser-dot.green { background: #28c840; }
.browser-url {
  flex: 1;
  margin-left: 7px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: #7d748d;
  font-size: 9px;
}
.admin-float {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 15px;
  box-shadow: 0 28px 50px -18px rgba(0,0,0,.7);
}
.admin-float span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.admin-float strong { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.25; letter-spacing: -.04em; }
.admin-float em { display: block; font-style: normal; font-size: 9.5px; color: var(--green); }
.admin-float-a { left: -24px; bottom: -28px; }
.admin-float-b { right: -18px; top: -24px; }

/* Classroom */
.split { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; }
.split > * { min-width: 0; }
.check-list { list-style: none; padding: 0; margin: 28px 0 26px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { position: relative; padding-left: 27px; font-size: 14px; color: var(--ink-soft); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f8ee;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}
.split-visual { position: relative; display: flex; justify-content: center; }
.phone-medium { width: 320px; transform: rotate(-1.5deg); }
.floating-note {
  position: absolute;
  right: -10px;
  bottom: 70px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow-md);
}
.floating-note strong { display: block; font-size: 11.5px; }
.floating-note span { display: block; font-size: 10px; color: var(--muted); }

/* White label */
.white-label { background: #f5efe9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.white-label-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; align-items: stretch; }
.white-label-grid > * { min-width: 0; }
.code-card {
  background: #141020;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: #d8d1e8;
  display: flex;
  flex-direction: column;
}
.code-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  font-size: 10.5px;
  color: #8d84a1;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.code-dots { display: flex; gap: 5px; }
.code-dots i { width: 7px; height: 7px; border-radius: 50%; background: #514b60; display: block; }
.code-dots i:first-child { background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc2e; }
.code-dots i:nth-child(3) { background: #28c840; }
.code-live { margin-left: auto; color: #6ee7a5; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.code-card pre { margin: 0; padding: 22px 24px; overflow-x: auto; font-size: 12px; line-height: 1.9; flex: 1; }
.c-key { color: #c7bfff; }
.c-prop { color: #8bd5ff; }
.c-str { color: #f6d48c; }
.c-bool { color: #7ddba5; }
.code-foot {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #8d84a1;
}
.code-foot code { background: #211a32; color: #d8d1e8; padding: 5px 8px; border-radius: 6px; }
.brand-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.swatches > div { border: 1px solid var(--line); border-radius: 11px; padding: 9px; display: grid; grid-template-columns: 26px 1fr; column-gap: 9px; align-items: center; }
.swatches span { width: 26px; height: 26px; border-radius: 8px; grid-row: span 2; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.swatches label { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); line-height: 1.2; }
.swatches code { font-size: 9px; color: var(--ink); line-height: 1.25; }
.brand-assets { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.brand-assets > div:not(.asset-note) { text-align: center; }
.brand-assets img { width: 54px; height: 54px; border-radius: 13px; }
.brand-assets span { display: block; margin-top: 5px; font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.asset-note { margin-left: 3px; }
.asset-note strong { display: block; font-size: 11.5px; }
.asset-note span { font-size: 10px; line-height: 1.5; text-transform: none; letter-spacing: 0; margin-top: 3px; }
.sync-list { display: flex; flex-direction: column; gap: 7px; }
.sync-list span { font-family: "SFMono-Regular", ui-monospace, monospace; font-size: 9px; color: var(--muted); background: #f8f3ee; padding: 6px 8px; border-radius: 6px; }

/* Money */
.money-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.money-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px 23px; display: flex; flex-direction: column; min-height: 250px; }
.money-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.money-icon { width: 39px; height: 39px; border-radius: 11px; background: var(--indigo); color: white; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.money-icon-amber { background: #f0a91e; }
.money-icon-sky { background: var(--sky); }
.badge { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--indigo); background: var(--indigo-soft); padding: 5px 9px; border-radius: 999px; }
.money-card h3 { margin: 0; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.money-card p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); flex: 1; }
.money-foot { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted-2); padding-top: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.money-note { display: flex; align-items: center; gap: 12px; margin: 26px auto 0; max-width: 760px; justify-content: center; text-align: center; color: var(--muted); font-size: 12px; }
.money-note p { margin: 0; }
.money-note strong { color: var(--ink); }

/* Gallery */
.gallery-section { padding-top: 100px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  aspect-ratio: 16 / 10.4;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-wide { grid-column: span 2; aspect-ratio: auto; min-height: 300px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.02); }
.gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(18, 15, 29, .78);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 7px;
}

/* Pricing */
.pricing {
  background: #f4eee8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-grid { display: grid; grid-template-columns: 1.05fr .85fr; gap: 80px; align-items: center; }
.check-list-dark li { color: var(--ink-soft); }
.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid #e2d6cb;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.price-badge { position: absolute; top: 20px; right: 22px; background: #fff4da; color: #99630a; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }
.price-label { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.price-line { display: flex; align-items: baseline; gap: 12px; margin: 13px 0 0; }
.old-price { font-size: 19px; color: var(--muted-2); text-decoration: line-through; }
.price { font-family: var(--font-display); font-size: 62px; line-height: 1; letter-spacing: -.06em; font-weight: 700; }
.price-note { color: var(--muted); font-size: 12.5px; margin: 9px 0 24px; }
.price-card .btn { margin-bottom: 8px; }
.price-includes { list-style: none; padding: 19px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.price-includes li { position: relative; padding-left: 22px; font-size: 12.5px; color: var(--ink-soft); }
.price-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-size: 11px; font-weight: 700; }
.price-small { margin: 18px 0 0; text-align: center; font-size: 9.5px; color: var(--muted-2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-head .section-sub { margin-bottom: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-body); font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .2s ease; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -6px 0 22px; max-width: 620px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.faq-list code { font-size: .9em; background: #f1e9e2; padding: 2px 5px; border-radius: 4px; }

/* Final CTA */
.final-cta { position: relative; background: var(--dark); color: #fff; padding: 100px 0; overflow: hidden; text-align: center; }
.final-glow { position: absolute; width: 900px; height: 500px; left: 50%; top: -250px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(99,102,241,.42), transparent 65%); filter: blur(20px); }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-inner img { width: 62px; height: 62px; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(99,102,241,.7); }
.final-inner h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: 22px; }
.final-inner p { color: #a79db7; max-width: 560px; margin: 16px auto 0; font-size: 15px; }
.final-inner .hero-actions { justify-content: center; margin-top: 30px; }

/* Footer */
.site-footer { background: #0d0a15; color: #a79db7; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.07); }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word span { color: #a99fff; }
.footer-brand p { margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: #7f768e; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-links strong { color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 5px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; font-size: 10px; color: #625a70; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 5, 14, .9); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 94vw); max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.15); }

/* Reveal */
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal-enabled [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; font-size: 13px; }
  .hero-grid { gap: 30px; }
  .float-community { left: -20px; }
  .float-lesson { right: -20px; }
  .admin-grid { gap: 40px; }
  .admin-float-a { left: 10px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu:not([hidden]) { display: block; }
  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: auto; padding-top: 32px; }
  .hero-visual::before, .hero-visual::after { display: none; }
  .float-community { left: 2%; top: 90px; }
  .float-lesson { right: 2%; bottom: 90px; }
  .hero-badge { right: 3%; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .stats-strip div:nth-child(3) { border-right: 0; }
  .stats-strip div:nth-child(4), .stats-strip div:nth-child(5) { border-top: 1px solid var(--line); padding-top: 18px; }
  .stats-strip div:nth-child(4) { grid-column: 1 / span 1; }
  .stats-strip div:nth-child(5) { grid-column: 2 / span 2; border-right: 0; }
  .feature-grid, .money-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid, .split, .white-label-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .admin-visual { max-width: 760px; }
  .admin-float-a { left: 16px; bottom: -22px; }
  .admin-float-b { right: 10px; }
  .split-visual { justify-content: flex-start; padding-left: 30px; margin-top: 12px; }
  .phone-row { gap: 18px; }
  .phone-small { max-width: 270px; }
  .experience-features { gap: 22px; }
  .faq-grid { gap: 26px; }
  .section { padding: 88px 0; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .nav-inner { height: 68px; }
  .brand-word { font-size: 22px; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-sub { font-size: 15.5px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .hero-meta { gap: 8px 16px; font-size: 11px; }
  .hero-visual { padding-top: 22px; }
  .phone-hero { width: 88%; }
  .float-card { padding: 9px 11px; }
  .float-community { left: 0; top: 80px; }
  .float-lesson { right: 0; bottom: 70px; }
  .hero-badge { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 18px 4px; }
  .stats-strip div { border-right: 0; padding: 0 8px; }
  .stats-strip div:nth-child(3) { border-right: 0; }
  .stats-strip div:nth-child(3), .stats-strip div:nth-child(5) { grid-column: auto; border-top: 1px solid var(--line); padding-top: 14px; }
  .stats-strip div:nth-child(4) { border-top: 1px solid var(--line); padding-top: 14px; }
  .stats-strip strong { font-size: 22px; }
  .stats-strip span { font-size: 8.5px; }
  .tech-inner { justify-content: flex-start; gap: 10px 18px; font-size: 10px; padding: 16px 0; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 34px; }
  h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .section-sub { font-size: 14.5px; }
  .feature-grid, .money-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 23px 20px; }
  .phone-row { grid-template-columns: 1fr; gap: 36px; }
  .phone-card-raised { margin-top: 0; }
  .phone-small { max-width: 250px; }
  .experience-features { grid-template-columns: 1fr; gap: 20px; }
  .admin { padding: 78px 0; }
  .admin-float { display: none; }
  .browser { border-radius: 13px; }
  .browser-bar { height: 30px; }
  .split-visual { padding-left: 0; justify-content: center; }
  .phone-medium { width: 250px; }
  .floating-note { right: 0; bottom: 30px; }
  .brand-assets { flex-wrap: wrap; }
  .asset-note { flex: 1 1 100%; margin-left: 0; }
  .price-card { padding: 26px 22px; }
  .price { font-size: 52px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; min-height: 0; aspect-ratio: 16 / 10.4; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .money-note { align-items: flex-start; text-align: left; }
  .final-cta { padding: 76px 0; }
  .final-inner .hero-actions { width: 100%; }
  .final-inner .hero-actions .btn { flex: 1; }
  .site-footer { padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal-enabled [data-reveal] { opacity: 1; transform: none; }
}
