:root {
  --landing-width: 1280px;
  --landing-gutter: clamp(var(--l), 3.5vw, calc(var(--xxl) * 1.5));
  --landing-canvas: #fff8f3;
  --landing-ink: #41097e;
  --landing-muted: #49147e;
  --landing-steps: #fff0e2;
  --landing-balance: #def8eb;
  --landing-leaf: #d9efdf;
  --landing-cloud: #d8c7f5;
  --sky: #272474;
  --sky-text: #fffaff;
  --sky-line: #a0f8fa;
  --sky-link-hover: #cdfcff;
  --headline-gold-top: #fffbd4;
  --headline-gold-bottom: #ffd653;
  --ray-gold: #ffbe00;
  --step-gold: #ffc900;
  --step-number-ink: #3f0873;
  --step-icon: #7529cd;
  --step-icon-ink: #fff8ff;
  --download-fill-start: #c4ffeb;
  --download-fill-end: #56f5c8;
  --download-edge: #e5fff8;
  --download-ink: #00382e;
  --download-glow: #52e6c2;
  --portal-edge: #ffdf89;
  --portal-glow: #ffc24e;
  --portal-trigger: #582611;
  --hero-title: clamp(2.65rem, 7.6vw, 6.6rem);
  --story-title: clamp(2rem, 5.1vw, 4.45rem);
  --marketing-round: calc(var(--r-xl) * 2);
}

:root[data-theme="dark"] {
  --landing-canvas: #201632;
  --landing-ink: #f4e8ff;
  --landing-muted: #e4cfee;
  --landing-steps: #33233f;
  --landing-balance: #203d39;
  --landing-leaf: #25463f;
  --landing-cloud: #4a3a68;
  --step-icon: #ad7bff;
  --step-icon-ink: #2b1846;
}

.portal-page { background: var(--landing-canvas); color: var(--landing-ink); }
.portal-page p { color: var(--landing-muted); }
.portal-page .dialog-content p { color: var(--muted); }
.portal-page .dialog-content .status-note { color: var(--gold-ink); }
.portal-page .dialog-content .field-error { color: var(--error); }
.portal-page .skip-link { z-index: 5; }
.portal-symbols { display: none; }
.portal-wrap { width: min(var(--landing-width), 100% - var(--landing-gutter) * 2); margin-inline: auto; }
.visually-hidden { position: absolute; width: var(--line); height: var(--line); padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.portal-intro {
  position: relative;
  isolation: isolate;
  color: var(--sky-text);
  background: var(--sky) url("marketing/hero-background.webp") center 42% / cover no-repeat;
  padding-block-end: clamp(var(--l), 3.5vw, calc(var(--xxl) * 1.5));
}
.portal-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--sky) 46%, transparent), transparent 63%);
  pointer-events: none;
}
.portal-intro::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: clamp(var(--xl), 5.8vw, calc(var(--xxl) * 3));
  background: linear-gradient(transparent, var(--landing-canvas));
  pointer-events: none;
}
.portal-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(var(--s), 3.7vw, calc(var(--xxl) * 1.6));
  min-height: clamp(calc(var(--cta) + var(--l)), 7vw, calc(var(--xxl) * 3));
  padding-block: var(--s);
}
.portal-brand { display: inline-flex; align-items: center; block-size: var(--tap); min-width: 0; overflow: hidden; }
.portal-brand img { display: block; width: clamp(9rem, 27vw, 22rem); height: auto; }
.portal-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: end;
  gap: var(--s) clamp(var(--m), 4.5vw, calc(var(--xxl) * 2));
  border: 0;
  padding: 0;
  margin-inline-start: auto;
  box-shadow: none;
  background: transparent;
}
.portal-nav a, .portal-link { display: inline-flex; align-items: center; min-height: var(--tap); gap: var(--s); color: inherit; font-weight: 700; }
.portal-nav a { text-decoration: none; font-size: clamp(1rem, 1.65vw, 1.42rem); }
.portal-nav a:hover { color: var(--sky-link-hover); text-decoration: underline; }
.portal-signin { flex: none; border: var(--stroke) solid var(--sky-line); color: var(--sky-text); background: transparent; padding-inline: var(--xl); white-space: nowrap; font-size: clamp(1rem, 1.65vw, 1.42rem); font-weight: 700; }
.portal-signin:hover { background: color-mix(in srgb, var(--sky-line) 16%, var(--sky)); }
.portal-intro :is(a, button):focus-visible { outline-color: var(--sky-line); }

