:root {
  --green: rgb(185 255 119);
  --blue: rgb(33 128 238);
  --ink: #14203a;
  --muted: #7b8495;
  --line: #e5eaf2;
  --paper: #f5f6f8;
  --soft-blue: #eef6ff;
  --soft-green: #eaf9f1;
  --soft-yellow: #fff6d8;
  --soft-purple: #f1e9ff;
  --white: #ffffff;
  --navy: #17213a;
  --teal: #0f9f8f;
  --mint: #55bd82;
  --amber: #f4ad37;
  --purple: #7b4be8;
  --rose: #ff6978;
  --shadow: 0 22px 54px rgb(20 32 58 / 9%);
  --shadow-soft: 0 10px 28px rgb(20 32 58 / 7%);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading-body::before,
body.loading-body::after {
  display: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

body::before {
  width: clamp(260px, 36vw, 560px);
  height: clamp(260px, 36vw, 560px);
  right: -12vw;
  top: 10vh;
  background: rgb(85 189 130 / 18%);
}

body::after {
  width: clamp(260px, 34vw, 520px);
  height: clamp(260px, 34vw, 520px);
  left: -18vw;
  bottom: 18vh;
  background: rgb(33 128 238 / 12%);
}

main {
  position: relative;
  z-index: 0;
  background: transparent;
}

main::before,
main::after {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

main::before {
  width: clamp(220px, 30vw, 460px);
  height: clamp(220px, 30vw, 460px);
  right: 4vw;
  top: 42vh;
  background: rgb(33 128 238 / 10%);
}

main::after {
  width: clamp(180px, 26vw, 380px);
  height: clamp(180px, 26vw, 380px);
  left: 8vw;
  top: 72vh;
  background: rgb(185 255 119 / 18%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgb(255 255 255 / 88%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
  color: var(--navy);
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 8px 20px rgb(20 32 58 / 8%);
}

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

.main-nav a,
.nav-coupon-link,
.secondary-link {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.nav-coupon-link:hover,
.secondary-link:hover {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.nav-coupon-link {
  margin-right: auto;
  color: var(--navy);
  white-space: nowrap;
}

.diagnostic-hero,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  min-height: calc(100vh - 112px);
  margin: clamp(22px, 4vw, 48px) auto;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgb(224 232 242 / 90%);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.diagnostic-hero {
  background:
    linear-gradient(145deg, rgb(238 246 255 / 92%) 0 34%, transparent 34%),
    var(--white);
}

.product-hero {
  background:
    linear-gradient(145deg, rgb(234 249 241 / 86%) 0 28%, transparent 28%),
    var(--white);
}

.exam-gate {
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  min-height: calc(100vh - 112px);
  display: grid;
  align-content: center;
  gap: 28px;
  margin: clamp(22px, 4vw, 48px) auto;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(238 246 255 / 92%) 0 38%, transparent 38%),
    var(--white);
  box-shadow: var(--shadow);
}

.exam-gate-compact {
  min-height: auto;
}

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

.exam-choice-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--soft-blue);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 26px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.exam-choice-card:nth-child(2) {
  background: rgb(255 255 255 / 92%);
}

.exam-choice-card:nth-child(3) {
  background: var(--soft-green);
}

.exam-choice-card:hover {
  border-color: rgb(33 128 238 / 45%);
  box-shadow: 0 16px 40px rgb(20 32 58 / 10%);
  transform: translateY(-4px);
}

.exam-choice-card::after {
  content: "›";
  align-self: end;
  justify-self: end;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 2rem;
  font-weight: 700;
}

.exam-choice-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exam-choice-card strong {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.exam-choice-card small {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.5;
}

.product-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.result-card p,
.site-footer p,
.feature-strip p,
.memory-section p,
.keys-section p,
.install-section p,
.media-section p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 50px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  color: var(--muted);
  font-weight: 750;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 1.3rem;
}

.diagnostic-form,
.result-card,
.cta-panel,
.install-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.diagnostic-form {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 92% 8%, rgb(191 229 249 / 18%) 0 13%, transparent 14%),
    rgb(248 251 255 / 92%);
  box-shadow: none;
  overflow: hidden;
}

.diagnostic-form > * {
  position: relative;
  z-index: 1;
}

.form-heading h2 {
  margin-bottom: 0;
}

.field {
  display: grid;
  gap: 10px;
}

.field span,
.fieldset legend {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 850;
}

.field output {
  justify-self: start;
  min-width: 54px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  padding: 6px 12px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.score-field {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgb(224 232 242 / 92%);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(248 251 255 / 88%)),
    var(--white);
  box-shadow: 0 10px 26px rgb(20 32 58 / 5%);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.score-field::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -34px;
  top: -42px;
  border-radius: 50%;
  background: rgb(191 229 249 / 24%);
  pointer-events: none;
}

.score-field:nth-child(2n)::before,
.target-grid .score-field:nth-child(3n)::before,
.specialty-targets .score-field:nth-child(2n)::before {
  background: rgb(234 249 241 / 44%);
}

.score-field:hover,
.score-field:focus-within {
  border-color: rgb(33 128 238 / 24%);
  box-shadow: 0 12px 30px rgb(20 32 58 / 7%);
  background: var(--white);
}

.score-field span {
  min-width: 0;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.25;
}

.score-field output {
  position: relative;
  z-index: 1;
  justify-self: end;
  min-width: 58px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgb(224 232 242 / 95%);
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  color: var(--navy);
  font-size: 0.96rem;
  box-shadow: 0 8px 18px rgb(20 32 58 / 6%);
}

.score-field input[type="range"] {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
}

.score-field-main {
  padding: 18px;
  background:
    radial-gradient(circle at 90% 12%, rgb(191 229 249 / 28%) 0 16%, transparent 17%),
    linear-gradient(145deg, rgb(248 251 255 / 98%), rgb(255 255 255 / 94%));
}

.field select,
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  padding: 10px 12px;
}

.field select:focus,
.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field textarea:focus {
  border-color: rgb(33 128 238 / 55%);
  outline: 3px solid rgb(33 128 238 / 12%);
}

.field textarea {
  min-height: 160px;
  line-height: 1.5;
  resize: vertical;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #4b86e8 0%, #4b86e8 var(--range-progress, 50%), #e6edf6 var(--range-progress, 50%), #e6edf6 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 48%);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #4b86e8;
  box-shadow: 0 6px 16px rgb(20 32 58 / 16%);
}

input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #4b86e8 0%, #4b86e8 var(--range-progress, 50%), #e6edf6 var(--range-progress, 50%), #e6edf6 100%);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #4b86e8;
  box-shadow: 0 6px 16px rgb(20 32 58 / 16%);
}

input[type="range"]:focus-visible {
  outline: none;
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px rgb(33 128 238 / 13%), 0 6px 16px rgb(20 32 58 / 16%);
}

input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 5px rgb(33 128 238 / 13%), 0 6px 16px rgb(20 32 58 / 16%);
}

.fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.chip-grid label {
  cursor: pointer;
}

.chip-grid input {
  position: absolute;
  opacity: 0;
}

.chip-grid span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 180ms ease, border 180ms ease, background 180ms ease, color 180ms ease;
}

