:root {
  --background: #070907;
  --surface: #0d100d;
  --surface-soft: #131713;
  --text: #f4f6f2;
  --text-dark: #050805;
  --muted: #a7aea7;
  --muted-dark: #243027;
  --accent: #00ff62;
  --accent-hover: #23ff78;
  --border: rgba(244, 246, 242, 0.28);
  --border-strong: rgba(244, 246, 242, 0.78);
  --radius-large: 28px;
  --radius-medium: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --page-width: 1180px;
  --header-height: 88px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--background);
  color: var(--text);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(7, 9, 7, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(7, 9, 7, 0.96);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark > span {
  display: block;
  line-height: 1;
  transform: translateY(1px);
}

.brand-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  padding: 10px 15px;
  border-radius: 10px;
  color: #d9ded8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform var(--transition);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1.25fr);
  gap: clamp(34px, 5vw, 74px);
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "{ }";
  position: absolute;
  top: -34px;
  right: 28px;
  color: rgba(0, 0, 0, 0.07);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.14em;
  pointer-events: none;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.34);
  border-radius: 20px;
  background: #152017;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.9) contrast(1.03);
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.46), transparent 34%);
  pointer-events: none;
}

.photo-label {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 9px;
  background: rgba(5, 8, 5, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 255, 98, 0.13);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-block: 12px 42px;
}

.eyebrow,
.section-number {
  margin: 0 0 21px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow::before,
.section-number::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 10px;
  background: currentColor;
  vertical-align: middle;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(45px, 5.25vw, 73px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  color: rgba(5, 8, 5, 0.54);
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 650;
  line-height: 1.38;
}

.hero-note {
  max-width: 570px;
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 19px;
  border: 1px solid var(--text-dark);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.button-dark {
  background: var(--text-dark);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.button-dark:hover {
  background: #182019;
}

.button-outline-dark {
  background: transparent;
  color: var(--text-dark);
}

.button-outline-dark:hover {
  background: rgba(0, 0, 0, 0.08);
}

.hero-meta {
  max-width: 610px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.24);
}

.hero-meta > span {
  color: rgba(0, 0, 0, 0.48);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
}

.hero-meta p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.35;
}

.hero-meta strong {
  color: var(--text-dark);
  font-size: 13px;
}

.code-detail {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 22px;
  color: rgba(0, 0, 0, 0.48);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
}

.code-detail span {
  color: var(--text-dark);
  font-weight: 700;
}

.content-flow {
  padding-block: 112px 70px;
}

.section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-large);
}

.section + .section {
  margin-top: 34px;
}

