:root {
  --bg: #07060f;
  --text: #f4f2fb;
  --muted: #b7b4c9;
  --purple: #8b35ff;
  --purple-hot: #c084fc;
  --line: rgba(168, 120, 255, 0.35);
  --header: 72px;
  --shell-max: 1520px;
  --shell-gutter: 12px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}

body.is-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(var(--shell-max), calc(100% - var(--shell-gutter) * 2));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(168, 120, 255, 0.18);
  background: rgba(7, 6, 15, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: var(--header);
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand__mark {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__name span {
  color: #c084fc;
}

.site-nav {
  display: none;
}

.site-nav__link {
  color: #ddd8ea;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: white;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.button--header {
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  color: white;
  font-size: 0.88rem;
  text-decoration: none;
  background: linear-gradient(180deg, #b15cff, #7a2cf0);
  box-shadow: 0 8px 24px rgba(122, 44, 240, 0.35);
}

.button--header svg {
  fill: currentColor;
  stroke: none;
}

.site-header__menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(168, 120, 255, 0.32);
  border-radius: 12px;
  background: rgba(22, 14, 42, 0.92);
  cursor: pointer;
}

.site-header__menu-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #d8b4fe;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__menu[aria-expanded="true"] .site-header__menu-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__menu[aria-expanded="true"] .site-header__menu-line:nth-child(2) {
  opacity: 0;
}

.site-header__menu[aria-expanded="true"] .site-header__menu-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page {
  position: relative;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 80px;
  background:
    linear-gradient(180deg, rgba(7, 6, 15, 0) 0%, rgba(7, 6, 15, 0.35) 18%, rgba(7, 6, 15, 0) 42%),
    radial-gradient(ellipse 55% 36% at 50% 0%, rgba(139, 53, 255, 0.1), transparent 72%);
}

.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 640px) minmax(460px, 1fr);
  align-items: center;
  gap: 12px;
}

.hero__copy {
  align-self: start;
  overflow: visible;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ddd6ff;
  background: rgba(88, 28, 176, 0.28);
  font-size: 14px;
  font-weight: 600;
}

.pill--center {
  margin-left: auto;
  margin-right: auto;
}

.pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #d8b4fe;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screens__header .pill svg,
.course__header .pill svg,
.backend__header .pill svg {
  width: 19px;
  height: 19px;
}

.hero .pill svg {
  fill: #d8b4fe;
  stroke: none;
}

