:root {
  color-scheme: light dark;
  --ink: #eaf3fc;
  --ink-soft: #f8fbff;
  --panel: #f7fbff;
  --panel-raised: #ffffff;
  --line: rgba(24, 61, 103, 0.15);
  --line-strong: rgba(8, 126, 169, 0.34);
  --text: #0b1830;
  --muted: #4f6177;
  --quiet: #708096;
  --cyan: #087ea9;
  --blue: #356fe0;
  --mint: #187d5a;
  --rose: #c64c63;
  --gold: #9d6a13;
  --page-background:
    radial-gradient(circle at 82% 8%, rgba(71, 162, 219, 0.2), transparent 28rem),
    linear-gradient(180deg, #edf6ff 0, #f8fbff 42rem, #f5f9fd 100%);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-subtle: rgba(255, 255, 255, 0.48);
  --glass-hover: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.84);
  --glass-shadow: 0 16px 44px rgba(38, 79, 123, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --feature-background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(233, 244, 254, 0.68));
  --hero-frame: rgba(255, 255, 255, 0.34);
  --hero-wash: linear-gradient(90deg, rgba(239, 247, 255, 0.52), transparent 36%, rgba(20, 73, 124, 0.04));
  --hero-image-opacity: 0.92;
  --hero-image-filter: saturate(0.92) contrast(0.98) brightness(1.04);
  --display: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1180px, calc(100% - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #071020;
    --ink-soft: #091329;
    --panel: #0d1b34;
    --panel-raised: #112342;
    --line: rgba(203, 224, 255, 0.14);
    --line-strong: rgba(87, 199, 242, 0.34);
    --text: #f2f7ff;
    --muted: #a5b5ca;
    --quiet: #71829b;
    --cyan: #57c7f2;
    --blue: #5c9eff;
    --mint: #87edba;
    --rose: #ff7a8c;
    --gold: #ffba59;
    --page-background:
      radial-gradient(circle at 78% 12%, rgba(56, 110, 201, 0.18), transparent 26rem),
      linear-gradient(180deg, #091329 0, #071020 42rem, #071020 100%);
    --glass: rgba(10, 25, 49, 0.62);
    --glass-subtle: rgba(255, 255, 255, 0.045);
    --glass-hover: rgba(31, 57, 93, 0.76);
    --glass-edge: rgba(198, 224, 255, 0.2);
    --glass-shadow: 0 18px 48px rgba(0, 5, 18, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --feature-background: linear-gradient(150deg, rgba(18, 40, 76, 0.88), rgba(10, 23, 44, 0.88));
    --hero-frame: rgba(8, 19, 40, 0.42);
    --hero-wash: linear-gradient(90deg, rgba(7, 16, 32, 0.42), transparent 44%, rgba(7, 16, 32, 0.12));
    --hero-image-opacity: 0.56;
    --hero-image-filter: saturate(0.88) contrast(1.06) brightness(0.72);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page-background);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 14px;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.site-header::before {
  position: absolute;
  top: 1px;
  left: 13%;
  width: 46%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--glass-edge), transparent);
  content: "";
  pointer-events: none;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(10, 74, 126, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

nav a,
.footer-links a {
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

nav a {
  padding: 8px 13px;
  border-radius: 999px;
}

nav a:hover,
.footer-links a:hover {
  color: var(--cyan);
}

nav a:hover {
  background: var(--glass-hover);
}

nav a:active {
  transform: scale(0.98);
}

main {
  display: block;
}

.hero {
  width: var(--page);
  min-height: 740px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 76px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.hero-app-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(23, 96, 153, 0.24), inset 0 1px rgba(255, 255, 255, 0.72);
}

.hero-identity .eyebrow {
  margin-bottom: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(135, 237, 186, 0.1);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(3.7rem, 7.3vw, 7.1rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.87;
}

h1 em,
.closing h2 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-summary {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions,
.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

a.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #06101f;
  box-shadow: 0 12px 30px rgba(67, 151, 236, 0.19);
}

span.button-primary {
  cursor: default;
}

.button-secondary {
  border-color: var(--line);
  background: var(--glass-subtle);
  color: var(--text);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

a.button-secondary:hover {
  border-color: var(--line-strong);
  background: var(--glass-hover);
}

.microcopy {
  margin: 16px 0 0;
  color: var(--quiet);
  font-family: var(--utility);
  font-size: 0.7rem;
}

.career-orbit {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  border-radius: 46px;
  background: var(--hero-frame);
  box-shadow: 0 30px 80px rgba(26, 77, 126, 0.15), inset 0 1px rgba(255, 255, 255, 0.24);
  isolation: isolate;
}

.career-orbit::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-wash);
  content: "";
  pointer-events: none;
}

.hero-landscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  opacity: var(--hero-image-opacity);
  filter: var(--hero-image-filter);
  pointer-events: none;
}

.orbit-glow {
  position: absolute;
  inset: 12% 2% 8% 4%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 137, 220, 0.2), rgba(8, 19, 40, 0) 68%);
  filter: blur(16px);
}

.orbit-track {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.track-shadow,
.track-line {
  fill: none;
  stroke-linecap: round;
}

.track-shadow {
  stroke: rgba(91, 161, 255, 0.08);
  stroke-width: 38;
}

.track-line {
  stroke: url(#arc-gradient);
  stroke-width: 4;
  stroke-dasharray: 7 12;
  animation: trace 2.4s ease-out both;
}

.track-point {
  stroke: var(--ink-soft);
  stroke-width: 5;
}

.track-point.victory {
  fill: var(--mint);
}

.track-point.defeat {
  fill: var(--rose);
}

.track-point.current {
  fill: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(87, 199, 242, 0.75));
}

@keyframes trace {
  from { stroke-dashoffset: 210; opacity: 0; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

.snapshot-card {
  position: absolute;
  z-index: 2;
  top: 24%;
  right: 3%;
  width: min(400px, 82%);
  padding: 22px;
  border: 1px solid rgba(109, 180, 255, 0.33);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(24, 53, 98, 0.92), rgba(10, 25, 51, 0.96));
  box-shadow: 0 40px 90px rgba(0, 4, 15, 0.48), inset 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(2.4deg);
  animation: card-in 700ms 160ms cubic-bezier(.2, .8, .2, 1) both;
  color: #f2f7ff;
  --line: rgba(203, 224, 255, 0.14);
  --muted: #a5b5ca;
  --quiet: #71829b;
  --cyan: #57c7f2;
  --mint: #87edba;
  --rose: #ff7a8c;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(22px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(2.4deg); }
}

.snapshot-topline,
.player-row span,
.record-strip span,
.match-row small,
.orbit-caption {
  font-family: var(--utility);
}

.snapshot-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

.player-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.player-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: linear-gradient(145deg, #31659a, #152c55);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
}

.player-row strong,
.player-row span {
  display: block;
}

.player-row strong {
  font-family: var(--display);
  font-size: 1.18rem;
}

.player-row span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

.record-strip {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.record-strip div {
  padding: 13px 4px;
  text-align: center;
}

.record-strip div + div {
  border-left: 1px solid var(--line);
}

.record-strip strong,
.record-strip span {
  display: block;
}

.record-strip strong {
  color: var(--mint);
  font-size: 1.05rem;
}

.record-strip span {
  margin-top: 1px;
  color: var(--quiet);
  font-size: 0.58rem;
}

.match-list {
  display: grid;
  gap: 8px;
}

.match-row {
  display: grid;
  grid-template-columns: 4px 34px 1fr auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.match-row i {
  width: 4px;
  height: 27px;
  border-radius: 4px;
}

.match-row i.win {
  background: var(--mint);
}

.match-row i.loss {
  background: var(--rose);
}

.champion-token {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #32566c;
  color: #b9ecff;
  font-weight: 800;
}

.champion-token.alt {
  background: #594267;
  color: #f1c8ff;
}

.champion-token.third {
  background: #4d5733;
  color: #e7f9a4;
}

.match-row b,
.match-row small {
  display: block;
}

.match-row b {
  overflow: hidden;
  font-size: 0.71rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-row small {
  color: var(--quiet);
  font-size: 0.58rem;
}

.match-row > strong {
  font-family: var(--utility);
  font-size: 0.66rem;
}

.orbit-caption {
  position: absolute;
  z-index: 3;
  left: 6%;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--quiet);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  transform: rotate(-8deg);
}

.orbit-caption span {
  color: var(--cyan);
  font-size: 1.55rem;
  font-weight: 800;
}

.statement,
.data-section,
.principles,
.closing {
  width: var(--page);
  margin: 0 auto;
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(30px, 8vw, 120px);
  align-items: end;
  margin-bottom: 58px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.statement-grid p,
.data-copy > p,
.closing > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--feature-background);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.feature-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: var(--utility);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-symbol {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.feature h3 {
  margin: 34px 0 12px;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
}

.mode-switch {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--quiet);
  font-size: 0.68rem;
  text-align: center;
}

.mode-switch span {
  padding: 7px 4px;
}

.mode-switch .selected {
  border-radius: 7px;
  background: rgba(87, 199, 242, 0.16);
  color: var(--cyan);
}

.rank-glyph {
  width: 166px;
  height: 166px;
  margin: auto auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 186, 89, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 186, 89, 0.12), transparent 68%);
  box-shadow: inset 0 0 0 12px rgba(255, 186, 89, 0.025);
}

.rank-glyph span,
.rank-glyph small {
  font-family: var(--utility);
  color: var(--gold);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.rank-glyph strong {
  margin: 1px 0 -3px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}

.mastery-bars {
  height: 112px;
  margin-top: auto;
  display: flex;
  align-items: end;
  gap: 9px;
}

.mastery-bars i {
  flex: 1;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(92, 158, 255, 0.12));
}

.mastery-bars i:nth-child(1) { height: 92%; }
.mastery-bars i:nth-child(2) { height: 72%; }
.mastery-bars i:nth-child(3) { height: 55%; }
.mastery-bars i:nth-child(4) { height: 38%; }
.mastery-bars i:nth-child(5) { height: 24%; }

.data-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(48px, 10vw, 140px);
}

.data-copy h2,
.principles-heading h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.4rem);
}

