:root {
  --ink: #10151c;
  --ink-soft: #39424e;
  --paper: #f5f7f3;
  --surface: #ffffff;
  --night: #111923;
  --night-2: #182431;
  --line: #d8ded8;
  --lime: #b7f34a;
  --lime-dark: #87bd29;
  --cyan: #74d7ff;
  --orange: #ff8b4c;
  --muted: #6c7680;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 50px rgba(20, 31, 42, 0.1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 222, 216, 0.9);
  background: rgba(245, 247, 243, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--night);
  background: var(--lime);
  font: 800 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--lime-dark);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-cta {
  padding: 10px 17px;
  color: var(--paper) !important;
  border-radius: 999px;
  background: var(--night);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
}

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(16, 21, 28, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(183, 243, 74, 0.05), 0 0 0 140px rgba(116, 215, 255, 0.035);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #597d21;
  font: 800 0.78rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.product-content h1,
.standalone-notice h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.7rem, 6.6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: #597d21;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-actions,
.section-actions,
.loading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--night);
  background: var(--lime);
  box-shadow: 0 10px 24px rgba(127, 174, 41, 0.22);
}

.button-primary:hover {
  background: #c5ff5e;
  box-shadow: 0 14px 32px rgba(127, 174, 41, 0.3);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: #a7b1a8;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  display: grid;
  gap: 2px;
}

