:root {
  color-scheme: dark;
  --ink: #070713;
  --midnight: #10122a;
  --violet: #2c1848;
  --plum: #5e2f7a;
  --rose: #ff6db8;
  --teal: #4fd6c7;
  --leaf: #67b06c;
  --gold: #e8b54f;
  --soft-gold: #fff0b8;
  --moon: #f8f0dc;
  --muted: rgba(248, 240, 220, .72);
  --panel: rgba(13, 12, 30, .76);
  --line: rgba(255, 240, 184, .25);
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--moon);
  background:
    radial-gradient(circle at 82% 18%, rgba(79, 214, 199, .16), transparent 28rem),
    radial-gradient(circle at 10% 34%, rgba(255, 109, 184, .12), transparent 24rem),
    linear-gradient(135deg, #080817 0%, #18132c 42%, #0b1026 100%);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image: url("assets/brand/noise.svg");
  opacity: .18;
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--moon);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-veil {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 240, 184, .06) 1px, transparent 1px),
    linear-gradient(rgba(255, 240, 184, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
}

.star-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--soft-gold);
  box-shadow: 0 0 12px var(--soft-gold);
  animation: star-drift var(--speed, 9s) ease-in-out infinite alternate;
  opacity: var(--alpha, .7);
}

@keyframes star-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(var(--dx, 20px), var(--dy, -18px), 0) scale(1.8); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem max(1rem, calc((100vw - 1180px) / 2));
  background: linear-gradient(to bottom, rgba(7, 7, 19, .74), rgba(7, 7, 19, .18));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 19, .86);
  border-bottom-color: var(--line);
}

.brand,
.site-footer > div {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
}

.brand span {
  white-space: nowrap;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.nav-links a,
.site-footer a {
  padding: .65rem .8rem;
  color: var(--muted);
  border-radius: 8px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--moon);
  background: rgba(255, 255, 255, .06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .65rem .95rem;
  color: #120c18;
  font-weight: 800;
  background: linear-gradient(135deg, var(--soft-gold), var(--gold), #ffb2d9);
  border: 1px solid rgba(255, 240, 184, .72);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(232, 181, 79, .18);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem max(1.25rem, calc((100vw - 1180px) / 2)) 4rem;
  isolation: isolate;
}

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

.hero-art {
  z-index: -3;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.03);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 7, 19, .92) 0%, rgba(7, 7, 19, .72) 35%, rgba(7, 7, 19, .28) 64%, rgba(7, 7, 19, .54) 100%),
    linear-gradient(to bottom, rgba(7, 7, 19, .18), rgba(7, 7, 19, .84));
}

.hero-copy {
  width: min(44rem, 100%);
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--teal);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  color: var(--soft-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  line-height: .9;
  text-shadow: 0 0 34px rgba(232, 181, 79, .28);
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  line-height: 1.02;
}

h3 {
  margin-bottom: .45rem;
  font-size: 1.2rem;
}

.hero-lede,
.section-heading p,
.portal-copy p,
.learn-copy p,
.app-copy p,
.signup-copy p,
.deck-copy p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1.09rem;
  line-height: 1.7;
}

.hero-lede {
  width: min(38rem, 100%);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.sigil-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.25rem;
  padding: .9rem 1.15rem;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid rgba(255, 240, 184, .35);
  box-shadow: var(--shadow);
}

.sigil-button::before {
  position: absolute;
  inset: -80% -20%;
  content: "";
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .44), transparent 58%);
  transform: translateX(-70%) rotate(12deg);
  transition: transform .6s ease;
}

.sigil-button:hover::before,
.sigil-button:focus-visible::before {
  transform: translateX(70%) rotate(12deg);
}

.sigil-button span,
.sigil-button {
  z-index: 1;
}

.sigil-button.primary {
  color: #130d19;
  background: linear-gradient(135deg, var(--soft-gold), var(--gold) 50%, #ff82c5);
}

.sigil-button.secondary {
  color: var(--moon);
  background: rgba(11, 10, 28, .68);
  backdrop-filter: blur(10px);
}

.hero-orbit {
  position: absolute;
  right: max(-6rem, calc((100vw - 1180px) / 2 - 3rem));
  top: 12%;
  width: min(43vw, 38rem);
  aspect-ratio: 1;
  z-index: -1;
  opacity: .95;
}

.orbit-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: slow-spin 34s linear infinite;
}

.orbit-card {
  position: absolute;
  width: 28%;
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .46);
  transform-origin: center;
  animation: card-float 6s ease-in-out infinite alternate;
}

.card-a {
  left: 16%;
  top: 11%;
  transform: rotate(-15deg);
}

