/* UpscaleInfo site styles. Mobile first; every value comes from tokens.css.
   Motion states only apply under html.motion (set by js/boot.js), so the page is complete without JS
   and under reduced motion. No inline styles anywhere: the Content Security Policy forbids them. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 112px;
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.skip {
  position: fixed; left: 16px; top: -120px; z-index: 100;
  padding: 12px 16px; border-radius: 12px;
  background: var(--white); color: var(--on-light);
}
.skip:focus { top: 16px; }

/* Hairline rings are drawn on ::after so they sit on top of backgrounds (as on the inspo). */
.ring::after, .chip::after, .btn--violet::after, .nav__pill::after, .nav__toggle::after, .menu::after,
.shell::after, .card::after, .visual--panel::after, .visual--tall::after, .row::after, .row__icon::after,
.faq__icon::after, .final__panel::after, .social::after, .pause::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

/* ---------- Chips ---------- */
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  max-width: 100%;
  border-radius: var(--r-md);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--text);
}
.chip::after { border-color: var(--line-strong); }
.chip--glass { padding: 4px 10px 4px 5px; background: var(--chip-glass); }
.chip--glass::after { border-color: var(--chip-ring); }
.chip__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--lime); flex: none; }
/* A long chip breaks at a set point on phones, so the pill hugs both lines instead of stretching full width. */
.chip__break { display: block; }
@media (min-width: 480px) {
  .chip__break { display: inline; }
}

