/* Stellar Programs — design tokens. Dark is the default (deep space); light is the comparison Wren asked for. */
:root {
  --bg: #0a1130; --bg-2: #0f1740; --surface: #141c48; --surface-2: #1b2456; --line: #2b3576;
  --text: #f3f3fb; --muted: #b9bcdc; --faint: #8388b8;
  --electric: #5a4ff2; --electric-ink: #9a93ff; --pink: #ff7ad9; --pink-ink: #ff7ad9; --gold: #ffc35c; --gold-ink: #ffc35c; --nova: #ac1592; --pulsar: #9d48c2; --astro: #9292da; --cosmos: #f4d7ff;
  --grad: linear-gradient(100deg, #5a4ff2 0%, #9d48c2 55%, #ff7ad9 100%);
  --glow: 0 0 0 1px #2f3a7c, 0 20px 60px -20px rgba(90,79,242,.55);
  --radius: 14px; --wrap: 1120px;
  --display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbfaff; --bg-2: #f3f0ff; --surface: #ffffff; --surface-2: #f6f3ff; --line: #e4e0f5;
  --text: #12122a; --muted: #4c4d6e; --faint: #7a7b9c;
  --electric-ink: #4a3fe0; --pink-ink: #c2178a; --gold-ink: #b26a00;
  --glow: 0 0 0 1px #e8e4fa, 0 20px 50px -24px rgba(90,79,242,.35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--bg);
  background-image: radial-gradient(60% 45% at 20% 5%, rgba(157,72,194,.22), transparent 60%),
                    radial-gradient(45% 40% at 85% 20%, rgba(90,79,242,.22), transparent 60%),
                    radial-gradient(40% 40% at 70% 95%, rgba(255,122,217,.14), transparent 60%),
                    var(--stars);
  background-size: auto, auto, auto, 1600px 1000px; background-repeat: no-repeat, no-repeat, no-repeat, repeat; }
:root[data-theme="light"] .sky { background-image: radial-gradient(60% 45% at 20% 5%, rgba(157,72,194,.10), transparent 60%),
                    radial-gradient(45% 40% at 85% 20%, rgba(90,79,242,.10), transparent 60%),
                    radial-gradient(40% 40% at 70% 95%, rgba(255,122,217,.10), transparent 60%), var(--stars); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
a { color: var(--electric-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; letter-spacing: .005em; line-height: 1.05; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(30px, 4.6vw, 48px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); text-transform: none; letter-spacing: 0; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--body); font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { max-width: 1340px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 72px; padding: 12px 22px; }
.brand { display: inline-flex; flex-direction: column; width: 176px; flex-shrink: 0; line-height: .95; color: var(--text); text-decoration: none !important; }
.brand-text, .foot-brand { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: .03em; }
.foot-brand { font-size: 22px; }
.comet { display: block; width: 100%; height: auto; }
.comet-sm { width: 100%; margin-top: -2px; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; row-gap: 12px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav .btn-small { margin-left: 8px; }
.nav a[aria-current="page"] { color: var(--text); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.theme { flex-shrink: 0; background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme .ico-sun { display: none; } .theme .ico-moon { display: block; }
:root[data-theme="light"] .theme .ico-sun { display: block; } :root[data-theme="light"] .theme .ico-moon { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 800; font-size: 16px; color: #fff !important; background: var(--grad); text-decoration: none !important; border: 0; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(255,122,217,.6); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(255,122,217,.8); }
.btn:disabled { opacity: .6; transform: none; cursor: wait; }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text) !important; border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--electric); box-shadow: none; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 26px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.band { background: color-mix(in srgb, var(--surface) 55%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--glow); }
.card h3 { margin-top: 6px; }
.card p:last-child { margin-bottom: 0; }
.num { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--gold-ink); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: color-mix(in srgb, var(--electric) 22%, transparent); color: var(--electric-ink); }
.pill-pink { background: color-mix(in srgb, var(--pink) 20%, transparent); color: var(--pink-ink); }
.quote { border-left: 4px solid var(--pink); padding: 6px 0 6px 22px; margin: 26px 0; font-size: clamp(19px, 2.3vw, 24px); font-weight: 500; line-height: 1.45; color: var(--text); max-width: 60ch; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 15px; color: var(--muted); }
ul.checks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.checks li { position: relative; padding-left: 28px; margin: 0 0 10px; }
ul.checks li::before { content: ''; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.rule { height: 1px; background: var(--line); margin: 34px 0; }

/* Hero */
.hero { padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 7vw, 96px); }
.hero .wordmark { display: inline-block; width: max-content; max-width: 100%; }
.hero .wordmark h1 { font-size: clamp(40px, 9.5vw, 116px); letter-spacing: .01em; margin: 0; line-height: .95; }
.hero .comet-lg { display: block; width: 106%; max-width: 106%; margin: -4px 0 22px; }
.hero .tagline { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(20px, 3vw, 30px); letter-spacing: .12em; color: var(--pink-ink); margin: 0 0 22px; }
.hero .lead { max-width: 62ch; }
.page-head { padding: clamp(56px, 8vw, 110px) 0 clamp(28px, 4vw, 48px); }

/* About */
.portrait { width: min(320px, 100%); aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--glow); background: var(--grad); display: grid; place-items: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait .initials { font-family: var(--display); font-weight: 700; font-size: 120px; color: #fff; letter-spacing: .04em; }
.portrait-note { font-size: 14px; color: var(--faint); margin-top: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: 15px; }

/* Services */
.service { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .num { font-size: 34px; padding-top: 4px; }
.service h3 { margin-bottom: 6px; }
.service p:last-child { margin-bottom: 0; }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.level { position: relative; overflow: hidden; }
.level::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.level .display { font-size: 34px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .display { font-size: clamp(44px, 6vw, 64px); }

/* Theory */
.pillar { padding: 34px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 20px; }
.pillar .num { font-size: 56px; }
.pillar:last-of-type { border-bottom: 1px solid var(--line); }
.pillar h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 30px; letter-spacing: .01em; }
.pillar .own { font-size: 18px; }

/* Contact */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--electric); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: var(--electric-ink); } .form-status.err { color: var(--pink-ink); }
.contact-side .card + .card { margin-top: 18px; }
.contact-side a { font-weight: 700; }
.big-link { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); text-transform: none; letter-spacing: .01em; }

/* Footer */
.foot { margin-top: 40px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 45%, transparent); padding: 44px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot-tag { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--pink-ink); margin: 6px 0 8px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a, .foot-contact a { color: var(--muted); font-weight: 600; }
.foot-contact { display: grid; gap: 8px; align-content: start; }
.social { display: flex; gap: 14px; }
.foot-legal { margin-top: 30px; font-size: 13px; color: var(--faint); }

/* Placeholders that are honestly placeholders */
.soon { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); }

@media (max-width: 900px) {
  .grid-3, .grid-2, .levels, .two, .foot-grid, .form .row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .top-row { padding: 6px 22px; min-height: 64px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 14px 22px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav .btn-small { margin: 10px 0 0; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 17px; }
  .theme { margin-top: 8px; }
  .pillar { grid-template-columns: 1fr; gap: 6px; }
  .service { grid-template-columns: 1fr; gap: 6px; }
  .hero .wordmark h1 { font-size: clamp(34px, 10vw, 80px); }
}

/* Services — two fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { position: relative; overflow: hidden; }
.field::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.field h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 30px; letter-spacing: .01em; margin-top: 10px; }
.field ul { list-style: none; padding: 0; margin: 14px 0 0; }
.field li { padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; }
@media (max-width: 900px) { .fields { grid-template-columns: 1fr; } }
