:root {
  --canvas: #f5f7fb;
  --canvas-blue: #edf2f9;
  --canvas-warm: #f7f5f1;
  --surface: #ffffff;
  --surface-blue: #eaf4ff;
  --surface-blue-strong: #dcebff;
  --primary: #1473ff;
  --primary-dark: #0b56c8;
  --orange: #ff7417;
  --orange-soft: #ffe9d7;
  --teal: #0f9e9a;
  --success: #10b981;
  --ink: #10182f;
  --muted: #65718b;
  --subtle: #8792a8;
  --border: #e1eaf8;
  --shadow-sm: 0 12px 32px rgba(24, 72, 138, 0.08);
  --shadow-md: 0 24px 60px rgba(24, 72, 138, 0.12);
  --shadow-lg: 0 34px 90px rgba(16, 24, 47, 0.16);
  --radius: 18px;
  --radius-hero: 26px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  color: var(--ink);
  background: var(--surface-blue-strong);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(20, 115, 255, 0.35);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 88% 4%, rgba(20, 115, 255, 0.11), transparent 26rem),
    radial-gradient(circle at 5% 32rem, rgba(255, 116, 23, 0.075), transparent 24rem),
    linear-gradient(135deg, #fbfcff 0%, var(--canvas) 58%, #f4f7fc 100%);
}

.site-shell::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(35, 94, 171, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 94, 171, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 68rem);
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

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

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(249, 251, 255, 0.88);
  border-bottom: 1px solid rgba(225, 234, 248, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-nav__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.site-brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border-radius: 11px 11px 15px 11px;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(20, 115, 255, 0.25);
  font-size: 0.95rem;
  font-weight: 900;
}

.site-nav__links,
.site-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.site-nav__links a,
.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav__links a:hover,
.site-footer__links a:hover {
  color: var(--ink);
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 17px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.015em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(20, 115, 255, 0.26);
}

.button--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 18px 38px rgba(20, 115, 255, 0.32);
}

.button--light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 32px rgba(16, 24, 47, 0.12);
}

.button--compact {
  min-height: 46px;
  padding-inline: 19px;
  border-radius: 15px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(20, 115, 255, 0.1);
}

.hero {
  padding: clamp(42px, 6vh, 72px) 0 clamp(60px, 8vh, 92px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 44px;
}

.hero h1,
.section-heading h2,
.premium__copy h2,
.final-cta h2,
.editorial-hero h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.057em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 700px;
  margin-top: 20px;
  font-size: clamp(3.25rem, min(5.2vw, 9.4vh), 5.35rem);
  line-height: 0.92;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  color: var(--primary);
}

.hero__lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 600;
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust span::before {
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: clamp(470px, calc(100svh - 210px), 620px);
  overflow: hidden;
  border: 1px solid rgba(213, 228, 249, 0.9);
  border-radius: var(--radius-hero);
  background: #eef4fb;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(244, 248, 253, 0.95), rgba(244, 248, 253, 0.08) 34%, transparent 58%);
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 57% center;
}

.hero-visual__note {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  width: min(270px, calc(100% - 48px));
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.hero-visual__note strong,
.hero-visual__note span {
  display: block;
}

.hero-visual__note strong {
  font-size: 0.95rem;
}

.hero-visual__note span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.45;
}

.section {
  padding: 100px 0;
}

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

.section--warm {
  background: var(--canvas-warm);
}

.section-heading {
  max-width: 730px;
  margin-bottom: 42px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

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

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 0.98;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.7;
}

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