.chip-grid input:checked + span {
  border-color: rgb(33 128 238 / 50%);
  background: rgb(238 246 255 / 95%);
  color: var(--navy);
  box-shadow: inset 0 0 0 2px rgb(33 128 238 / 16%), 0 10px 22px rgb(33 128 238 / 10%);
}

.chip-grid input:disabled:not(:checked) + span {
  cursor: not-allowed;
  opacity: 0.42;
}

.locked-chip span,
.chip-grid .locked-chip input:checked + span {
  border-color: rgb(15 159 143 / 35%);
  background: var(--soft-green);
  color: var(--navy);
}

.chip-grid label:hover span {
  transform: translateY(-2px);
}

.choice-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.two-fields,
.target-grid,
.specialty-targets,
.exam-context,
.results-grid,
.media-grid {
  display: grid;
  gap: 14px;
}

.two-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.specialty-targets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exam-context {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.specialty-targets:empty {
  display: none;
}

.specialty-target-card {
  background:
    radial-gradient(circle at 94% 8%, rgb(191 229 249 / 22%) 0 18%, transparent 19%),
    var(--white);
}

.compact {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.compact.score-field {
  padding: 16px;
  border-color: rgb(224 232 242 / 92%);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(248 251 255 / 88%)),
    var(--white);
}

.compact.score-field.specialty-target-card {
  background:
    radial-gradient(circle at 94% 8%, rgb(191 229 249 / 22%) 0 18%, transparent 19%),
    linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(248 251 255 / 88%));
}