h1 {
  margin: 0;
  max-width: 640px;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 span {
  background: linear-gradient(90deg, #d8b4fe, #a855f7 55%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 32rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 28rem;
  margin-top: 26px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  height: 58px;
  padding: 0 22px 0 16px;
  border-radius: 14px;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.18s ease;
}

.store-badge--ios {
  color: white;
  background: linear-gradient(135deg, #c084fc, #8b35ff 45%, #6d28d9);
  border: 1px solid rgba(216, 180, 254, 0.45);
  box-shadow: 0 12px 32px rgba(139, 53, 255, 0.28);
}

.store-badge--ios:hover {
  border-color: rgba(233, 213, 255, 0.95);
}

.store-badge--ios .store-badge__logo {
  color: white;
  width: 34px;
  height: 34px;
}

.store-badge--ios .store-badge__eyebrow {
  color: rgba(255, 255, 255, 0.78);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  font-size: 0.74rem;
}

.store-badge--ios .store-badge__title {
  color: white;
  font-size: 1.4rem;
}

.store-badge--android {
  color: #fff;
  background: rgba(8, 6, 18, 0.96);
  border: 1px solid rgba(168, 120, 255, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.store-badge--android:hover {
  border-color: rgba(216, 180, 254, 0.72);
}

.store-badge--android .store-badge__eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.store-badge--android .store-badge__title {
  color: #fff;
}

.store-badge__logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.store-badge__logo--play {
  width: 30px;
  height: 30px;
}

.store-badge__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.store-badge__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-badge__title {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__how {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hero__how:hover {
  color: #d8b4fe;
}

.hero__how-arrow {
  transition: transform 0.18s ease;
}

.hero__how:hover .hero__how-arrow {
  transform: translateX(3px);
}

.hero__features {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 22px 0 0;
  padding: 14px 20px;
  width: max-content;
  max-width: min(48rem, calc(100vw - 2 * var(--shell-gutter)));
  box-sizing: border-box;
  border-radius: 18px;
  border: 1px solid rgba(168, 120, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 55%),
    rgba(12, 8, 24, 0.72);
  box-shadow: 0 12px 36px rgba(88, 28, 176, 0.16);
}

.hero__feature {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  min-width: max-content;
  padding: 0 14px;
}

.hero__feature:first-child {
  padding-left: 2px;
}

.hero__feature:last-child {
  padding-right: 2px;
}

.hero__feature + .hero__feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(196, 152, 255, 0.28) 18%,
    rgba(196, 152, 255, 0.45) 50%,
    rgba(196, 152, 255, 0.28) 82%,
    transparent 100%
  );
}

.hero__feature-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  fill: none;
  stroke: #c084fc;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: max-content;
  overflow: visible;
}

.hero__feature-title,
.hero__feature-sub {
  display: block;
  white-space: nowrap;
}

.hero__feature-title {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.hero__feature-sub {
  color: rgba(183, 180, 201, 0.92);
  font-size: 0.8rem;
  line-height: 1.15;
}

.hero__phones {
  width: 92%;
  height: auto;
  justify-self: end;
  align-self: center;
  margin-top: -16px;
  filter: drop-shadow(0 24px 48px rgba(88, 28, 176, 0.28));
}

.screens {
  position: relative;
  overflow: hidden;
  padding: 48px 0 100px;
  border-top: 1px solid rgba(168, 120, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(7, 6, 15, 0) 0%, rgba(7, 6, 15, 0.35) 18%, rgba(7, 6, 15, 0) 42%),
    radial-gradient(ellipse 55% 36% at 50% 0%, rgba(139, 53, 255, 0.1), transparent 72%);
}

.screens__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.screens__inner {
  position: relative;
  z-index: 1;
}

.screens__header {
  max-width: 56rem;
  margin: 0 auto 48px;
  text-align: center;
}

.screens__header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.screens__header h2 span {
  background: linear-gradient(90deg, #d8b4fe, #a855f7 55%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.screens__lead {
  margin: 18px auto 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.screens__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* +10% vs shell width; keep centered so column order/positions stay. */
  width: 110%;
  position: relative;
  left: 50%;
  translate: -50% 0;
}

.screens__item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

.screens__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.screens__frame {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.screens__card:hover .screens__frame {
  transform: translateY(-6px);
}

.screens__frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 52px rgba(88, 28, 176, 0.3));
}

.screens__caption {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 86%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
}

.screens__caption-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  border-radius: 14px;
  border: 1px solid rgba(192, 132, 252, 0.35);
  background: linear-gradient(180deg, rgba(177, 92, 255, 0.28), rgba(88, 28, 176, 0.22));
  color: #e9d5ff;
  box-shadow: 0 8px 20px rgba(122, 44, 240, 0.18);
}

.screens__caption-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screens__caption-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 11.5rem;
  padding-top: 1px;
  text-align: left;
}

.screens__caption-copy strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.screens__caption-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.course {
  position: relative;
  overflow: hidden;
  padding: 72px 0 110px;
  border-top: 1px solid rgba(168, 120, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(7, 6, 15, 0) 0%, rgba(7, 6, 15, 0.35) 18%, rgba(7, 6, 15, 0) 42%),
    radial-gradient(ellipse 55% 36% at 50% 0%, rgba(139, 53, 255, 0.1), transparent 72%);
}

.course__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.course__inner {
  position: relative;
  z-index: 1;
}

.course__header {
  display: flex;
  justify-content: center;
  margin: 0 0 36px;
}

.course__header .pill {
  margin: 0;
}

.course__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px 56px;
  align-items: stretch;
}

.course__copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.course__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.course__copy h2 span {
  background: linear-gradient(90deg, #d8b4fe, #a855f7 55%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.course__lead {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.course__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 36px 0 28px;
  padding: 0;
}

.course__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px 16px 18px;
  border: 1px solid rgba(168, 120, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(122, 44, 240, 0.16), rgba(88, 28, 176, 0.06));
  box-shadow: 0 12px 28px rgba(48, 16, 96, 0.16);
}

.course__step + .course__step::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: -11px;
  translate: -50% -50%;
  width: 1em;
  text-align: center;
  color: rgba(228, 214, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.course__step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(192, 132, 252, 0.34);
  background: linear-gradient(180deg, rgba(177, 92, 255, 0.3), rgba(88, 28, 176, 0.2));
  color: #e9d5ff;
  box-shadow: 0 8px 18px rgba(122, 44, 240, 0.18);
}

.course__step-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course__step-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.course__step-copy strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.course__step-copy strong span {
  color: #c4a0ff;
  font-weight: 800;
  margin-right: 4px;
}

.course__step-copy > span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.course__outcome {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 14px 18px;
  border: 1px solid rgba(168, 120, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(122, 44, 240, 0.2), rgba(88, 28, 176, 0.08));
  box-shadow: 0 10px 28px rgba(48, 16, 96, 0.18);
}

.course__outcome-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #efe7ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.course__outcome-label svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #d8b4fe;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course__outcome-divider {
  flex-shrink: 0;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(196, 152, 255, 0.45), transparent);
}