/* ---------- Buttons and links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-h);
  padding: 12px 20px;
  border-radius: var(--r-btn);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  white-space: nowrap;
  transition: opacity var(--dur-hover) var(--ease-hover);
  touch-action: manipulation;
}
.btn__icon { width: 24px; height: 24px; flex: none; }
.btn--white { background: var(--white); color: var(--on-light); }
.btn--violet { min-height: 48px; background: var(--accent); color: var(--white); }
.btn--violet::after { border-color: var(--btn-ring); }
.btn--block { display: flex; width: 100%; }
.btn:active { opacity: 0.7; }
@media (hover: hover) {
  .btn--white:hover { opacity: var(--btn-hover-white); }
  .btn--violet:hover { opacity: var(--btn-hover-violet); }
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  transition: color var(--dur-hover) var(--ease-hover);
}
.textlink__icon { width: 22px; height: 22px; color: var(--lime); flex: none; }
@media (hover: hover) {
  .textlink:hover { color: var(--text-2); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 10px;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--w-nav), 100%);
  min-height: var(--nav-h);
  padding: 12px 12px 12px 24px;
  border-radius: var(--r-nav);
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(var(--nav-blur));
  backdrop-filter: blur(var(--nav-blur));
  transition: background-color 0.3s var(--ease-hover);
}
.nav__pill::after { border-color: var(--nav-ring); transition: opacity 0.3s var(--ease-hover); }
.nav.is-open .nav__pill { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-open .nav__pill::after { opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { width: 129px; height: 24px; }
.nav__links { display: none; gap: 32px; }
.nav__links a { padding: 11px 2px; transition: color var(--dur-hover) var(--ease-hover); }
@media (hover: hover) {
  .nav__links a:hover, .menu__links a:hover, .footer__col a:hover { color: var(--accent-hover); }
}
.nav__cta { display: none; }
html:not(.js) .nav__cta { display: inline-flex; padding-inline: 16px; }
html:not(.js) .nav__cta .btn__icon { display: none; }
.nav__toggle { display: none; }
html.js .nav__toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
}
.nav__toggle::after { border-color: rgba(255, 255, 255, 0.3); }
.nav__toggle svg { grid-area: 1 / 1; width: 24px; height: 24px; transition: opacity 0.25s var(--ease-hover), transform 0.25s var(--ease-hover); }
.nav__toggle-close { opacity: 0; transform: rotate(-45deg); }
.nav.is-open .nav__toggle-open { opacity: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle-close { opacity: 1; transform: none; }
.menu {
  pointer-events: auto;
  position: fixed;
  z-index: 1;
  top: 24px;
  left: 10px;
  right: 10px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: calc(var(--nav-h) + 20px) 24px 24px;
  border-radius: 32px;
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(var(--nav-blur));
  backdrop-filter: blur(var(--nav-blur));
  overflow-y: auto;
}
.menu::after { border-color: var(--nav-ring); }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { padding: 7px 0; font-size: 24px; line-height: 1.3; transition: color var(--dur-hover) var(--ease-hover); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__pill, .menu { background: var(--nav-glass-solid); }
}
@media (min-width: 1000px) {
  .nav__pill { padding: 8px 8px 8px 16px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__word { width: 118px; height: 22px; }
  .nav__links { display: flex; }
  .nav__cta, html:not(.js) .nav__cta { display: inline-flex; padding-inline: 20px; }
  html:not(.js) .nav__cta .btn__icon { display: block; }
  html.js .nav__toggle { display: none; }
  .menu { display: none !important; }
}

/* ---------- Glow (hero, final panel) ---------- */
.glow { position: absolute; z-index: -1; pointer-events: none; }
/* The grain blends with overlay, so it only shows where the glow is lit and vanishes on the black base. */
.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/grain.png") 0 0 / 192px 192px repeat;
  mix-blend-mode: overlay;
  opacity: 0.45;
}
.glow--hero {
  top: 0;
  left: 0;
  right: 0;
  height: 620px;
  background:
    radial-gradient(70% 34% at 50% 0%, rgba(236, 226, 255, 0.95) 0%, rgba(205, 180, 255, 0.55) 40%, rgba(170, 120, 255, 0) 100%),
    radial-gradient(130% 75% at 50% 0%, #7c39fe 0%, rgba(120, 50, 252, 0.94) 32%, rgba(86, 28, 216, 0.66) 56%, rgba(38, 10, 105, 0.3) 78%, rgba(0, 1, 1, 0) 100%),
    var(--bg);
}
.glow--panel {
  inset: 0;
  background:
    radial-gradient(60% 30% at 50% 0%, rgba(214, 196, 255, 0.85) 0%, rgba(190, 160, 255, 0) 100%),
    radial-gradient(90% 62% at 50% 0%, #7c39fe 0%, rgba(118, 48, 250, 0.85) 35%, rgba(70, 20, 180, 0.45) 62%, rgba(0, 1, 1, 0) 100%),
    var(--bg);
}
@media (min-width: 810px) {
  .glow--hero {
    height: 720px;
    background:
      radial-gradient(48% 30% at 50% 0%, rgba(236, 226, 255, 0.95) 0%, rgba(205, 180, 255, 0.5) 42%, rgba(170, 120, 255, 0) 100%),
      radial-gradient(82% 70% at 50% 0%, #7c39fe 0%, rgba(120, 50, 252, 0.94) 30%, rgba(86, 28, 216, 0.66) 54%, rgba(38, 10, 105, 0.3) 76%, rgba(0, 1, 1, 0) 100%),
      var(--bg);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: var(--hero-top) var(--gutter) var(--hero-bottom);
  text-align: center;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: min(var(--fs-h1), var(--h1-fit));
  line-height: var(--lh-h1);
  letter-spacing: var(--track-h1);
  font-weight: var(--weight-h1);
}
.line { display: block; }
/* The play tile stands on the baseline and is as tall as Poppins' ascenders (h, l, d reach 0.74em), so it lines
   up with the letters beside it. Its icon is positioned out of flow, so the tile's baseline is its bottom edge. */
.tile {
  position: relative;
  display: inline-block;
  width: 0.74em;
  height: 0.74em;
  margin: 0 0.06em;
  vertical-align: baseline;
  border-radius: 0.2em;
  color: var(--white);
  background: linear-gradient(160deg, #b791ff 0%, #7c39fe 50%, #3d12a6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 30px rgba(124, 57, 254, 0.45);
}
.tile svg { position: absolute; inset: 20%; width: 60%; height: 60%; }
.hero__sub { margin-top: 16px; max-width: 520px; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-2); text-wrap: balance; }
.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.hero__actions .btn { width: min(100%, 260px); }
.proof {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
}
.proof__avatar { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white); }
@media (min-width: 810px) {
  .hero__actions { flex-direction: row; justify-content: center; gap: 20px; }
  .hero__actions .btn { width: auto; }
  .proof { margin-top: 24px; }
}

/* ---------- Tickers ---------- */
.ticker {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.ticker::-webkit-scrollbar { display: none; }
.ticker__track { display: flex; width: max-content; padding-inline: var(--gutter); }
html.motion .ticker { overflow-x: clip; }
html.motion .ticker__track { padding-inline: 0; }
.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  margin-top: 20px;
  padding-inline: var(--gutter);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--text-muted);
  text-align: center;
}
.note > span { text-wrap: balance; }
.pause { display: none; }
html.motion .pause {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  color: var(--text-2);
  transition: color var(--dur-hover) var(--ease-hover);
}
.pause::after { border-color: var(--line); }
.pause svg { width: 16px; height: 16px; }
@media (hover: hover) {
  html.motion .pause:hover { color: var(--text); }
}

/* ---------- Creator strip ---------- */
.strip { padding: 60px 0 0; text-align: center; }
.strip__title {
  max-width: 640px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  font-size: var(--fs-strip);
  line-height: var(--lh-strip);
  font-weight: 400;
  text-wrap: balance;
}
.strip .ticker { margin-top: 24px; }
.ticker--names .ticker__item { margin-right: 56px; }
.name {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--weight-h3);
  font-size: var(--fs-name);
  line-height: 1.25;
  letter-spacing: var(--track-h3);
  color: #64646e;
  white-space: nowrap;
}

/* ---------- Quote ---------- */
.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: var(--section) var(--gutter) 0;
  text-align: center;
}
.quote__text {
  max-width: 920px;
  font-family: var(--font-display);
  font-weight: var(--weight-h2);
  font-size: var(--fs-quote);
  line-height: var(--lh-quote);
  color: var(--text-quote);
  text-wrap: balance;
}
.quote__text .lit { display: inline-block; }
html.motion .quote__text .lit {
  opacity: 0.2;
  filter: blur(10px);
  transition: opacity 0.3s linear, filter 0.3s linear;
}
@media (min-width: 1200px) {
  .quote { gap: 60px; }
}