.portal-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .61fr) minmax(0, 1fr);
  gap: var(--s);
  align-items: center;
}
.portal-copy { position: relative; z-index: 1; min-width: 0; display: grid; gap: var(--m); justify-items: start; padding-block: var(--l) var(--xl); }
.portal-copy h1 { font-size: var(--hero-title); line-height: .88; letter-spacing: -.052em; font-weight: 900; color: var(--sky-text); text-wrap: wrap; text-shadow: 0 var(--xs) var(--m) color-mix(in srgb, var(--sky) 80%, black); }
.hero-first { display: inline-flex; align-items: flex-start; gap: var(--m); }
.hero-gold {
  display: block;
  padding-block-end: calc(.06em + 10px);
  color: var(--headline-gold-bottom);
  background: linear-gradient(180deg, var(--headline-gold-top), var(--headline-gold-bottom) 78%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 var(--xs) var(--s) color-mix(in srgb, var(--sky) 70%, black));
}
.portal-copy p { color: var(--sky-text); font-size: clamp(1.18rem, 2.25vw, 1.8rem); line-height: 1.1; max-width: 23ch; }
.portal-hero-actions { display: grid; gap: var(--xs); justify-items: center; margin-block-start: var(--s); }
.portal-link { font-size: clamp(1.05rem, 2vw, 1.6rem); text-underline-offset: .23em; text-align: center; }
.portal-link svg { flex: none; width: 1em; height: 1em; }
.portal-hero-actions .portal-link:hover { color: var(--sky-link-hover); }
.download-cta {
  min-height: var(--cta);
  gap: clamp(var(--s), 1.35vw, var(--l));
  border: var(--stroke) solid var(--download-edge);
  padding: var(--s) clamp(var(--m), 2.5vw, var(--xxl));
  color: var(--download-ink);
  background: linear-gradient(var(--download-fill-start), var(--download-fill-end) 70%, var(--download-fill-start));
  box-shadow: 0 0 var(--l) color-mix(in srgb, var(--download-glow) 78%, transparent), inset 0 var(--xs) var(--m) var(--download-edge);
  font-size: clamp(1rem, 2vw, 1.63rem);
  font-weight: 900;
  overflow-wrap: normal;
  text-align: center;
}
.download-cta:hover { color: var(--download-ink); background: var(--download-fill-start); box-shadow: 0 0 var(--xl) var(--download-glow), inset 0 var(--xs) var(--m) var(--download-edge); }
.download-cta svg { width: min(1.5em, var(--xxl)); height: min(1.5em, var(--xxl)); flex: none; }
.portal-scene {
  --story-x: 83%;
  --story-y: 53%;
  position: relative;
  min-width: 0;
  margin: 0;
  margin-inline-start: calc(var(--l) * -1);
}
.portal-scene > img { display: block; width: 100%; height: auto; }
.portal-motion {
  position: absolute;
  z-index: 1;
  left: 70.2%;
  top: 38.4%;
  width: 28.55%;
  height: 31.25%;
  transform: translate(-50%, -50%) rotate(5.5deg);
  border-radius: 13% / 15%;
  overflow: hidden;
  visibility: hidden;
  background: url("showcase/bear-poster.webp") center / cover no-repeat;
}
.portal-motion[data-media-ready] { visibility: visible; }
.portal-motion video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent 3%, black 8%, black 92%, transparent 97%);
}
.portal-motion-arrow {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  clip-path: polygon(46.8% 39.7%, 48.4% 37.6%, 51.5% 36.4%, 54.6% 35.5%, 53.9% 34.4%, 54.5% 33.65%, 55.4% 33.8%, 59.6% 36.8%, 59.6% 37.9%, 56.1% 40.9%, 54.7% 40.8%, 54.35% 40.05%, 54.95% 38.5%, 52.4% 38.7%, 48.2% 39.7%);
}
.portal-motion-arrow img { display: block; width: 100%; height: 100%; }
.story-trigger {
  position: absolute;
  z-index: 3;
  left: var(--story-x);
  top: var(--story-y);
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  transform: translate(-50%, -50%);
  background: color-mix(in srgb, var(--portal-trigger) 82%, transparent);
  border: var(--stroke) solid var(--portal-edge);
  border-radius: 50%;
  box-shadow: 0 0 var(--m) var(--portal-glow);
  color: var(--sky-text);
}
.story-trigger:hover { background: var(--portal-trigger); color: var(--headline-gold-top); }
.story-trigger svg { width: var(--xl); height: var(--xl); }
.showcase-toggle { padding-inline: var(--m); color: var(--landing-ink); background: var(--landing-steps); border: 0; border-radius: var(--pill); }
.showcase-toggle:hover { background: var(--landing-balance); }
.showcase-toggle[hidden] { display: none; }
.hero-toggle {
  position: absolute;
  z-index: 3;
  left: 66%;
  top: var(--story-y);
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: var(--sky-text);
  isolation: isolate;
}
.hero-toggle::before { content: ""; position: absolute; inset: var(--s); z-index: -1; background: var(--portal-trigger); border: var(--line) solid var(--portal-edge); border-radius: 50%; }
.hero-toggle:hover { background: transparent; color: var(--headline-gold-top); }
.hero-toggle svg { width: var(--l); height: var(--l); }
.hero-toggle[data-playing] .showcase-start-icon, .hero-toggle:not([data-playing]) .showcase-pause-icon { display: none; }
.showcase-error { flex-basis: 100%; color: var(--error); }
.hero-error {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(var(--tap) + var(--m));
  width: max-content;
  max-width: calc(100% - var(--xl));
  transform: translateX(-50%);
  padding: var(--xs) var(--m);
  border-radius: var(--r-m);
  background: var(--portal-trigger);
  color: var(--sky-text);
}
.hero-toggle[data-failed] {
  left: 50%;
  top: auto;
  bottom: var(--s);
  width: auto;
  transform: translateX(-50%);
  padding-inline: var(--m);
  border-radius: var(--pill);
  background: var(--portal-trigger);
}
.hero-toggle[data-failed]::before, .hero-toggle[data-failed] svg { display: none; }
.hero-toggle[data-failed] [data-showcase-action] { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }

