:root {
  color-scheme: light;
  --ink: #111d31;
  --ink-soft: #35445a;
  --muted: #5f697b;
  --orange: #ff8f2f;
  --gold: #ffbf3f;
  --coral: #f48473;
  --red: #cb5048;
  --blue: #45bfe8;
  --sky: #eaf8fb;
  --sky-strong: #cceff7;
  --cream: #fff8e9;
  --white: #fff;
  --line: rgba(17, 29, 49, 0.1);
  --soft-shadow: 0 20px 70px rgba(28, 56, 74, 0.1);
  --deep-shadow: 0 30px 90px rgba(20, 44, 67, 0.18);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 191, 63, 0.13), transparent 27rem),
    linear-gradient(145deg, var(--sky), #fff 36%, #f7f5ff);
  line-height: 1.5;
  overflow-x: clip;
}

body.marketing-page {
  background: #f8fcfd;
}

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

img {
  height: auto;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: #3c58a6;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #aa493b;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #102a43;
  outline-offset: 3px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.98),
    0 0 0 6px #102a43;
}

a[aria-disabled="true"],
.app-store-control[aria-disabled="true"] {
  cursor: default;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 100;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marketing-header {
  position: sticky;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.marketing-header::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0 0 auto;
  height: 76px;
  background: rgba(248, 252, 253, 0);
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.marketing-header.is-scrolled::before {
  background: rgba(248, 252, 253, 0.88);
  box-shadow: 0 10px 36px rgba(17, 29, 49, 0.07);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 11px;
  color: #ac493c;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

.marketing-page main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.marketing-hero {
  min-height: min(760px, calc(100svh - 76px));
  padding: clamp(36px, 5vw, 72px) clamp(26px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 38px;
  background:
    radial-gradient(circle at 13% 15%, rgba(255, 194, 61, 0.19), transparent 19rem),
    linear-gradient(142deg, rgba(255, 255, 255, 0.96), rgba(232, 248, 251, 0.86));
  box-shadow: var(--soft-shadow);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.25rem, 6.2vw, 6.65rem);
  letter-spacing: -0.06em;
}

.hero-content h1 span {
  color: #ef785f;
}

.hero-copy {
  max-width: 39rem;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-store-badge {
  display: inline-flex;
  width: 180px;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge img {
  width: 100%;
  height: auto;
}

.app-store-coming-soon {
  min-height: 54px;
  padding: 8px 18px 9px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(17, 29, 49, 0.14);
  line-height: 1.05;
  text-align: left;
}

.app-store-coming-soon span {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.app-store-coming-soon strong {
  margin-top: 3px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hero-platform {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-visual {
  min-width: 0;
  margin: 0;
}

.valley-stage {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 34px;
  isolation: isolate;
  background:
    linear-gradient(to bottom, rgba(213, 245, 251, 0.12), rgba(255, 255, 255, 0.02)),
    url("media/valley.jpg") center 45% / cover no-repeat;
  box-shadow: var(--deep-shadow);
}

.valley-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 54% 0 0;
  background: linear-gradient(to top, rgba(28, 72, 51, 0.2), transparent);
  pointer-events: none;
}

.drift-cloud {
  position: absolute;
  z-index: 0;
  width: 170px;
  opacity: 0.52;
  filter: blur(0.4px);
  pointer-events: none;
}

.cloud-one {
  top: 7%;
  left: -18%;
  animation: cloudDrift 18s linear infinite;
}

.cloud-two {
  top: 18%;
  left: 72%;
  width: 135px;
  animation: cloudDrift 22s -8s linear infinite;
}

.phone {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  width: 232px;
  padding: 8px;
  border: 3px solid rgba(12, 22, 37, 0.95);
  border-radius: 44px;
  background: #111725;
  box-shadow: 0 34px 80px rgba(12, 27, 42, 0.35);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 36px;
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  width: 76px;
  height: 21px;
  border-radius: 99px;
  background: #080b11;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  border-radius: 34px;
}

.phone-hero {
  left: 7%;
  bottom: -44px;
  transform: rotate(-5deg);
}

.hero-ember {
  position: absolute;
  z-index: 4;
  width: min(78%, 510px);
  right: -7%;
  top: 17%;
  filter: drop-shadow(0 24px 20px rgba(17, 29, 49, 0.18));
  animation: heroFloat 4.2s ease-in-out infinite;
}

.problem-section {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(44px, 6.5vw, 78px);
  color: var(--ink);
  background: #eceeeb;
}

.upside-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  grid-template-areas:
    "eyebrow copy"
    "title copy";
  align-items: end;
  column-gap: clamp(28px, 6vw, 80px);
  row-gap: 14px;
}

.upside-section .eyebrow {
  grid-area: eyebrow;
  color: #a34b3f;
}

.upside-intro h2 {
  grid-area: title;
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.7rem, 7.3vw, 7rem);
  letter-spacing: -0.062em;
  line-height: 0.88;
}

.upside-intro > p:last-child {
  grid-area: copy;
  align-self: end;
  max-width: 29rem;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.upside-list {
  margin-top: clamp(42px, 6vw, 72px);
}

.upside-list p {
  display: grid;
  grid-template-columns: clamp(66px, 7vw, 94px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(18px, 2.4vw, 30px);
  margin: 0;
  padding: clamp(14px, 2vw, 24px) 0;
  color: var(--ink);
  border-top: 1px solid rgba(17, 29, 49, 0.15);
  font-size: clamp(2.8rem, 6vw, 5.85rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.upside-list p:last-child {
  border-bottom: 1px solid rgba(17, 29, 49, 0.15);
}

.upside-list .upside-list-accent {
  color: var(--red);
}

.upside-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 9px rgba(17, 29, 49, 0.1));
  transform: scale(0.94);
}

.upside-item:nth-child(2) .upside-icon {
  transform: scale(0.82) rotate(-3deg);
}

.upside-item:nth-child(4) .upside-icon {
  transform: scale(0.88);
}

.upside-item:nth-child(5) .upside-icon {
  transform: scale(1.04) rotate(-2deg);
}

.upside-alternative {
  min-height: 190px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: clamp(25px, 3.5vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
  overflow: hidden;
  border-top: 1px solid rgba(17, 29, 49, 0.15);
}

.upside-alternative-copy {
  max-width: 680px;
}

.upside-alternative-copy span,
.upside-alternative-copy strong {
  display: block;
}

.upside-alternative-copy span {
  color: #a34b3f;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.upside-alternative-copy strong {
  margin-top: 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  letter-spacing: -0.04em;
}

.upside-alternative-copy p {
  max-width: 37rem;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.upside-alternative-scene {
  position: relative;
  width: min(24%, 220px);
  height: 145px;
  flex: 0 0 auto;
}

.upside-alternative-mascot {
  position: absolute;
  width: 100%;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  filter: saturate(0.82) drop-shadow(0 13px 13px rgba(17, 29, 49, 0.15));
}

.content-section,
.path-experience,
.outcome-section,
.privacy-promise,
.final-cta {
  margin-top: clamp(72px, 10vw, 132px);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 28px;
}

.section-heading h2,
.path-experience-copy h2,
.outcome-heading h2,
.privacy-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  letter-spacing: -0.052em;
}

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

.feature-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  min-height: 330px;
  border: 1px solid rgba(17, 29, 49, 0.07);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 17px 52px rgba(27, 57, 74, 0.08);
}

.feature-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.feature-card-copy {
  align-self: center;
  padding: 28px 26px 28px 10px;
}

.feature-number {
  color: #ac493c;
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.feature-card-copy h3 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  letter-spacing: -0.04em;
}

.feature-card-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-path-card .feature-visual {
  background: linear-gradient(150deg, #d9f4f6, #fff7da);
}

.feature-screenshot-visual {
  isolation: isolate;
}

.feature-screenshot-shell {
  position: absolute;
  z-index: 2;
  inset: 17px 14px -138px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 25px 25px 0 0;
  background: #f5fbfd;
  box-shadow:
    0 24px 48px rgba(27, 57, 74, 0.18),
    inset 0 0 0 1px rgba(17, 29, 49, 0.04);
}

.feature-screenshot-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.path-feature-screenshot img {
  object-position: center 4%;
}

.reset-feature-screenshot img {
  object-position: center top;
}

.mini-path-line {
  position: absolute;
  width: 110%;
  height: 130%;
  left: -20%;
  top: 20%;
  border: 9px solid rgba(255, 181, 52, 0.65);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(14deg);
}

.mini-crest {
  position: absolute;
  z-index: 3;
  width: 86px;
  height: 86px;
  top: 54px;
  left: 33px;
}

.mini-crest img,
.mini-crest strong {
  position: absolute;
  inset: 0;
}

.mini-crest img,
.node-frame img,
.path-detail-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-crest strong {
  display: grid;
  place-items: center;
  padding-bottom: 7px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 950;
}

.mini-level-float,
.reset-quote,
.energy-chip,
.honest-log-chip {
  position: absolute;
  z-index: 4;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 13px 30px rgba(29, 56, 69, 0.13);
  backdrop-filter: blur(14px);
}

.mini-level-float {
  left: 27px;
  bottom: 27px;
}

.mini-level-float span,
.reset-quote span,
.energy-chip span,
.honest-log-chip span {
  display: block;
  color: #9f493d;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.11em;
}

.mini-level-float strong,
.energy-chip strong,
.honest-log-chip strong {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
}

.feature-character {
  position: absolute;
  object-fit: contain;
}

.path-feature-character {
  width: 190px;
  right: -22px;
  bottom: 3px;
}

.feature-reset-card .feature-visual {
  background: linear-gradient(155deg, #cdf2ef, #eef9d8);
}

.reset-quote {
  top: 30px;
  right: 24px;
  left: 24px;
}

.reset-quote strong {
  display: block;
  margin-top: 5px;
  font-size: 1.03rem;
}

.reset-feature-character {
  width: 188px;
  left: -11px;
  bottom: -21px;
}

.reset-actions-mini {
  position: absolute;
  right: 20px;
  bottom: 25px;
  display: flex;
  gap: 5px;
}

.reset-actions-mini span {
  padding: 7px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 29, 49, 0.78);
  font-size: 0.58rem;
  font-weight: 850;
}

.feature-energy-card .feature-visual {
  background: linear-gradient(150deg, #fff4c8, #ffdd83);
}

.energy-feature-character {
  width: 290px;
  left: -48px;
  bottom: -34px;
}

.presence-ripple {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
}

.presence-ripple i {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(17, 29, 49, 0.28);
  border-radius: 999px;
}

.presence-ripple i:nth-child(2) {
  width: 52px;
  height: 52px;
  border-color: rgba(17, 29, 49, 0.18);
}

.presence-ripple i:nth-child(3) {
  width: 78px;
  height: 78px;
  border-color: rgba(17, 29, 49, 0.1);
}

.energy-chip {
  right: 20px;
  bottom: 24px;
}

.feature-honest-card .feature-visual {
  background: linear-gradient(155deg, #dbe7eb, #eef1f4 52%, #e2d6d3);
}

.life-counter {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: 27px;
}

.life-counter > span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.life-counter div {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.life-counter i {
  width: 17px;
  height: 17px;
  border-radius: 50% 50% 46% 46%;
  background: var(--red);
  transform: rotate(45deg);
}

.life-counter i::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 5px;
  border-radius: 50%;
  background: #fff;
}

.life-counter .life-spent {
  opacity: 0.22;
}

.honest-feature-character {
  width: 286px;
  right: -44px;
  bottom: -40px;
}

.honest-log-chip {
  left: 25px;
  bottom: 27px;
}

.path-experience {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(600px, 1.42fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
}

.path-experience-copy {
  position: relative;
  padding-top: 0;
}

.path-experience-copy > p:last-child {
  max-width: 29rem;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.path-level-showcase {
  min-width: 0;
  min-height: 570px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--deep-shadow);
}

.path-level-scene {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(to bottom, rgba(228, 250, 253, 0.1), rgba(20, 70, 52, 0.12)),
    url("media/valley.jpg") center 48% / cover no-repeat;
}

.path-level-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 48% 0 0;
  background: linear-gradient(to top, rgba(21, 61, 46, 0.28), transparent);
}

.path-level-scene-copy {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 32px;
}

.path-level-scene-copy span,
.path-level-scene-copy strong {
  display: block;
}

.path-level-scene-copy span {
  color: rgba(17, 29, 49, 0.64);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.path-level-scene-copy strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.08rem;
}

.path-level-crest {
  position: absolute;
  z-index: 4;
  width: 148px;
  height: 148px;
  top: 83px;
  left: 42px;
  filter: drop-shadow(0 18px 18px rgba(17, 29, 49, 0.2));
}

.path-level-crest img,
.path-level-crest strong {
  position: absolute;
  inset: 0;
}

.path-level-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.path-level-crest strong {
  display: grid;
  place-items: center;
  padding-bottom: 14px;
  color: #fff;
  font-size: 2.9rem;
  font-weight: 950;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.34);
}

.path-level-ember {
  position: absolute;
  z-index: 3;
  width: min(52%, 330px);
  right: 3%;
  bottom: -8%;
  filter: drop-shadow(0 24px 19px rgba(17, 29, 49, 0.2));
}

.path-level-copy {
  padding: 28px 32px 30px;
  background: rgba(255, 255, 255, 0.97);
}

.path-level-copy > span {
  color: #a34b3f;
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.path-level-copy h3 {
  margin: 5px 0 0;
  font-size: clamp(2rem, 3.3vw, 3rem);
  letter-spacing: -0.045em;
}

.path-level-copy > p:not(.path-level-gain) {
  max-width: 40rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.path-level-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-level-metrics div {
  min-width: 0;
  padding: 15px 13px;
}

.path-level-metrics div + div {
  border-left: 1px solid var(--line);
}

.path-level-metrics strong,
.path-level-metrics span {
  display: block;
}

.path-level-metrics strong {
  font-size: 1.18rem;
}

.path-level-metrics span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.67rem;
}

.path-level-gain {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.path-level-gain b {
  margin-right: 7px;
  color: #a34b3f;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.web-path-demo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 34px;
  background: #dff5f4;
  box-shadow: var(--deep-shadow);
}

.path-demo-header {
  position: relative;
  z-index: 5;
  min-height: 58px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(17, 29, 49, 0.66);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(17, 29, 49, 0.08);
  backdrop-filter: blur(18px);
}

.path-demo-header span {
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.path-demo-header span:last-child {
  text-align: right;
}

.path-demo-header strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.path-scroll {
  position: relative;
  height: 650px;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-color: rgba(17, 29, 49, 0.28) transparent;
  scrollbar-width: thin;
  scroll-padding-block: 150px;
  -webkit-overflow-scrolling: touch;
}

.path-scroll::-webkit-scrollbar {
  width: 8px;
}

.path-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(17, 29, 49, 0.24);
  background-clip: padding-box;
}

.path-track {
  position: relative;
  width: 100%;
  height: 2800px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(198, 235, 242, 0.78), rgba(255, 245, 203, 0.6) 58%, rgba(171, 218, 151, 0.86)),
    url("media/valley.jpg") center 44% / cover no-repeat;
}

.path-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.path-sky-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -180px;
  left: 50%;
  border-radius: 50%;
  background: rgba(255, 247, 192, 0.54);
  filter: blur(45px);
  transform: translateX(-50%);
}

.web-path-line {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.web-path-line path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-line-shadow {
  stroke: rgba(118, 91, 51, 0.22);
  stroke-width: 23;
}

.path-line-progress {
  stroke: #f6bd55;
  stroke-width: 12;
  filter: drop-shadow(0 5px 5px rgba(102, 74, 34, 0.2));
  transition: stroke-dashoffset 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.web-path-node {
  position: absolute;
  z-index: 3;
  width: 142px;
  min-height: 108px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  left: var(--node-x);
  top: var(--node-y);
  transform: translate(-50%, -50%);
}

.node-frame {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 9px rgba(17, 29, 49, 0.19));
  transition: transform 170ms ease, filter 170ms ease;
}

.node-frame img,
.node-frame strong {
  position: absolute;
  inset: 0;
}

.node-frame strong {
  display: grid;
  place-items: center;
  padding-bottom: 6px;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 950;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.node-label {
  max-width: 140px;
  margin: 5px auto 0;
  padding: 5px 8px;
  display: block;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 7px 17px rgba(26, 59, 71, 0.1);
  backdrop-filter: blur(10px);
}

.node-label b,
.node-label small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-label b {
  font-size: 0.69rem;
}

.node-label small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.54rem;
}

.web-path-node:hover .node-frame,
.web-path-node[aria-current="step"] .node-frame {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 11px 13px rgba(255, 154, 35, 0.42));
}

.web-path-node.is-future .node-frame,
.web-path-node.is-future .node-label {
  filter: saturate(0.18);
}

.web-path-node.is-future[aria-current="step"] .node-frame,
.web-path-node.is-future[aria-current="step"] .node-label {
  filter: saturate(1);
}

.path-detail-card {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 178px;
  padding: 16px 19px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1.05fr) minmax(190px, 0.95fr);
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(17, 29, 49, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -15px 44px rgba(17, 29, 49, 0.12);
  backdrop-filter: blur(22px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.path-detail-card.is-changing {
  opacity: 0.76;
  transform: translateY(2px);
}

.path-detail-art {
  position: relative;
  width: 110px;
  height: 126px;
}

.path-detail-ember {
  position: absolute;
  width: 100px;
  height: 100px;
  object-fit: contain;
  right: -2px;
  bottom: -1px;
}

.path-detail-crest {
  position: absolute;
  width: 52px;
  height: 52px;
  top: -2px;
  left: 0;
}

.path-detail-crest img,
.path-detail-crest strong {
  position: absolute;
  inset: 0;
}

.path-detail-crest strong {
  display: grid;
  place-items: center;
  padding-bottom: 5px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
}

.path-detail-main > span {
  color: #a04d3e;
  font-size: 0.61rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.path-detail-main h3 {
  margin: 4px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.path-timing {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
}

.path-timing strong {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.path-timing span {
  color: var(--muted);
  font-size: 0.68rem;
}

.path-detail-metrics {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.path-detail-metrics span {
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: #edf7f5;
  font-size: 0.63rem;
  white-space: nowrap;
}

.path-detail-metrics b {
  color: var(--ink);
}

.path-detail-main > p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.path-detail-main > p b {
  margin-right: 4px;
  color: #a04d3e;
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.path-detail-insight {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 0.8rem;
}

.section-disclosure {
  margin: 12px 3px 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.path-experience > .section-disclosure {
  grid-column: 2;
}

.path-route-showcase {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: #dff5f4;
  box-shadow: var(--deep-shadow);
}

.path-route-header {
  position: relative;
  z-index: 8;
  min-height: 62px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(17, 29, 49, 0.58);
  border-bottom: 1px solid rgba(17, 29, 49, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.path-route-header span {
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.path-route-header strong {
  color: var(--ink);
  font-size: 0.8rem;
}

.path-route-stage {
  position: relative;
  height: 690px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(to bottom, rgba(230, 251, 255, 0.1), rgba(22, 82, 56, 0.12)),
    url("media/valley.jpg") center 50% / cover no-repeat;
}

.path-route-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 59, 44, 0.2), transparent 42%);
}

.path-route-line {
  position: absolute;
  z-index: 1;
  inset: 3% 3% 1%;
  width: 94%;
  height: 96%;
  overflow: visible;
  fill: none;
  pointer-events: none;
}

.path-route-shadow,
.path-route-progress {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.path-route-shadow {
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 12;
  filter: drop-shadow(0 5px 8px rgba(16, 47, 36, 0.22));
}

.path-route-progress {
  stroke: #ff9f30;
  stroke-width: 6;
  stroke-dasharray: 67 100;
}

.path-route-nodes {
  position: absolute;
  z-index: 3;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-route-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  filter: drop-shadow(0 8px 12px rgba(14, 40, 31, 0.18));
}

.path-route-node > div:last-of-type {
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 24px rgba(17, 29, 49, 0.1);
  backdrop-filter: blur(12px);
}

.path-route-node > div:last-of-type strong,
.path-route-node > div:last-of-type span {
  display: block;
}

.path-route-node > div:last-of-type strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.path-route-node > div:last-of-type span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.path-route-crest {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
}

.path-route-crest img,
.path-route-crest strong {
  position: absolute;
  inset: 0;
}

.path-route-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.path-route-crest strong {
  display: grid;
  place-items: center;
  padding-bottom: 7px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
}

.route-node-1 {
  top: 84%;
  left: 8%;
}

.route-node-3 {
  top: 64%;
  left: 16%;
}

.route-node-7 {
  top: 42%;
  left: 39%;
}

.route-node-12 {
  top: 20%;
  left: 56%;
}

.route-node-22 {
  top: 1%;
  left: 70%;
}

.path-route-node.is-current .path-route-crest {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
  filter: drop-shadow(0 0 13px rgba(255, 185, 56, 0.7));
}

.path-route-node.is-current .path-route-crest strong {
  padding-bottom: 9px;
  font-size: 1.55rem;
}

.path-route-node.is-current > div:last-of-type {
  border-color: rgba(255, 184, 57, 0.7);
}

.path-route-ember {
  position: absolute;
  z-index: -1;
  width: 160px;
  max-width: none;
  right: -112px;
  bottom: -75px;
  filter: drop-shadow(0 14px 14px rgba(17, 29, 49, 0.2));
}

.outcome-section {
  --journey-progress: 50%;
  --journey-handle: 50%;
}

.outcome-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.outcome-heading > p:last-child {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.outcome-stage {
  position: relative;
  height: 720px;
  overflow: hidden;
  border-radius: 36px;
  background: #162238;
  box-shadow: var(--deep-shadow);
  isolation: isolate;
}

.outcome-stage::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 31%;
  background: linear-gradient(to top, rgba(9, 26, 31, 0.5), transparent);
  pointer-events: none;
}

.outcome-backdrop {
  position: absolute;
  inset: 0;
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.outcome-dark {
  z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(13, 18, 32, 0.12), rgba(13, 18, 32, 0.32)),
    url("media/valley-shadow-aligned.jpg");
}

.outcome-bright {
  z-index: 1;
  background-image:
    linear-gradient(to bottom, rgba(230, 251, 255, 0.03), rgba(255, 247, 208, 0.06)),
    url("media/valley.jpg");
  clip-path: inset(0 calc(100% - var(--journey-progress)) 0 0);
  will-change: clip-path;
}

.outcome-range {
  appearance: none;
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}

.outcome-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 58px;
  background: transparent;
}

.outcome-range::-moz-range-track {
  width: 100%;
  height: 58px;
  background: transparent;
}

.outcome-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 54px;
  margin-top: 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.outcome-range::-moz-range-thumb {
  box-sizing: border-box;
  width: 20px;
  height: 54px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.outcome-range:focus-visible {
  outline: none;
}

.journey-glass-handle {
  position: absolute;
  z-index: 13;
  top: 50%;
  left: var(--journey-handle);
  width: 14px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 26px rgba(8, 22, 35, 0.22);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.outcome-range:focus-visible + .journey-glass-handle {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.98),
    0 0 0 6px #102a43,
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 26px rgba(8, 22, 35, 0.22);
}

.outcome-duration {
  position: absolute;
  z-index: 20;
  top: 18px;
  left: clamp(74px, var(--journey-handle), calc(100% - 74px));
  min-width: 112px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 23, 37, 0.58);
  box-shadow: 0 10px 30px rgba(13, 23, 37, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 8px rgba(13, 23, 37, 0.42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  pointer-events: none;
}

.finale-battle {
  position: absolute;
  z-index: 5;
  width: min(48%, 500px);
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  pointer-events: none;
}

.finale-battle img {
  width: 100%;
  filter: drop-shadow(0 24px 22px rgba(9, 23, 31, 0.3));
}

.outcome-bottom {
  position: absolute;
  z-index: 9;
  right: 20px;
  bottom: 20px;
  left: 20px;
  pointer-events: none;
}

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

.outcome-stat {
  min-width: 0;
  min-height: 54px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(5, 20, 26, 0.7);
}

.outcome-stat + .outcome-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.outcome-stat svg {
  width: 27px;
  flex: 0 0 27px;
  fill: none;
  stroke: #ffe08b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.outcome-stat span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
}

.outcome-stat strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-promise {
  padding: clamp(30px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 194, 63, 0.2), transparent 18rem),
    linear-gradient(145deg, #eef9fb, #fff 62%, #fff5de);
  box-shadow: var(--soft-shadow);
}

.privacy-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.text-cta {
  display: inline-flex;
  margin-top: 20px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

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

.widget-preview,
.mode-preview {
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 29px;
  box-shadow: 0 20px 52px rgba(31, 70, 84, 0.13);
}

.widget-preview {
  position: relative;
  padding: 19px;
  color: var(--ink);
  background:
    linear-gradient(to bottom, rgba(233, 250, 252, 0.75), rgba(255, 249, 220, 0.82)),
    url("media/valley.jpg") center 52% / cover no-repeat;
}

.widget-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(18, 52, 43, 0.08));
  pointer-events: none;
}

.widget-topline,
.widget-quote-row,
.widget-bottom-row,
.widget-quick-actions,
.widget-preview blockquote {
  position: relative;
  z-index: 2;
}

.widget-topline {
  display: block;
}

.widget-topline > span {
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.widget-quote-row {
  min-height: 108px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-level-ring {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 61%, transparent 63%),
    conic-gradient(#ffba35 0 73%, rgba(255, 255, 255, 0.72) 73% 100%);
  box-shadow: 0 6px 14px rgba(255, 175, 50, 0.2);
}

.widget-level {
  position: relative;
  width: 41px;
  height: 46px;
}

.widget-level img,
.widget-level strong {
  position: absolute;
  inset: 0;
}

.widget-level strong {
  display: grid;
  place-items: center;
  padding-bottom: 5px;
  color: #fff;
  font-size: 0.8rem;
}

.widget-preview blockquote {
  min-width: 0;
  flex: 1;
  margin: 0;
  max-width: 20ch;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.25;
}

.widget-bottom-row {
  position: absolute;
  right: 17px;
  bottom: 16px;
  left: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.widget-progress {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.widget-time {
  min-width: 0;
}

.widget-time span {
  display: block;
  color: rgba(17, 29, 49, 0.62);
  margin-top: 1px;
  font-size: 0.68rem;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.widget-time strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.widget-ember {
  width: 94px;
  flex: 0 0 94px;
  margin-right: -12px;
}

.widget-quick-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.widget-quick-actions span {
  width: 58px;
  height: 58px;
  display: grid;
  grid-template-rows: 36px auto;
  place-items: center;
  padding: 2px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 13px;
  color: #111d31;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(238, 249, 247, 0.82));
  font-size: 0.62rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow:
    0 4px 8px rgba(17, 29, 49, 0.08),
    inset 0 0 0 1px rgba(63, 192, 181, 0.08);
}

.widget-quick-actions img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.widget-quick-actions b {
  font: inherit;
}

.mode-preview {
  position: relative;
  padding: 14px;
  background: #fff;
}

.mode-toggle {
  position: relative;
  z-index: 3;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  border-radius: 999px;
  background: #eff1f5;
}

.mode-toggle button {
  min-height: 39px;
  padding-inline: 8px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

.mode-toggle button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}

.mode-stage {
  height: 175px;
  margin-top: 5px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(150deg, #e8f5f8, #fff3d7);
}

.mode-stage img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  transition: opacity 150ms ease, transform 150ms ease;
}

.mode-preview.is-changing .mode-stage img {
  opacity: 0.3;
  transform: scale(0.96);
}

.mode-copy {
  padding: 14px 4px 2px;
}

.mode-copy span {
  color: #a64b3e;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.mode-copy strong {
  display: block;
  margin-top: 4px;
  font-size: 0.94rem;
}

.mode-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.final-cta {
  position: relative;
  min-height: 430px;
  margin-bottom: 80px;
  padding: clamp(46px, 8vw, 90px);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 38px;
  background:
    linear-gradient(rgba(20, 73, 78, 0.24), rgba(19, 56, 43, 0.45)),
    url("media/valley.jpg") center 62% / cover no-repeat;
  box-shadow: var(--deep-shadow);
  text-align: center;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 39, 35, 0.38), transparent 56%);
}

.final-cta > div {
  position: relative;
  z-index: 2;
}

.final-cta .eyebrow {
  color: #ffe183;
}

.final-cta p:not(.eyebrow) {
  margin: 15px 0 22px;
  color: rgba(255, 255, 255, 0.84);
}

.final-cta .app-store-badge {
  margin: 0 auto;
}

.final-cloud {
  position: absolute;
  z-index: 1;
  width: 230px;
  opacity: 0.42;
}

.final-cloud-left {
  top: 22px;
  left: -55px;
}

.final-cloud-right {
  right: -58px;
  bottom: 30px;
}

.site-footer {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.marketing-footer {
  width: min(1180px, calc(100% - 40px));
  padding: 34px 0 42px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 370px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-brand .apple-credit {
  max-width: 350px;
  font-size: 0.62rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 15px;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.copyright {
  white-space: nowrap;
}

.setup-banner {
  width: min(1060px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(168, 74, 59, 0.25);
  border-radius: 16px;
  color: #713428;
  background: #fff0ec;
  font-size: 0.9rem;
}

.setup-banner[hidden] {
  display: none;
}

.setup-banner strong {
  display: block;
}

.page-shell {
  width: min(1060px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-bottom: 68px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  letter-spacing: -0.045em;
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: min(100%, 190px);
  justify-self: end;
  filter: drop-shadow(0 20px 22px rgba(31, 33, 56, 0.13));
}

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

.card,
.legal-document {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 42px rgba(31, 33, 56, 0.06);
}

.card.full-width {
  grid-column: 1 / -1;
}

.card h2,
.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.card h3,
.legal-document h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
}

.card p,
.card li,
.legal-document p,
.legal-document li {
  color: var(--muted);
}

.card ul,
.card ol,
.legal-document ul,
.legal-document ol {
  padding-left: 1.25rem;
}

.card li + li,
.legal-document li + li {
  margin-top: 8px;
}

.legal-document {
  max-width: 820px;
  margin: 22px auto 0;
}

.legal-document h2 {
  margin-top: 34px;
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.quick-list {
  margin: 18px 0 0;
  padding: 0 !important;
  display: grid;
  gap: 12px;
  list-style: none;
}

.quick-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--sky);
}

.quick-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: var(--ink);
  background: var(--cream);
}

.notice {
  padding: 16px 18px;
  color: var(--ink);
  border-left: 4px solid var(--gold);
  border-radius: 4px 16px 16px 4px;
  background: var(--cream);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.not-found-hero {
  min-height: min(680px, calc(100vh - 172px));
  grid-template-columns: minmax(0, 1fr) minmax(150px, 260px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(234, 248, 251, 0.82)),
    url("media/valley.jpg") center 64% / cover no-repeat;
}

.not-found-copy {
  max-width: 590px;
}

.not-found-code {
  margin: 0 0 8px;
  color: #aa493b;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.not-found-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.not-found-mascot {
  width: min(100%, 250px);
  justify-self: end;
  filter: drop-shadow(0 24px 28px rgba(31, 33, 56, 0.16));
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

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

@keyframes cloudDrift {
  from {
    transform: translateX(-30px);
  }
  to {
    transform: translateX(180px);
  }
}

@media (max-width: 1060px) {
  .site-nav a:nth-child(2) {
    display: none;
  }

  .marketing-hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(450px, 1.18fr);
    padding-inline: 40px;
  }

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

  .path-experience {
    grid-template-columns: minmax(220px, 0.55fr) minmax(500px, 1.45fr);
  }

  .privacy-promise {
    grid-template-columns: 0.65fr 1.35fr;
    padding-inline: 40px;
  }
}

@media (max-width: 840px) {
  .site-header,
  .marketing-page main,
  .marketing-footer {
    width: min(100% - 28px, 720px);
  }

  .site-nav a:nth-child(3) {
    display: none;
  }

  .marketing-hero {
    min-height: auto;
    padding: 46px 30px 30px;
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1,
  .hero-copy {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .upside-intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "copy";
  }

  .upside-intro > p:last-child {
    margin-bottom: 0;
  }

  .valley-stage {
    min-height: 550px;
  }

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

  .feature-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(250px, 1.1fr);
    min-height: 290px;
  }

  .feature-visual {
    min-height: 290px;
  }

  .feature-card-copy {
    padding: 28px 28px 28px 10px;
  }

  .path-experience {
    grid-template-columns: 1fr;
  }

  .path-experience-copy {
    position: static;
    padding-top: 0;
  }

  .path-experience > .section-disclosure {
    grid-column: 1;
  }

  .privacy-promise {
    grid-template-columns: 1fr;
    padding: 46px 32px;
  }

  .privacy-copy {
    max-width: 600px;
  }

  .site-footer,
  .marketing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 116px;
  }

  .site-header {
    min-height: 108px;
    padding-block: 8px 9px;
    flex-wrap: wrap;
    align-content: center;
    gap: 3px 10px;
  }

  .marketing-header::before {
    height: 108px;
  }

  .brand {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    width: 100%;
    order: 3;
    display: flex;
    justify-content: space-between;
    gap: 2px;
  }

  .site-nav a,
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    min-height: 32px;
    padding: 6px 7px;
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.75rem;
  }

  .marketing-page main,
  .marketing-footer {
    width: calc(100% - 28px);
  }

  .marketing-hero {
    padding: 38px 20px 20px;
    gap: 28px;
    border-radius: 28px;
  }

  .hero-content h1 {
    font-size: clamp(2.85rem, 14.2vw, 4.35rem);
  }

  .hero-copy {
    margin-top: 17px;
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 22px;
    flex-direction: column;
    gap: 10px;
  }

  .app-store-badge {
    width: 168px;
  }

  .app-store-coming-soon {
    min-height: 52px;
  }

  .not-found-hero {
    min-height: 650px;
    grid-template-columns: 1fr;
  }

  .not-found-mascot {
    width: 190px;
    justify-self: center;
    order: -1;
  }

  .valley-stage {
    min-height: 470px;
    border-radius: 24px;
  }

  .phone {
    width: 166px;
    padding: 6px;
    border-radius: 32px;
  }

  .phone::after {
    inset: 5px;
    border-radius: 26px;
  }

  .phone-speaker {
    top: 11px;
    width: 53px;
    height: 15px;
  }

  .phone img {
    border-radius: 25px;
  }

  .phone-hero {
    left: 5%;
    bottom: -25px;
  }

  .hero-ember {
    width: 80%;
    right: -2%;
    top: 14%;
  }

  .problem-section {
    margin-top: 54px;
    padding: 36px 20px 30px;
  }

  .upside-intro {
    gap: 18px;
  }

  .upside-intro h2 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .upside-list {
    margin-top: 35px;
  }

  .upside-list p {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 13px;
    padding: 14px 0;
    font-size: clamp(1.75rem, 7.2vw, 2.5rem);
    letter-spacing: -0.055em;
  }

  .upside-icon {
    filter: drop-shadow(0 6px 6px rgba(17, 29, 49, 0.1));
  }

  .upside-alternative {
    min-height: 0;
    margin-top: 32px;
    padding-top: 24px;
    align-items: center;
    gap: 14px;
  }

  .upside-alternative-copy strong {
    font-size: 1.35rem;
  }

  .upside-alternative-copy p {
    font-size: 0.76rem;
  }

  .upside-alternative-scene {
    width: 94px;
    height: 84px;
  }

  .upside-alternative-mascot {
    width: 94px;
    top: 50%;
    right: -5px;
  }

  .content-section,
  .path-experience,
  .outcome-section,
  .privacy-promise,
  .final-cta {
    margin-top: 76px;
  }

  .section-heading h2,
  .path-experience-copy h2,
  .outcome-heading h2,
  .privacy-copy h2,
  .final-cta h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
  }

  .feature-card {
    min-height: 214px;
    grid-template-columns: 150px minmax(0, 1fr);
    border-radius: 24px;
  }

  .feature-visual {
    min-height: 214px;
  }

  .feature-screenshot-shell {
    inset: 10px 8px -62px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 14px 28px rgba(27, 57, 74, 0.14);
  }

  .feature-card-copy {
    padding: 22px 18px 22px 6px;
  }

  .feature-card-copy h3 {
    font-size: 1.45rem;
  }

  .feature-card-copy p {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .path-feature-character,
  .reset-feature-character {
    width: 132px;
  }

  .energy-feature-character,
  .honest-feature-character {
    width: 178px;
  }

  .energy-feature-character {
    left: -36px;
    bottom: -27px;
  }

  .honest-feature-character {
    right: -38px;
    bottom: -30px;
  }

  .mini-crest {
    width: 58px;
    height: 58px;
    top: 26px;
    left: 16px;
  }

  .mini-crest strong {
    font-size: 1rem;
  }

  .reset-quote {
    padding: 8px 9px;
  }

  .reset-quote {
    top: 18px;
    right: 11px;
    left: 11px;
  }

  .presence-ripple {
    top: 25px;
    right: 8px;
    transform: scale(0.78);
  }

  .mini-level-float,
  .reset-actions-mini,
  .energy-chip,
  .honest-log-chip {
    display: none;
  }

  .life-counter {
    top: 18px;
    left: 14px;
  }

  .path-level-showcase {
    min-height: 0;
    grid-template-rows: 330px auto;
    border-radius: 26px;
  }

  .path-level-scene {
    min-height: 330px;
  }

  .path-level-scene-copy {
    top: 21px;
    left: 20px;
  }

  .path-level-crest {
    width: 108px;
    height: 108px;
    top: 72px;
    left: 19px;
  }

  .path-level-crest strong {
    padding-bottom: 10px;
    font-size: 2rem;
  }

  .path-level-ember {
    width: min(64%, 250px);
    right: -2%;
    bottom: -2%;
  }

  .path-level-copy {
    padding: 24px 20px 25px;
  }

  .path-level-copy h3 {
    font-size: 2.2rem;
  }

  .path-level-metrics div {
    padding: 13px 8px;
  }

  .path-level-metrics strong {
    font-size: 0.98rem;
  }

  .path-route-showcase {
    border-radius: 26px;
  }

  .path-route-header {
    min-height: 56px;
    padding-inline: 15px;
  }

  .path-route-stage {
    height: 570px;
    background-position: center 52%;
  }

  .path-route-line {
    inset: 3% 0 1%;
    width: 100%;
  }

  .path-route-node {
    gap: 5px;
  }

  .path-route-crest {
    width: 57px;
    height: 57px;
    flex-basis: 57px;
  }

  .path-route-crest strong {
    padding-bottom: 5px;
    font-size: 0.95rem;
  }

  .path-route-node > div:last-of-type {
    padding: 6px 7px;
    border-radius: 10px;
  }

  .path-route-node > div:last-of-type strong {
    font-size: 0.63rem;
  }

  .path-route-node > div:last-of-type span {
    font-size: 0.52rem;
  }

  .path-route-node.is-current .path-route-crest {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .path-route-node.is-current .path-route-crest strong {
    padding-bottom: 6px;
    font-size: 1.15rem;
  }

  .route-node-1 {
    top: 84%;
    left: 4%;
  }

  .route-node-3 {
    top: 64%;
    left: 10%;
  }

  .route-node-7 {
    top: 42%;
    left: 34%;
  }

  .route-node-12 {
    top: 20%;
    left: 49%;
  }

  .route-node-22 {
    top: 1%;
    right: 8%;
    left: auto;
    flex-direction: row-reverse;
  }

  .path-route-ember {
    width: 120px;
    right: -76px;
    bottom: -61px;
  }

  .web-path-demo {
    border-radius: 26px;
  }

  .path-demo-header {
    padding-inline: 14px;
  }

  .path-demo-header strong {
    font-size: 0.68rem;
  }

  .path-scroll {
    height: 540px;
  }

  .path-track {
    background-attachment: scroll;
  }

  .web-path-node {
    width: 112px;
  }

  .node-frame {
    width: 61px;
    height: 61px;
  }

  .node-label {
    max-width: 112px;
  }

  .node-label small {
    display: none;
  }

  .path-detail-card {
    min-height: 210px;
    padding: 13px;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }

  .path-detail-art {
    width: 82px;
    height: 104px;
  }

  .path-detail-ember {
    width: 78px;
    height: 78px;
  }

  .path-detail-crest {
    width: 42px;
    height: 42px;
  }

  .path-detail-main h3 {
    font-size: 1.25rem;
  }

  .path-detail-insight {
    grid-column: 1 / -1;
    margin-top: 1px;
    padding: 9px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    font-size: 0.7rem;
  }

  .outcome-stage {
    height: 610px;
    border-radius: 26px;
  }

  .outcome-duration {
    top: 12px;
    left: clamp(63px, var(--journey-handle), calc(100% - 63px));
    min-width: 98px;
    padding: 9px 12px;
    font-size: 0.69rem;
  }

  .finale-battle {
    width: min(72%, 390px);
    bottom: 112px;
  }

  .outcome-stats {
    gap: 5px;
  }

  .outcome-bottom {
    right: 9px;
    bottom: 9px;
    left: 9px;
  }

  .outcome-stat {
    min-height: 52px;
    padding: 6px 5px;
    justify-content: center;
    gap: 4px;
  }

  .outcome-stat svg {
    width: 19px;
    flex-basis: 19px;
  }

  .outcome-stat span {
    font-size: 0.62rem;
  }

  .outcome-stat strong {
    font-size: 0.9rem;
  }

  .privacy-promise {
    padding: 36px 17px 18px;
    border-radius: 28px;
  }

  .privacy-visuals {
    grid-template-columns: 1fr;
  }

  .widget-preview,
  .mode-preview {
    min-height: 320px;
    border-radius: 24px;
  }

  .final-cta {
    min-height: 390px;
    margin-bottom: 55px;
    padding: 44px 20px;
    border-radius: 28px;
  }

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

  .hero {
    grid-template-columns: 1fr 92px;
    gap: 12px;
    border-radius: 28px;
  }

  .hero-mark {
    align-self: end;
  }
}

@media (max-width: 390px) {
  .feature-card {
    grid-template-columns: 138px minmax(0, 1fr);
  }

  .feature-card-copy {
    padding-right: 12px;
  }

  .outcome-stat {
    padding-inline: 4px;
  }

  .outcome-stat svg {
    width: 16px;
    flex-basis: 16px;
  }

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

  .hero-mark {
    width: 105px;
    justify-self: start;
  }
}

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