/* ---------- Sections and their headers ---------- */
.section { padding: var(--section) var(--gutter) 0; }
.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto var(--head-gap);
  text-align: center;
}
.head .chip { margin-bottom: 20px; }
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--weight-h2);
  text-wrap: balance;
}
.head__sub { margin-top: 18px; max-width: 420px; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-muted); text-wrap: balance; }
.head__sub--wide { max-width: 560px; }
.head .btn { margin-top: 22px; }

/* ---------- Shells, cards, visuals ---------- */
.shell { position: relative; border-radius: var(--r-shell); padding: var(--pad-shell); }
.card { position: relative; border-radius: var(--r-md); background: var(--surface-card); padding: var(--pad-card); }
.visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--r-md);
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(124, 57, 254, 0.12) 0%, rgba(124, 57, 254, 0) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 14px),
    var(--surface-card);
}
.visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 1, 1, 0) 45%, var(--bg) 100%);
  pointer-events: none;
}
.visual--panel::after { border-color: var(--panel-ring); }
.visual--tall::after { border-color: var(--line); }
.glyph {
  position: relative;
  z-index: 1;
  width: min(54%, 176px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(244, 244, 245, 0.95) 0 1.05px, transparent 1.4px) 0 0 / 4px 4px;
  -webkit-mask: var(--glyph) center / contain no-repeat, linear-gradient(150deg, #000 25%, rgba(0, 0, 0, 0.3) 95%);
  -webkit-mask-composite: source-in;
  mask: var(--glyph) center / contain no-repeat, linear-gradient(150deg, #000 25%, rgba(0, 0, 0, 0.3) 95%);
  mask-composite: intersect;
}
.glyph--video { --glyph: url("/images/glyphs/video.svg"); }
.glyph--calls { --glyph: url("/images/glyphs/calls.svg"); }
.glyph--loop { --glyph: url("/images/glyphs/loop.svg"); }
.glyph--audit { --glyph: url("/images/glyphs/audit.svg"); }
.glyph--build { --glyph: url("/images/glyphs/build.svg"); }
.glyph--partner { --glyph: url("/images/glyphs/partner.svg"); }
.glyph--route { --glyph: url("/images/glyphs/route.svg"); }
.glyph--share { --glyph: url("/images/glyphs/share.svg"); }
.glyph--code { --glyph: url("/images/glyphs/code.svg"); }
.glyph--key { --glyph: url("/images/glyphs/key.svg"); }
.glyph--face { --glyph: url("/images/glyphs/face.svg"); }
.glyph--pulse { --glyph: url("/images/glyphs/pulse.svg"); }

/* ---------- What I do ---------- */
.services__grid {
  display: grid;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}
.svc { display: flex; flex-direction: column; gap: 24px; }
.svc--flip { flex-direction: column-reverse; }
.svc--flip .visual::before { background: linear-gradient(0deg, rgba(0, 1, 1, 0) 45%, var(--bg) 100%); }
.svc .visual { height: 220px; }
.svc__card { display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.svc__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--track-h3); font-weight: var(--weight-h3); }
.svc__body { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-muted); }
@media (min-width: 900px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); max-width: var(--w-grid); }
  .svc .visual { height: 240px; flex: none; }
  .svc__card { flex: 1; }
}