.rays { --ray-color: var(--ray-gold); position: relative; display: inline-block; width: .62em; height: .74em; flex: none; }
.rays::before, .rays::after, .rays b { content: ""; position: absolute; top: 50%; left: 14%; width: 72%; height: 14%; border-radius: var(--pill); background: var(--ray-color); transform-origin: 0 50%; }
.rays::before { transform: translateY(-120%) rotate(-34deg); }
.rays b { transform: translateX(14%); }
.rays::after { transform: translateY(120%) rotate(31deg); }
.rays-left { transform: scaleX(-1); }
.hero-first .rays { --ray-color: var(--headline-gold-bottom); width: .54em; font-size: .83em; transform: rotate(-28deg); filter: drop-shadow(0 0 var(--s) var(--portal-glow)); }

.portal-main { display: grid; gap: clamp(var(--m), 2vw, var(--xl)); }
.showcase-section {
  --showcase-cream: color-mix(in srgb, var(--landing-steps) 37%, var(--landing-canvas));
  --showcase-lilac: color-mix(in srgb, var(--landing-cloud) 56%, var(--landing-canvas));
  --showcase-frame: color-mix(in srgb, var(--sky-text) 96%, var(--landing-canvas));
  --showcase-shadow: color-mix(in srgb, var(--landing-muted) 21%, transparent);
  display: grid;
  gap: clamp(var(--xl), 3.4vw, calc(var(--xxl) * 1.35));
  padding: clamp(var(--xl), 4.4vw, calc(var(--xxl) * 1.8)) clamp(var(--m), 3.3vw, calc(var(--xxl) * 1.35));
}
:root[data-theme="dark"] .showcase-section {
  --showcase-frame: color-mix(in srgb, var(--sky-text) 58%, var(--landing-cloud));
  --showcase-shadow: color-mix(in srgb, black 38%, transparent);
}
.showcase-heading { display: grid; justify-items: center; gap: var(--s); text-align: center; }
.showcase-heading h2 { display: flex; align-items: center; justify-content: center; gap: clamp(var(--xs), 1.35vw, var(--m)); font-size: clamp(1.65rem, 4vw, 3.55rem); }
.showcase-heading .rays { font-size: .85em; }
.showcase-heading p { max-width: 42ch; font-size: clamp(var(--body), 2.1vw, 1.55rem); line-height: 1.22; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(var(--xl), 3.6vw, calc(var(--xxl) * 1.6)); align-items: start; }
.showcase-card { display: grid; min-width: 0; gap: var(--m); }
.showcase-card-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--s); }
.showcase-card-heading h3 {
  flex: 1;
  min-width: 0;
  padding: var(--s) var(--m);
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--showcase-lilac), color-mix(in srgb, var(--showcase-lilac) 28%, transparent));
  font-size: clamp(var(--compact-title), 1.95vw, 1.6rem);
  font-weight: 900;
  text-wrap: pretty;
}
.showcase-duration { flex: none; padding: var(--xs) var(--m); border: var(--line) solid var(--headline-gold-top); border-radius: var(--pill); background: var(--headline-gold-bottom); color: var(--step-number-ink); font-size: var(--small); font-weight: 900; white-space: nowrap; }
.showcase-pair {
  --showcase-gap: clamp(var(--m), 2vw, var(--xxl));
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--showcase-gap) minmax(0, 1fr);
  align-items: start;
}
.showcase-figure { min-width: 0; margin: 0; }
.showcase-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  overflow: hidden;
  border: clamp(var(--xs), .47vw, var(--s)) solid var(--showcase-frame);
  border-radius: var(--r-xl);
  background: var(--landing-steps);
  box-shadow: 0 var(--s) var(--xl) var(--showcase-shadow);
}
.showcase-result .showcase-media {
  border-color: var(--headline-gold-top);
  background: var(--landing-balance);
  box-shadow: 0 0 0 var(--line) var(--portal-edge), 0 0 var(--m) color-mix(in srgb, var(--portal-glow) 67%, transparent), 0 var(--s) var(--xl) var(--showcase-shadow);
}
.showcase-media > .showcase-asset { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.showcase-arrow {
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: clamp(calc(var(--xxl) + var(--xs)), 5vw, calc(var(--xxl) * 2));
  height: auto;
  margin-block-end: calc(var(--body) + var(--s));
  overflow: visible;
  filter: drop-shadow(0 var(--xs) var(--s) color-mix(in srgb, var(--portal-glow) 48%, transparent));
  pointer-events: none;
}
.showcase-arrow path { fill: var(--step-gold); stroke: var(--showcase-frame); stroke-width: 3; stroke-linejoin: round; }
.showcase-frame-caption { display: grid; justify-items: center; gap: var(--xs); padding-block-start: var(--s); text-align: center; color: var(--landing-ink); font-size: var(--small); font-weight: 800; }
.showcase-frame-caption .showcase-error { overflow-wrap: anywhere; }
.showcase-icon-toggle {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 auto;
  display: grid;
  place-items: center;
  inline-size: var(--tap);
  min-block-size: var(--tap);
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  color: var(--sky-text);
  background: transparent;
  isolation: isolate;
}
.showcase-icon-toggle::before { content: ""; position: absolute; z-index: -1; inset: var(--s); border: var(--line) solid var(--showcase-frame); border-radius: var(--pill); background: color-mix(in srgb, var(--portal-trigger) 73%, transparent); }
.showcase-icon-toggle:hover { color: var(--headline-gold-top); background: transparent; }
.showcase-icon-toggle:focus-visible { outline-offset: calc(var(--xs) * -1); outline-color: var(--showcase-frame); }
.showcase-icon-toggle svg { inline-size: var(--l); block-size: var(--l); }
.showcase-icon-toggle[data-playing] .showcase-start-icon, .showcase-icon-toggle:not([data-playing]) .showcase-pause-icon { display: none; }
.showcase-icon-toggle[data-failed] { inline-size: auto; max-inline-size: 100%; padding-inline: var(--s); color: var(--sky-text); background: var(--portal-trigger); font-size: var(--small); }
.showcase-icon-toggle[data-failed]::before, .showcase-icon-toggle[data-failed] svg { display: none; }
.showcase-icon-toggle[data-failed] [data-showcase-action] { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }

.showcase-caption { min-height: var(--tap); margin-block-start: var(--xs); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--xs) var(--s); color: var(--landing-muted); font-size: var(--small); font-weight: 750; }
.showcase-details {
  min-width: 0;
  border: var(--line) solid var(--showcase-frame);
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--showcase-cream) 78%, var(--landing-canvas));
  box-shadow: 0 var(--xs) var(--m) var(--showcase-shadow);
}
.showcase-details[open] { border-radius: var(--r-xl); }
.showcase-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s);
  min-height: var(--tap);
  padding: var(--s) var(--l);
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
  color: var(--landing-ink);
  font-size: var(--small);
  font-weight: 850;
}
.showcase-details summary::-webkit-details-marker { display: none; }
.showcase-details summary::after { content: "+"; color: var(--landing-ink); line-height: 1; font-size: var(--subhead); }
.showcase-details[open] summary::after { content: "−"; }
.showcase-details summary:focus-visible { outline: var(--stroke) solid var(--on-tint); outline-offset: var(--xs); }
.showcase-details:not([open]) .showcase-details-close, .showcase-details[open] .showcase-details-open { display: none; }
.showcase-details p { padding: var(--s) var(--l) var(--l); overflow-wrap: anywhere; line-height: 1.45; }
.showcase-prompt { display: grid; gap: var(--s); overflow-wrap: anywhere; padding-block: var(--s); }
.showcase-prompt p { line-height: 1.45; }
.showcase-prompt .showcase-prompt-label { font-size: var(--small); font-weight: 800; color: var(--landing-ink); }