.bottleneck {
  min-height: 225px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.bottleneck:hover {
  transform: translateY(-4px);
  border-color: #bbd6ff;
  box-shadow: var(--shadow-md);
}

.bottleneck__index {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  border-radius: 12px;
  background: var(--surface-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bottleneck h3,
.method-step h3,
.plan-card h3,
.day-card h3 {
  margin: 18px 0 9px;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.bottleneck p,
.method-step p,
.plan-card p,
.day-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 28px;
  align-items: center;
}

.demo-copy__outcome {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.demo-copy__outcome li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 750;
}

.demo-copy__outcome li::before {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--primary);
  content: "✓";
  font-size: 0.75rem;
}

.conversation {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.conversation__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.conversation__person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: var(--ink);
  font-weight: 900;
}

.conversation__person strong,
.conversation__person span {
  display: block;
}

.conversation__person span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.live-label {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.chat {
  display: grid;
  gap: 14px;
  padding: 22px 0;
}

.bubble {
  max-width: 84%;
  padding: 15px 17px;
  border-radius: 16px 16px 16px 5px;
  background: var(--canvas-blue);
  font-weight: 650;
  line-height: 1.52;
  animation: bubble-in 700ms both;
}

.bubble--learner {
  justify-self: end;
  color: #fff;
  border-radius: 16px 16px 5px 16px;
  background: var(--primary);
  animation-delay: 180ms;
}

.voice-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #ffd7ba;
  border-radius: 15px;
  background: #fff8f2;
}

.voice-note__button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 11px;
  background: var(--orange);
}

.waveform {
  height: 30px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
}

.waveform i {
  width: 3px;
  height: var(--wave, 40%);
  border-radius: 99px;
  background: var(--orange);
  transform-origin: center;
  animation: wave 900ms ease-in-out both;
}

.feedback {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid #bcebdc;
  border-radius: 16px;
  background: #f0fbf7;
}

.feedback__check {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: var(--success);
  font-weight: 900;
}

.feedback strong,
.feedback span {
  display: block;
}

.feedback span {
  margin-top: 4px;
  color: #3f6d61;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-track::before {
  position: absolute;
  z-index: 0;
  top: 25px;
  right: 12%;
  left: 12%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--orange));
}

.method-step {
  position: relative;
  z-index: 1;
  padding: 0 14px;
  text-align: center;
}

.method-step__dot {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--primary-dark);
  border: 7px solid var(--canvas);
  border-radius: 50%;
  background: var(--surface-blue-strong);
  box-shadow: 0 0 0 1px var(--border);
  font-size: 0.8rem;
  font-weight: 900;
}

.plan-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: 24px;
  align-items: stretch;
}

.plan-panel,
.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan-panel {
  padding: 28px;
}

.plan-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-panel fieldset + fieldset {
  margin-top: 25px;
}

.plan-panel legend {
  margin-bottom: 12px;
  font-weight: 850;
}

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

.choice {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 15px;
  cursor: pointer;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice:has(input:checked) {
  color: var(--primary-dark);
  border-color: #8dbaff;
  background: var(--surface-blue);
  box-shadow: 0 8px 24px rgba(20, 115, 255, 0.1);
}

.choice:has(input:checked)::before {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 7px;
  background: var(--primary);
  content: "✓";
  font-size: 0.68rem;
}

.plan-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--ink);
  color: #fff;
}

.plan-card::before {
  position: absolute;
  inset: auto -70px -100px auto;
  width: 280px;
  height: 280px;
  content: "";
  border-radius: 50%;
  background: rgba(20, 115, 255, 0.25);
  filter: blur(2px);
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card__label {
  color: #93beff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin-top: 13px;
  font-size: 1.75rem;
}

.plan-card p {
  color: #b9c5db;
}

.plan-card__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card__list li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.91rem;
  font-weight: 700;
}

.plan-card__list li::before {
  color: var(--orange);
  content: "→";
}

.journey-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 44px;
  border-radius: var(--radius-hero);
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 115, 255, 0.55), transparent 24%),
    radial-gradient(circle at 22% 88%, rgba(255, 116, 23, 0.22), transparent 21%),
    linear-gradient(155deg, #121d38, #253e68 62%, #5f7691);
  box-shadow: var(--shadow-lg);
}

.journey-stage::before,
.journey-stage::after {
  position: absolute;
  inset: auto -8% -42% -8%;
  height: 76%;
  content: "";
  border-radius: 50% 50% 0 0;
  background: #182945;
  transform: rotate(-4deg);
}

.journey-stage::after {
  inset: auto 28% -45% -24%;
  height: 68%;
  background: #314a68;
  transform: rotate(8deg);
}

.journey-stage__copy {
  position: relative;
  z-index: 3;
  max-width: 490px;
}

.journey-stage__copy .eyebrow {
  color: #91bdff;
}

.journey-stage__copy h2 {
  margin: 14px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.journey-stage__copy p {
  color: #c4d0e4;
  font-weight: 600;
  line-height: 1.65;
}

.route-map {
  position: absolute;
  z-index: 4;
  right: 5%;
  bottom: 4%;
  width: 65%;
  height: 70%;
  overflow: visible;
}

.route-map path {
  fill: none;
  stroke: #dfeaff;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  filter: drop-shadow(0 0 10px rgba(20, 115, 255, 0.75));
  animation: route-draw 1s 250ms ease-out forwards;
}

.route-map circle {
  fill: var(--primary);
  stroke: #fff;
  stroke-width: 5;
  filter: drop-shadow(0 0 9px rgba(20, 115, 255, 0.85));
}

.premium {
  padding: 112px 0;
  color: #fff;
  background: linear-gradient(125deg, #087dff, #7048f7 58%, #d63fc6);
}

.premium__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.75fr);
  gap: 46px;
  align-items: center;
}