/* ---------- Who I help ---------- */
.who__shell { max-width: var(--w-faq); margin: 0 auto; }
.rows { display: grid; gap: 8px; }
.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--r-row);
  background: var(--surface-card);
}
.row__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-icon);
}
.row__icon::after { border-color: var(--line-strong); }
.row__icon svg { width: 20px; height: 20px; }
.row--no { color: var(--text-2); }
.row--no .row__icon { color: var(--text-muted); }

/* ---------- How it works: the sticky stack ---------- */
.stack { display: grid; gap: 32px; max-width: var(--w-steps); margin: 0 auto; }
.stack__item { position: sticky; }
.stack__item--1 { top: var(--stack-top-1); }
.stack__item--2 { top: var(--stack-top-2); }
.stack__item--3 { position: relative; }
.step {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  background: var(--surface-shell);
  box-shadow: 0 0 0.85px rgba(14, 16, 23, 0.2), 0 1.7px 34px rgba(14, 16, 23, 0.04);
  transform-origin: 50% 50%;
}
.step__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  border-radius: var(--r-lg);
}
.chip--step { align-self: flex-start; }
.step__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--track-h3); font-weight: var(--weight-h3); }
.step__body { margin-top: 12px; max-width: 420px; color: var(--text-2); }
.visual--panel { height: 200px; border-radius: var(--r-lg); }
.visual--panel::before { background: linear-gradient(180deg, rgba(0, 1, 1, 0) 50%, rgba(0, 1, 1, 0.6) 100%); }
@media (min-width: 810px) {
  .step { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: 340px; }
  .step--flip .visual { order: -1; }
  .step__text { padding: 32px 24px 24px; }
  .visual--panel { height: auto; }
}
@media (max-height: 640px) {
  .stack__item { position: relative; top: auto; }
}