@media (min-width: 800px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .showcase-card { gap: var(--s); }
  .showcase-media { border-radius: var(--r-l); }
  .showcase-duration { padding-inline: var(--s); }
  .showcase-heading .rays { font-size: .63em; }
}

.character-section { text-align: center; position: relative; }
.character-heading { display: grid; gap: var(--xs); }
.character-heading h2 { display: flex; justify-content: center; align-items: center; gap: var(--m); font-size: var(--story-title); line-height: .99; letter-spacing: -.052em; }
.character-heading p { font-size: clamp(1.03rem, 2.2vw, 1.55rem); line-height: 1.23; }
.character-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m); margin-block: var(--s) 0; align-items: end; }
.character-gallery img { display: block; width: 100%; height: auto; }
.character-section > .portal-link { color: var(--landing-ink); }
.character-section > .portal-link:hover { color: var(--step-icon); }

.how-section { container-type: inline-size; }
.portal-steps {
  --step-column-gap: var(--xl);
  --step-heading-gap: var(--s);
  --step-badge: calc(var(--tap) - var(--s));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--l) var(--step-column-gap);
  align-items: stretch;
  margin: 0;
  padding: clamp(var(--l), 2.25vw, var(--xxl));
  list-style: none;
  background: var(--landing-steps);
  border-radius: var(--marketing-round);
}
.portal-steps li { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--s); }
.step-heading { min-height: var(--cta); display: flex; align-items: center; gap: var(--step-heading-gap); }
.step-number { display: grid; place-items: center; width: var(--step-badge); height: var(--step-badge); flex: none; border-radius: var(--pill); border: var(--line) solid var(--headline-gold-top); background: var(--step-gold); color: var(--step-number-ink); line-height: 1; font-size: var(--subhead); font-style: normal; font-weight: 900; }
.step-icon { width: clamp(var(--xl), 4.3vw, var(--cta)); height: auto; aspect-ratio: 1; flex: none; color: var(--step-icon); }
.step-heading h3 { font-size: clamp(1.05rem, 2.25cqi, 1.8rem); line-height: 1.02; font-weight: 900; white-space: nowrap; }
.portal-steps p { margin-inline-start: calc(var(--step-badge) + var(--step-heading-gap)); font-size: clamp(.93rem, 1.7vw, 1.22rem); line-height: 1.25; }
.step-arrow {
  display: none;
  flex: 1;
  min-width: 0;
  height: var(--xl);
  /* The SVG viewport spans from the title to the next step's number. */
  margin-inline: calc(0px - var(--step-heading-gap)) calc(0px - var(--step-column-gap));
  pointer-events: none;
}