.primary-button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 0;
  border-radius: 22px;
  background: #4b86e8;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 34px rgb(33 128 238 / 24%);
}

.primary-button:hover,
.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgb(33 128 238 / 34%);
}

.media-grid img,
.phone-stage img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.results-section,
.media-section,
.app-showcase,
.feature-strip {
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.results-section,
.media-section,
.keys-section {
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.results-section {
  padding-top: clamp(34px, 6vw, 72px);
}

.plan-page h1 {
  font-size: clamp(2.1rem, 5vw, 4.7rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.empty-state {
  display: grid;
  grid-template-columns: 110px minmax(0, 560px);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px dashed rgb(33 128 238 / 40%);
  border-radius: 24px;
  background: var(--white);
}

.empty-meter {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--green);
  padding: 10px;
  animation: pulseSpin 3.2s ease-in-out infinite;
}

.empty-meter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: white;
}

.results-grid {
  grid-template-columns: 0.8fr 1fr 1fr;
}

.result-card {
  padding: 26px;
  border-radius: 24px;
}

.result-card.synap-card {
  border-color: rgb(85 189 130 / 28%);
  background: var(--soft-green);
}

.pressure-card {
  background: var(--soft-blue);
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf6;
}

.meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 700ms ease;
}

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

.timeline li {
  position: relative;
  padding: 15px 15px 15px 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 80%);
  color: var(--muted);
  line-height: 1.5;
}

.timeline li::before {
  content: attr(data-day);
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 0.74rem;
  font-weight: 900;
}

.synap-card .timeline li::before {
  background: #0f9f8f;
}

.subject-breakdown {
  margin-top: 24px;
}

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

.subject-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.subject-card:nth-child(4n + 1) {
  background: var(--soft-blue);
}

.subject-card:nth-child(4n + 2) {
  background: var(--soft-green);
}

.subject-card:nth-child(4n + 3) {
  background: var(--soft-yellow);
}

.subject-card:nth-child(4n) {
  background: var(--soft-purple);
}

.subject-card span,
.subject-card strong {
  display: block;
}

.subject-card span {
  color: var(--muted);
  font-weight: 850;
}

.subject-card strong {
  margin: 8px 0;
  color: var(--blue);
  font-size: 1.8rem;
}

.subject-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--soft-green);
  border-radius: 26px;
}

.cta-panel p {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.phone-stage {
  align-self: center;
  display: grid;
  place-items: center;
}

.phone-stage img {
  max-height: 720px;
  object-fit: contain;
}

.app-shot-stage {
  width: min(430px, 100%);
  min-height: auto;
  display: grid;
  place-items: center;
}

.phone-shot {
  display: block;
  width: min(390px, 78vw);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 26px 72px rgb(20 32 58 / 16%);
  object-fit: contain;
}

.hero-shot {
  max-height: 720px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.memory-section,
.keys-section {
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.memory-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  margin: clamp(20px, 4vw, 44px) auto;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(234 249 241 / 84%) 0 32%, transparent 32%),
    var(--white);
  box-shadow: var(--shadow);
}

.memory-section h2,
.keys-section h2 {
  max-width: 760px;
}

.memory-chart {
  position: relative;
  min-height: 370px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgb(156 255 87 / 28%) 0 18%, transparent 19%),
    radial-gradient(circle at 10% 86%, rgb(191 229 249 / 46%) 0 23%, transparent 24%),
    var(--white);
  box-shadow: 0 18px 52px rgb(20 32 58 / 8%);
  overflow: hidden;
}

.memory-chart::before {
  content: "";
  position: absolute;
  inset: 70px 24px 88px;
  border-radius: 28px;
  background: rgb(248 251 255 / 78%);
  border: 1px solid rgb(224 232 242 / 72%);
}

.chart-head,
.chart-metrics {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.chart-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 950;
}

.chart-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 950;
  padding: 8px 14px;
  box-shadow: 0 12px 28px rgb(156 255 87 / 24%);
}

.chart-area {
  position: relative;
  z-index: 2;
  min-height: 250px;
  border-radius: 26px;
  overflow: visible;
}

.chart-grid-line {
  position: absolute;
  right: 18px;
  left: 18px;
  height: 1px;
  background: rgb(20 32 58 / 7%);
}

.line-top {
  top: 18%;
}

.line-mid {
  top: 50%;
}

.line-low {
  top: 78%;
}