.course__outcome-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.course__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: visible;
}

.course__panel-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  padding: 36px 24px 0;
  border: 1px solid rgba(177, 92, 255, 0.38);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(168, 85, 247, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(34, 18, 64, 0.72), rgba(14, 10, 28, 0.55));
  box-shadow:
    0 0 0 1px rgba(192, 132, 252, 0.06) inset,
    0 24px 60px rgba(88, 28, 176, 0.22);
  overflow: hidden;
}

.course__panel-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 120%;
  height: 58%;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(168, 85, 247, 0.1), transparent 68%);
  pointer-events: none;
}

.course__panel-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  margin: 0;
  translate: -50% -50%;
  background: linear-gradient(180deg, rgba(48, 28, 88, 0.98), rgba(28, 16, 56, 0.98));
  box-shadow: 0 8px 20px rgba(48, 16, 96, 0.28);
}

.course__stack {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 38px;
  width: 100%;
  padding: 0 12px;
}

.course__stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.course__stack-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 20px;
  border: 1px solid rgba(168, 120, 255, 0.28);
  background: rgba(12, 10, 24, 0.72);
  box-shadow: 0 10px 24px rgba(48, 16, 96, 0.22);
}

.course__stack-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.course__stack-item strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.course__stack-item span {
  color: var(--muted);
  font-size: 0.8rem;
}

.course__stack-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  color: rgba(236, 228, 255, 0.78);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.course__phone {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  margin-top: auto;
  margin-bottom: -36px;
}

.course__phone-orbit {
  position: absolute;
  left: 50%;
  top: 0;
  width: 178%;
  height: auto;
  translate: -50% 0;
  pointer-events: none;
  z-index: 0;
}

.course__phone img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(88, 28, 176, 0.35));
}

.backend {
  position: relative;
  overflow: hidden;
  padding: 72px 0 110px;
  border-top: 1px solid rgba(168, 120, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(7, 6, 15, 0) 0%, rgba(7, 6, 15, 0.35) 18%, rgba(7, 6, 15, 0) 42%),
    radial-gradient(ellipse 55% 36% at 50% 0%, rgba(139, 53, 255, 0.1), transparent 72%);
}

.backend__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.backend__inner {
  position: relative;
  z-index: 1;
}

.backend__header {
  display: flex;
  justify-content: center;
  margin: 0 0 36px;
}

.backend__header .pill {
  margin: 0;
}

.backend__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 36px 40px;
  align-items: center;
}