@container (min-width: 72em) {
  .portal-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-arrow { display: block; }
}

.portal-pricing { display: grid; container-type: inline-size; gap: var(--l); padding-block: var(--m); }
.pricing-heading { display: grid; gap: var(--xs); text-align: center; }
.pricing-heading h2 { font-size: clamp(1.45rem, 3.45vw, 2.65rem); }
.pricing-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--m);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: var(--xs);
  padding: clamp(var(--l), 2vw, var(--xl));
  background: color-mix(in srgb, var(--landing-cloud) 18%, var(--landing-canvas));
  border: var(--line) solid color-mix(in srgb, var(--landing-muted) 25%, var(--landing-canvas));
  border-radius: var(--r-xl);
}
.pricing-welcome {
  background: var(--landing-balance);
  border-color: color-mix(in srgb, var(--mint) 70%, var(--landing-muted));
}
.pricing-card-heading {
  display: flex;
  align-items: baseline;
  gap: var(--xs);
  font-size: clamp(var(--subhead), 1.8vw, 1.75rem);
  font-weight: 900;
  white-space: nowrap;
}
.pricing-card-heading img { width: var(--coin-small); height: var(--coin-small); flex: none; align-self: center; }
.pricing-card-heading .pricing-price { margin-inline-start: auto; font-size: var(--body); font-weight: 800; color: var(--landing-muted); }
.pricing-example {
  display: grid;
  gap: var(--xs);
  margin-block: var(--s) 0;
  padding-block-start: var(--s);
  border-block-start: var(--line) solid color-mix(in srgb, var(--landing-muted) 28%, transparent);
  line-height: 1.3;
}
.pricing-example strong { color: var(--landing-ink); }
.pricing-example span { font-size: var(--small); font-weight: 750; }
.pricing-eligibility { margin-block-start: var(--s); font-size: var(--small); line-height: 1.35; }
.pricing-rates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--m);
  margin: 0;
  padding: var(--m) var(--l);
  background: var(--landing-steps);
  border-radius: var(--r-l);
  text-align: center;
}
.pricing-rates dt { color: var(--landing-muted); font-size: var(--small); }
.pricing-rates dd { margin: 0; font-weight: 850; }
.pricing-availability { text-align: center; font-size: var(--small); }