.card-b {
  right: 11%;
  top: 37%;
  transform: rotate(13deg);
  animation-delay: -2s;
}

.card-c {
  left: 36%;
  bottom: 3%;
  transform: rotate(4deg);
  animation-delay: -4s;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes card-float {
  to { translate: 0 -18px; }
}

.scroll-sigil {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  width: 2px;
  height: 58px;
  background: linear-gradient(to bottom, transparent, var(--soft-gold), transparent);
  opacity: .75;
}

.scroll-sigil span {
  position: absolute;
  left: -5px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--soft-gold);
  animation: descend 1.8s ease-in-out infinite;
}

@keyframes descend {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(46px); }
}

.deck-band,
.portal-section,
.learn-strip,
.app-window,
.signup-section,
.legal-page {
  padding: 6.5rem max(1.25rem, calc((100vw - 1180px) / 2));
}

.section-heading {
  width: min(48rem, 100%);
}

.card-river {
  display: grid;
  grid-template-columns: repeat(6, minmax(8rem, 1fr));
  gap: 1rem;
  margin: 2.8rem 0;
  perspective: 1100px;
}

.card-river img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
  transform: translateY(var(--lift, 0)) rotate(var(--twist, 0));
  transition: transform .4s ease, filter .4s ease;
}

.card-river img:nth-child(odd) {
  --twist: -3deg;
}

.card-river img:nth-child(even) {
  --twist: 3deg;
  margin-top: 2rem;
}

.card-river img:hover {
  filter: saturate(1.2) brightness(1.08);
  transform: translateY(-1.25rem) rotate(0deg) scale(1.03);
}

.deck-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin: 0;
}

.stat-row div,
.lesson-tile,
.feature-card,
.signup-form,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    rgba(11, 10, 28, .7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-row div {
  min-width: 9rem;
  padding: 1rem;
}

.stat-row dt {
  color: var(--soft-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stat-row dd {
  margin: .4rem 0 0;
  color: var(--muted);
}

.portal-section {
  display: grid;
  grid-template-columns: minmax(22rem, 1.1fr) minmax(18rem, .9fr);
  align-items: center;
  gap: 4rem;
  min-height: 92svh;
  background:
    linear-gradient(180deg, rgba(103, 176, 108, .07), transparent 55%),
    linear-gradient(90deg, rgba(255, 109, 184, .08), transparent 45%);
}

.portal-stage {
  position: relative;
  min-height: 42rem;
  perspective: 1000px;
}

.portal-ring {
  position: absolute;
  inset: 8% 5%;
  border: 1px solid rgba(255, 240, 184, .28);
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, rgba(232, 181, 79, .12), rgba(79, 214, 199, .22), rgba(255, 109, 184, .16), rgba(232, 181, 79, .12));
  mask-image: radial-gradient(circle, transparent 58%, #000 59%, #000 62%, transparent 63%);
  animation: slow-spin 26s linear infinite reverse;
}

.portal-cat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64%, 24rem);
  border-radius: 8px;
  transform: translate(-50%, -50%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .42);
}

.feature-card {
  position: absolute;
  width: min(18rem, 45%);
  padding: 1rem;
}

.feature-card span,
.lesson-tile span {
  color: var(--gold);
  font-weight: 900;
  font-size: .83rem;
  text-transform: uppercase;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-read {
  left: 0;
  top: 8%;
}

.card-scan {
  right: 0;
  top: 38%;
}

.card-journal {
  left: 10%;
  bottom: 5%;
}

.learn-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, .78fr) minmax(0, 1.22fr);
  gap: 3rem;
  align-items: center;
  overflow: clip;
  background:
    radial-gradient(circle at 73% 45%, rgba(79, 214, 199, .14), transparent 22rem),
    radial-gradient(circle at 42% 70%, rgba(255, 109, 184, .1), transparent 20rem);
}

.learn-strip::before {
  position: absolute;
  inset: 4rem max(1.25rem, calc((100vw - 1180px) / 2));
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 240, 184, .12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 240, 184, .12) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(255, 240, 184, .1) 50%, transparent 51%);
  background-size: 7rem 7rem;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.learn-experience {
  display: grid;
  grid-template-columns: minmax(14rem, .62fr) minmax(22rem, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.learn-oracle {
  position: relative;
  min-height: 29rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 240, 184, .18), transparent 8rem),
    linear-gradient(160deg, rgba(79, 214, 199, .08), rgba(255, 109, 184, .08)),
    rgba(11, 10, 28, .62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.learn-oracle::before,
.learn-oracle::after {
  position: absolute;
  inset: 15%;
  content: "";
  border: 1px solid rgba(255, 240, 184, .24);
  border-radius: 50%;
  animation: slow-spin 22s linear infinite;
}

.learn-oracle::after {
  inset: 26%;
  border-style: dashed;
  border-color: rgba(79, 214, 199, .26);
  animation-duration: 16s;
  animation-direction: reverse;
}

.learn-cat {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  z-index: 2;
  width: min(76%, 16rem);
  border-radius: 8px;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5));
}