.chart-svg {
  position: absolute;
  inset: 8px 10px 6px;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-fill {
  fill: url(#chartFill);
  opacity: 0;
  animation: chartGlow 900ms ease 900ms forwards;
}

.chart-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 10;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawChart 2.2s ease forwards;
}

.path-muted {
  stroke: #c8d2df;
  stroke-width: 8;
  animation-delay: 220ms;
}

.path-synap {
  stroke: var(--blue);
  filter: drop-shadow(0 12px 16px rgb(33 128 238 / 26%));
}

.chart-point {
  position: absolute;
  min-width: 66px;
  min-height: 54px;
  display: grid;
  gap: 1px;
  place-items: center;
  padding: 7px 10px;
  border: 3px solid var(--white);
  border-radius: 20px;
  background: var(--green);
  color: var(--navy);
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 16px 34px rgb(20 32 58 / 14%);
  opacity: 0;
  transform: scale(0.72);
  animation: pointPop 520ms cubic-bezier(.2, 1.4, .35, 1) forwards;
}

.chart-point small {
  color: rgb(20 32 58 / 64%);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chart-point strong {
  font-size: 1.25rem;
}

.point-one {
  left: 2%;
  bottom: 14%;
  animation-delay: 900ms;
}

.point-two {
  left: 36%;
  top: 38%;
  animation-delay: 1.45s;
}

.point-three {
  right: 2%;
  top: 4%;
  animation-delay: 2.1s;
}

.chart-metrics {
  justify-content: stretch;
  gap: 10px;
}

.chart-metrics span {
  flex: 1;
  display: grid;
  gap: 2px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 84%);
  box-shadow: var(--shadow-soft);
}

.chart-metrics strong,
.chart-metrics small {
  display: block;
}

.chart-metrics strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 950;
}

.chart-metrics small {
  color: var(--muted);
  font-weight: 800;
}

.feature-strip article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 34px rgb(20 32 58 / 7%);
}

.feature-strip article:nth-child(1) {
  background: var(--soft-yellow);
  border-color: #f9df9f;
}

.feature-strip article:nth-child(2) {
  background: var(--soft-blue);
  border-color: #cfe1ff;
}

.feature-strip article:nth-child(3) {
  background: var(--soft-green);
  border-color: #c7ead9;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--green);
  color: var(--navy);
  font-weight: 950;
}

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

.keys-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.keys-grid article:nth-child(3n + 1) {
  background: var(--soft-green);
}

.keys-grid article:nth-child(3n + 2) {
  background: var(--soft-blue);
}

.keys-grid article:nth-child(3n) {
  background: var(--soft-purple);
}

.keys-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgb(20 32 58 / 10%);
}

.keys-grid h3 {
  margin-bottom: 8px;
}

.keys-grid p {
  margin-bottom: 0;
}

.app-showcase {
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  margin: clamp(20px, 4vw, 44px) auto;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(238 246 255 / 86%) 0 28%, transparent 28%),
    var(--white);
  box-shadow: var(--shadow);
}

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

.screen-grid figure {
  margin: 0;
}

.screen-grid img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 18px 54px rgb(20 32 58 / 10%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screen-grid figure:hover img {
  transform: translateY(-6px);
  box-shadow: 0 22px 64px rgb(20 32 58 / 14%);
}

.screen-grid figcaption {
  margin-top: 10px;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.media-grid {
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  align-items: center;
}

.video-demo,
.media-copy-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 40px rgb(20 32 58 / 8%);
}

.video-demo {
  overflow: hidden;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 10;
}

.video-demo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #101827;
}

.media-copy-card {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 42px);
  background: var(--soft-green);
}

.media-copy-card p:last-child {
  margin-bottom: 0;
}

.video-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.video-placeholder span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  clip-path: polygon(28% 18%, 28% 82%, 82% 50%);
}

.video-placeholder p {
  align-self: start;
  color: rgb(255 255 255 / 84%);
  font-weight: 850;
}

.install-section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  margin: clamp(30px, 5vw, 70px) auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(238 246 255 / 82%) 0 36%, transparent 36%),
    var(--white);
}

.available-on {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.available-on > span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.available-on ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.available-on li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}

.available-on li:nth-child(2n) {
  background: var(--soft-blue);
}

.available-on li:nth-child(3n) {
  background: var(--soft-green);
}

.store-button {
  flex-direction: column;
  min-width: 220px;
  min-height: 72px;
  background: #101827;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgb(16 24 39 / 26%);
}