@container (min-width: 32em) {
  .pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (min-width: 75em) {
  .pricing-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .pricing-card { padding-inline: var(--s); }
  .pricing-card-heading { font-size: var(--body); }
  .pricing-card-heading img { width: var(--l); height: var(--l); }
  .pricing-card-heading .pricing-price { font-size: var(--small); }
  .pricing-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s); padding-inline: var(--m); }
}

.portal-balance { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(var(--l), 3vw, calc(var(--xxl) * 1.4)); background: var(--landing-balance); border-radius: var(--marketing-round); padding: clamp(var(--xl), 3vw, calc(var(--xxl) * 1.35)); }
.balance-icon { width: clamp(var(--tap), 6vw, calc(var(--xxl) * 2.6)); height: auto; aspect-ratio: 56 / 49; color: var(--step-icon); }
.portal-balance-copy { display: grid; gap: var(--xs); border-inline-start: var(--stroke) solid var(--landing-muted); padding-inline-start: clamp(var(--m), 2.55vw, var(--xxl)); }
.portal-balance h2 { font-size: clamp(1.35rem, 3.45vw, 2.65rem); font-weight: 900; line-height: 1.07; text-wrap: pretty; }
.portal-balance p { font-size: clamp(.93rem, 1.7vw, 1.27rem); line-height: 1.2; }
.portal-balance-action { display: grid; gap: var(--s); justify-items: center; text-align: center; }
.portal-account { background: var(--landing-canvas); border: var(--stroke) solid var(--landing-muted); color: var(--landing-ink); padding-inline: var(--xl); width: 100%; font-size: clamp(.98rem, 1.65vw, 1.27rem); }
.portal-account:hover { background: var(--landing-steps); }