.learn-card {
  position: absolute;
  z-index: 1;
  width: 34%;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .46);
  animation: card-float 5.8s ease-in-out infinite alternate;
}

.learn-card.major {
  left: 7%;
  top: 12%;
  transform: rotate(-11deg);
}

.learn-card.minor {
  right: 8%;
  top: 21%;
  transform: rotate(12deg);
  animation-delay: -2s;
}

.review-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(255, 240, 184, .24);
  border-radius: 8px;
  background: rgba(7, 7, 19, .72);
  backdrop-filter: blur(14px);
}

.review-badge span {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-badge strong {
  color: var(--soft-gold);
}

.lesson-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lesson-path::before {
  position: absolute;
  left: 50%;
  top: .75rem;
  bottom: .75rem;
  width: 2px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--gold), var(--teal), transparent);
  opacity: .38;
}

.lesson-tile {
  position: relative;
  min-height: 11rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    linear-gradient(145deg, rgba(255, 240, 184, .1), rgba(79, 214, 199, .04)),
    linear-gradient(180deg, transparent, rgba(255, 109, 184, .08));
  overflow: hidden;
}

.lesson-tile::before {
  position: absolute;
  right: .8rem;
  top: .8rem;
  width: 2.4rem;
  height: 2.4rem;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--soft-gold) 0 18%, transparent 20%),
    conic-gradient(from 0deg, transparent, rgba(232, 181, 79, .72), transparent 70%);
  opacity: .72;
  animation: slow-spin 12s linear infinite;
}

.lesson-tile:nth-child(5) {
  grid-column: 1 / -1;
  min-height: 9rem;
}

.lesson-tile strong {
  color: var(--moon);
  font-size: 1.1rem;
  line-height: 1.35;
}

.app-window {
  display: grid;
  grid-template-columns: minmax(18rem, .8fr) minmax(18rem, 1fr);
  gap: 4rem;
  align-items: center;
}

.phone-shell {
  width: min(24rem, 100%);
  margin: 0 auto;
  padding: .85rem;
  border: 1px solid rgba(255, 240, 184, .28);
  border-radius: 2rem;
  background: linear-gradient(160deg, #090916, #23133b 55%, #0b1723);
  box-shadow: var(--shadow);
}

.phone-topbar {
  width: 7rem;
  height: .55rem;
  margin: .2rem auto 1rem;
  border-radius: 999px;
  background: rgba(255, 240, 184, .28);
}

.phone-screen {
  min-height: 34rem;
  padding: 1.1rem;
  display: grid;
  align-content: end;
  gap: 1rem;
  border-radius: 1.3rem;
  background:
    linear-gradient(to bottom, rgba(8, 8, 23, .18), rgba(8, 8, 23, .88)),
    url("assets/mascot/toe-bean-thinking.webp") center / cover;
  overflow: hidden;
}

.phone-screen img {
  width: 54%;
  justify-self: center;
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, .55);
  transform: rotate(-4deg);
}

.phone-screen div {
  padding: 1rem;
  border: 1px solid rgba(255, 240, 184, .22);
  border-radius: 8px;
  background: rgba(7, 7, 19, .72);
}

.phone-screen span {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .8rem;
}

.phone-screen p {
  margin: 0;
  color: var(--muted);
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
  padding: .8rem .4rem .2rem;
}

.phone-nav span {
  height: .35rem;
  border-radius: 999px;
  background: rgba(255, 240, 184, .3);
}

.spark-list {
  display: grid;
  gap: .75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.spark-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  line-height: 1.5;
}

.spark-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✦";
}

.signup-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, .85fr) minmax(19rem, 1fr);
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 109, 184, .12), transparent 34%),
    linear-gradient(315deg, rgba(79, 214, 199, .1), transparent 40%);
}

.signup-art {
  position: relative;
  min-height: 30rem;
}

.signup-cat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(68%, 22rem);
  border-radius: 8px;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
}

.signup-card {
  position: absolute;
  width: 28%;
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .5);
}

.signup-card.one {
  left: 0;
  top: 8%;
  transform: rotate(-13deg);
}