.backend__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.backend__copy h2 span {
  background: linear-gradient(90deg, #d8b4fe, #a855f7 55%, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.backend__lead {
  margin: 18px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.backend__points {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 34rem;
}

.backend__point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(168, 120, 255, 0.14);
}

.backend__point:last-child {
  border-bottom: 1px solid rgba(168, 120, 255, 0.14);
}

.backend__point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  border: 1px solid rgba(192, 132, 252, 0.34);
  background: linear-gradient(180deg, rgba(177, 92, 255, 0.3), rgba(88, 28, 176, 0.2));
  color: #e9d5ff;
  box-shadow: 0 8px 18px rgba(122, 44, 240, 0.16);
}

.backend__point-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.backend__point-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.backend__point-copy strong {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.backend__point-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.backend__visual {
  position: relative;
  min-width: 0;
  width: 108%;
  max-width: none;
  justify-self: end;
  border-radius: 24px;
  overflow: visible;
}

.backend__visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(88, 28, 176, 0.28));
}

.backend__outcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 14px 22px;
  border: 1px solid rgba(168, 120, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(122, 44, 240, 0.2), rgba(88, 28, 176, 0.08));
  box-shadow: 0 10px 28px rgba(48, 16, 96, 0.18);
}

.backend__outcome-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #efe7ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.backend__outcome-label svg {
  width: 26px;
  height: 26px;
  fill: #d8b4fe;
  stroke: none;
}

.backend__outcome-divider {
  flex-shrink: 0;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(196, 152, 255, 0.45), transparent);
}

.backend__outcome-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .hero__lines,
  .screens__lines,
  .course__lines,
  .backend__lines {
    display: none;
  }

  body.is-nav-open::before {
    content: "";
    position: fixed;
    z-index: 45;
    inset: var(--header) 0 0;
    background: rgba(5, 4, 12, 0.76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: none;
  }

  .button--header {
    display: none;
  }

  .site-nav {
    position: fixed;
    z-index: 55;
    inset: calc(var(--header) + 10px) 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100dvh - var(--header) - 24px);
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(168, 120, 255, 0.34);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(28, 16, 56, 0.98), rgba(10, 8, 20, 0.99));
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.5),
      0 0 28px rgba(122, 44, 240, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(236, 228, 255, 0.9);
    font-size: 1.05rem;
    letter-spacing: 0.01em;
  }

  .site-nav__link::after {
    content: "↗";
    color: #c4a0ff;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    border-color: rgba(192, 132, 252, 0.28);
    color: #fff;
    background: rgba(122, 44, 240, 0.16);
    outline: none;
  }

  .site-nav__link:hover::after,
  .site-nav__link:focus-visible::after {
    transform: translate(2px, -2px);
    opacity: 1;
  }

  .site-header__menu {
    width: 48px;
    height: 48px;
    border-color: rgba(168, 120, 255, 0.42);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(36, 22, 68, 0.98), rgba(14, 10, 28, 0.98));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding: 24px 0 56px;
  }

  h1 {
    font-size: clamp(2.2rem, 7vw, 2.9rem);
    max-width: none;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__cta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .hero__phones {
    width: min(100%, 520px);
    max-width: 520px;
    margin: 8px auto 0;
    justify-self: center;
  }

  .screens,
  .course,
  .backend {
    padding: 48px 0 72px;
  }

  .screens__grid {
    width: 100%;
    left: auto;
    translate: none;
    gap: 14px;
  }

  .screens__header {
    margin-bottom: 32px;
  }

  .screens__caption {
    max-width: 94%;
  }

  .screens__caption-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .screens__caption-icon svg {
    width: 22px;
    height: 22px;
  }

  .screens__caption-copy {
    max-width: 11rem;
  }

  .screens__caption-copy strong {
    font-size: 0.95rem;
  }

  .screens__caption-copy span {
    font-size: 0.78rem;
  }

  .course__layout,
  .backend__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .course__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .course__step + .course__step::before {
    display: none;
  }

  .course__copy {
    min-height: 0;
  }

  .course__outcome {
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 22px;
    padding: 16px 18px;
  }

  .course__panel,
  .course__panel-body {
    height: auto;
    min-height: 0;
  }

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

  .course__panel {
    max-width: 420px;
    margin: 0 auto;
  }

  .course__phone {
    width: min(100%, 240px);
  }

  .course__phone-orbit {
    width: 160%;
  }

  .backend__visual {
    width: 114%;
    max-width: none;
    margin: 0 auto;
    justify-self: center;
    position: relative;
    left: 50%;
    translate: -52% 0;
  }

  .backend__outcome {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: min(100%, 34rem);
    border-radius: 22px;
    padding: 16px 18px;
  }

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

  .backend__outcome-text {
    text-align: center;
  }
}

