/* Acend — paper, ink, air.
   Type and spacing follow Questrade’s 2026 system:
   weight 400 on display, ~90% line-height, −0.03em tracking, 24px grid. */

:root {
  --bg: #faf8f5;
  --ink: #32302f;
  --muted: #5c5957;
  --faint: #8a8683;
  --line: rgba(50, 48, 47, 0.1);
  --line-strong: rgba(50, 48, 47, 0.16);
  --surface: #f1eee9;
  --surface-2: #e8e4de;

  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Newsreader", ui-serif, Georgia, serif;

  --page-pad: 24px;
  --wrap: 1200px;
  --wrap-wide: 1320px;
  --header: 64px;
  --module: 80px;
  --radius-panel: 20px;
  --radius-pill: 999px;
  --h0: clamp(2.875rem, 1.4rem + 7.2vw, 5.5rem);
  --h0-lh: 0.9;
  --h0-ls: -0.035em;

  --h1: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem);
  --h1-lh: 1.06;
  --h1-ls: -0.03em;

  --h2: clamp(1.5rem, 1.2rem + 1.1vw, 1.875rem);
  --h2-lh: 1.18;
  --h2-ls: -0.025em;

  --body: 1.0625rem;
  --body-lh: 1.5;
  --small: 0.8125rem;
  --caption: 0.75rem;
}

@media (min-width: 768px) {
  :root {
    --page-pad: 40px;
    --header: 72px;
    --module: 120px;
  }
}

@media (min-width: 1280px) {
  :root {
    --page-pad: 80px;
    --module: 160px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .marquee__track {
    transform: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--body);
  font-weight: 400;
  line-height: var(--body-lh);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
a {
  color: inherit;
}

button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
}

.wrap--wide {
  width: min(var(--wrap-wide), calc(100% - 2 * var(--page-pad)));
}

.display {
  font-family: var(--font-sans);
  font-size: var(--h0);
  font-weight: 400;
  line-height: var(--h0-lh);
  letter-spacing: var(--h0-ls);
}

.display em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
}

.heading {
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 400;
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-ls);
  font-optical-sizing: auto;
}

.subhead {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 400;
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  font-optical-sizing: auto;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 768px) {
  .lede {
    font-size: 1.25rem;
  }
}

