:root {
  color-scheme: light;
  --canvas: #f7f7f5;
  --canvas-soft: #efefec;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #f0f0ed;
  --ink: #181817;
  --ink-soft: #51514d;
  --ink-muted: #74746e;
  --line: rgba(24, 24, 23, 0.1);
  --line-strong: rgba(24, 24, 23, 0.18);
  --red: #e84f3d;
  --red-soft: #fde8e4;
  --sage: #2d6c5d;
  --sage-soft: #dfece7;
  --blue: #3d638e;
  --blue-soft: #e3ebf4;
  --gold: #a06d22;
  --gold-soft: #f4ead9;
  --purple: #72598e;
  --purple-soft: #eee8f4;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --shadow-sm: 0 8px 28px rgba(31, 31, 27, 0.07);
  --shadow-md: 0 24px 70px rgba(31, 31, 27, 0.12);
  --shadow-glass: 0 12px 42px rgba(31, 31, 27, 0.12);
  --radius-card: 8px;
  --radius-control: 12px;
  --radius-frame: 20px;
  --page: 1280px;
  --side: 32px;
  --section-space: 144px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111110;
  --canvas-soft: #191918;
  --surface: #1d1d1b;
  --surface-strong: #232321;
  --surface-muted: #292926;
  --ink: #f6f6f2;
  --ink-soft: #c5c5be;
  --ink-muted: #97978f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --red: #ff6a58;
  --red-soft: #3b2420;
  --sage: #70b39f;
  --sage-soft: #1e3530;
  --blue: #82a8d0;
  --blue-soft: #22303e;
  --gold: #d5a85f;
  --gold-soft: #3b3021;
  --purple: #ad8fcb;
  --purple-soft: #33293d;
  --glass: rgba(29, 29, 27, 0.7);
  --glass-strong: rgba(29, 29, 27, 0.9);
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.3);
  --shadow-glass: 0 12px 42px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--red) 58%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 20px;
  top: 12px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--canvas);
  padding: 10px 16px;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.glass {
  background: var(--glass);
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, white 30%);
  box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px max(var(--side), env(safe-area-inset-right)) 0
    max(var(--side), env(safe-area-inset-left));
  pointer-events: none;
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, var(--page));
  min-height: 60px;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  border-radius: 20px;
  pointer-events: auto;
  transition:
    min-height 240ms var(--ease),
    background-color 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled .nav-shell {
  min-height: 54px;
  background: var(--glass-strong);
  box-shadow: 0 8px 26px rgba(24, 24, 23, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--canvas);
}

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

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

.desktop-nav a,
.nav-login {
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 620;
  padding: 9px 12px;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.desktop-nav a:hover,
.nav-login:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition:
    background-color 180ms ease,
    transform 180ms var(--ease);
}

.icon-button:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.icon-button:active {
  transform: scale(0.94);
}

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

.theme-toggle .moon-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  width: min(100%, 420px);
  margin: 8px 0 0 auto;
  padding: 10px;
  border-radius: 16px;
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 620;
  padding: 12px;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  padding: 0 20px;
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

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

.button:active {
  transform: translateY(0) scale(0.98);
}

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

.button--small {
  min-height: 40px;
  border-radius: 12px;
  font-size: 14px;
  padding: 0 16px;
}

.button--dark {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 18%, transparent);
}

.button--dark:hover {
  box-shadow: 0 16px 36px color-mix(in srgb, var(--ink) 24%, transparent);
}

.button--light {
  border-color: var(--line-strong);
  background: var(--surface-strong);
  color: var(--ink);
}

.button--light:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.52);
  color: #181817;
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

.button--glass:hover {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(31, 31, 27, 0.12);
}

.hero {
  position: relative;
  display: flex;
  width: calc(100% - 32px);
  min-height: min(800px, 82svh);
  align-items: center;
  margin: 16px auto 0;
  overflow: hidden;
  border-radius: 24px;
  background: #e8e5de;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center center;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(247, 246, 242, 0.98) 0%,
      rgba(247, 246, 242, 0.84) 35%,
      rgba(247, 246, 242, 0.12) 68%,
      rgba(247, 246, 242, 0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(247, 246, 242, 0.16) 0%,
      transparent 68%,
      rgba(247, 246, 242, 0.26) 100%
    );
}

html[data-theme="dark"] .hero-image {
  filter: brightness(0.72) saturate(0.82);
}