.signup-card.two {
  right: 1rem;
  top: 22%;
  transform: rotate(12deg);
}

.signup-card.three {
  left: 17%;
  bottom: 3%;
  transform: rotate(8deg);
}

.signup-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.signup-form label:not(.check-row) {
  display: grid;
  gap: .45rem;
}

.signup-form label span {
  color: var(--muted);
  font-weight: 800;
}

.phone-platform {
  display: grid;
  gap: .75rem;
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(255, 240, 184, .2);
  border-radius: 8px;
  background: rgba(4, 4, 13, .3);
}

.phone-platform[hidden] {
  display: none;
}

.phone-platform legend {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0 .25rem;
  color: var(--muted);
  font-weight: 800;
}

.help-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: #130d19;
  font-size: .8rem;
  font-weight: 900;
  border-radius: 999px;
  background: var(--soft-gold);
  cursor: help;
  outline: none;
}

.help-tip::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .6rem);
  z-index: 5;
  width: min(16rem, 72vw);
  padding: .65rem .75rem;
  color: var(--moon);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  content: attr(aria-label);
  border: 1px solid rgba(255, 240, 184, .25);
  border-radius: 8px;
  background: rgba(7, 7, 19, .94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, .25rem);
  transition: opacity .18s ease, transform .18s ease;
}

.help-tip:hover::after,
.help-tip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.platform-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 3rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(255, 240, 184, .22);
  border-radius: 8px;
  background: rgba(4, 4, 13, .58);
  cursor: pointer;
}

.radio-card:has(input:checked) {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 214, 199, .12);
}

.radio-card input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--teal);
}

.radio-card span {
  color: var(--moon);
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%;
  min-height: 3.2rem;
  padding: .8rem .95rem;
  color: var(--moon);
  background: rgba(4, 4, 13, .72);
  border: 1px solid rgba(255, 240, 184, .28);
  border-radius: 8px;
  outline: none;
}

.signup-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 214, 199, .16);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}

.check-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .18rem;
  accent-color: var(--gold);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-button[disabled] {
  cursor: wait;
  filter: grayscale(.4);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}

.form-note a {
  color: var(--soft-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1.25rem, calc((100vw - 1180px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 19, .72);
}

.legal-page {
  min-height: 100svh;
  padding-top: 8rem;
}

.legal-panel {
  width: min(52rem, 100%);
  padding: 2rem;
}

.legal-panel h1 {
  font-size: 3.4rem;
}

.legal-panel h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.legal-panel a {
  color: var(--soft-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-orbit {
    right: -9rem;
    top: 26%;
    width: 34rem;
    opacity: .6;
  }

  .card-river {
    grid-template-columns: repeat(3, minmax(7rem, 1fr));
  }

  .deck-copy,
  .portal-section,
  .learn-strip,
  .app-window,
  .signup-section {
    grid-template-columns: 1fr;
  }

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

  .learn-oracle {
    min-height: 22rem;
  }

  .learn-cat {
    width: min(52%, 14rem);
  }

  .learn-card {
    width: min(24%, 8rem);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: .85rem;
  }

  .brand span {
    max-width: 8.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    min-height: 2.5rem;
    padding: .55rem .7rem;
  }

  .hero {
    min-height: 86svh;
    padding-top: 5.8rem;
  }

  .hero-shade {
    background:
      linear-gradient(to bottom, rgba(7, 7, 19, .86), rgba(7, 7, 19, .48) 48%, rgba(7, 7, 19, .9)),
      linear-gradient(90deg, rgba(7, 7, 19, .9), rgba(7, 7, 19, .32));
  }

  .hero-art {
    object-position: 56% 66%;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-orbit {
    display: none;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .card-river {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }

  .card-river img {
    min-width: 42vw;
    scroll-snap-align: center;
  }

  .learn-strip {
    gap: 2rem;
  }

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

  .learn-strip::before,
  .lesson-path::before {
    display: none;
  }

  .learn-oracle {
    min-height: 21rem;
  }

  .learn-cat {
    width: min(64%, 14rem);
  }

  .learn-card {
    width: 28%;
  }

  .lesson-tile,
  .lesson-tile:nth-child(5) {
    grid-column: auto;
    min-height: 9.25rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .portal-stage {
    min-height: 38rem;
  }

  .feature-card {
    width: 12.5rem;
  }

  .card-read {
    top: 0;
  }

  .card-scan {
    top: 42%;
  }

  .card-journal {
    left: 0;
  }

  .signup-art {
    min-height: 24rem;
  }

  .signup-card {
    width: 31%;
  }

  .platform-options {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