.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "kern" 1;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  font-size: var(--small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--ink {
  background: var(--ink);
  color: var(--bg);
}

.btn--ink:hover {
  opacity: 0.88;
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(50, 48, 47, 0.35);
}

.btn--paper {
  background: var(--bg);
  color: var(--ink);
}

.btn--paper:hover {
  opacity: 0.9;
}

.btn--lg {
  height: 48px;
  padding: 0 28px;
}

/* —— Header —— */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.header.is-scrolled {
  background: rgb(250 248 245 / 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header.is-over-hero {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--bg);
}

.header.is-over-hero.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.is-over-hero .logo {
  color: var(--bg);
}

.header.is-over-hero .nav a,
.header.is-over-hero .link-quiet {
  color: rgb(250 248 245 / 0.82);
}

.header.is-over-hero .nav a:hover,
.header.is-over-hero .link-quiet:hover {
  color: var(--bg);
}

.header.is-over-hero .btn--ink {
  background: var(--bg);
  color: var(--ink);
}

.header.is-over-hero .menu-toggle span {
  background: var(--bg);
}

.header.is-over-hero :focus-visible {
  outline-color: var(--bg);
}

.header.is-over-dark {
  background: #09090a;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.is-over-dark.is-scrolled {
  background: #09090a;
}

body.nav-open .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.nav-open .header .logo {
  color: var(--ink);
}

body.nav-open .header .btn--ink {
  background: var(--ink);
  color: var(--bg);
}

body.nav-open .header .menu-toggle span {
  background: var(--ink);
}

body.nav-open .header__cta-mobile {
  display: none;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
}

.header__mobile-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.header__cta-mobile,
.menu-toggle {
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 60;
  color: var(--ink);
  font-size: 1.0625rem;
}

.logo-wordmark {
  display: block;
  height: calc(50 / 34 * 1em);
  width: auto;
  flex-shrink: 0;
  color: inherit;
  overflow: visible;
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.375rem;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgb(50 48 47 / 0.7);
  transition: color 0.2s ease;
}

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

.header__actions {
  display: none;
  align-items: center;
  gap: 4px;
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(50 48 47 / 0.7);
  transition: color 0.2s ease;
}

.link-quiet:hover {
  color: var(--ink);
}

.header__cta-mobile {
  display: inline-flex;
  height: 36px;
  padding: 0 16px;
  font-size: 0.75rem;
}

.menu-toggle {
  position: relative;
  z-index: 60;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 20px;
}

.menu-toggle span:nth-child(3) {
  top: 25px;
}

.menu-toggle.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 45;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 48px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav nav > a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 2.125rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.mobile-nav .btn {
  width: 100%;
  height: 48px;
}

@media (min-width: 1024px) {
  .header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav,
  .header__actions {
    display: flex;
  }

  .nav {
    justify-self: center;
  }

  .header__actions {
    justify-self: end;
  }

  .header__mobile-actions {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

body.nav-open,
html.nav-open {
  overflow: hidden;
}

/* —— Hero —— */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  margin-top: calc(var(--header) * -1);
  padding: calc(var(--header) + 48px) 0 48px;
  color: var(--bg);
  background-color: #0c0a08;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgb(12 10 8 / 0.62) 0%,
      rgb(12 10 8 / 0.3) 16%,
      rgb(12 10 8 / 0.32) 42%,
      rgb(12 10 8 / 0.52) 100%
    ),
    url("images/hero.png") 55% 42% / cover no-repeat;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero::before {
    background-size: 100% 100%, auto 100%;
    background-position: center, 50% 50%;
    background-repeat: no-repeat;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: calc(var(--header) + 64px) 0 64px;
  }
}

.hero__inner {
  position: relative;
  isolation: isolate;
  text-align: center;
}

.hero__inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6%;
  z-index: 0;
  width: min(44rem, 120%);
  height: 70%;
  translate: -50% 0;
  background: radial-gradient(
    ellipse 58% 62% at 50% 38%,
    rgb(8 6 4 / 0.32) 0%,
    rgb(8 6 4 / 0.12) 50%,
    transparent 74%
  );
  pointer-events: none;
}

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

.hero .display {
  margin-inline: auto;
  white-space: nowrap;
  text-shadow: 0 0 28px rgb(12 10 8 / 0.4);
}

.hero__lede {
  max-width: 38ch;
  margin: 28px auto 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--bg);
  text-shadow:
    0 1px 2px rgb(12 10 8 / 0.45),
    0 0 22px rgb(12 10 8 / 0.5),
    0 0 40px rgb(12 10 8 / 0.38);
}