.premium__copy .eyebrow {
  color: #fff;
}

.premium__copy .eyebrow::before {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}

.premium__copy h2 {
  margin-top: 16px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.94;
}

.premium__copy p {
  max-width: 600px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.7;
}

.pricing-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-hero);
  background: rgba(16, 24, 47, 0.38);
  box-shadow: 0 26px 70px rgba(27, 17, 82, 0.28);
  backdrop-filter: blur(18px);
}

.pricing-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.65rem;
}

.pricing-card__price {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: right;
}

.pricing-card ul {
  display: grid;
  gap: 13px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  gap: 11px;
  align-items: center;
  font-weight: 700;
}

.pricing-card li::before {
  color: #fff;
  content: "✓";
}

.pricing-card .button {
  width: 100%;
}

.pricing-card__fine {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.77rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.faq-list {
  max-width: 850px;
  margin-inline: auto;
}

.faq-list details {
  border-top: 1px solid var(--border);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  content: "+";
  background: #fff;
  color: var(--primary);
}

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

.faq-list details p {
  max-width: 720px;
  margin: -2px 0 24px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.final-cta {
  margin-bottom: 100px;
  padding: 54px;
  overflow: hidden;
  border: 1px solid #cfe1fc;
  border-radius: var(--radius-hero);
  text-align: center;
  background:
    radial-gradient(circle at 88% 0%, rgba(20, 115, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 7% 100%, rgba(255, 116, 23, 0.12), transparent 18rem),
    #fff;
  box-shadow: var(--shadow-md);
}

.final-cta h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 0.97;
}

.final-cta p {
  max-width: 590px;
  margin: 18px auto 26px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.65;
}

.store-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-links img {
  width: auto;
  height: 40px;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
  background: #f8faff;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 650;
}

/* Shared editorial styling for article, SEO, legal, and utility pages. */
body:not(.site-shell) {
  color: var(--ink) !important;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(20, 115, 255, 0.09), transparent 26rem),
    linear-gradient(145deg, #fbfcff, var(--canvas)) !important;
}

body:not(.site-shell) .nav {
  border-color: var(--border) !important;
  background: rgba(249, 251, 255, 0.9) !important;
}

body:not(.site-shell) .brand,
body:not(.site-shell) h1,
body:not(.site-shell) h2,
body:not(.site-shell) h3 {
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 900;
  letter-spacing: -0.04em;
}

body:not(.site-shell) .btn,
body:not(.site-shell) input[type="button"],
body:not(.site-shell) input[type="submit"] {
  min-height: 48px;
  border-radius: 16px !important;
  color: #fff !important;
  border: 0;
  background: var(--primary) !important;
  box-shadow: 0 12px 28px rgba(20, 115, 255, 0.22) !important;
  font-weight: 800;
}

body:not(.site-shell) .btn-secondary {
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  box-shadow: none !important;
}

body:not(.site-shell) .card,
body:not(.site-shell) .hero-card,
body:not(.site-shell) .hero-panel,
body:not(.site-shell) .feature-card,
body:not(.site-shell) .diagnosis-card,
body:not(.site-shell) .faq-card,
body:not(.site-shell) .resource-card,
body:not(.site-shell) .tool-shell,
body:not(.site-shell) .comparison-shell,
body:not(.site-shell) .article-card,
body:not(.site-shell) .cta-band,
body:not(.site-shell) .container:only-child {
  border-color: var(--border) !important;
  border-radius: var(--radius) !important;
  background: #fff !important;
  box-shadow: var(--shadow-sm) !important;
}

body:not(.site-shell) .eyebrow,
body:not(.site-shell) .kicker,
body:not(.site-shell) .pill,
body:not(.site-shell) .tag {
  color: var(--primary-dark) !important;
  border-color: #bcd7ff !important;
  background: var(--surface-blue) !important;
}

body:not(.site-shell) .hero {
  padding: clamp(42px, 6vw, 74px) 0 62px !important;
}

body:not(.site-shell) .hero h1 {
  max-width: 1080px !important;
  font-size: clamp(2.45rem, 4.4vw, 4.25rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -0.052em !important;
}

body:not(.site-shell) .hero .lead {
  max-width: 900px;
  font-size: 1.08rem;
}

body:not(.site-shell) p,
body:not(.site-shell) li,
body:not(.site-shell) .lead,
body:not(.site-shell) .sub,
body:not(.site-shell) .msg,
body:not(.site-shell) .hint {
  color: var(--muted);
}

body.legal-page {
  padding: 24px;
}

body.legal-page > .container {
  max-width: 860px !important;
  margin: 30px auto !important;
  padding: clamp(28px, 6vw, 68px) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero) !important;
  box-shadow: var(--shadow-md) !important;
}

body.legal-page h1 {
  margin-bottom: 12px !important;
  text-align: left !important;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 0.95;
}

body.legal-page h2 {
  margin-top: 40px;
  font-size: 1.45rem;
}

body.legal-page a {
  color: var(--primary-dark) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.utility-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

body.utility-page > .container,
body.utility-page > .card {
  width: min(570px, 100%) !important;
  margin: 0 !important;
  padding: clamp(28px, 6vw, 46px) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-hero) !important;
  background: #fff !important;
  box-shadow: var(--shadow-md) !important;
}

body.utility-page h1,
body.utility-page h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 0.98;
}

body.utility-page input[type="password"],
body.utility-page input[type="text"] {
  width: 100%;
  min-height: 52px;
  margin: 8px 0 14px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--ink);
  background: #fbfcff;
}