@media (min-width: 981px) {
  .site-header__bar {
    grid-template-columns: 1fr auto 1fr;
  }

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

  .site-header__actions {
    justify-self: end;
  }

  .site-header__menu {
    display: none;
  }
}

@media (max-width: 639px) {
  h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.35rem);
    line-height: 1.12;
  }

  .brand__name {
    font-size: 20px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .hero__cta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: none;
  }

  /* Store badges — 1:1 with CodeMaster mobile (≤639) */
  .hero__cta .store-badge {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 50px;
    height: 50px;
    padding: 0 16px 0 14px;
    gap: 8px;
    border-radius: 12px;
    justify-content: center;
  }

  .hero__cta .store-badge__logo {
    width: 34px;
    height: 34px;
  }

  .hero__cta .store-badge--ios .store-badge__logo {
    width: 36px;
    height: 36px;
  }

  .hero__cta .store-badge__logo--play {
    width: 34px;
    height: 34px;
  }

  .hero__cta .store-badge__copy {
    gap: 2px;
    min-width: 0;
  }

  .hero__cta .store-badge__eyebrow,
  .hero__cta .store-badge--ios .store-badge__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .hero__cta .store-badge--ios .store-badge__eyebrow {
    font-size: 0.7rem;
  }

  .hero__cta .store-badge__title,
  .hero__cta .store-badge--ios .store-badge__title {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
  }

  .hero__cta .store-badge--ios .store-badge__title {
    font-size: 1.18rem;
  }

  .hero__how {
    font-size: 0.95rem;
  }

  .hero__phones {
    width: 130%;
    max-width: none;
    margin-left: -2%;
    margin-right: 0;
  }

  .screens__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 8px;
    width: 100%;
    box-sizing: border-box;
    translate: 3% 0;
  }

  .screens__item {
    max-width: none;
    min-width: 0;
    overflow: visible;
  }

  .screens__card {
    gap: 10px;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .screens__frame {
    width: 140%;
    margin-left: -12%;
  }

  .screens__frame img {
    width: 100%;
    max-width: none;
  }

  .screens__lead,
  .course__lead,
  .backend__lead {
    font-size: 15px;
  }

  .screens__caption {
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
    justify-content: center;
  }

  .screens__caption-icon {
    display: none;
  }

  .screens__caption-copy {
    max-width: 100%;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .screens__caption-copy strong {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .screens__caption-copy span {
    font-size: 0.66rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .course__steps {
    grid-template-columns: 1fr;
  }

  .course__step-icon {
    width: 44px;
    height: 44px;
  }

  .course__step-icon svg {
    width: 26px;
    height: 26px;
  }

  .course__stack {
    gap: 16px;
    padding: 0;
  }

  .course__stack-logo {
    width: 68px;
    height: 68px;
  }

  .course__stack-logo img {
    width: 38px;
    height: 38px;
  }

  .course__stack-plus {
    height: 68px;
  }

  .backend__visual {
    width: 124%;
  }

  .backend__point-copy strong {
    font-size: 0.98rem;
  }

  .backend__point-copy span {
    font-size: 0.86rem;
  }

  .hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 4px 2px;
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  .hero__features::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 14%;
    bottom: 14%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(196, 152, 255, 0.22) 18%,
      rgba(196, 152, 255, 0.4) 50%,
      rgba(196, 152, 255, 0.22) 82%,
      transparent 100%
    );
    pointer-events: none;
  }

  .hero__features::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(196, 152, 255, 0.22) 18%,
      rgba(196, 152, 255, 0.4) 50%,
      rgba(196, 152, 255, 0.22) 82%,
      transparent 100%
    );
    pointer-events: none;
  }

  .hero__feature {
    flex: initial;
    min-width: 0;
    padding: 12px;
  }

  .hero__feature:nth-child(3) {
    padding-left: 2px;
  }

  .hero__feature-text {
    min-width: 0;
  }

  .hero__feature + .hero__feature::before {
    display: none;
  }

  .hero__feature-title {
    font-size: 0.92rem;
  }

  .hero__feature-sub {
    font-size: 0.72rem;
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 56px 0 18px;
  border-top: 1px solid rgba(168, 120, 255, 0.12);
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(139, 53, 255, 0.08), transparent 58%),
    var(--bg);
}