html[data-theme="dark"] .hero-scrim {
  background:
    linear-gradient(
      90deg,
      rgba(17, 17, 16, 0.97) 0%,
      rgba(17, 17, 16, 0.85) 36%,
      rgba(17, 17, 16, 0.22) 70%,
      rgba(17, 17, 16, 0.06) 100%
    ),
    linear-gradient(
      180deg,
      rgba(17, 17, 16, 0.12) 0%,
      transparent 70%,
      rgba(17, 17, 16, 0.34) 100%
    );
}

.hero-copy {
  width: min(620px, calc(100% - 64px));
  margin-left: max(48px, calc((100vw - var(--page)) / 2));
  padding-top: 82px;
}

.overline {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.workspace-copy h2,
.guide-copy h2,
.final-copy h2 {
  margin: 0;
  font-weight: 720;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  max-width: 700px;
  font-size: 80px;
  line-height: 0.98;
}

.hero-lede {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-note {
  margin: 14px 0 0 4px;
  color: var(--ink-muted);
  font-size: 13px;
}

.hero-status {
  position: absolute;
  right: 42px;
  bottom: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: min(390px, calc(100% - 64px));
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: rgba(250, 250, 247, 0.78);
  color: #181817;
  padding: 12px 16px;
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
}

.mission-dot {
  width: 42px;
  height: 42px;
  border: 10px solid #e84f3d;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.hero-status div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.status-label,
.hero-status .status-time {
  color: #5c5c56;
  font-size: 12px;
}

.hero-status strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section.goal-section {
  padding-top: 104px;
}

.section {
  width: min(100% - (var(--side) * 2), var(--page));
  margin: 0 auto;
  padding-top: var(--section-space);
}

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

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

.section-heading .overline {
  margin-bottom: 14px;
}

.section-heading h2,
.workspace-copy h2,
.guide-copy h2 {
  font-size: 56px;
  line-height: 1.05;
}

.section-heading > p:last-child,
.workspace-copy > p,
.guide-copy > p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}

.section-heading--center > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.goal-picker {
  display: flex;
  max-width: 1120px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
}

.goal-chip {
  min-height: 42px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  padding: 0 16px;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.goal-chip:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--ink);
}

.goal-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
}

.journey-demo {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(480px, 1.18fr);
  gap: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-frame);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--sage-soft) 78%, var(--surface)) 0%,
    var(--surface) 52%
  );
  padding: 52px;
}

.journey-summary {
  align-self: center;
}

.journey-kicker {
  color: var(--sage);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.journey-summary h3 {
  margin: 14px 0 12px;
  font-size: 32px;
  line-height: 1.12;
}

.journey-summary p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.journey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--ink-muted);
  font-size: 13px;
}

.journey-meta strong {
  color: var(--ink);
}

.journey-track {
  position: relative;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-track::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 23px;
  width: 2px;
  background: var(--line);
  content: "";
}

.journey-track li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  border-radius: var(--radius-card);
  padding: 10px 12px 10px 0;
}

.journey-track li > span {
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 760;
}

.journey-track li.is-complete > span {
  border-color: var(--sage);
  background: var(--sage);
  color: #fff;
}

.journey-track li.is-current {
  background: color-mix(in srgb, var(--sage-soft) 64%, transparent);
}

.journey-track li.is-current > span {
  border: 8px solid var(--sage-soft);
  background: var(--sage);
  color: #fff;
}

.journey-track li div {
  display: grid;
  gap: 3px;
}

.journey-track strong {
  font-size: 15px;
}

.journey-track small {
  color: var(--ink-muted);
  font-size: 13px;
}

.process-section {
  padding-bottom: var(--section-space);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-frame);
  background: var(--line);
  padding: 0;
  list-style: none;
}

.process-grid li {
  min-height: 250px;
  background: var(--surface);
  padding: 32px;
}

.process-grid li > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
}

.process-grid h3 {
  margin: 56px 0 10px;
  font-size: 21px;
}

.process-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.difference-section {
  width: 100%;
  max-width: none;
  background: var(--canvas-soft);
  padding: var(--section-space)
    max(var(--side), calc((100vw - var(--page)) / 2));
}

.difference-section .section-heading {
  margin-bottom: 56px;
}

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

.feature-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px;
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--sage-soft);
  color: var(--sage);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

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

.feature-card h3 {
  margin: 28px 0 10px;
  font-size: 21px;
}

.feature-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.mini-signal,
.mini-route,
.adapt-labels,
.streak-row {
  margin-top: auto;
}

.mini-signal {
  display: grid;
  gap: 8px;
}

.mini-signal::before {
  width: var(--level);
}

.mini-signal span {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--surface-muted);
}

.mini-signal span::after {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  content: "";
}