/* Long-form guide pages */
.long-form-article {
  position: relative;
  opacity: 1 !important;
  transform: none !important;
  margin-inline: calc(50% - 50vw);
  padding: 86px max(16px, calc((100vw - var(--max-width)) / 2)) 96px;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 92% 8%, rgba(20, 115, 255, 0.08), transparent 23rem),
    #fff;
}

.editorial-article__header {
  max-width: 880px;
  margin-bottom: 54px !important;
}

.article-kicker,
.article-section__label {
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.editorial-article__header h2 {
  max-width: 820px;
  margin-top: 13px !important;
  font-size: clamp(2.65rem, 5vw, 4.8rem) !important;
  line-height: 0.97 !important;
}

.editorial-article__header p {
  max-width: 760px;
  margin-top: 19px !important;
  font-size: 1.12rem;
}

.editorial-article__layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}

.article-rail {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
}

.article-rail > strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-rail ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0 0 0 20px;
  color: var(--subtle);
}

.article-rail li {
  padding-left: 4px;
}

.article-rail a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.article-rail a:hover {
  color: var(--primary-dark);
}

.article-rail__action {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 17px;
  color: var(--primary-dark) !important;
  border-top: 1px solid var(--border);
}

.article-prose {
  max-width: 830px;
}

.article-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 750;
}

.article-byline span + span::before {
  margin-right: 24px;
  color: #b8c4d8;
  content: "•";
}

.article-deck {
  margin: 34px 0 64px !important;
  color: #2f3d59 !important;
  font-size: clamp(1.2rem, 2vw, 1.42rem) !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
}

.article-section {
  scroll-margin-top: 110px;
  padding: 0 0 68px;
}

.article-section + .article-section {
  padding-top: 68px;
  border-top: 1px solid var(--border);
}

.article-section h3 {
  max-width: 720px;
  margin: 10px 0 22px !important;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.55rem) !important;
  font-weight: 900;
  letter-spacing: -0.045em !important;
  line-height: 1.08;
}

.article-section > p {
  margin: 0 0 22px !important;
  color: #34415c !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.88 !important;
}

.article-section > p:first-of-type {
  color: #293653 !important;
  font-size: 1.2rem;
}

.article-section > p + p {
  text-indent: 1.5em;
}

.article-callout {
  margin-top: 27px;
  padding: 22px 24px;
  border: 1px solid #c8ddff;
  border-radius: var(--radius);
  background: var(--surface-blue);
}

.article-callout > strong {
  display: block;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
}

.article-callout .article-list {
  gap: 9px;
}

.article-callout .article-list li {
  color: #384764;
  font-weight: 700;
  line-height: 1.5;
}

.article-callout .article-list i {
  color: var(--success) !important;
}

.article-sources {
  margin-top: 16px;
  padding-top: 68px;
  border-top: 2px solid var(--ink);
}

.article-sources h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.article-sources > p {
  color: var(--muted);
  line-height: 1.7;
}

.article-sources ol {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding-left: 24px;
}

.article-sources li {
  padding-left: 8px;
  color: var(--subtle);
}

.article-sources a,
.article-sources span {
  display: block;
}