.site-footer__inner {
  /* keep .shell width / side gutters — do not override to 100% */
  box-sizing: border-box;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.7fr)) minmax(0, 1.15fr);
  gap: 28px 28px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
  max-width: 22rem;
  min-width: 0;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  line-height: 0;
}

.site-footer__logo-mark {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-footer__tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.site-footer__motto {
  margin: 0;
  color: #c4a0ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__social-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(168, 120, 255, 0.22);
  background: rgba(12, 10, 24, 0.85);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  border-color: rgba(192, 132, 252, 0.55);
  color: #e9d5ff;
  background: rgba(122, 44, 240, 0.16);
}

.site-footer__col {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.site-footer__heading {
  margin: 0;
  color: #c4a0ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: #e9d5ff;
}

.site-footer__subscribe-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.site-footer__subscribe {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 2px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.site-footer__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer__subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.site-footer__email {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(168, 120, 255, 0.24);
  background: rgba(12, 10, 24, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-footer__email::placeholder {
  color: rgba(183, 180, 201, 0.55);
}

.site-footer__email:focus {
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow: 0 0 0 3px rgba(122, 44, 240, 0.16);
}

.site-footer__email.is-invalid {
  border-color: rgba(255, 120, 120, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 100, 100, 0.12);
}

.site-footer__email.is-valid {
  border-color: rgba(120, 200, 140, 0.55);
}

.site-footer__send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #b15cff, #7a2cf0);
  color: #fff;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(122, 44, 240, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.site-footer__send-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 0;
}

.site-footer__send-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.site-footer__send:hover:not(:disabled),
.site-footer__send:focus-visible:not(:disabled) {
  filter: brightness(1.06);
}

.site-footer__send:disabled {
  opacity: 0.72;
  cursor: wait;
}

.site-footer__send-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  animation: site-footer-spin 0.7s linear infinite;
}

.site-footer__send.is-loading .site-footer__send-icon {
  opacity: 0;
}

.site-footer__send.is-loading .site-footer__send-spinner {
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
}

.site-footer__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-footer__status[hidden] {
  display: none;
}

.site-footer__status.is-error {
  color: #ff9b9b;
}

.site-footer__status.is-success {
  color: #9ad7a8;
}

.site-footer__copy {
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(168, 120, 255, 0.12);
  text-align: center;
  color: rgba(183, 180, 201, 0.62);
  font-size: 0.82rem;
  line-height: 1.4;
}

.site-footer__copy-brand {
  color: #c4a0ff;
  font-weight: 600;
}

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

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

@media (max-width: 1099px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 28rem;
  }

  .site-footer__col--subscribe {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
}

@media (max-width: 699px) {
  .site-footer {
    padding: 36px 0 14px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
    max-width: none;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(168, 120, 255, 0.12);
  }

  .site-footer__logo {
    justify-self: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__col:not(.site-footer__col--subscribe) {
    justify-items: center;
    text-align: center;
  }

  .site-footer__list {
    justify-items: center;
  }

  .site-footer__col--subscribe {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
    max-width: none;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(168, 120, 255, 0.12);
  }

  .site-footer__subscribe {
    width: min(100%, 22rem);
  }
}