/* ---------- What I bring: the card ticker ---------- */
.bring .ticker { margin-inline: calc(var(--gutter) * -1); }
.ticker--cards .ticker__item { margin-right: 16px; }
.bcard {
  display: grid;
  grid-template-rows: 180px auto;
  gap: 12px;
  width: min(86vw, 340px);
  height: 100%;
}
.bcard::after { border-width: 1.5px; }
.visual--tall { border-radius: var(--r-lg); }
.bcard__body { display: flex; flex-direction: column; border-radius: var(--r-lg); }
.bcard__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--track-h3); font-weight: var(--weight-h3); }
.bcard__text { margin-top: 12px; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.pairs { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 16px; margin-top: auto; padding-top: 24px; }
.pairs div { display: flex; flex-direction: column-reverse; gap: 2px; }
.pairs dt { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.pairs dd { font-family: var(--font-display); font-weight: var(--weight-h3); font-size: 18px; line-height: 1.3; letter-spacing: var(--track-h3); }
@media (min-width: 810px) {
  .bcard { grid-template-columns: 238px 1fr; grid-template-rows: none; width: 689px; height: 433px; }
  .bcard__text { margin-top: 16px; font-size: 24px; line-height: 1.4; }
  .pairs dt { font-size: var(--fs-body); line-height: var(--lh-body); }
  .pairs dd { font-size: 24px; line-height: 31.2px; }
}
.note--center { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 16px; max-width: var(--w-faq); margin: 0 auto; }
.faq__item::after, .faq__card::after { border-color: var(--line-strong); }
.faq__card { padding: 0; border-radius: var(--r-lg); }
.faq__h { font: inherit; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 16px 16px 16px 20px;
  border-radius: var(--r-lg);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-faq);
  line-height: var(--lh-faq);
}
.faq__icon {
  position: relative;
  display: none;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-icon);
}
html.js .faq__icon { display: grid; }
.faq__icon::after { border-color: var(--line-strong); }
.faq__plus { width: 22px; height: 22px; transition: transform 0.45s var(--ease-firm); }
.faq__q[aria-expanded="true"] .faq__plus { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 20px 22px; max-width: 680px; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-2); }
@media (min-width: 810px) {
  .faq__q { padding: 20px 20px 20px 24px; }
  .faq__a p { padding: 0 24px 24px; }
}

/* ---------- Final call to action ---------- */
.final { padding-bottom: 64px; }
.final__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--w-cta);
  margin: 0 auto;
  padding: 72px 20px 64px;
  border-radius: var(--r-shell);
  text-align: center;
}
.final__panel .h2 { max-width: 620px; }
.final__line { margin-top: 20px; max-width: 460px; font-size: var(--fs-lead); line-height: var(--lh-lead); text-wrap: balance; }
.final__panel .btn { margin-top: 36px; }
@media (min-width: 810px) {
  .final__panel { padding: 88px 32px 80px; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 0 var(--gutter) 40px;
  background: linear-gradient(180deg, rgba(124, 57, 254, 0) 0%, rgba(124, 57, 254, 0.1) 100%);
}
.footer__inner {
  display: grid;
  gap: 36px;
  max-width: var(--w-footer);
  margin: 0 auto;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.footer__brand p { margin-top: 18px; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__head { margin-bottom: 8px; font-family: var(--font-display); font-weight: var(--weight-h3); letter-spacing: var(--track-h3); }
.footer__col a { padding: 11px 0; color: var(--text-2); transition: color var(--dur-hover) var(--ease-hover); }
.footer__social { display: flex; gap: 12px; }
.social { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.social::after { border-color: var(--line-strong); }
.social svg { width: 20px; height: 20px; }
.footer__legal {
  max-width: var(--w-footer);
  margin: 40px auto 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-muted);
}
@media (min-width: 810px) {
  .footer__inner { grid-template-columns: 1.7fr 1fr 1fr 1fr; padding-top: 64px; }
}

/* ---------- Inner pages: /apply, /privacy, /terms, /404 ---------- */
.page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: 168px var(--gutter) var(--section);
}
.page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.page__inner .h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--track-h1);
  font-weight: var(--weight-h1);
}
.page__sub { margin-top: 18px; max-width: 480px; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-2); }
.page__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.page__actions .btn { width: min(100%, 300px); }
.page__small { margin-top: 20px; font-size: var(--fs-small); color: var(--text-muted); }
.page__small + .page__small { margin-top: 8px; }
.page__link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; transition: color var(--dur-hover) var(--ease-hover); }
@media (hover: hover) {
  .page__link:hover { color: var(--accent-hover); }
}

/* /apply: Calendly's calendar in a plain frame, sized by js/apply.js from the height Calendly reports. Calendly needs
   at least 320 px, so on narrow phones the frame runs edge to edge; from 376 px it sits in a shell ring.
   color-scheme: light matches the calendar's own scheme, so the browser keeps the frame transparent on the dark page. */