@media (max-width: 767px) {
  .hero .display {
    white-space: nowrap;
    font-size: clamp(2.28rem, 10.6vw, 2.75rem);
  }

  .hero__lede {
    max-width: none;
    margin-top: 16px;
    font-size: clamp(0.7rem, 3.55vw, 0.9375rem);
    line-height: 1.3;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .hero__lede {
    margin-top: 32px;
    font-size: 1.25rem;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

@media (max-width: 767px) {
  .hero__cta {
    gap: 8px;
    margin-top: 28px;
  }

  .hero__cta .btn--lg {
    height: 40px;
    padding: 0 18px;
    font-size: 0.75rem;
  }
}

.hero .btn--ink {
  background: var(--bg);
  color: var(--ink);
}

.hero .btn--ghost {
  border-color: rgb(250 248 245 / 0.45);
  color: var(--bg);
}

.hero .btn--ghost:hover {
  border-color: var(--bg);
}

.hero :focus-visible {
  outline-color: var(--bg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgb(250 248 245 / 0.22);
  text-align: center;
}

.stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-inline: clamp(4px, 1.2vw, 32px);
  border-left: 1px solid rgb(250 248 245 / 0.22);
  text-align: center;
}

.stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats > div:last-child {
  padding-right: 0;
}

.stats dt {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 0.42rem + 1.5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-optical-sizing: auto;
  color: var(--bg);
  overflow: hidden;
  white-space: nowrap;
}

.stats__solana {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  min-width: 0;
}

.solana-mark {
  width: 0.7em;
  height: 0.55em;
  flex-shrink: 0;
  display: block;
  translate: 0 -0.1em;
}

.stats dd {
  margin: 4px 0 0;
  font-size: clamp(0.5rem, 0.42rem + 0.35vw, 0.8125rem);
  line-height: 1.25;
  color: var(--bg);
}

@media (max-width: 767px) {
  .stats dt {
    font-size: clamp(1.05rem, 0.65rem + 2.4vw, 1.4rem);
  }

  .stats dd {
    font-size: clamp(0.5625rem, 0.48rem + 0.45vw, 0.6875rem);
  }
}

@media (min-width: 768px) {
  .stats {
    margin-top: 72px;
    padding-top: 28px;
  }

  .stats > div {
    padding-inline: 28px;
  }

  .stats dt {
    font-size: clamp(1.65rem, 0.85rem + 1.6vw, 2.35rem);
  }

  .stats dd {
    margin: 8px 0 0;
    font-size: 0.8125rem;
  }
}

/* —— Marquee —— */

.marquee {
  padding: 28px 0 8px;
  overflow: hidden;
}

.marquee__mask {
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 56s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 4vw, 3.75rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgb(50 48 47 / 0.18);
  font-optical-sizing: auto;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (hover: hover) {
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
}

/* —— Platform —— */

.platform {
  padding: var(--module) 0 48px;
}

.platform__copy {
  max-width: 36rem;
}

.platform__copy .lede {
  margin-top: 20px;
  max-width: 42ch;
}

.platform__shot {
  margin: 48px 0 0;
  overflow: hidden;
  border-radius: 12px;
}

.platform__shot img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1024px) {
  .platform {
    padding: var(--module) 0;
  }

  .platform__layout {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }

  .platform__copy {
    max-width: none;
  }

  .platform__copy .heading {
    white-space: nowrap;
  }

  .platform__shot {
    margin: 0;
    border-radius: 14px;
  }
}

/* —— Ambition —— */

.ambition {
  padding: var(--module) 0 16px;
}

@media (max-width: 767px) {
  .ambition {
    padding-bottom: 56px;
  }
}

.ambition__grid {
  display: grid;
  gap: 56px;
}

.ambition__intro {
  text-align: center;
}

.ambition__intro .lede {
  margin-top: 24px;
  margin-inline: auto;
  max-width: 36ch;
}

.ambition__list {
  border-top: 1px solid var(--line);
}

.ambition article {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.ambition__shot {
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
}

.ambition__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambition article .ambition__shot + p {
  margin-top: 20px;
}

.ambition article p {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.65;
}

.ambition article a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.875rem;
  font-weight: 500;
}

.ambition article a .arrow {
  color: var(--faint);
  transition: transform 0.2s ease;
}

.ambition article a:hover .arrow {
  transform: translateX(3px);
}

@media (min-width: 1024px) {
  .ambition__grid {
    gap: 64px;
  }

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

  .ambition article {
    position: relative;
    padding: 44px 0 0;
    border-bottom: 0;
  }

  .ambition article:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 0;
    left: -24px;
    width: 1px;
    background: var(--line);
  }

  .ambition article p {
    max-width: none;
  }
}

/* —— Quote —— */

.quote {
  padding: var(--module) 0;
  text-align: center;
}

.quote figure {
  margin: 0 auto;
}

.quote blockquote {
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.5rem + 6.5vw, 6rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-optical-sizing: auto;
}

.quote__line {
  display: inline;
}

@media (max-width: 767px) {
  .quote {
    padding: 128px 0;
  }

  .quote .wrap--wide {
    width: calc(100% - 24px);
  }

  .quote figure,
  .quote blockquote {
    overflow: visible;
  }

  .quote blockquote {
    font-size: calc((100vw - 24px) / 12.4);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.16;
    padding-inline: 0.02em;
  }

  .quote__line {
    display: block;
    white-space: nowrap;
  }
}

.quote figcaption {
  margin-top: 28px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink);
}

/* —— Advantage —— */

.advantage {
  padding: var(--module) 0 calc(var(--module) * 1.5);
}

.advantage__intro {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.advantage__intro .lede {
  margin-top: 20px;
  margin-inline: auto;
  max-width: 42ch;
}

.advantage__scale {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
}

.advantage__scale article {
  padding: 32px 16px 0 0;
  border-top: 1px solid var(--line);
}

.advantage__scale article:last-child {
  padding-right: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

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

.advantage__coins {
  flex: none;
  width: 2rem;
  height: auto;
  color: var(--ink);
  overflow: visible;
}

.advantage__coins--lg {
  width: 2.35rem;
}

.advantage__coin-body {
  fill: var(--ink);
}

.advantage__coin-face {
  fill: var(--surface);
}

.advantage__figure {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.1rem + 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-optical-sizing: auto;
}

.advantage .subhead {
  margin-top: 16px;
}

.advantage article .body {
  margin-top: 12px;
  max-width: 32ch;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 768px) {
  .advantage__scale {
    margin-top: 72px;
  }

  .advantage__scale article {
    padding: 48px 56px 0 0;
  }

  .advantage__scale article:last-child {
    padding-left: 56px;
  }

  .advantage__stat {
    gap: 16px;
  }

  .advantage__coins {
    width: 2.75rem;
  }

  .advantage__coins--lg {
    width: 3.25rem;
  }

  .advantage .subhead {
    margin-top: 28px;
  }
}

/* —— CTA band —— */

.cta {
  background: #09090a;
  color: var(--bg);
}

.cta__inner {
  padding: var(--module) 0;
}

.cta .heading {
  font-size: clamp(2.5rem, 1.4rem + 4.5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.cta .lede {
  margin-top: 24px;
  max-width: 34ch;
  color: rgb(250 248 245 / 0.62);
}

.cta .btn {
  margin-top: 40px;
}

/* —— Footer —— */

.footer {
  background: #09090a;
  color: var(--bg);
}

.footer__inner {
  padding: 56px 0 24px;
  border-top: 1px solid rgb(250 248 245 / 0.1);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__mark {
  display: block;
  margin-top: 40px;
  color: var(--bg);
}

.footer__mark .logo-wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.footer__tag {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(250 248 245 / 0.5);
  white-space: nowrap;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 0.875rem;
}

.footer nav a {
  color: rgb(250 248 245 / 0.58);
  transition: color 0.2s ease;
}

.footer nav a:hover {
  color: var(--bg);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgb(250 248 245 / 0.1);
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(250 248 245 / 0.4);
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer__mark {
    margin-top: 48px;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .footer__bottom p:last-child {
    flex-shrink: 0;
  }
}

/* —— Beta gate —— */

.beta-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-gate[hidden] {
  display: none;
}

.beta-gate__backdrop {
  display: none;
}

.beta-gate__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 32px var(--page-pad);
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

.beta-gate__panel .lede {
  margin-top: 16px;
  max-width: 28ch;
}

.beta-gate__panel .btn {
  margin-top: 36px;
}

@media (min-width: 768px) {
  .beta-gate__backdrop {
    display: block;
    position: absolute;
    inset: 0;
    background: rgb(9 9 10 / 0.48);
  }

  .beta-gate__panel {
    position: relative;
    width: min(28rem, calc(100% - 48px));
    height: auto;
    padding: 48px 40px 40px;
    border-radius: var(--radius-panel);
    box-shadow: 0 24px 80px rgb(12 10 8 / 0.18);
  }
}

body.beta-open {
  overflow: hidden;
}

/* —— Motion —— */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade {
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.d1 {
  animation-delay: 90ms;
}

.d2 {
  animation-delay: 180ms;
}

.d3 {
  animation-delay: 280ms;
}