.hero-stats strong {
  font-size: 1.1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.code-window {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  color: #ecf4f7;
  background: var(--night);
  box-shadow: 0 28px 80px rgba(13, 24, 34, 0.24);
}

.code-window::before {
  content: "";
  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: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.window-bar {
  position: relative;
  z-index: 2;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d4c59;
}

.window-bar i:first-child { background: var(--orange); }
.window-bar i:nth-child(2) { background: #f4d85f; }
.window-bar i:nth-child(3) { background: var(--lime); }

.window-bar span {
  margin-left: auto;
  color: #8fa1ad;
  font: 0.77rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.code-body {
  position: relative;
  z-index: 2;
  padding: 48px 44px;
  font: clamp(0.86rem, 1.3vw, 1.02rem)/1.9 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.code-line {
  display: block;
  white-space: pre-wrap;
}

.code-line::before {
  content: attr(data-line);
  display: inline-block;
  width: 34px;
  color: #546570;
  user-select: none;
}

.token-key { color: #c2a4ff; }
.token-type { color: var(--cyan); }
.token-method { color: #f5dd62; }
.token-string { color: var(--lime); }

.code-badge {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 3;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: var(--lime);
  font: 900 2.6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  transform: rotate(7deg);
}

.code-badge small {
  position: absolute;
  bottom: 26px;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.section {
  padding: 102px 0;
}

.section-sm {
  padding: 74px 0;
}

.section-dark {
  color: var(--paper);
  background: var(--night);
}

.section-lime {
  background: var(--lime);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 44px;
}

.section-head h2,
.split-copy h2,
.free-guide h2,
.contact-card h2,
.detail-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-head > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.section-dark .section-head > p,
.section-dark .eyebrow {
  color: #a8b9c5;
}

.split {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: start;
  gap: 90px;
}

.split-kicker {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  font: 800 0.8rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-kicker::before {
  content: "";
  height: 2px;
  background: var(--lime-dark);
}

.split-copy p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split-copy .button {
  margin-top: 30px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(20, 31, 42, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.course-cover {
  position: relative;
  height: 252px;
  overflow: hidden;
  padding: 22px;
  color: #f4f8fa;
  background: var(--night);
}

.course-cover::before,
.product-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.045) 50%, transparent 51%), linear-gradient(transparent 49%, rgba(255,255,255,.045) 50%, transparent 51%);
  background-size: 38px 38px;
}

.course-cover::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -78px;
  width: 190px;
  height: 190px;
  border: 42px solid var(--course-accent);
  border-radius: 50%;
  opacity: 0.85;
}

.cover-top,
.product-cover-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font: 700 0.65rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.cover-id {
  color: var(--course-accent);
}

.cover-brace {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  color: var(--course-accent);
  font: 900 4.3rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.18em;
}

.cover-code,
.product-cover-lines {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.cover-code i,
.product-cover-lines i {
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.3);
}

.cover-code i:first-child { width: 58%; }
.cover-code i:nth-child(2) { width: 38%; }
.cover-code i:nth-child(3) { width: 48%; background: var(--course-accent); }

.course-card-body {
  padding: 25px;
}

.course-meta {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: #eef1ed;
  font-size: 0.75rem;
  font-weight: 750;
}

.price {
  font-weight: 850;
}

.course-card h3 {
  margin: 20px 0 8px;
  font-size: 1.48rem;
  letter-spacing: -0.025em;
}

.course-card p {
  min-height: 78px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  background: var(--night-2);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--night);
  background: var(--lime);
}

.benefit-icon svg {
  width: 25px;
  height: 25px;
}

.benefit h3 {
  margin: 62px 0 10px;
  font-size: 1.28rem;
}

.benefit p {
  margin: 0;
  color: #a8b9c5;
}

.mission-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  padding: 66px;
  border-radius: var(--radius-lg);
  color: var(--paper);
  background: #1d2b36;
}

.mission-panel::after {
  content: "<>";
  position: absolute;
  right: -20px;
  bottom: -54px;
  color: rgba(183,243,74,.12);
  font: 900 13rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mission-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.mission-panel p {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #bed0d9;
  font-size: 1.05rem;
}

.free-guide {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

.free-guide p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
}

.section-lime .eyebrow {
  color: #334916;
}

.section-lime .button-primary {
  color: var(--paper);
  background: var(--night);
  box-shadow: none;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.faq-list summary {
  position: relative;
  padding: 21px 62px 21px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1ed;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: 0;
  padding: 0 24px 23px;
  color: var(--muted);
}

.page-hero {
  padding: 82px 0 58px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-hero .lede {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 1.13rem;
}

.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.catalogue-toolbar p { margin: 0; color: var(--muted); }
.catalogue-toolbar strong { color: var(--ink); }

.product-main {
  padding: 72px 0 100px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 72px;
}

.product-visual {
  position: sticky;
  top: 112px;
}

.product-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 650px;
  padding: 35px;
  border-radius: var(--radius-lg);
  color: #f4f8fa;
  background: var(--night);
  box-shadow: 0 30px 70px rgba(14, 24, 33, 0.22);
}

.product-cover::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border: 68px solid var(--course-accent);
  border-radius: 50%;
}

.product-cover-brace {
  position: relative;
  z-index: 2;
  margin-top: 30%;
  color: var(--course-accent);
  font: 900 clamp(5rem, 10vw, 8rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.2em;
}

.product-cover-lines { margin-top: 42px; }
.product-cover-lines i:first-child { width: 70%; }
.product-cover-lines i:nth-child(2) { width: 48%; }
.product-cover-lines i:nth-child(3) { width: 64%; background: var(--course-accent); }
.product-cover-lines i:nth-child(4) { width: 40%; }

.product-cover-foot {
  position: absolute;
  left: 35px;
  bottom: 32px;
  z-index: 2;
  color: #8295a1;
  font: 700 0.7rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.15em;
}

.product-content {
  padding-top: 18px;
}

.product-content h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.product-tagline {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.fact {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: var(--surface);
}

.fact span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-description {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.product-buy {
  margin-top: 18px;
}

.cta-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  margin-top: 92px;
}

.detail-card {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.detail-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.detail-card-dark {
  color: var(--paper);
  border-color: transparent;
  background: var(--night);
}

.detail-card-dark .eyebrow { color: var(--lime); }

.module-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.module-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.module-number {
  color: var(--muted);
  font: 700 0.78rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #c7d3da;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 900;
}

.format-note {
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.format-note p {
  margin: 7px 0 0;
  color: #a8b9c5;
}

.prose {
  padding-bottom: 100px;
}

.prose h2 {
  margin: 48px 0 14px;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 32px 0 10px;
  font-size: 1.2rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose a {
  color: #4c701b;
  font-weight: 700;
}

.legal-meta {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: #e8ece7;
  font-size: 0.8rem;
  font-weight: 750;
}

.info-box {
  margin: 32px 0;
  padding: 24px;
  border-left: 4px solid var(--lime-dark);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
}

.info-box p { margin: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-bottom: 100px;
}

.about-panel {
  min-height: 370px;
  padding: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.about-panel-dark {
  color: var(--paper);
  background: var(--night);
}

.about-panel h2 {
  margin: 0 0 20px;
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.about-panel p { color: var(--ink-soft); }
.about-panel-dark p { color: #b8c7d0; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 100px;
}

.principle {
  padding: 28px;
  border-top: 4px solid var(--lime-dark);
  border-radius: 0 0 18px 18px;
  background: var(--surface);
}

.principle h3 { margin: 0 0 9px; }
.principle p { margin: 0; color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding-bottom: 100px;
}

.contact-card {
  padding: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-card-dark {
  color: var(--paper);
  background: var(--night);
}

.contact-card p { color: var(--ink-soft); }
.contact-card-dark p { color: #b8c7d0; }

.contact-list {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-list span {
  color: #80929e;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-list a { color: var(--lime); }

.loading-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  color: var(--paper);
  background: var(--night);
}

.loading-card {
  width: min(100%, 590px);
  padding: 52px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--night-2);
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}

.loading-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 30px;
  border: 4px solid rgba(255,255,255,.12);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 760ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-card h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.loading-card p {
  margin: 18px auto 0;
  color: #a8b9c5;
}

.loading-actions {
  justify-content: center;
}

.loading-actions .button-secondary {
  color: var(--paper);
  border-color: rgba(255,255,255,.15);
  background: transparent;
}

.notice {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.notice h2 { margin: 0 0 10px; }
.notice p { color: var(--muted); }
.standalone-notice { margin: 60px 0; }
.standalone-notice h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }

.site-footer {
  padding: 72px 0 28px;
  color: #dbe5ea;
  background: #0c1219;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.8fr;
  gap: 68px;
}

.footer-title {
  margin: 0 0 19px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-copy {
  max-width: 560px;
  margin: 0;
  color: #91a2ad;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: #b8c6cf;
  font-style: normal;
}

.footer-contact strong { color: #fff; }
.footer-contact a { color: var(--lime); text-underline-offset: 3px; }

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  color: #a9b8c1;
  text-decoration: none;
}

.footer-links a:hover { color: var(--lime); }

.footer-social-note {
  margin: 22px 0 0;
  color: #71838e;
  font-size: .85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #71838e;
  font-size: .84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; gap: 5px; }
  .site-nav a { padding: 11px; }
  .site-nav a::after { display: none; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .code-window { min-height: 420px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split-kicker { position: static; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-panel { grid-template-columns: 1fr; padding: 48px; }
  .free-guide { grid-template-columns: 1fr; gap: 26px; }
  .product-layout { grid-template-columns: .82fr 1.18fr; gap: 42px; }
  .product-details-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr .8fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand { font-size: .98rem; }
  .hero { padding: 52px 0 60px; }
  .hero h1, .page-hero h1 { letter-spacing: -.05em; }
  .hero-actions .button { width: 100%; }
  .hero-stats { gap: 18px 28px; }
  .code-window { min-height: 365px; border-radius: 24px; }
  .code-body { padding: 34px 22px; font-size: .78rem; }
  .code-badge { width: 98px; height: 98px; right: 18px; bottom: 18px; font-size: 2rem; }
  .code-badge small { bottom: 19px; }
  .section { padding: 76px 0; }
  .section-sm { padding: 58px 0; }
  .section-head { display: grid; gap: 18px; margin-bottom: 34px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card p { min-height: auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { min-height: 230px; }
  .benefit h3 { margin-top: 42px; }
  .mission-panel { padding: 34px 26px; border-radius: 24px; }
  .page-hero { padding: 58px 0 42px; }
  .catalogue-toolbar { align-items: flex-start; flex-direction: column; }
  .product-main { padding-top: 42px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-visual { position: static; }
  .product-cover { max-width: 470px; margin-inline: auto; }
  .product-content h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .product-facts { grid-template-columns: 1fr; }
  .product-details-grid { margin-top: 58px; }
  .detail-card, .about-panel, .contact-card { padding: 28px; }
  .loading-card { padding: 38px 22px; }
  .loading-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}