.booking { margin: 36px calc(var(--gutter) * -1) 0; }
.booking__frame { display: block; width: 100%; height: 602px; border: 0; color-scheme: light; background: transparent; }
@media (min-width: 376px) {
  .booking { position: relative; max-width: var(--w-booking); margin: 36px auto 0; padding: var(--pad-shell); border-radius: var(--r-shell); }
  .booking::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
}
/* Default heights are the first heights Calendly reports (measured 2026-10-11), so the frame does not jump on load. */
@media (min-width: 810px) {
  .booking__frame { height: 711px; }
}
.prose { max-width: 680px; margin: 0 auto; }
.prose .h1 {
  width: fit-content;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: var(--lh-h1);
  letter-spacing: var(--track-h1);
  font-weight: var(--weight-h1);
}
.prose .eyebrow { margin-bottom: 16px; }
.prose h2 { margin-top: 40px; font-family: var(--font-display); font-size: 22px; line-height: var(--lh-h3); letter-spacing: var(--track-h3); font-weight: var(--weight-h3); }
.prose p { margin-top: 10px; color: var(--text-2); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 810px) {
  .page__actions { flex-direction: row; justify-content: center; }
  .page__actions .btn { width: auto; }
}

/* ---------- Headline gradient (every h1) ---------- */
/* The type reference's fade from bright lavender to a softer tint, across the whole heading box. When the
   letter reveal splits a heading (js/site.js adds .is-split), each letter carries the heading-sized gradient,
   offset to its own place, so letters can rise and unblur without breaking the fill. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad {
    background-image: var(--grad-h1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .grad.is-split { background-image: none; }
  .grad.is-split .ch {
    background-image: var(--grad-h1);
    background-size: var(--gw, 100%) var(--gh, 100%);
    background-position: var(--gx, 0) var(--gy, 0);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
  }
}
@media (forced-colors: active) {
  .grad, .grad .ch { background-image: none; -webkit-text-fill-color: currentColor; }
}

/* ---------- Motion (only with JS and without reduced motion) ---------- */
@keyframes appear {
  from { opacity: 0; transform: translateY(var(--rise-appear)); }
  to { opacity: 1; transform: none; }
}
@keyframes ch-in {
  from { opacity: 0; transform: translateY(var(--rise-letter)); filter: blur(var(--blur-letter)); }
  to { opacity: 1; transform: none; filter: none; }
}
html.motion [data-appear] { opacity: 0; }
html.motion [data-appear].is-in {
  animation: appear var(--dur-appear) var(--ease-appear) both;
  animation-delay: var(--delay, 0ms);
}
[data-appear="0.05"] { --delay: 50ms; }
[data-appear="0.1"] { --delay: 100ms; }
[data-appear="0.2"] { --delay: 200ms; }
[data-appear="0.3"] { --delay: 300ms; }
[data-appear="0.4"] { --delay: 400ms; }
[data-appear="0.5"] { --delay: 500ms; }
[data-appear="0.6"] { --delay: 600ms; }
html.motion [data-appear="nav"].is-in { animation-name: appear-nav; animation-timing-function: var(--ease-firm); }
@keyframes appear-nav {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}
.split { font-kerning: none; font-variant-ligatures: none; }
.split .word { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; }
html.motion [data-split]:not(.is-in) { opacity: 0; }
html.motion .split .ch { opacity: 0; }
html.motion .split.is-in .ch {
  animation: ch-in var(--ch-dur) var(--ch-ease) both;
  animation-delay: calc(var(--ch-delay0, 0ms) + var(--i, 0) * var(--ch-stagger));
}
.split--h1 .line--sans { --ch-dur: var(--dur-letter-h1); --ch-ease: var(--ease-letter-h1); --ch-stagger: var(--stagger-h1); --ch-delay0: 120ms; }
.split--h1 .line--accent { --ch-dur: var(--dur-letter-accent); --ch-ease: var(--ease-letter-accent); --ch-stagger: var(--stagger-accent); --ch-delay0: 115ms; }
.split--h2 { --ch-dur: var(--dur-letter-h2); --ch-ease: var(--ease-letter-h2); --ch-stagger: var(--stagger-h2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
