:root {
  --ink: #132f30;
  --ink-soft: #486263;
  --green-950: #082f30;
  --green-900: #0b3b3c;
  --green-800: #125052;
  --green-700: #176467;
  --mint-500: #37c8a0;
  --mint-400: #5ed9b7;
  --mint-200: #b9efdf;
  --mint-100: #dcf7ef;
  --mint-50: #effbf7;
  --blue-50: #f1f7f8;
  --cream: #fbfcf9;
  --white: #ffffff;
  --border: #dce9e6;
  --shadow-sm: 0 10px 30px rgba(8, 47, 48, 0.08);
  --shadow-lg: 0 32px 80px rgba(8, 47, 48, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --font: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

img,
svg {
  display: block;
}

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

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

button {
  font: inherit;
}

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

.section {
  padding: 104px 0;
}

.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: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(251, 252, 249, 0.94);
  border-color: rgba(220, 233, 230, 0.85);
  box-shadow: 0 8px 24px rgba(8, 47, 48, 0.05);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 10px;
  place-items: center;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

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

.site-nav > a:not(.button) {
  color: #3f595a;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:not(.button):hover {
  color: var(--green-800);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
  transform: none;
}

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

.button-primary {
  color: var(--white);
  background: var(--green-900);
  box-shadow: 0 10px 24px rgba(11, 59, 60, 0.19);
}

.button-primary:hover {
  background: var(--green-800);
  box-shadow: 0 14px 30px rgba(11, 59, 60, 0.24);
}

.button-secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.75);
  border-color: #cddfdb;
}

.button-secondary:hover {
  background: var(--white);
  border-color: #a9c7c0;
}