.mini-signal small {
  color: var(--ink-muted);
}

.mini-route {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.mini-route::before {
  position: absolute;
  top: 8px;
  right: 8px;
  left: 8px;
  height: 2px;
  background: var(--line-strong);
  content: "";
}

.mini-route i {
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 5px solid var(--sage-soft);
  border-radius: 50%;
  background: var(--sage);
}

.adapt-labels {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.adapt-labels span {
  flex: 1;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 4px;
  text-align: center;
}

.streak-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px;
}

.streak-row b {
  font-size: 32px;
}

.streak-row span,
.streak-row small {
  color: var(--ink-muted);
  font-size: 12px;
}

.streak-row small {
  color: var(--gold);
  font-weight: 700;
}

.product-section {
  padding-bottom: 16px;
}

.preview-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  margin: 0 auto 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 4px;
  scrollbar-width: none;
}

.preview-tabs::-webkit-scrollbar {
  display: none;
}

.preview-tabs button {
  min-width: max-content;
  min-height: 38px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
}

.preview-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--canvas);
}

.product-window {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-frame);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-muted) 76%, transparent);
  padding: 22px 16px;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 24px;
}

.product-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.product-brand .brand-mark svg {
  width: 21px;
  height: 21px;
}

.product-sidebar nav {
  display: grid;
  gap: 4px;
}

.product-sidebar nav span,
.workspace-pill {
  display: flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 650;
  padding: 0 12px;
}

.product-sidebar nav span.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(24, 24, 23, 0.05);
}

.workspace-pill {
  gap: 8px;
  margin-top: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.workspace-pill i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.product-canvas {
  min-width: 0;
  background: var(--canvas);
}

.product-topbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 26px;
}

.product-topbar > span {
  font-size: 13px;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-muted);
}

.topbar-actions b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-size: 9px;
}

.preview-pane {
  min-height: 614px;
  padding: 34px;
}

.preview-pane[hidden] {
  display: none;
}

.preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.preview-heading small,
.preview-pane small {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 740;
  text-transform: uppercase;
}

.preview-heading h3 {
  margin: 5px 0 0;
  font-size: 27px;
}

.preview-heading > span {
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 740;
  padding: 7px 11px;
}

.today-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(170px, 0.72fr);
  gap: 14px;
  margin-top: 28px;
}

.mission-panel {
  display: flex;
  min-height: 296px;
  flex-direction: column;
  border-radius: 8px;
  background: #183c35;
  color: #fff;
  padding: 28px;
}

.mission-panel small {
  color: rgba(255, 255, 255, 0.58);
}

.mission-panel h4 {
  max-width: 420px;
  margin: 40px 0 10px;
  font-size: 36px;
  line-height: 1.05;
}

.mission-panel p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.mission-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.mission-footer span {
  font-size: 12px;
}

.mission-footer button,
.insight-copy button {
  min-height: 40px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #183c35;
  font-size: 12px;
  font-weight: 740;
  padding: 0 15px;
}

.today-side {
  display: grid;
  gap: 14px;
}

.today-side > div {
  display: flex;
  min-height: 141px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 18px;
}

.today-side strong {
  margin: 14px 0 3px;
  font-size: 28px;
}

.today-side span:not(.progress) {
  color: var(--ink-muted);
  font-size: 11px;
}

.progress,
.video-chapters > span {
  height: 4px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-muted);
}

.progress i,
.video-chapters > span i {
  display: block;
  height: 100%;
  background: var(--sage);
}

.continue-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.continue-row article {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  min-width: 0;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 12px;
}

.media-tile {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 7px;
}

.media-tile.audio {
  background: var(--blue-soft);
  color: var(--blue);
}

.media-tile.cards {
  background: var(--purple-soft);
  color: var(--purple);
}

.media-tile.practice {
  background: var(--gold-soft);
  color: var(--gold);
}

.media-tile svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.continue-row article > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.continue-row small {
  font-size: 9px;
}

.continue-row strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.continue-row article > b {
  color: var(--ink-muted);
  font-size: 10px;
}

.guide-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  min-height: 476px;
}