.store-button span {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.78;
}

.store-button strong {
  font-size: 1.28rem;
}

.coupon-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.coupon-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(20 32 58 / 46%);
  backdrop-filter: blur(8px);
}

.coupon-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgb(234 249 241 / 88%) 0 34%, transparent 34%),
    var(--white);
  box-shadow: 0 30px 90px rgb(20 32 58 / 24%);
  padding: clamp(22px, 4vw, 34px);
  animation: loadingEnter 320ms ease both;
}

.coupon-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
}

.coupon-card p {
  margin-bottom: 0;
}

.coupon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 900;
}

.coupon-form {
  display: grid;
  gap: 12px;
}

.coupon-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.coupon-consent input {
  margin-top: 2px;
  accent-color: var(--blue);
}

.coupon-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 88%);
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  font-size: 0.92rem;
}

.home-page main {
  overflow: hidden;
}

.home-hero,
.home-flow,
.feature-screens,
.student-reviews,
.academic-potential {
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  margin-right: auto;
  margin-left: auto;
}

.home-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.86fr);
  gap: 52px;
  align-items: center;
  padding: 54px 0 42px;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-copy h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: 6.2rem;
  line-height: 0.94;
}

.home-hero-copy .hero-text {
  max-width: 640px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.home-hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.hero-phone {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 28px 74px rgb(20 32 58 / 16%);
  object-fit: cover;
  object-position: top center;
}

.main-phone {
  width: 250px;
  max-height: 620px;
}

.side-phone {
  width: 250px;
  max-height: 620px;
  box-shadow: 0 28px 74px rgb(20 32 58 / 16%);
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(42px, 8vw, 92px);
}

.home-flow a {
  display: grid;
  gap: 8px;
  min-height: 158px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-flow a:nth-child(1) {
  background: var(--soft-green);
}

.home-flow a:nth-child(2) {
  background: var(--soft-blue);
}

.home-flow a:nth-child(3) {
  background: var(--soft-yellow);
}

.home-flow a:hover {
  border-color: rgb(33 128 238 / 34%);
  box-shadow: 0 16px 38px rgb(20 32 58 / 10%);
  transform: translateY(-3px);
}

.home-flow span,
.feature-screen-grid article span,
.potential-grid article span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-flow strong {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1;
}

.home-flow small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.45;
}

.feature-screens,
.student-reviews,
.academic-potential {
  padding: clamp(30px, 6vw, 70px) 0;
}

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

.feature-screen-grid article {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.feature-screen-grid article:nth-child(2),
.feature-screen-grid article:nth-child(3) {
  background: var(--soft-blue);
}

.feature-screen-grid img {
  width: 100%;
  max-height: 390px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 42px rgb(20 32 58 / 10%);
  object-fit: cover;
  object-position: top center;
}

.feature-screen-grid h3,
.potential-grid h3 {
  margin-top: 8px;
  color: var(--navy);
}

.feature-screen-grid p,
.potential-grid p,
.review-carousel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.reviews-head h2 {
  margin-bottom: 0;
}

.review-controls {
  display: flex;
  gap: 8px;
}

.review-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--shadow-soft);
}

.review-carousel {
  display: grid;
  grid-auto-columns: minmax(310px, 430px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.review-carousel article {
  min-height: 232px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 22px;
  border: 1px solid #e5e5ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  scroll-snap-align: start;
}

.app-review-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.app-review-top h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.app-review-top span,
.app-review-meta span {
  color: #8e8e93;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-review-rating {
  color: #ffb400;
  font-size: 0.98rem;
  letter-spacing: 0;
  line-height: 1;
}

.review-carousel p {
  color: #3a3a3c;
  font-size: 0.98rem;
}

.app-review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f2f2f7;
}

.app-review-meta strong {
  color: #1d1d1f;
  font-size: 0.92rem;
  font-weight: 800;
}

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

.potential-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.potential-grid article:nth-child(1) {
  background: var(--soft-blue);
}

.potential-grid article:nth-child(2) {
  background: var(--soft-green);
}

.potential-grid article:nth-child(3) {
  background: var(--soft-yellow);
}

.potential-grid .primary-button {
  align-self: end;
  margin-top: auto;
}

.potential-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.persistent-footer {
  z-index: 30;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px);
  box-shadow: 0 -14px 34px rgb(20 32 58 / 7%);
}