.data-copy > p {
  margin: 28px 0 20px;
}

.text-link {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.data-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.data-flow li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.flow-index,
.principle-list article > span {
  color: var(--cyan);
  font-family: var(--utility);
  font-size: 0.68rem;
}

.data-flow strong,
.data-flow small {
  display: block;
}

.data-flow strong {
  margin-bottom: 4px;
  font-size: 0.97rem;
}

.data-flow small {
  color: var(--muted);
  font-size: 0.8rem;
}

.principles {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(46px, 9vw, 130px);
}

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

.principle-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list h3 {
  margin: -5px 0 6px;
  font-size: 1.1rem;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.closing {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.closing-arc {
  position: absolute;
  z-index: -1;
  width: min(900px, 88vw);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateY(45%) rotate(34deg);
  box-shadow: -24px -24px 90px rgba(74, 145, 234, 0.08);
}

.closing h2 {
  max-width: 860px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
}

.closing > p:not(.section-label) {
  margin: 24px 0 30px;
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 34px 0 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.76rem;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: var(--text);
}

.footer-brand small {
  margin-top: -2px;
  color: var(--quiet);
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: end;
  gap: 20px;
  font-weight: 650;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 8px 0 0;
  line-height: 1.6;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--utility);
  font-size: 0.64rem;
}

/* Legal and support pages */
.compact-header {
  background: var(--glass);
}

.legal-main {
  width: min(780px, calc(100% - 40px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 88px 0 112px;
}

.legal-main h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

.legal-intro {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.08rem;
}

.effective-date {
  display: block;
  margin-top: 12px;
  color: var(--quiet);
  font-family: var(--utility);
  font-size: 0.68rem;
}

.legal-section {
  margin-top: 42px;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

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

.legal-section ul {
  padding-left: 1.2rem;
}

.legal-section li + li {
  margin-top: 8px;
}

.notice-card {
  margin: 38px 0;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--cyan) 7%, transparent);
}

.notice-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
}

.notice-card p {
  margin: 0;
}

.legal-main a:not(.button) {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(87, 199, 242, 0.35);
  text-underline-offset: 3px;
}

.error-main {
  width: var(--page);
  min-height: calc(100vh - 178px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 54px;
}

.error-code {
  color: transparent;
  font-family: var(--display);
  font-size: clamp(7rem, 20vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.8;
  -webkit-text-stroke: 1px var(--line-strong);
}

.error-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.error-copy p {
  max-width: 480px;
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .career-orbit {
    min-height: 570px;
    border-radius: 38px;
  }

  .snapshot-card {
    right: 9%;
  }

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

  .feature-mastery {
    grid-column: 1 / -1;
    min-height: 330px;
  }

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

  .data-copy,
  .principles-heading {
    max-width: 700px;
  }
}

@media (max-width: 650px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 54px;
    margin-top: 8px;
    padding: 7px 8px 7px 11px;
  }

  nav {
    gap: 0;
  }

  .home-nav a:nth-child(2),
  .home-nav a:nth-child(3) {
    display: none;
  }

  nav a {
    padding: 7px 10px;
  }

  .brand,
  .footer-brand {
    gap: 9px;
    font-size: 0.98rem;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 52px;
  }

  .hero-identity {
    align-items: flex-start;
    gap: 13px;
  }

  .hero-app-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .career-orbit {
    min-height: 470px;
    border-radius: 28px;
  }

  .hero-landscape {
    object-position: 59% center;
  }

  .snapshot-card {
    top: 22%;
    right: 1%;
    width: 94%;
    padding: 17px;
    border-radius: 24px;
  }

  .orbit-caption {
    bottom: 5%;
  }

  .statement,
  .data-section,
  .principles,
  .closing {
    padding: 78px 0;
  }

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

  .statement-grid {
    gap: 26px;
  }

  .feature,
  .feature-mastery {
    min-height: 350px;
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: start;
  }

  .error-main {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
    padding: 60px 0;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentColor;
    --line-strong: currentColor;
  }

  .site-header,
  .career-orbit,
  .feature,
  .button,
  .notice-card {
    border-width: 2px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .button-secondary {
    background: var(--panel-raised);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