.guide-thread,
.guide-context {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.guide-thread {
  padding: 30px;
}

.guide-intro {
  margin: 0 0 46px;
  font-size: 27px;
  font-weight: 720;
}

.message {
  width: fit-content;
  max-width: 82%;
  margin-top: 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  padding: 13px 16px;
}

.message--user {
  margin-left: auto;
  border-bottom-right-radius: 4px;
  background: var(--ink);
  color: var(--canvas);
}

.message--guide {
  border-bottom-left-radius: 4px;
  background: var(--surface-muted);
}

.source-chip {
  width: fit-content;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 10px;
  padding: 5px 8px;
}

.guide-context {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.guide-context span {
  border-radius: 6px;
  background: var(--surface-muted);
  font-size: 12px;
  padding: 10px;
}

.composer-preview {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 13px;
  padding: 6px 7px 6px 16px;
}

.composer-preview button {
  display: grid;
  width: 40px;
  height: 40px;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
}

.audio-preview {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 540px;
  align-items: center;
  gap: 56px;
  padding: 20px 5%;
}

.album-art {
  position: relative;
  display: flex;
  width: 300px;
  height: 300px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #203e58;
  color: #fff;
  padding: 28px;
  box-shadow: 0 28px 60px rgba(32, 62, 88, 0.28);
}

.album-art::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 250px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.album-art svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.album-art > span {
  margin-top: auto;
  font-size: 76px;
  font-weight: 400;
  line-height: 0.8;
}

.album-art small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.audio-details h3 {
  margin: 10px 0 18px;
  font-size: 34px;
  line-height: 1.08;
}

.audio-details p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.waveform {
  display: flex;
  height: 56px;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}

.waveform i {
  width: 4px;
  height: 22%;
  border-radius: 4px;
  background: var(--blue);
}

.waveform i:nth-child(2n) {
  height: 62%;
}

.waveform i:nth-child(3n) {
  height: 100%;
}

.player-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
}

.player-row span {
  color: var(--ink-muted);
  font-size: 18px;
}

.player-row button {
  display: grid;
  width: 62px;
  height: 62px;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-size: 20px;
}

.video-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
  min-height: 540px;
  align-items: stretch;
  gap: 18px;
}

.video-stage {
  position: relative;
  display: grid;
  min-height: 500px;
  grid-template-columns: 1fr 160px;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  border-radius: 8px;
  background: #1b2024;
  color: #fff;
  padding: 48px;
}

.code-lines {
  display: grid;
  gap: 14px;
}

.code-lines > span {
  color: #8fc0aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
}

.code-lines i {
  width: 86%;
  height: 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
}

.code-lines i:nth-child(3) {
  width: 62%;
  margin-left: 28px;
}

.code-lines i:nth-child(4) {
  width: 74%;
  margin-left: 28px;
}

.call-stack {
  display: grid;
  align-self: center;
  gap: 5px;
}

.call-stack b {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 10px;
  text-align: center;
}

.video-play {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1b2024;
}

.video-play svg,
.mini-video button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
}

.video-play.is-playing svg,
.mini-video button.is-playing svg {
  display: none;
}

.video-play.is-playing::after,
.mini-video button.is-playing::after {
  content: "Ⅱ";
  font-size: 17px;
  font-weight: 760;
}

.video-chapters {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px;
}

.video-chapters h3 {
  margin: 24px 0 14px;
  font-size: 25px;
}

.video-chapters p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.video-chapters > span {
  margin-top: auto;
}

.insights-preview {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(220px, 0.8fr);
  min-height: 540px;
  align-items: center;
  gap: 52px;
}

.readiness-ring {
  display: grid;
  width: 190px;
  height: 190px;
  place-content: center;
  border: 22px solid var(--sage-soft);
  border-top-color: var(--sage);
  border-right-color: var(--sage);
  border-radius: 50%;
  text-align: center;
  transform: rotate(18deg);
}

.readiness-ring > * {
  transform: rotate(-18deg);
}

.readiness-ring strong {
  font-size: 42px;
}

.readiness-ring span {
  color: var(--ink-muted);
  font-size: 12px;
}

.insight-copy h3 {
  margin: 14px 0;
  font-size: 32px;
  line-height: 1.15;
}

.insight-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.insight-copy button {
  margin-top: 28px;
  background: var(--ink);
  color: var(--canvas);
}

.topic-bars {
  display: grid;
  gap: 22px;
}

.topic-bars > span {
  display: grid;
  gap: 8px;
}

.topic-bars b {
  font-size: 12px;
}

.topic-bars i {
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-muted);
}

.topic-bars em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
}

.workspace-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 80px;
}

.workspace-copy {
  padding-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.workspace-board {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-frame);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.workspace-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid var(--line);
  background: var(--surface-muted);
  padding: 24px 14px;
}

.workspace-nav > strong {
  margin: 0 8px 24px;
  font-size: 14px;
}

.workspace-nav > span {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 650;
  padding: 0 10px;
}