.persistent-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.persistent-footer nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.persistent-footer nav a:hover {
  background: var(--soft-blue);
  color: var(--navy);
}

.footer-rights {
  white-space: nowrap;
}

.legal-page {
  width: min(860px, calc(100% - clamp(24px, 6vw, 96px)));
  display: grid;
  gap: 14px;
  margin: clamp(34px, 6vw, 82px) auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin-bottom: 6px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.legal-page p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.legal-page .primary-button {
  justify-self: start;
  margin-top: 12px;
}

.detail-hero {
  position: relative;
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin: clamp(24px, 5vw, 62px) auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(238 246 255 / 82%) 0 34%, transparent 34%),
    var(--white);
  box-shadow: var(--shadow);
}

.detail-back {
  position: absolute;
  top: 18px;
  left: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.detail-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgb(20 32 58 / 10%);
}

.detail-hero .primary-button {
  margin-top: 10px;
}

.detail-grid {
  width: min(1210px, calc(100% - clamp(24px, 6vw, 96px)));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto clamp(42px, 7vw, 90px);
}

.detail-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-grid article:nth-child(1) {
  background: var(--soft-green);
}

.detail-grid article:nth-child(2) {
  background: var(--soft-blue);
}

.detail-grid article:nth-child(3) {
  background: var(--soft-yellow);
}

.detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-page {
  width: min(960px, calc(100% - clamp(24px, 6vw, 96px)));
  display: grid;
  gap: 24px;
  margin: clamp(34px, 6vw, 82px) auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(234 249 241 / 72%) 0 30%, transparent 30%),
    var(--white);
  box-shadow: var(--shadow);
}

.contact-page h1 {
  margin-bottom: 12px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.45;
}

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

.contact-page-polished {
  width: min(1120px, calc(100% - clamp(24px, 6vw, 96px)));
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  background:
    linear-gradient(145deg, rgb(238 246 255 / 84%) 0 32%, transparent 32%),
    var(--white);
}

.contact-intro {
  display: grid;
  gap: 14px;
  align-content: center;
}

.contact-intro h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.contact-support-card {
  display: flex;
  gap: 14px;
  align-items: center;
  width: min(360px, 100%);
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgb(255 255 255 / 86%);
  box-shadow: var(--shadow-soft);
}

.contact-support-card img {
  border-radius: 16px;
  box-shadow: 0 8px 18px rgb(20 32 58 / 9%);
}

.contact-support-card strong,
.contact-support-card span {
  display: block;
}

.contact-support-card strong {
  color: var(--navy);
  font-weight: 950;
}

.contact-support-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 8%, rgb(185 255 119 / 24%) 0 15%, transparent 16%),
    rgb(248 251 255 / 96%);
  box-shadow: 0 18px 44px rgb(20 32 58 / 9%);
}

.privacy-page {
  width: min(820px, calc(100% - clamp(24px, 6vw, 96px)));
  display: grid;
  gap: 14px;
  margin: clamp(38px, 6vw, 86px) auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.privacy-page h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.policy-date {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 850;
}

.policy-copy {
  display: grid;
  gap: 18px;
}

.policy-copy p {
  margin: 0;
  color: #4a5365;
  font-size: 1rem;
  line-height: 1.68;
}

.policy-copy a {
  color: var(--blue);
  font-weight: 850;
}

.policy-section {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.policy-section h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.policy-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #4a5365;
  line-height: 1.55;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.hidden {
  display: none;
}

.is-hidden {
  display: none !important;
}

.loading-body {
  min-height: 100vh;
  background: var(--paper);
  overflow-x: hidden;
}

.loading-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.loading-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loading-blob {
  position: absolute;
  display: block;
  border-radius: 42px;
  opacity: 0.42;
  animation: blobFloat 7s ease-in-out infinite;
}

.blob-blue {
  width: 190px;
  height: 190px;
  top: 8%;
  left: 6%;
  background: var(--blue);
}

.blob-green {
  width: 240px;
  height: 240px;
  right: -36px;
  top: -42px;
  background: var(--green);
  animation-delay: 900ms;
}

.blob-navy {
  width: 120px;
  height: 120px;
  right: 14%;
  bottom: 10%;
  background: var(--navy);
  opacity: 0.16;
  animation-delay: 1.6s;
}

.loading-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgb(238 246 255 / 88%) 0 34%, transparent 34%),
    var(--white);
  box-shadow: var(--shadow);
  animation: loadingEnter 720ms ease both;
}

