@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap');

:root {
  --ink: #071424;
  --ink-2: #0d2036;
  --paper: #f3efe5;
  --paper-2: #e7e0d1;
  --white: #fffdf7;
  --lime: #c8ff2e;
  --cyan: #51ddd4;
  --muted: #637080;
  --line: rgba(7, 20, 36, .15);
  --radius: 34px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 78% 8%, rgba(255,255,255,.76), transparent 34%), var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}
.skip:focus { top: 16px; }

.island-nav {
  position: relative;
  z-index: 10;
  width: min(1180px, calc(100% - 40px));
  min-height: 62px;
  margin: 22px auto 0;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(255,253,247,.78);
  box-shadow: 0 18px 54px rgba(7,20,36,.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: max-content; }
.brand span {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--lime);
  font-family: Unbounded, sans-serif; font-size: 12px; letter-spacing: .08em;
}
.brand strong { font-family: Unbounded, sans-serif; font-size: 13px; letter-spacing: .08em; }
.nav-kind { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.island-nav > a:last-child { justify-self: end; padding-right: 15px; font-size: 13px; font-weight: 700; }

main { width: min(1260px, calc(100% - 40px)); margin: 0 auto; }
.hero-workbench {
  position: relative;
  min-height: 760px;
  padding: 64px 52px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
}
.hero-workbench::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 540px; height: 540px;
  right: -160px; top: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  filter: blur(2px);
}
.hero-copy { max-width: 665px; }
.kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 24px;
  color: #167f83;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.kicker span { width: 36px; height: 2px; background: var(--accent); }