.workspace-nav > span.is-active {
  background: var(--surface);
  color: var(--ink);
}

.workspace-nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.workspace-nav b {
  color: var(--ink-muted);
  font-size: 10px;
}

.resource-list {
  padding: 32px;
}

.resource-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.resource-header h3 {
  margin: 5px 0 0;
  font-size: 24px;
}

.resource-header button {
  display: grid;
  width: 40px;
  height: 40px;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--canvas);
  font-size: 20px;
}

.resource-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.resource-list article > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.resource-list article strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-list article small,
.resource-list article > b {
  color: var(--ink-muted);
  font-size: 10px;
}

.file-preview {
  display: grid;
  width: 58px;
  height: 68px;
  place-items: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 760;
}

.file-preview--pdf {
  background: var(--red-soft);
  color: var(--red);
}

.file-preview--note {
  background: var(--gold-soft);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 18px;
}

.file-preview--video {
  background: var(--blue-soft);
  color: var(--blue);
}

.file-preview--web {
  background: var(--sage-soft);
  color: var(--sage);
}

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

.lesson-card {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 42px;
}

.lesson-card--audio {
  background: #1d3d57;
  color: #fff;
}

.lesson-card--video {
  background: #e9e3d8;
  color: #24231f;
}

html[data-theme="dark"] .lesson-card--video {
  background: #d8d0c2;
}

.lesson-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.lesson-label svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.lesson-card h3 {
  max-width: 500px;
  margin: 54px 0 14px;
  font-size: 40px;
  line-height: 1.08;
}

.lesson-card > p {
  max-width: 520px;
  margin: 0;
  color: inherit;
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.72;
}

.mini-player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.mini-cover {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: #1d3d57;
  font-size: 18px;
}

.mini-player div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.mini-player strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-player small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
}

.mini-player button,
.mini-video button {
  display: grid;
  width: 44px;
  height: 44px;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1d3d57;
}

.mini-video {
  position: relative;
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: auto;
  border-radius: 8px;
  background: #252923;
  color: #fff;
  padding: 30px;
}

.diagram-node {
  min-width: 84px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  padding: 12px;
  text-align: center;
}

.mini-video > i {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.mini-video button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #252923;
}

.personal-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 80px;
}

.personal-section .section-heading {
  margin-bottom: 0;
}

.learner-demo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-frame);
  background: var(--surface);
}

.learner-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 6px;
}

.learner-tabs button {
  min-height: 44px;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
}

.learner-tabs button[aria-selected="true"] {
  background: var(--surface-muted);
  color: var(--ink);
}

.learner-content {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 38px;
  padding: 38px;
}

.learner-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.learner-score strong {
  margin: 20px 0 0;
  font-size: 54px;
  line-height: 1;
}

.learner-score span {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 12px;
}

.learner-plan {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learner-plan li {
  display: grid;
  border-left: 2px solid var(--line);
  padding: 10px 0 18px 20px;
}

.learner-plan li.is-active {
  border-left-color: var(--red);
}

.learner-plan span {
  color: var(--red);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.learner-plan strong {
  margin-top: 5px;
  font-size: 14px;
}

.learner-plan small {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 11px;
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  width: calc(100% - 32px);
  max-width: 1500px;
  min-height: 720px;
  align-items: center;
  gap: 70px;
  margin: var(--section-space) auto 0;
  overflow: hidden;
  border-radius: 24px;
  background: #171716;
  color: #f7f7f3;
  padding: 84px max(48px, calc((100vw - var(--page)) / 2));
}

.guide-copy .overline {
  color: #ff7b68;
}

.guide-copy > p {
  color: rgba(247, 247, 243, 0.66);
}

.guide-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.guide-capabilities li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(247, 247, 243, 0.86);
  font-size: 14px;
}

.guide-capabilities svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #ff7b68;
  stroke-width: 2.2;
}

.guide-visual {
  position: relative;
  display: grid;
  align-self: stretch;
  place-items: center;
}

.guide-visual::before {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.guide-visual img {
  z-index: 1;
  width: min(84%, 310px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.2));
}