.section-about {
  padding: clamp(38px, 6vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.section-heading .section-number,
.price-copy .section-number {
  color: var(--accent);
}

.section h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section h2 span {
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(470px, 1fr);
  gap: clamp(50px, 8vw, 106px);
  margin-top: 74px;
}

.about-intro p {
  max-width: 470px;
  margin: 20px 0 0;
  color: var(--muted);
}

.about-intro .lead-text {
  margin-top: 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 560;
  line-height: 1.48;
}

.fact-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.fact-list li {
  min-height: 74px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid var(--border);
  color: #e7eae6;
  font-size: 16px;
}

.fact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(0, 255, 98, 0.46);
  border-radius: 50%;
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
}

.code-icon {
  font-size: 10px;
}

.section-lessons {
  padding: clamp(38px, 6vw, 76px);
  background: var(--surface);
}

.section-heading-wide {
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
  column-gap: clamp(42px, 6vw, 84px);
  row-gap: 14px;
  align-items: end;
}

.section-heading-wide .section-number {
  grid-column: 1 / -1;
}

.section-heading-wide > p:last-child {
  max-width: 320px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.lesson-steps {
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.lesson-steps li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 22px;
  padding: 25px 3px;
  border-bottom: 1px solid var(--border);
  transition: padding-inline var(--transition), background var(--transition);
}

.lesson-steps li:hover {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.step-number {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.lesson-steps h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
}

.lesson-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  font-size: 18px;
}

.section-price {
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(310px, 0.8fr) minmax(480px, 1.2fr);
  gap: 70px;
  align-items: center;
  padding: clamp(38px, 6vw, 76px);
  overflow: hidden;
}

.price-copy > p:last-child {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--muted);
}

.price-options {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px 40px;
  border-radius: var(--radius-medium);
  background: var(--accent);
  color: var(--text-dark);
}

.price-option {
  text-align: center;
}

.price-option p,
.price-option span {
  margin: 0;
}

.price-option p {
  color: var(--muted-dark);
  font-size: 13px;
}

.price-option p strong {
  color: var(--text-dark);
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.price-option span {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 800;
}

.price-divider {
  align-self: stretch;
  background: rgba(0, 0, 0, 0.22);
}

.circle-link {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--accent);
  transition: transform var(--transition), background var(--transition);
}

.circle-link:hover {
  transform: rotate(8deg) scale(1.06);
  background: #172018;
}

.circle-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px 34px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.site-footer a span {
  margin-left: 4px;
  color: var(--accent);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
  }

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

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(260px, 0.68fr) minmax(420px, 1.1fr);
    gap: 32px;
  }

  .hero-photo-wrap {
    min-height: 520px;
  }

  .hero h1 {
    font-size: clamp(43px, 6vw, 60px);
  }

  .hero-meta {
    grid-template-columns: auto 1fr;
    row-gap: 16px;
  }

  .section-heading-wide {
    grid-template-columns: 1fr;
  }

  .section-heading-wide > p:last-child {
    grid-column: 1;
  }

  .about-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
  }

  .section-price {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 38px;
  }

  .price-options {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 30px;
  }

  .price-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 72px;
    --radius-large: 22px;
  }

  .page-shell,
  .header-inner {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .brand-text {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 80px 32px 32px;
    background: #0b0e0b;
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.42);
    transform: translateX(105%);
    transition: transform 260ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 20px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 18px 18px 30px;
  }

  .hero::before,
  .code-detail {
    display: none;
  }

  .hero-photo-wrap {
    min-height: 0;
    height: min(88vw, 510px);
    border-radius: 15px;
  }

  .hero-photo {
    object-position: center 34%;
  }

  .hero-content {
    padding: 0 4px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    padding-inline: 14px;
  }

  .hero-meta {
    grid-template-columns: auto 1fr auto 1fr;
  }

  .content-flow {
    padding-block: 72px 44px;
  }

  .section + .section {
    margin-top: 22px;
  }

  .section-heading,
  .section-heading-wide,
  .about-layout,
  .section-price {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading-wide {
    gap: 13px;
  }

  .section-heading .section-number,
  .section-heading-wide .section-number {
    margin-bottom: 8px;
  }

  .section-heading-wide > p:last-child {
    grid-column: 1;
    margin-top: 12px;
  }

  .about-layout {
    gap: 40px;
    margin-top: 46px;
  }

  .section-price {
    gap: 42px;
  }
}

@media (max-width: 520px) {
  .page-shell,
  .header-inner {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .hero {
    padding: 12px 12px 26px;
    border-radius: 18px;
  }

  .hero-photo-wrap {
    height: 108vw;
    max-height: 500px;
  }

  .photo-label {
    bottom: 12px;
    left: 12px;
  }

  .hero-content {
    padding-inline: 3px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1.01;
  }

  .hero-note {
    font-size: 14px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .button {
    width: 100%;
    min-height: 54px;
  }

  .hero-meta {
    grid-template-columns: auto 1fr;
  }

  .section-about,
  .section-lessons,
  .section-price {
    padding: 30px 22px;
  }

  .section h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .about-intro .lead-text {
    font-size: 18px;
  }

  .fact-list li {
    min-height: 70px;
    font-size: 14px;
  }

  .lesson-steps {
    margin-top: 48px;
  }

  .lesson-steps li {
    grid-template-columns: 36px 1fr;
    gap: 13px;
    padding-block: 20px;
  }

  .lesson-steps li:hover {
    padding-inline: 4px;
  }

  .step-mark {
    display: none;
  }

  .lesson-steps h3 {
    font-size: 17px;
  }

  .lesson-steps p {
    font-size: 13px;
  }

  .price-options {
    min-height: 270px;
    padding: 28px;
  }

  .circle-link {
    right: 22px;
    bottom: 19px;
  }

  .site-footer {
    align-items: flex-end;
  }

  .site-footer p {
    max-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