h1, h2 { margin: 0; font-family: Unbounded, Manrope, sans-serif; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
h1 { max-width: 820px; font-size: clamp(46px, 4.85vw, 70px); font-weight: 600; }
.lead { max-width: 640px; margin: 28px 0 0; color: #465466; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }

.access-form {
  position: relative;
  max-width: 650px;
  margin-top: 36px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 12px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  background: rgba(255,253,247,.88);
  box-shadow: 0 26px 70px rgba(7,20,36,.12);
}
.email-field { min-width: 0; grid-column: 1; grid-row: 1; display: grid; gap: 6px; }
.email-field > span { padding-left: 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.email-field input {
  width: 100%; min-height: 58px; padding: 0 18px;
  border: 1px solid rgba(7,20,36,.18); border-radius: 14px;
  outline: 0; background: var(--white); color: var(--ink); font-weight: 650;
}
.email-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.email-field small { min-height: 0; color: #af2d2d; font-size: 12px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.main-cta {
  min-height: 82px;
  align-self: end;
  display: inline-grid;
  grid-template-columns: auto 58px;
  align-items: stretch;
  padding: 0;
  border: 0; border-radius: 15px;
  background: var(--lime); color: var(--ink);
  cursor: pointer; overflow: hidden; text-decoration: none;
  box-shadow: 0 12px 30px rgba(126,161,15,.2);
}
.access-form > .main-cta { grid-column: 2; grid-row: 1; }
.main-cta b { display: flex; align-items: center; padding: 0 22px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.main-cta i { display: grid; place-items: center; border-left: 1px solid rgba(7,20,36,.14); font-style: normal; }
.main-cta:hover i svg { transform: translateX(4px); }
.main-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.main-cta:disabled { cursor: wait; opacity: .65; }
.main-cta svg { transition: transform .2s ease; }
.consent-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}
.consent-field input { position: absolute; opacity: 0; }
.consent-field > span {
  width: 18px; height: 18px; margin-top: 2px;
  border: 1px solid rgba(7,20,36,.28); border-radius: 5px; background: var(--white);
}
.consent-field input:checked + span { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--lime); }
.consent-field input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.consent-field small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent-field--optional { opacity: .88; }
.assurance, .form-result { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.form-result { min-height: 0; color: #176c5c; font-weight: 700; }
.form-result.is-error { color: #af2d2d; }
.vk-route { display: inline-flex; gap: 8px; margin: 18px 0 0 20px; color: #375c83; font-size: 13px; font-weight: 700; }

.course-object { position: relative; justify-self: center; width: min(100%, 500px); }
.course-object__shell {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(7,20,36,.15);
  border-radius: 44px;
  background: rgba(255,255,255,.38);
  box-shadow: 0 42px 80px rgba(7,20,36,.18);
  transform: rotate(1.5deg);
}
.course-object__shell::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid rgba(255,255,255,.75); border-radius: 37px; pointer-events: none;
}
.course-object__core { margin: 0; position: relative; overflow: hidden; border-radius: 30px; background: var(--ink); aspect-ratio: 4 / 5; }
.course-object__core img { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.course-object__core::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.course-object__core figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  padding: 18px 20px; border-radius: 18px;
  background: rgba(7,20,36,.86); color: var(--white); backdrop-filter: blur(12px);
}
.course-object__core figcaption span { display: block; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.course-object__core figcaption strong { display: block; margin-top: 5px; font-family: Unbounded, sans-serif; font-size: 17px; line-height: 1.2; }
.subject-trace { position: absolute; z-index: -1; inset: -38px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 48%; transform: rotate(-5deg); }
.subject-trace i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent-2) 15%, transparent); }
.subject-trace i:nth-child(1) { left: 8%; top: 30%; }
.subject-trace i:nth-child(2) { right: 10%; top: 14%; }
.subject-trace i:nth-child(3) { right: -1%; bottom: 28%; }
.subject-trace i:nth-child(4) { left: 18%; bottom: 4%; }
.subject-trace i:nth-child(5) { left: 52%; top: -1%; }

/* Seven subject compositions: same conversion path, different visual grammar. */
.layout-poster .course-object__core { aspect-ratio: 3 / 4; }
.layout-poster .course-object__shell { transform: rotate(-2deg); }
.layout-poster .course-object__shell::after { content: "EDITION 01"; position: absolute; right: -34px; top: 84px; color: var(--ink); font: 700 10px Unbounded; letter-spacing: .18em; transform: rotate(90deg); }
.layout-book .course-object { width: min(100%, 420px); }
.layout-book .course-object__core { aspect-ratio: 3 / 4.35; }
.layout-book .course-object__shell { padding: 10px 24px 10px 10px; border-radius: 22px 34px 34px 22px; transform: perspective(900px) rotateY(-8deg); background: color-mix(in srgb, var(--accent-2) 70%, white); }
.layout-book .course-object__core { border-radius: 14px 24px 24px 14px; }
.layout-console .course-object__shell { background: var(--ink-2); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.layout-console .course-object__core { aspect-ratio: 1 / .78; margin: 48px 8px 8px; border-radius: 18px; }
.layout-console .course-object__shell::after { content: "●  ●  ●"; position: absolute; top: 24px; left: 28px; color: var(--accent); font-size: 12px; letter-spacing: 10px; }
.layout-orbit .subject-trace { inset: -58px; border-radius: 50%; }
.layout-orbit .subject-trace::before { content: ""; position: absolute; inset: 54px; border: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent); border-radius: 50%; }
.layout-layers .course-object__shell::after { content: ""; position: absolute; inset: 30px -20px -24px 30px; z-index: -1; border: 2px solid var(--accent); border-radius: 40px; }
.layout-cascade .course-object__shell { transform: rotate(3deg); }
.layout-cascade .course-object::before, .layout-cascade .course-object::after { content: ""; position: absolute; z-index: -1; inset: 20px -24px -20px 24px; border-radius: 40px; background: color-mix(in srgb, var(--accent) 70%, var(--ink)); transform: rotate(4deg); }
.layout-cascade .course-object::after { inset: 38px -44px -38px 44px; background: color-mix(in srgb, var(--accent-2) 55%, var(--ink)); transform: rotate(7deg); }
.layout-route .subject-trace { border-radius: 28% 65% 32% 60%; border-width: 2px; }

.practice-spread {
  margin: 0 0 28px;
  padding: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  border-radius: var(--radius);
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.spread-title p { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.spread-title h2 { font-size: clamp(36px, 4.3vw, 62px); }
.outcome-path { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.outcome-path li { min-height: 102px; padding: 22px 0; display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.outcome-path span { color: var(--accent); font: 600 13px Unbounded, sans-serif; }
.outcome-path strong { font-size: clamp(18px, 2vw, 25px); line-height: 1.3; }

.delivery {
  margin: 0 0 90px;
  padding: clamp(48px, 7vw, 88px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,247,.72);
}
.delivery-copy { max-width: 760px; }
.delivery h2 { font-size: clamp(36px, 4.8vw, 68px); }
.delivery-steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.delivery-steps p { min-height: 160px; margin: 0; padding: 30px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.delivery-steps p:last-child { border-right: 0; }
.delivery-steps b { color: #187f83; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.delivery-steps span { font-size: 17px; font-weight: 650; }
.main-cta--link { width: max-content; margin-top: 36px; }

footer {
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  display: grid; grid-template-columns: auto 1fr; gap: 30px 70px;
  background: var(--ink); color: rgba(255,255,255,.72);
}
footer > div { display: flex; flex-direction: column; gap: 8px; }
footer strong { color: var(--white); font-family: Unbounded, sans-serif; }
footer nav { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; font-size: 13px; }

.cookie-note {
  position: fixed; z-index: 50; left: auto; right: 18px; bottom: 18px;
  max-width: 660px; margin: 0; padding: 12px 14px 12px 18px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  background: rgba(7,20,36,.96); color: rgba(255,255,255,.78); box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; font-size: 12px; }
.cookie-note div { display: flex; gap: 8px; }
.cookie-note button { padding: 10px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: transparent; color: white; cursor: pointer; font-size: 12px; font-weight: 700; }
.cookie-note button:last-child { border-color: var(--lime); background: var(--lime); color: var(--ink); }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-kind { display: none; }
  .island-nav { grid-template-columns: 1fr auto; }
  .hero-workbench { min-height: 0; padding: 70px 18px 80px; grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { max-width: 760px; }
  .course-object { width: min(72vw, 510px); }
  .practice-spread { grid-template-columns: 1fr; }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps p { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .delivery-steps p:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .island-nav { width: calc(100% - 24px); min-height: 54px; margin-top: 12px; }
  .brand span { width: 36px; height: 36px; }
  .brand strong { display: none; }
  .island-nav > a:last-child { font-size: 12px; }
  main { width: calc(100% - 24px); }
  .hero-workbench { padding: 46px 2px 64px; gap: 48px; }
  .course-object { width: min(84vw, 420px); }
  .course-object__shell { border-radius: 30px; }
  .course-object__core { border-radius: 21px; }
  .course-object__core figcaption { left: 12px; right: 12px; bottom: 12px; padding: 13px 15px; }
  .course-object__core figcaption strong { font-size: 14px; }
  h1 { font-size: clamp(38px, 11vw, 50px); }
  .lead { margin-top: 20px; font-size: 16px; }
  .access-form { padding: 14px; grid-template-columns: 1fr; border-radius: 20px; }
  .main-cta { width: 100%; min-height: 64px; grid-template-columns: 1fr 58px; }
  .access-form > .main-cta { grid-column: 1; grid-row: 2; }
  .consent-field, .assurance, .form-result { grid-column: 1; }
  .practice-spread, .delivery { padding: 42px 24px; border-radius: 24px; }
  .outcome-path li { grid-template-columns: 48px 1fr; min-height: 88px; }
  .delivery { margin-bottom: 52px; }
  .delivery-steps { margin-top: 34px; }
  .delivery-steps p { padding: 24px 0; }
  .main-cta--link { width: 100%; }
  footer { grid-template-columns: 1fr; padding: 36px 24px; }
  footer nav { justify-self: start; justify-content: flex-start; flex-direction: column; }
  footer small { grid-column: 1; }
  .cookie-note { left: 8px; right: 8px; bottom: 8px; max-width: none; grid-template-columns: 1fr; }
  .cookie-note div { width: 100%; }
  .cookie-note button { flex: 1; }
}

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