.loading-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.loading-brand {
  margin-bottom: 8px;
}

.loading-shell h1 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
}

.loading-shell .hero-text {
  min-height: 58px;
  margin-bottom: 0;
}

.loading-progress {
  position: relative;
  width: min(460px, 100%);
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf6;
}

.loading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transform-origin: left;
  animation: fillProgress 5s linear forwards;
}

.loading-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 28%;
  border-radius: inherit;
  background: rgb(255 255 255 / 38%);
  animation: progressShine 1.2s ease-in-out infinite;
}

.loading-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.loading-steps span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 7px 12px;
  animation: stepGlow 3s ease-in-out infinite;
}

.loading-steps span:nth-child(2) {
  animation-delay: 600ms;
}

.loading-steps span:nth-child(3) {
  background: var(--soft-green);
  animation-delay: 1.2s;
}

.loading-lab {
  position: relative;
  min-height: 520px;
}

.synap-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 154px;
  height: 154px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 20px 50px rgb(20 32 58 / 13%);
  z-index: 5;
  animation: logoBreathe 1.7s ease-in-out infinite;
}

.synap-pulse span {
  position: absolute;
  inset: -20px;
  border: 2px solid rgb(33 128 238 / 18%);
  border-radius: 50%;
  animation: pulseRing 2.8s ease-out infinite;
}

.synap-pulse span:nth-child(2) {
  inset: -40px;
  border-color: rgb(185 255 119 / 42%);
  animation-delay: 500ms;
}

.synap-pulse span:nth-child(3) {
  inset: -62px;
  border-color: rgb(15 159 143 / 20%);
  animation-delay: 1s;
}

.synap-pulse img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
}

.analysis-panel {
  position: absolute;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--soft-blue);
  box-shadow: 0 18px 42px rgb(20 32 58 / 10%);
  animation: cardFloat 4.8s ease-in-out infinite;
}

.panel-main {
  top: 26px;
  left: 6%;
  width: 255px;
  min-height: 236px;
  background: var(--soft-blue);
}

.panel-score {
  top: 54px;
  right: 2%;
  width: 235px;
  min-height: 166px;
  background: var(--navy);
  animation-delay: 500ms;
}

.panel-check {
  right: 8%;
  bottom: 52px;
  width: 320px;
  min-height: 154px;
  background: var(--white);
  animation-delay: 1s;
}

.panel-bar,
.panel-line {
  display: block;
  border-radius: 999px;
}

.panel-bar {
  width: 72%;
  height: 22px;
}

.bar-navy {
  background: var(--navy);
}

.bar-blue {
  background: var(--blue);
}

.panel-line {
  width: 62%;
  height: 14px;
  background: #cfdae7;
}

.panel-score .panel-line {
  background: rgb(255 255 255 / 58%);
}

.line-long {
  width: 86%;
}

.panel-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.action-tile {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
}

.blue-tile {
  background: var(--blue);
}

.green-tile {
  background: var(--green);
  color: var(--navy);
}

.panel-score strong {
  justify-self: end;
  align-self: end;
  width: 70px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--green);
  color: var(--navy);
  font-size: 1.45rem;
}

.check-mark {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.check-mark::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 15px;
  width: 22px;
  height: 36px;
  border-right: 8px solid var(--navy);
  border-bottom: 8px solid var(--navy);
  transform: rotate(42deg);
}

.floating-chip {
  position: absolute;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 950;
  padding: 8px 14px;
  box-shadow: 0 14px 34px rgb(20 32 58 / 11%);
  animation: chipFloat 3.4s ease-in-out infinite;
}

.chip-one {
  left: 2%;
  bottom: 62px;
  background: var(--green);
}

.chip-two {
  top: 236px;
  right: 0;
  animation-delay: 650ms;
}

.chip-three {
  left: 36%;
  bottom: 10px;
  background: var(--soft-blue);
  animation-delay: 1.2s;
}

.panel-score .panel-bar,
.panel-score strong {
  animation: colorPop 1.6s ease-in-out infinite;
}

@keyframes loadingEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) scale(1.06);
  }
}

@keyframes progressShine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(380%);
  }
}

@keyframes stepGlow {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: none;
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgb(33 128 238 / 12%);
  }
}

@keyframes logoBreathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.045);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.95;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes colorPop {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.35) brightness(1.04);
  }
}