.article-sources a {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.45;
}

.article-sources span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.article-summary {
  padding-top: 92px !important;
}

/* Editorial guide index */
.guide-index {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 88% 4%, rgba(20, 115, 255, 0.12), transparent 28rem),
    linear-gradient(145deg, #fbfcff, var(--canvas)) !important;
}

.guide-index__hero {
  padding: 92px 0 68px;
}

.guide-index__hero h1 {
  max-width: 930px;
  margin: 16px 0 0;
  font-size: clamp(3.35rem, 7vw, 7.4rem);
  line-height: 0.89;
  letter-spacing: -0.065em !important;
}

.guide-index__hero h1 span {
  color: var(--primary);
}

.guide-index__hero p {
  max-width: 680px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.7;
}

.guide-library {
  padding: 0 0 100px;
}

.guide-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #ccddf6;
  border-radius: var(--radius-hero);
  color: #fff;
  text-decoration: none;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.guide-feature__copy {
  padding: clamp(30px, 5vw, 58px);
}

.guide-feature__copy h2 {
  max-width: 600px;
  margin: 16px 0 14px;
  color: #fff !important;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.98;
}

.guide-feature__copy p {
  max-width: 560px;
  color: #bfcbe0 !important;
  font-size: 1.04rem;
  line-height: 1.7;
}

.guide-feature__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #fff;
  font-weight: 850;
}

.guide-feature__visual {
  position: relative;
  min-height: 350px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 116, 23, 0.52), transparent 12rem),
    radial-gradient(circle at 28% 72%, rgba(20, 115, 255, 0.85), transparent 18rem),
    linear-gradient(135deg, #12284e, #315ba0);
}

.guide-feature__visual::before {
  position: absolute;
  inset: 12% 15%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.035), 0 0 0 92px rgba(255, 255, 255, 0.025);
}

.guide-feature__visual::after {
  position: absolute;
  right: 14%;
  bottom: 16%;
  left: 10%;
  height: 8px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), #fff 48%, var(--primary));
  transform: rotate(-18deg);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.45);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.guide-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: #a9caff;
  box-shadow: var(--shadow-md);
}

.guide-card__number {
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.guide-card h2 {
  max-width: 520px;
  margin: 30px 0 13px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.04;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.guide-card__action {
  margin-top: auto;
  padding-top: 26px;
  color: var(--primary-dark);
  font-weight: 850;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes wave {
  from { transform: scaleY(0.25); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes route-draw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1020px) {
  .hero__grid,
  .demo-shell,
  .plan-builder,
  .premium__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 36px;
  }

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

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

  .premium__copy {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, var(--max-width));
  }

  .site-nav__inner {
    min-height: 68px;
  }

  .site-nav__links {
    display: none;
  }

  .site-nav .button {
    min-height: 44px;
    padding-inline: 15px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.5rem);
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

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

  .hero-visual > img {
    object-position: 59% center;
  }

  .section,
  .premium {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .bottleneck-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .bottleneck {
    min-height: 0;
  }

  .conversation,
  .plan-panel,
  .plan-card,
  .pricing-card {
    padding: 20px;
  }

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

  .method-track::before {
    top: 18px;
    bottom: 18px;
    left: 25px;
    width: 2px;
    height: auto;
  }

  .method-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    padding: 0;
    text-align: left;
  }

  .method-step__dot {
    grid-row: span 2;
  }

  .method-step h3 {
    margin-top: 4px;
  }

  .journey-stage {
    min-height: 610px;
    padding: 28px 22px;
  }

  .route-map {
    right: -20%;
    bottom: 1%;
    width: 110%;
    height: 58%;
  }

  .final-cta {
    margin-bottom: 70px;
    padding: 38px 20px;
  }

  .site-footer__top,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  body.legal-page {
    padding: 10px;
  }

  body.legal-page > .container {
    margin: 8px auto !important;
  }

  .long-form-article {
    margin-inline: calc(50% - 50vw);
    padding: 64px 20px 72px;
  }

  .editorial-article__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .article-rail {
    position: static;
  }

  .article-section,
  .article-section + .article-section {
    padding-block: 38px;
  }

  .article-section:first-child {
    padding-top: 0;
  }

  .article-section > p {
    font-size: 1.08rem;
    line-height: 1.78 !important;
  }

  .article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-byline span + span::before {
    display: none;
  }

  .guide-index__hero {
    padding: 66px 0 50px;
  }

  .guide-index__hero h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

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

  .guide-feature__visual {
    min-height: 270px;
  }
}

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