.button-light {
  color: var(--green-950);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.button-light:hover {
  background: var(--mint-50);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
}

.button-large {
  min-height: 54px;
  padding: 0 25px;
  border-radius: 14px;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 154px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(55, 200, 160, 0.13), transparent 29%),
    linear-gradient(135deg, #fbfcf9 0%, #f4faf7 55%, #eef8f5 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 59, 60, 0.027) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 59, 60, 0.027) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 170px;
  right: -140px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(55, 200, 160, 0.2);
}

.hero-glow-two {
  top: 225px;
  right: -85px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(55, 200, 160, 0.16);
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 62px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 2px;
  background: var(--mint-500);
}

.eyebrow.light {
  color: var(--mint-200);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--green-950);
  font-size: clamp(48px, 5.7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero h1 span {
  color: var(--green-700);
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #587071;
  font-size: 12px;
  font-weight: 650;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row svg {
  width: 15px;
  fill: none;
  stroke: var(--mint-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(23, 100, 103, 0.14);
  border-radius: 50%;
}

.orbit-one {
  width: 500px;
  height: 500px;
  right: -70px;
}

.orbit-two {
  width: 385px;
  height: 385px;
  right: -10px;
}

.app-window {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(205, 223, 219, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}

.window-bar {
  display: grid;
  min-height: 50px;
  padding: 0 16px;
  align-items: center;
  color: #687f80;
  background: #fbfdfc;
  border-bottom: 1px solid #e5eeec;
  font-size: 10px;
  grid-template-columns: 1fr auto 1fr;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  background: #cadbd7;
  border-radius: 50%;
}

.window-title {
  font-weight: 700;
}

.avatar {
  display: grid;
  width: 25px;
  height: 25px;
  margin-left: auto;
  color: var(--white);
  background: var(--green-800);
  border-radius: 8px;
  font-size: 8px;
  font-weight: 800;
  place-items: center;
}

.window-body {
  display: grid;
  min-height: 390px;
  grid-template-columns: 58px 1fr;
}

.mock-sidebar {
  display: flex;
  padding: 18px 0;
  align-items: center;
  gap: 18px;
  background: var(--green-950);
  flex-direction: column;
}

.mock-logo {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 10px;
  color: var(--green-950);
  background: var(--mint-400);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.side-item {
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
}

.side-item.active {
  background: rgba(94, 217, 183, 0.19);
  border-color: var(--mint-400);
  box-shadow: 0 0 0 5px rgba(94, 217, 183, 0.08);
}

.mock-content {
  padding: 22px 24px;
  background: #f7faf9;
}

.mock-heading,
.progress-top,
.progress-meta,
.question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skeleton {
  display: block;
  height: 6px;
  margin-bottom: 7px;
  background: #bfd2ce;
  border-radius: 999px;
}

.line-short {
  width: 52px;
}

.line-long {
  width: 112px;
  height: 9px;
  background: #557170;
}

.status-pill,
.tag,
.difficulty {
  padding: 5px 9px;
  color: var(--green-700);
  background: var(--mint-100);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}

.progress-card {
  margin-top: 18px;
  padding: 15px 17px;
  background: var(--white);
  border: 1px solid #e2ece9;
  border-radius: 13px;
}

.progress-card p {
  margin: 0 0 2px;
  color: #78908e;
  font-size: 8px;
}

.progress-card strong {
  color: var(--green-950);
  font-size: 13px;
}

.progress-ring {
  display: grid;
  width: 40px;
  height: 40px;
  background: conic-gradient(var(--mint-500) 72%, #e7f0ee 0);
  border-radius: 50%;
  place-items: center;
}

.progress-ring::before {
  width: 29px;
  height: 29px;
  background: var(--white);
  border-radius: 50%;
  content: "";
  grid-area: 1 / 1;
}

.progress-ring span {
  z-index: 1;
  color: var(--green-800);
  font-size: 8px;
  font-weight: 900;
  grid-area: 1 / 1;
}

.bar {
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
  background: #e9f1ef;
  border-radius: 99px;
}

.bar span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--green-700), var(--mint-500));
  border-radius: inherit;
}

.progress-meta {
  margin-top: 5px;
  color: #8aa09f;
  font-size: 7px;
}

.mock-grid {
  display: grid;
  margin-top: 12px;
  gap: 9px;
  grid-template-columns: 1fr 1fr;
}

.module-card {
  display: grid;
  padding: 11px;
  align-items: center;
  background: var(--white);
  border: 1px solid #e2ece9;
  border-radius: 11px;
  gap: 8px;
  grid-template-columns: auto 1fr auto;
}

.module-icon {
  display: grid;
  width: 27px;
  height: 27px;
  color: #da6571;
  background: #fff0f1;
  border-radius: 8px;
  place-items: center;
}

.module-icon svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.neuro-icon {
  color: #7167bd;
  background: #f1efff;
}

.module-card strong,
.module-card small {
  display: block;
}

.module-card strong {
  color: #365151;
  font-size: 8px;
}

.module-card small {
  color: #8ba09f;
  font-size: 6px;
}

.mini-score {
  color: var(--green-700);
  font-size: 8px;
  font-weight: 900;
}

.question-card {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #e2ece9;
  border-radius: 11px;
}

.question-top {
  margin-bottom: 8px;
  color: #79908e;
  font-size: 6px;
  font-weight: 700;
}

.question-card > strong {
  display: block;
  color: #365151;
  font-size: 8px;
}

.answer-lines {
  display: flex;
  margin-top: 10px;
  gap: 6px;
}

.answer-lines span {
  width: 30%;
  height: 17px;
  background: #f4f8f7;
  border: 1px solid #e2ece9;
  border-radius: 5px;
}

.answer-lines .selected {
  background: var(--mint-50);
  border-color: var(--mint-500);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  padding: 12px 14px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(220, 233, 230, 0.9);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.floating-card strong,
.floating-card small {
  display: block;
  white-space: nowrap;
}

.floating-card strong {
  color: var(--green-950);
  font-size: 10px;
}

.floating-card small {
  color: #7d9191;
  font-size: 7px;
}

.floating-score {
  right: -20px;
  bottom: 32px;
}

.float-icon {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--mint-500);
  border-radius: 9px;
  place-items: center;
}

.float-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.floating-streak {
  top: 44px;
  left: -34px;
}

.streak-number {
  display: grid;
  width: 30px;
  height: 30px;
  color: #9f5817;
  background: #fff0d8;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
  place-items: center;
}

.section-heading {
  display: flex;
  margin-bottom: 52px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading.centered {
  display: block;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 52px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.solution-copy h2,
.audience-copy h2,
.cta-copy h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.section-heading > p,
.section-heading.centered > p,
.section-intro,
.audience-copy > p {
  color: var(--ink-soft);
}

.section-heading > p {
  max-width: 455px;
  margin: 0;
}

.section-heading.centered > p {
  max-width: 650px;
  margin: 18px auto 0;
}

.problem-section {
  background: var(--white);
}

.problem-grid {
  display: grid;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  grid-template-columns: repeat(5, 1fr);
}

.problem-card {
  min-height: 230px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.problem-card:hover {
  z-index: 1;
  background: var(--mint-50);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.problem-number {
  display: block;
  margin-bottom: 40px;
  color: var(--mint-500);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.problem-card h3 {
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: 17px;
  letter-spacing: -0.02em;
}

.problem-card p {
  margin: 0;
  color: #617979;
  font-size: 13px;
  line-height: 1.65;
}

.solution-section {
  overflow: hidden;
  background: var(--blue-50);
}

.solution-grid {
  display: grid;
  align-items: center;
  gap: 96px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.solution-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.solution-visual::before {
  position: absolute;
  width: 430px;
  height: 430px;
  background: var(--mint-100);
  border-radius: 50%;
  content: "";
}

.stack-card {
  position: absolute;
  width: 78%;
  height: 350px;
  border-radius: 24px;
}

.stack-card-back {
  background: #c6e9df;
  transform: rotate(-8deg) translate(-20px, 5px);
}

.stack-card-middle {
  background: #dff3ed;
  border: 1px solid #b7ddd3;
  transform: rotate(5deg) translate(23px, -2px);
}

.study-card {
  position: relative;
  z-index: 2;
  width: 82%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.study-card-top,
.study-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.difficulty {
  color: #9d6316;
  background: #fff3db;
}

.question-label {
  margin: 30px 0 10px;
  color: #7c9392;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.study-card h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 18px;
  line-height: 1.45;
}

.study-options {
  display: grid;
  margin-top: 22px;
  gap: 9px;
}

.study-options span {
  display: flex;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  color: #587171;
  background: #fafcfb;
  border: 1px solid #e2ebe9;
  border-radius: 10px;
  font-size: 11px;
}

.study-options i {
  display: grid;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 1px solid #cbdad7;
  border-radius: 7px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.study-options .correct {
  color: var(--green-800);
  background: var(--mint-50);
  border-color: var(--mint-400);
}

.study-options .correct i {
  color: var(--white);
  background: var(--mint-500);
  border-color: var(--mint-500);
}

.study-options b {
  margin-left: auto;
  color: var(--mint-500);
}

.study-footer {
  margin-top: 25px;
  padding-top: 18px;
  color: #718887;
  border-top: 1px solid #e5eeec;
  font-size: 9px;
}

.study-footer b {
  color: var(--green-700);
}

.next-button {
  padding: 8px 15px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 8px;
  font-weight: 800;
}

.section-intro {
  margin: 20px 0 0;
  line-height: 1.75;
}

.solution-list {
  display: grid;
  padding: 0;
  margin: 34px 0 0;
  gap: 0;
  list-style: none;
}

.solution-list li {
  display: grid;
  padding: 18px 0;
  border-bottom: 1px solid #d6e5e2;
  gap: 18px;
  grid-template-columns: auto 1fr;
}

.solution-list li > span {
  color: var(--mint-500);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.solution-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--green-950);
  font-size: 15px;
}

.solution-list p {
  margin: 0;
  color: #657d7d;
  font-size: 13px;
}

.features-section {
  background: var(--white);
}

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

.feature-card {
  position: relative;
  min-height: 265px;
  padding: 26px;
  overflow: hidden;
  background: #f8fbfa;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  border-color: #bed8d2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature-card-large {
  min-height: 370px;
  grid-column: span 2;
  grid-row: span 2;
}

.feature-card-wide {
  display: grid;
  min-height: 220px;
  align-items: start;
  gap: 20px;
  grid-column: span 2;
  grid-template-columns: auto 1fr;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 25px;
  color: var(--green-700);
  background: var(--mint-100);
  border-radius: 13px;
  place-items: center;
}

.feature-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: 19px;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: #617a7a;
  font-size: 13px;
  line-height: 1.7;
}

.feature-preview {
  position: absolute;
  right: 25px;
  bottom: -8px;
  left: 25px;
  padding: 20px;
  background: var(--white);
  border: 1px solid #dce8e5;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 16px 40px rgba(8, 47, 48, 0.09);
}

.question-preview {
  display: grid;
  gap: 10px;
}

.preview-label {
  color: var(--green-700);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.question-preview b {
  color: #3a5555;
  font-size: 11px;
}

.preview-answer {
  display: block;
  width: 100%;
  height: 21px;
  background: #f5f8f7;
  border: 1px solid #e4ecea;
  border-radius: 6px;
}

.preview-answer.active {
  background: var(--mint-50);
  border-color: var(--mint-400);
}

.mini-chart {
  display: flex;
  height: 86px;
  padding: 10px 4px 0;
  align-self: end;
  align-items: end;
  gap: 8px;
  border-bottom: 1px solid #bfd3cf;
  grid-column: 1 / -1;
}

.mini-chart span {
  width: 100%;
  background: linear-gradient(to top, var(--green-700), var(--mint-400));
  border-radius: 5px 5px 0 0;
}

.feature-ai {
  color: var(--white);
  background: var(--green-900);
  border-color: var(--green-900);
}

.feature-ai .feature-icon {
  color: var(--green-950);
  background: var(--mint-400);
}

.feature-ai h3,
.feature-ai p {
  color: var(--white);
}

.feature-ai p {
  color: #c6dcda;
}

.ai-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 6px 9px;
  color: var(--mint-200);
  background: rgba(94, 217, 183, 0.12);
  border: 1px solid rgba(94, 217, 183, 0.22);
  border-radius: 99px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-section {
  background: var(--blue-50);
}

.download-section {
  background: var(--white);
}

.download-layout {
  display: grid;
  align-items: stretch;
  gap: 22px;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
}

.download-grid {
  display: grid;
  gap: 14px;
}

.download-card {
  display: grid;
  min-height: 168px;
  padding: 24px;
  align-items: center;
  background: #f8fbfa;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  gap: 20px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.download-card:hover {
  border-color: #bed8d2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.platform-icon {
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--green-800);
  background: var(--mint-100);
  border-radius: 16px;
  place-items: center;
}

.platform-icon svg {
  width: 26px;
  fill: currentColor;
}

.download-kicker {
  margin: 0 0 2px;
  color: var(--green-700);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 0 0 5px;
  color: var(--green-950);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.download-card p:not(.download-kicker) {
  margin: 0;
  color: #617a7a;
  font-size: 13px;
}

.system-note {
  display: inline-block;
  margin-top: 10px;
  color: #78908f;
  font-size: 10px;
  font-weight: 750;
}

.platform-download {
  min-width: 150px;
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
}

.pricing-card {
  position: relative;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.pricing-card::after {
  position: absolute;
  right: -95px;
  bottom: -95px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(94, 217, 183, 0.2);
  border-radius: 50%;
  content: "";
}

.price-line {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 28px;
  align-items: end;
  gap: 10px;
}

.price-line strong {
  color: var(--white);
  font-size: 48px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-line span {
  padding-bottom: 4px;
  color: #bfd5d2;
  font-size: 12px;
}

.pricing-trial {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--mint-400);
  font-size: 13px;
  font-weight: 800;
}

.pricing-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 22px 0;
  margin: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 12px;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: #d7e7e5;
  font-size: 12px;
}

.pricing-card li::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--mint-400);
  border-left: 2px solid var(--mint-400);
  content: "";
  transform: rotate(-45deg);
}

.checkout-button {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pricing-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  color: #9fbab7;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.pricing-card code {
  color: var(--mint-200);
}

.audience-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 0.9fr 1.1fr;
}

.audience-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.audience-copy > p {
  margin: 22px 0 0;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  align-items: center;
  gap: 12px;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  font-size: 19px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.audience-list {
  border-top: 1px solid #cbded9;
}

.audience-list article {
  display: grid;
  min-height: 130px;
  padding: 28px 0;
  border-bottom: 1px solid #cbded9;
  gap: 24px;
  grid-template-columns: 42px 1fr;
}

.audience-list article > span {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--green-700);
  background: var(--mint-100);
  border-radius: 11px;
  font-size: 10px;
  font-weight: 900;
  place-items: center;
}

.audience-list h3 {
  margin: 0 0 5px;
  color: var(--green-950);
  font-size: 18px;
}

.audience-list p {
  margin: 0;
  color: #637b7b;
  font-size: 13px;
}

.cta-section {
  padding-top: 88px;
  background: var(--white);
}

.cta-panel {
  position: relative;
  display: grid;
  min-height: 320px;
  padding: 64px;
  overflow: hidden;
  align-items: center;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius-lg);
  gap: 50px;
  grid-template-columns: 1fr auto;
}

.cta-pattern {
  position: absolute;
  top: -150px;
  right: -80px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(94, 217, 183, 0.19);
  border-radius: 50%;
}

.cta-pattern::before,
.cta-pattern::after {
  position: absolute;
  border: 1px solid rgba(94, 217, 183, 0.15);
  border-radius: 50%;
  content: "";
}

.cta-pattern::before {
  inset: 60px;
}

.cta-pattern::after {
  inset: 130px;
  background: rgba(94, 217, 183, 0.06);
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.cta-copy h2 {
  color: var(--white);
}

.cta-copy p:last-child {
  max-width: 590px;
  margin: 18px 0 0;
  color: #c7dcda;
}

.cta-panel .button {
  position: relative;
  z-index: 1;
}

.site-footer {
  padding-top: 80px;
  color: #c0d3d1;
  background: #062a2b;
}

.footer-main {
  display: grid;
  padding-bottom: 64px;
  gap: 80px;
  grid-template-columns: 1fr 1.35fr;
}

.brand-light {
  color: var(--white);
}

.brand-light .brand-mark {
  color: var(--green-950);
  background: var(--mint-400);
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  font-size: 13px;
}

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

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  background: var(--blue-50);
}

.legal-page .site-header {
  background: rgba(251, 252, 249, 0.96);
  border-color: var(--border);
}

.legal-main {
  padding: 150px 0 96px;
}

.legal-intro {
  max-width: 720px;
  margin-bottom: 50px;
}

.legal-intro h1 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(42px, 6vw, 64px);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.legal-intro p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-nav {
  position: sticky;
  z-index: 5;
  top: 92px;
  display: flex;
  padding: 12px;
  margin-bottom: 22px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  gap: 8px;
  backdrop-filter: blur(14px);
}

.legal-nav a {
  padding: 8px 12px;
  color: var(--ink-soft);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.legal-nav a:hover {
  color: var(--green-900);
  background: var(--mint-50);
}

.legal-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.legal-card h2 {
  margin: 0 0 12px;
  color: var(--green-950);
  font-size: 25px;
}

.legal-card p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-card h3 {
  margin: 28px 0 8px;
  color: var(--green-950);
  font-size: 17px;
}

.legal-card h3 + p,
.legal-card p + p {
  margin-top: 8px;
}

.legal-card a:not(.button) {
  color: var(--green-700);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-bottom: 22px !important;
  color: #78908f !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-data {
  display: grid;
  margin: 20px 0 0;
  border-top: 1px solid var(--border);
}

.legal-data div {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  gap: 18px;
  grid-template-columns: minmax(180px, 0.7fr) 1.3fr;
}

.legal-data dt {
  color: #78908f;
  font-size: 12px;
  font-weight: 700;
}

.legal-data dd {
  margin: 0;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 800;
}

.legal-field-missing {
  color: #9a6418 !important;
  background: #fff4de;
  border-radius: 5px;
  padding: 2px 5px;
}

.legal-contact {
  display: flex;
  margin-top: 22px;
  align-items: flex-start;
  gap: 14px;
  flex-direction: column;
}

.legal-contact > span {
  color: #78908f;
  font-size: 11px;
}

.legal-notice {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 16px;
  color: #885b16;
  background: #fff4de;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-main {
  min-height: calc(100vh - 154px);
  padding: 150px 0 90px;
}

.purchase-layout {
  display: grid;
  align-items: start;
  gap: 72px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.purchase-product h1 {
  max-width: 720px;
  margin: 22px 0;
  color: var(--green-950);
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.purchase-lead {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.8;
}

.purchase-summary {
  display: flex;
  margin: 42px 0 28px;
  padding: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.purchase-platform {
  display: flex;
  align-items: center;
  gap: 18px;
}

.purchase-platform div,
.purchase-price {
  display: grid;
  gap: 4px;
}

.purchase-platform strong {
  color: var(--green-950);
  font-size: 1.05rem;
}

.purchase-platform span,
.purchase-price span {
  color: #78908f;
  font-size: 0.88rem;
}

.purchase-price {
  flex: 0 0 auto;
  text-align: right;
}

.purchase-price strong {
  color: var(--green-800);
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.purchase-benefits {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 14px;
  list-style: none;
}

.purchase-benefits li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.purchase-benefits li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  color: var(--green-900);
  background: var(--mint-100);
  border-radius: 50%;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.purchase-account {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.purchase-account h2 {
  margin: 28px 0 24px;
  color: var(--green-950);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.purchase-tabs {
  display: grid;
  padding: 4px;
  background: var(--blue-50);
  border-radius: 14px;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
}

.purchase-tabs button,
.text-button {
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.purchase-tabs button {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.purchase-tabs button.active {
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(11, 59, 60, 0.09);
}

#purchaseAuthForm {
  display: grid;
  gap: 10px;
}

#purchaseAuthForm label {
  margin-top: 8px;
  color: var(--green-950);
  font-size: 0.88rem;
  font-weight: 700;
}

#purchaseAuthForm input {
  width: 100%;
  padding: 14px 15px;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  font: inherit;
}

#purchaseAuthForm input:focus {
  border-color: var(--mint-500);
  box-shadow: 0 0 0 4px rgba(36, 143, 145, 0.12);
}

#purchaseAuthForm .button {
  width: 100%;
  margin-top: 16px;
}

.text-button {
  padding: 10px 0;
  color: var(--green-800);
  font-size: 0.88rem;
  font-weight: 750;
}

.signed-in-row {
  display: flex;
  margin-bottom: 28px;
  padding-bottom: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.signed-in-row div {
  display: grid;
  gap: 4px;
}

.signed-in-row span {
  color: #78908f;
  font-size: 0.8rem;
}

.signed-in-row strong {
  overflow-wrap: anywhere;
  color: var(--green-950);
}

.consent-row {
  display: grid;
  margin: 18px 0;
  align-items: start;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.86rem;
  gap: 12px;
  grid-template-columns: 20px 1fr;
  line-height: 1.55;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green-900);
}

.consent-row a {
  color: var(--green-800);
  font-weight: 700;
}

#checkoutButton {
  width: 100%;
  margin-top: 12px;
}

#checkoutButton:disabled,
#authSubmit:disabled,
#redeemProductCode:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.free-code-panel {
  display: grid;
  padding: 20px;
  margin-top: 22px;
  background: var(--mint-50);
  border: 1px solid #c6e6dd;
  border-radius: 16px;
  gap: 12px;
}

.free-code-panel div {
  display: grid;
  gap: 2px;
}

.free-code-panel span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.free-code-panel input {
  width: 100%;
  padding: 13px 14px;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  font: inherit;
  text-transform: uppercase;
}

.free-code-panel input:focus {
  border-color: var(--mint-500);
  box-shadow: 0 0 0 4px rgba(36, 143, 145, 0.12);
}

.free-code-panel .button {
  width: 100%;
}

.secure-note {
  margin: 13px 0 0;
  color: #78908f;
  font-size: 0.78rem;
  text-align: center;
}

.purchase-message,
.purchase-status {
  padding: 16px 18px;
  margin-top: 24px;
  color: var(--ink-soft);
  background: var(--blue-50);
  border: 1px solid var(--border);
  border-radius: 14px;
  line-height: 1.55;
}

.purchase-message.error {
  color: #8c342b;
  background: #fff5f3;
  border-color: #efc9c3;
}

.purchase-message.success,
.purchase-status {
  color: var(--green-900);
  background: #eff9f5;
  border-color: #b9ddd4;
}

.purchase-status h2 {
  margin: 0 0 8px;
  color: var(--green-900);
}

.purchase-status p {
  margin: 0 0 18px;
}

.purchase-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.purchase-footer-links a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(55, 200, 160, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .purchase-layout {
    gap: 46px;
    grid-template-columns: 1fr;
  }

  .purchase-account {
    max-width: 680px;
  }

  .hero-grid {
    gap: 40px;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-grid,
  .audience-grid {
    gap: 60px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-large {
    grid-row: span 1;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 82px 0;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 16px;
    left: 16px;
    display: grid;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    padding: 12px 8px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 11px;
    place-content: center;
    gap: 6px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--green-900);
    border-radius: 2px;
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):first-of-type {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):last-of-type {
    transform: translateY(-4px) rotate(-45deg);
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding: 128px 0 78px;
  }

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

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: min(100%, 650px);
    min-height: 470px;
    margin: 10px auto 0;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid,
  .audience-grid,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .solution-copy {
    order: -1;
  }

  .solution-visual {
    min-height: 460px;
  }

  .audience-copy {
    position: static;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 18px;
  }

  .cta-panel {
    padding: 48px;
    grid-template-columns: 1fr;
  }

  .cta-panel .button {
    width: fit-content;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .purchase-main {
    padding: 120px 0 70px;
  }

  .purchase-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-price {
    text-align: left;
  }

  .purchase-account {
    padding: 26px 22px;
  }

  .signed-in-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    gap: 12px 18px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .app-window {
    transform: none;
  }

  .window-body {
    min-height: 310px;
    grid-template-columns: 42px 1fr;
  }

  .mock-sidebar {
    gap: 13px;
  }

  .mock-content {
    padding: 14px;
  }

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

  .module-card:nth-child(2) {
    display: none;
  }

  .floating-streak {
    top: 20px;
    left: -4px;
  }

  .floating-score {
    right: -4px;
    bottom: 0;
  }

  .problem-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: auto;
  }

  .problem-number {
    margin-bottom: 24px;
  }

  .solution-visual {
    min-height: 400px;
  }

  .solution-visual::before {
    width: 330px;
    height: 330px;
  }

  .study-card {
    width: 94%;
    padding: 20px;
  }

  .stack-card {
    width: 88%;
    height: 320px;
  }

  .feature-card-large,
  .feature-card-wide {
    grid-column: auto;
  }

  .feature-card-large {
    min-height: 390px;
  }

  .feature-card-wide {
    grid-template-columns: auto 1fr;
  }

  .audience-grid {
    gap: 48px;
  }

  .download-card {
    align-items: start;
    grid-template-columns: auto 1fr;
  }

  .platform-download {
    width: 100%;
    grid-column: 1 / -1;
  }

  .pricing-card {
    padding: 30px 26px;
  }

  .cta-panel {
    min-height: 400px;
    padding: 38px 26px;
    border-radius: 24px;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-main {
    gap: 54px;
  }

  .footer-links {
    gap: 34px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    padding: 22px 0;
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .legal-card {
    padding: 25px;
  }

  .legal-nav {
    top: 78px;
  }

  .legal-data div {
    gap: 4px;
    grid-template-columns: 1fr;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