@keyframes drawChart {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes chartGlow {
  to {
    opacity: 1;
  }
}

@keyframes pointPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseSpin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(12deg) scale(1.04);
  }
}

@keyframes fillProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1080px) {
  .diagnostic-hero,
  .product-hero,
  .loading-shell,
  .memory-section,
  .exam-choice-grid,
  .exam-context,
  .results-grid,
  .feature-strip,
  .media-grid,
  .keys-grid,
  .screen-grid,
  .subject-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-hero,
  .product-hero {
    min-height: auto;
  }

  .app-shot-stage {
    min-height: auto;
  }

  .loading-lab {
    min-height: 470px;
  }

  .memory-chart {
    min-height: 320px;
  }

  .panel-main {
    left: 0;
  }

  .panel-score {
    right: 0;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .cta-panel,
  .install-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: clamp(2.25rem, 14vw, 3.45rem);
  }

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

  .two-fields,
  .target-grid,
  .specialty-targets,
  .empty-state {
    grid-template-columns: 1fr;
  }

  .empty-meter {
    width: 76px;
    height: 76px;
  }

  .primary-button,
  .store-button {
    width: 100%;
  }

  .app-shot-stage {
    min-height: auto;
  }

  .screen-grid img {
    max-height: 760px;
  }

  .chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-area {
    min-height: 210px;
  }

  .chart-point {
    min-width: 56px;
    min-height: 48px;
    padding: 6px 8px;
    font-size: 0.9rem;
  }

  .chart-point small {
    font-size: 0.56rem;
  }

  .chart-point strong {
    font-size: 1.08rem;
  }

  .loading-page {
    padding: 14px;
  }

  .loading-shell {
    padding: 22px;
  }

  .loading-shell h1 {
    font-size: 2.4rem;
  }

  .loading-shell .hero-text {
    min-height: 76px;
  }

  .loading-lab {
    min-height: 430px;
  }

  .synap-pulse {
    width: 118px;
    height: 118px;
  }

  .synap-pulse img {
    width: 64px;
    height: 64px;
  }

  .analysis-panel {
    padding: 16px;
  }

  .panel-main {
    width: 210px;
    min-height: 214px;
  }

  .panel-score {
    width: 190px;
    min-height: 148px;
  }

  .panel-check {
    right: 0;
    width: min(280px, 92%);
  }

  .action-tile {
    width: 62px;
    height: 62px;
    font-size: 2rem;
  }

  .floating-chip {
    font-size: 0.82rem;
  }

}

@media (max-width: 1080px) {
  .home-hero,
  .feature-screen-grid,
  .potential-grid,
  .detail-hero,
  .detail-grid,
  .contact-page-polished {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    gap: 28px;
    padding-top: 42px;
  }

  .home-hero-visual {
    min-height: 460px;
  }

  .home-hero-copy h1 {
    font-size: 5rem;
  }

  .main-phone,
  .side-phone {
    width: 230px;
  }

  .home-flow {
    grid-template-columns: 1fr;
  }

  .feature-screen-grid article {
    grid-template-columns: minmax(120px, 240px) minmax(0, 1fr);
  }

  .detail-hero {
    min-height: auto;
  }

  .contact-page-polished {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .home-hero,
  .feature-screens,
  .student-reviews,
  .academic-potential {
    width: min(100% - 28px, 1210px);
  }

  .home-hero-copy h1 {
    font-size: 3.35rem;
    line-height: 0.96;
  }

  .home-hero-visual {
    min-height: 310px;
    gap: 10px;
  }

  .main-phone,
  .side-phone {
    width: min(150px, calc(50% - 10px));
  }

  .feature-screen-grid article {
    grid-template-columns: 1fr;
  }

  .feature-screen-grid img {
    max-height: 560px;
  }

  .reviews-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-carousel {
    grid-auto-columns: minmax(260px, 88vw);
  }

  .persistent-footer {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    text-align: center;
  }

  .persistent-footer nav {
    justify-content: center;
  }

  .footer-rights {
    justify-content: center;
    width: 100%;
    white-space: normal;
  }

  .detail-hero,
  .detail-grid,
  .contact-page-polished,
  .privacy-page {
    width: min(100% - 28px, 1210px);
  }

  .detail-hero {
    padding: 24px;
  }

  .contact-page-polished,
  .privacy-page {
    padding: 24px;
  }

  .contact-intro h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }
}