.portal-footer {
  margin: 0;
  padding-block: clamp(var(--l), 3vw, calc(var(--xxl) * 1.4)) var(--l);
  background-color: var(--landing-canvas);
  background-image: radial-gradient(ellipse at 0 115%, var(--landing-cloud) 0 13%, transparent 14%), radial-gradient(ellipse at 100% 115%, var(--landing-cloud) 0 13%, transparent 14%), radial-gradient(ellipse at -6% 115%, var(--landing-leaf) 0 28%, transparent 29%), radial-gradient(ellipse at 106% 115%, var(--landing-leaf) 0 28%, transparent 29%);
}
.portal-footer > .portal-wrap { display: grid; gap: var(--m); justify-items: center; }
.footer-download { display: flex; align-items: center; justify-content: center; gap: var(--l); font-size: clamp(2.3rem, 5.8vw, 5rem); }
.footer-download .download-cta { font-size: clamp(1.12rem, 3.1vw, 2.35rem); padding-inline: clamp(var(--l), 4vw, calc(var(--xl) * 2)); min-height: clamp(var(--cta), 7.5vw, calc(var(--xxl) * 3)); }
.footer-download .download-cta svg { width: min(1.45em, calc(var(--cta) - var(--s))); height: min(1.45em, calc(var(--cta) - var(--s))); }
.portal-contacts { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: var(--xl); row-gap: var(--xs); }
.portal-contacts a { color: var(--landing-ink); }
.footer-brand { font-size: clamp(1.07rem, 2vw, 1.4rem); line-height: 1; font-weight: 900; text-decoration: none; }
.portal-contacts p { border-inline-start: var(--line) solid var(--landing-muted); padding-inline-start: var(--xl); }
.portal-contacts p a { text-decoration: none; display: inline-grid; min-height: var(--tap); align-content: center; }
.portal-contacts a:hover { text-decoration: underline; }