.guide-bubble {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 54px;
  width: min(270px, 80%);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  padding: 16px 18px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.testimonial {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 34px;
}

.testimonial blockquote {
  margin: 0;
  font-size: 24px;
  font-weight: 570;
  line-height: 1.45;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

.portrait {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-image: url("/assets/learner-portraits.jpg");
  background-repeat: no-repeat;
  background-size: 200% 200%;
}

.portrait--one {
  background-position: 0 0;
}

.portrait--two {
  background-position: 100% 0;
}

.portrait--three {
  background-position: 0 100%;
}

.portrait--four {
  background-position: 100% 100%;
}

.testimonial figcaption div {
  display: grid;
  gap: 2px;
}

.testimonial figcaption strong {
  font-size: 13px;
}

.testimonial figcaption small {
  color: var(--ink-muted);
  font-size: 11px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  gap: 16px;
  margin: 0 auto;
}

.price-card {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 38px;
}

.price-card--premium {
  background: #1b1b1a;
  color: #f7f7f3;
}

.price-card > div {
  display: grid;
  gap: 8px;
}

.price-card > div > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 760;
}

.price-card > div > strong {
  font-size: 43px;
  line-height: 1.1;
}

.price-card > div > small,
.price-card > p {
  color: var(--ink-muted);
}

.price-card--premium > div > small,
.price-card--premium > p {
  color: rgba(247, 247, 243, 0.58);
}

.price-card > p {
  min-height: 72px;
  margin: 26px 0;
  font-size: 15px;
  line-height: 1.6;
}

.price-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.price-card li svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.2;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.price-card--premium .button--dark {
  background: #f7f7f3;
  color: #1b1b1a;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  width: calc(100% - 32px);
  max-width: 1500px;
  min-height: 600px;
  align-items: center;
  gap: 60px;
  margin: var(--section-space) auto 16px;
  overflow: hidden;
  border-radius: 24px;
  background: #e84f3d;
  color: #fff;
  padding: 80px max(48px, calc((100vw - var(--page)) / 2));
}

.final-copy .overline {
  color: rgba(255, 255, 255, 0.68);
}

.final-copy h2 {
  max-width: 850px;
  font-size: 64px;
  line-height: 1.02;
}

.final-copy p:not(.overline) {
  max-width: 620px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.final-copy .button--light {
  border-color: transparent;
}

.final-path {
  position: relative;
  display: flex;
  height: 240px;
  align-items: center;
  justify-content: space-between;
}

.final-path::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  content: "";
}

.final-path i {
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: #fff;
}

.final-path i:last-child {
  width: 64px;
  height: 64px;
  border-width: 16px;
}

.site-footer {
  width: min(100% - (var(--side) * 2), var(--page));
  margin: 0 auto;
  padding: 80px 0 max(32px, env(safe-area-inset-bottom));
}

.footer-main {
  display: grid;
  grid-template-columns: 180px 1fr 2.2fr;
  align-items: start;
  gap: 50px;
}

.footer-main > p {
  max-width: 240px;
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

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

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

.footer-links strong {
  margin-bottom: 5px;
  font-size: 12px;
}

.footer-links a {
  width: fit-content;
  color: var(--ink-muted);
  font-size: 13px;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
  padding-top: 24px;
}

.demo-dialog {
  width: min(760px, calc(100% - 32px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.34);
  padding: 0;
}

.demo-dialog::backdrop {
  background: rgba(20, 20, 18, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.demo-header,
.demo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
}

.demo-header {
  border-bottom: 1px solid var(--line);
}

.demo-header small {
  color: var(--red);
  font-size: 10px;
  font-weight: 760;
}

.demo-header h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.demo-stage {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: center;
  overflow: hidden;
  background: var(--canvas-soft);
  padding: 50px;
  text-align: center;
}

.demo-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}

.demo-orbit span {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 8px solid var(--red-soft);
  border-radius: 50%;
  background: var(--red);
}

.demo-orbit span:nth-child(1) {
  top: 16px;
  left: 64px;
}

.demo-orbit span:nth-child(2) {
  right: 3px;
  bottom: 102px;
  background: var(--sage);
  border-color: var(--sage-soft);
}

.demo-orbit span:nth-child(3) {
  bottom: 5px;
  left: 100px;
  background: var(--blue);
  border-color: var(--blue-soft);
}

.demo-copy {
  z-index: 1;
  max-width: 430px;
}

.demo-copy > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 760;
}

.demo-copy h3 {
  margin: 14px 0 12px;
  font-size: 34px;
  line-height: 1.1;
}

.demo-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.demo-progress {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--line);
}

.demo-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.demo-progress i.is-playing {
  animation: demo-progress 12s linear forwards;
}

.demo-controls {
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms var(--ease),
    transform 640ms var(--ease);
}

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

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes demo-progress {
  to {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  :root {
    --section-space: 112px;
  }

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

  .section-heading h2,
  .workspace-copy h2,
  .guide-copy h2 {
    font-size: 48px;
  }

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

  .feature-card {
    min-height: 310px;
  }

  .product-window {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .product-sidebar {
    align-items: center;
    padding-right: 10px;
    padding-left: 10px;
  }

  .product-brand strong,
  .product-sidebar nav span,
  .workspace-pill span {
    font-size: 0;
  }

  .product-brand {
    padding-right: 0;
    padding-left: 0;
  }

  .product-sidebar nav span {
    width: 42px;
    min-height: 42px;
    justify-content: center;
  }

  .product-sidebar nav span::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
  }

  .workspace-pill {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .workspace-section,
  .personal-section {
    gap: 50px;
  }

  .audio-preview {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px;
  }

  .album-art {
    width: 260px;
    height: 260px;
  }

  .insights-preview {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 34px;
  }

  .readiness-ring {
    width: 160px;
    height: 160px;
  }

  .topic-bars {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-section,
  .final-cta {
    padding-right: 56px;
    padding-left: 56px;
  }
}

@media (max-width: 900px) {
  :root {
    --side: 22px;
    --section-space: 96px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-login {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: min(740px, 84svh);
    align-items: flex-start;
  }

  .section.goal-section {
    padding-top: 88px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(247, 246, 242, 0.97) 0%,
        rgba(247, 246, 242, 0.82) 45%,
        rgba(247, 246, 242, 0.08) 78%
      ),
      linear-gradient(90deg, rgba(247, 246, 242, 0.58) 0%, transparent 100%);
  }

  html[data-theme="dark"] .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(17, 17, 16, 0.97) 0%,
        rgba(17, 17, 16, 0.82) 45%,
        rgba(17, 17, 16, 0.1) 78%
      ),
      linear-gradient(90deg, rgba(17, 17, 16, 0.56) 0%, transparent 100%);
  }

  .hero-copy {
    width: min(620px, calc(100% - 44px));
    margin: 0 auto;
    padding-top: 150px;
  }

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

  .hero-status {
    right: 22px;
    bottom: 22px;
  }

  .journey-demo {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

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

  .process-grid li {
    min-height: 220px;
  }

  .product-window {
    min-height: 600px;
  }

  .product-sidebar {
    display: none;
  }

  .product-window {
    grid-template-columns: 1fr;
  }

  .preview-pane {
    min-height: 536px;
    padding: 26px;
  }

  .today-layout {
    grid-template-columns: 1fr;
  }

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

  .today-side > div {
    min-height: 112px;
  }

  .continue-row {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    margin-right: -26px;
    margin-left: -26px;
    padding: 0 26px 8px;
    scrollbar-width: none;
  }

  .continue-row::-webkit-scrollbar {
    display: none;
  }

  .audio-preview {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding: 18px 0;
  }

  .album-art {
    width: 220px;
    height: 220px;
  }

  .album-art > span {
    font-size: 54px;
  }

  .audio-details h3 {
    font-size: 27px;
  }

  .audio-details p {
    font-size: 16px;
  }

  .video-preview {
    grid-template-columns: 1fr;
  }

  .video-stage {
    min-height: 350px;
  }

  .video-chapters {
    min-height: 210px;
  }

  .workspace-section,
  .personal-section {
    grid-template-columns: 1fr;
  }

  .workspace-copy,
  .personal-section .section-heading {
    max-width: 720px;
  }

  .guide-section {
    grid-template-columns: 1fr 260px;
    gap: 36px;
  }

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

  .lesson-card {
    min-height: 500px;
    padding: 34px;
  }

  .lesson-card h3 {
    font-size: 33px;
  }

  .final-copy h2 {
    font-size: 52px;
  }

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

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --side: 16px;
    --section-space: 80px;
  }

  .site-header {
    padding-top: max(8px, env(safe-area-inset-top));
  }

  .nav-shell {
    min-height: 54px;
    padding: 6px 7px 6px 12px;
  }

  .nav-actions .button {
    display: none;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    width: calc(100% - 12px);
    min-height: 720px;
    margin-top: 6px;
    border-radius: 18px;
  }

  .section.goal-section {
    padding-top: 72px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding-top: 122px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 17px;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-status {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }

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

  .section-heading h2,
  .workspace-copy h2,
  .guide-copy h2 {
    font-size: 36px;
  }

  .section-heading > p:last-child,
  .workspace-copy > p,
  .guide-copy > p {
    margin-top: 18px;
    font-size: 17px;
  }

  .goal-picker {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-right: calc(var(--side) * -1);
    margin-left: calc(var(--side) * -1);
    overflow-x: auto;
    padding: 0 var(--side) 8px;
    scrollbar-width: none;
  }

  .goal-picker::-webkit-scrollbar {
    display: none;
  }

  .journey-demo {
    gap: 32px;
    border-radius: 14px;
    padding: 26px 20px;
  }

  .journey-summary h3 {
    font-size: 27px;
  }

  .journey-meta {
    gap: 11px;
  }

  .process-grid,
  .feature-grid,
  .lesson-grid,
  .testimonial-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    border-radius: 14px;
  }

  .process-grid li {
    min-height: 190px;
    padding: 26px;
  }

  .process-grid h3 {
    margin-top: 40px;
  }

  .difference-section {
    padding-right: var(--side);
    padding-left: var(--side);
  }

  .feature-card {
    min-height: 290px;
    padding: 24px;
  }

  .product-window {
    min-height: 540px;
    border-radius: 14px;
  }

  .preview-tabs {
    width: 100%;
    gap: 2px;
  }

  .preview-tabs button {
    min-width: 0;
    flex: 1;
    font-size: 12px;
    padding: 0 5px;
  }

  .product-topbar {
    min-height: 56px;
    padding: 0 18px;
  }

  .preview-pane {
    min-height: 500px;
    padding: 20px;
  }

  .preview-heading h3 {
    font-size: 23px;
  }

  .mission-panel {
    min-height: 250px;
    padding: 22px;
  }

  .mission-panel h4 {
    margin-top: 34px;
    font-size: 30px;
  }

  .today-side {
    grid-template-columns: 1fr 1fr;
  }

  .continue-row {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .guide-context {
    display: none;
  }

  .guide-thread {
    padding: 22px;
  }

  .guide-intro {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .audio-preview {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .audio-details {
    text-align: center;
  }

  .audio-details p {
    font-size: 17px;
  }

  .waveform {
    justify-content: center;
  }

  .video-stage {
    grid-template-columns: 1fr;
    min-height: 330px;
    padding: 32px;
  }

  .call-stack {
    display: none;
  }

  .insights-preview {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    text-align: center;
  }

  .topic-bars {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .workspace-board {
    grid-template-columns: 1fr;
    min-height: 510px;
    border-radius: 14px;
  }

  .workspace-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px;
    scrollbar-width: none;
  }

  .workspace-nav::-webkit-scrollbar {
    display: none;
  }

  .workspace-nav > strong {
    display: none;
  }

  .workspace-nav > span {
    min-width: max-content;
    min-height: 38px;
  }

  .resource-list {
    padding: 22px;
  }

  .resource-header {
    margin-bottom: 22px;
  }

  .lesson-card {
    min-height: 500px;
    padding: 28px;
  }

  .lesson-card h3 {
    margin-top: 44px;
    font-size: 32px;
  }

  .mini-video {
    padding-right: 18px;
    padding-left: 18px;
  }

  .diagram-node {
    min-width: 68px;
    padding: 10px 6px;
  }

  .mini-video > i {
    width: 18px;
  }

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

  .learner-tabs button {
    min-width: 0;
    font-size: 12px;
    padding: 0 4px;
  }

  .learner-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }

  .learner-score {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
  }

  .learner-score small {
    width: 100%;
  }

  .learner-score strong {
    margin: 0;
    font-size: 44px;
  }

  .guide-section,
  .final-cta {
    width: calc(100% - 12px);
    grid-template-columns: 1fr;
    margin-top: var(--section-space);
    border-radius: 18px;
    padding: 64px 26px;
  }

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

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

  .guide-bubble {
    right: 8px;
    bottom: 20px;
  }

  .testimonial {
    min-height: 290px;
    padding: 26px;
  }

  .testimonial blockquote {
    font-size: 20px;
  }

  .price-card {
    min-height: 530px;
    padding: 28px;
  }

  .final-copy h2 {
    font-size: 42px;
  }

  .final-path {
    display: none;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    margin-top: 52px;
  }

  .demo-stage {
    min-height: 360px;
    padding: 36px 24px;
  }

  .demo-orbit {
    width: 270px;
    height: 270px;
  }

  .demo-copy h3 {
    font-size: 28px;
  }

  .demo-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .demo-controls .button {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 39px;
  }

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

  .section-heading h2,
  .workspace-copy h2,
  .guide-copy h2 {
    font-size: 33px;
  }

  .today-side {
    grid-template-columns: 1fr;
  }

  .final-copy h2 {
    font-size: 37px;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .glass,
  .button--glass,
  .mini-player,
  .guide-bubble {
    background: var(--surface-strong);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero .button--glass {
    color: #181817;
  }
}