.site-info-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: var(--xl);
  padding: 0;
  background: transparent;
}
.site-info-links a, .site-info-back {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--landing-muted);
}
.site-info-links a { font-size: var(--small); }
.site-info-links a[aria-current="page"] { font-weight: 800; }
.site-info-page { min-height: 100dvh; display: flex; flex-direction: column; }
.site-info-header { background: var(--sky); }
.site-info-header .theme-toggle { flex: none; }
.site-info-content {
  width: min(100% - var(--landing-gutter) * 2, 42rem);
  flex: 1;
  padding-block: var(--l) var(--xxl);
  overflow-wrap: anywhere;
}
.site-info-content h1 { margin-block: var(--s) var(--l); font-size: clamp(1.35rem, 1rem + 2vw, var(--title)); }
.site-info-content h2 { margin-block-end: var(--s); font-size: var(--subhead); line-height: 1.2; letter-spacing: normal; }
.site-info-content section { margin-block-start: var(--xl); }
.site-info-content p + p { margin-block-start: var(--m); }
.site-info-details { margin: var(--m) 0 0; }
.site-info-details > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: var(--xs) var(--m);
  padding-block: var(--s);
  border-block-start: var(--line) solid var(--landing-cloud);
}
.site-info-details dd { margin: 0; }

.story-dialog { width: min(100% - var(--l), 51rem); }
.story-frames { min-width: 0; margin: 0; }
.story-frames img { width: 100%; height: auto; border-radius: var(--r-l); background: var(--sky); }
.story-frames video { display: block; width: 100%; max-height: min(62vh, 34rem); aspect-ratio: 1; border-radius: var(--r-l); background: var(--sky); object-fit: contain; }
.story-frames figcaption { color: var(--muted); }

@media (min-width: 761px) {
  :root[data-font="150"] .portal-hero { grid-template-columns: minmax(0, .71fr) minmax(0, 1fr); }
  :root[data-font="150"] .portal-copy { container-type: inline-size; }
  :root[data-font="150"] .portal-copy h1 { font-size: min(var(--hero-title), 21cqi); }
}

@media (max-width: 760px) {
  .portal-intro { background-size: auto 100%; background-position: center bottom; }
  .portal-hero { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .portal-copy { padding-block: var(--s) var(--m); }
  .portal-copy h1 { font-size: clamp(2.6rem, 10vw, 4.85rem); max-width: 13ch; }
  .portal-scene { margin: 0; }
  .character-gallery { gap: var(--s); }
  .portal-steps { border-radius: var(--r-xl); }
  .portal-balance { grid-template-columns: auto minmax(0, 1fr); border-radius: var(--r-xl); }
  .portal-balance-action { grid-column: 2; justify-items: start; text-align: start; }
  .portal-account { width: fit-content; }
}

@media (max-width: 560px) {
  .portal-intro { background-image: url("marketing/hero-background-small.webp"); }
  .portal-nav { display: none; }
  .portal-brand img { width: min(52vw, 12.5rem); }
  .portal-signin { padding-inline: var(--m); }
  .portal-intro { background-position: 39% 70%; }
  .portal-hero { gap: var(--xs); }
  .portal-copy { gap: var(--s); }
  .portal-hero-actions { justify-items: start; }
  .portal-copy h1 { max-width: 100%; }
  .character-heading h2 { gap: var(--s); }
  .character-heading .rays { font-size: .8em; }
  .character-gallery { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
  .character-gallery img { width: min(100%, 20rem); }
  .portal-steps { --step-heading-gap: var(--xs); --step-badge: var(--xxl); }
  .step-heading { min-height: calc(var(--tap) - var(--s)); }
  .step-icon { width: var(--xl); }
  .step-heading h3 { font-size: clamp(var(--small), 7.25cqi, var(--body)); }
  .portal-balance { gap: var(--m); padding: var(--l); }
  .portal-balance-copy { padding-inline-start: var(--m); }
  .portal-balance-action { grid-column: 1 / -1; }
  .portal-account { width: 100%; }
  .footer-download { gap: var(--s); }
  .footer-download .download-cta { padding-inline: var(--m); }
  .footer-download .rays { font-size: .65em; }
  .portal-contacts { gap: var(--xs) var(--s); }
  .portal-contacts p { border: 0; padding: 0; }
}

@media (max-width: 360px) {
  .character-heading .rays { display: none; }
}

@media (forced-colors: active) {
  .hero-gold { color: CanvasText; background: none; -webkit-text-fill-color: currentColor; }
}

