:root {
  color-scheme: dark;
  --midnight: #060929;
  --midnight-deep: #03051b;
  --navy: #131747;
  --indigo: #3829a8;
  --violet: #9147f5;
  --blue: #308cf9;
  --cyan: #21dbf5;
  --sky: #85d4ff;
  --coral: #ff5754;
  --pink: #f54db0;
  --mint: #40e8b3;
  --gold: #ffb82e;
  --panel: #12143d;
  --text: #f8f9ff;
  --muted: #adb5d4;
  --faint: #7881aa;
  --line: rgba(133, 212, 255, 0.22);
  --line-strong: rgba(33, 219, 245, 0.5);
  --surface: rgba(18, 20, 61, 0.72);
  --surface-strong: rgba(19, 23, 71, 0.94);
  --gradient: linear-gradient(120deg, var(--cyan), var(--blue) 42%, var(--violet) 72%, var(--pink));
  --warm-gradient: linear-gradient(120deg, var(--gold), #ff7a2e 48%, var(--coral));
  --font-display: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(145, 71, 245, 0.22), transparent 24rem),
    radial-gradient(circle at 84% 17%, rgba(48, 140, 249, 0.18), transparent 27rem),
    linear-gradient(180deg, var(--midnight-deep), var(--midnight) 34%, #070a2e 72%, var(--midnight-deep));
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 5% 15%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.7px),
    radial-gradient(circle at 21% 72%, rgba(33, 219, 245, 0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 68% 9%, rgba(255, 184, 46, 0.9) 0 1.2px, transparent 2px),
    radial-gradient(circle at 92% 42%, rgba(245, 77, 176, 0.72) 0 1px, transparent 1.8px);
  background-size: 180px 210px, 240px 270px, 310px 300px, 220px 260px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 12% -12% auto;
  z-index: -1;
  height: 52vw;
  border: 1px solid rgba(48, 140, 249, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(145, 71, 245, 0.1), inset 0 0 70px rgba(33, 219, 245, 0.05);
  content: "";
  pointer-events: none;
  transform: rotate(-8deg);
}

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

img {
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sky);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.shell {
  width: var(--content);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(3, 5, 27, 0.54);
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(3, 5, 27, 0.88);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 5px 12px rgba(33, 219, 245, 0.23));
}

.brand span {
  max-width: 112px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav > a:not(.button) {
  color: #d7dcf3;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav > a:not(.button):hover {
  color: white;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: white;
  cursor: pointer;
}

.menu-button svg {
  width: 24px;
  margin: auto;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 17px;
  color: white;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--gradient);
  box-shadow: 0 14px 34px rgba(48, 140, 249, 0.26), inset 0 1px rgba(255, 255, 255, 0.38);
}

.button-primary:hover {
  box-shadow: 0 18px 45px rgba(145, 71, 245, 0.38), inset 0 1px rgba(255, 255, 255, 0.4);
}

.button-secondary {
  border-color: rgba(33, 219, 245, 0.48);
  background: rgba(8, 14, 50, 0.68);
}

.button-small {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 14px;
  font-size: 0.86rem;
}

.button svg {
  width: 20px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - 78px);
  padding: clamp(44px, 5vw, 68px) 0 clamp(68px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
}

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

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 7vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 640px;
  margin: 28px 0 0;
  color: #c1c8e5;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.proof-line li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proof-line svg {
  width: 17px;
  color: var(--mint);
}

.hero-media {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  justify-self: center;
}

.hero .phone {
  width: min(100%, 320px);
}

.phone {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 9px;
  border: 1px solid rgba(255, 184, 46, 0.48);
  border-radius: 48px;
  background: linear-gradient(145deg, #252744, #090b1e 40%, #151526);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.54), 0 0 60px rgba(48, 140, 249, 0.17);
}

.phone::before {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  width: 31%;
  height: 27px;
  border-radius: 18px;
  background: #05060f;
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  border-radius: 39px;
}

.orbit-mark {
  position: absolute;
  right: -70px;
  bottom: 16%;
  z-index: -1;
  width: 170px;
  filter: drop-shadow(0 22px 30px rgba(145, 71, 245, 0.36));
  transform: rotate(10deg);
}

.orbit {
  position: absolute;
  inset: 14% -26% 15% -28%;
  z-index: -2;
  border: 2px solid rgba(145, 71, 245, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(33, 219, 245, 0.12);
  transform: rotate(-18deg);
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 138px) 0;
}

.section-compact {
  padding: clamp(58px, 7vw, 92px) 0;
}

.section-band {
  border-block: 1px solid rgba(133, 212, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 20, 61, 0.42), rgba(7, 10, 46, 0.2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(38px, 6vw, 68px);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2,
.cta-panel h2,
.guide-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading p:not(.section-label) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.center p:not(.section-label) {
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  padding: 8px clamp(26px, 4vw, 58px) 0;
  text-align: center;
}

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

.step-number {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid rgba(133, 212, 255, 0.5);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--violet));
  box-shadow: 0 10px 25px rgba(145, 71, 245, 0.28);
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
}

.step h3,
.mode h3,
.benefit h3,
.board-level h3,
.guide-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.step p,
.mode p,
.benefit p,
.board-level p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.mode-layout,
.feature-layout,
.story-layout {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
}

.phone-pair {
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
}

.phone-pair .phone {
  width: 78%;
  margin-left: 0;
}

.phone-pair .phone.secondary {
  position: absolute;
  right: 0;
  bottom: -34px;
  z-index: -1;
  width: 64%;
  opacity: 0.55;
  transform: rotate(5deg);
}

.modes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode {
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(19, 23, 71, 0.85), rgba(12, 14, 48, 0.67));
}

.mode:first-child,
.mode:last-child {
  grid-column: span 2;
}

.mode-symbol,
.benefit-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 14px;
  background: rgba(33, 219, 245, 0.12);
  color: var(--cyan);
}

.mode:nth-child(2) .mode-symbol {
  background: rgba(255, 87, 84, 0.14);
  color: var(--coral);
}

.mode:nth-child(3) .mode-symbol {
  background: rgba(255, 184, 46, 0.14);
  color: var(--gold);
}

.mode:nth-child(4) .mode-symbol,
.mode:nth-child(5) .mode-symbol {
  background: rgba(145, 71, 245, 0.14);
  color: #c6a4ff;
}

.mode-symbol svg,
.benefit-symbol svg {
  width: 24px;
}

.premium-note {
  display: inline-block;
  margin-top: 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screenshot-stage {
  display: grid;
  align-items: end;
  gap: clamp(16px, 3vw, 34px);
  grid-template-columns: 0.88fr 1fr 0.88fr;
}

.screenshot-stage figure {
  margin: 0;
  text-align: center;
}

.screenshot-stage figure:nth-child(2) {
  transform: translateY(-34px);
}

.screenshot-stage .phone {
  width: 100%;
  max-width: 330px;
  border-radius: 40px;
}

.screenshot-stage .phone img {
  border-radius: 32px;
}

.screenshot-stage figcaption {
  margin-top: 17px;
  color: #dfe3f6;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 850;
}

.benefit-intro {
  max-width: 460px;
}

.benefit-intro p {
  color: var(--muted);
}

.benefits {
  display: grid;
  gap: 28px 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.benefit:nth-child(2) .benefit-symbol {
  background: rgba(64, 232, 179, 0.12);
  color: var(--mint);
}

.benefit:nth-child(3) .benefit-symbol {
  background: rgba(245, 77, 176, 0.12);
  color: var(--pink);
}

.benefit:nth-child(4) .benefit-symbol {
  background: rgba(255, 184, 46, 0.12);
  color: var(--gold);
}

.board-levels {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.board-level {
  position: relative;
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(12, 14, 48, 0.62);
}

.board-level::after {
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--accent, var(--cyan));
  content: "";
  filter: blur(60px);
  opacity: 0.18;
}

.board-level:nth-child(2) { --accent: var(--blue); }
.board-level:nth-child(3) { --accent: var(--violet); }
.board-level:nth-child(4) { --accent: var(--pink); }

.mini-board {
  display: grid;
  width: 116px;
  margin-bottom: 28px;
  gap: 6px;
  grid-template-columns: repeat(var(--columns), 1fr);
}

.mini-board span {
  aspect-ratio: 1;
  border: 1px solid rgba(133, 212, 255, 0.45);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(48, 140, 249, 0.74), rgba(145, 71, 245, 0.78));
  box-shadow: 0 3px 8px rgba(48, 140, 249, 0.18);
}

.board-data {
  display: block;
  margin-top: 7px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
}

.guide-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.guide-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(19, 23, 71, 0.86), rgba(12, 14, 48, 0.65));
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.guide-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(24, 29, 84, 0.92), rgba(15, 17, 57, 0.72));
  color: white;
  transform: translateY(-4px);
}

.guide-card:first-child {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 184, 46, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(26, 32, 94, 0.92), rgba(18, 20, 61, 0.8));
}

.guide-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 850;
}

.guide-link svg {
  width: 20px;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
  content: "+";
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 760px;
  padding: 0 0 28px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.cta-wrap {
  padding: 24px 0 clamp(80px, 10vw, 130px);
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 38px;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(245, 77, 176, 0.55);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 50%, rgba(33, 219, 245, 0.15), transparent 18rem),
    radial-gradient(circle at 86% 20%, rgba(245, 77, 176, 0.17), transparent 20rem),
    rgba(18, 20, 61, 0.84);
  box-shadow: var(--shadow);
  grid-template-columns: auto 1fr auto;
}

.cta-panel > img {
  width: 112px;
  border-radius: 25px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.cta-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 27, 0.72);
}

.footer-inner {
  display: grid;
  gap: 34px;
  padding: 50px 0 30px;
  grid-template-columns: 1fr auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(133, 212, 255, 0.12);
  color: var(--faint);
  font-size: 0.78rem;
}

/* Editorial pages */
.page-hero {
  padding: clamp(72px, 10vw, 142px) 0 clamp(64px, 8vw, 110px);
  text-align: center;
}

.page-hero h1 {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(2.9rem, 6vw, 5.6rem);
}

.page-hero p {
  max-width: 740px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.article-layout {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) 290px;
}

.article {
  max-width: 780px;
}

.article h2 {
  margin: 2.2em 0 0.65em;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 920;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.article h3 {
  margin: 1.8em 0 0.5em;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.article p,
.article li {
  color: #c4cae2;
}

.article strong {
  color: white;
}

.article ol,
.article ul {
  padding-left: 1.3em;
}

.article li + li {
  margin-top: 0.65em;
}

.article .lead {
  color: #e2e6f7;
  font-size: 1.18rem;
  line-height: 1.7;
}

.article-callout {
  margin: 38px 0;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(19, 23, 71, 0.68);
}

.article-callout p:first-child {
  margin-top: 0;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article figure {
  margin: 46px 0;
}

.article figure img {
  width: min(100%, 390px);
  margin-inline: auto;
  border: 8px solid rgba(19, 23, 71, 0.92);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.article figcaption {
  margin-top: 14px;
  color: var(--faint);
  font-size: 0.8rem;
  text-align: center;
}

.article table {
  width: 100%;
  margin: 34px 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article th,
.article td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  color: #c4cae2;
  text-align: left;
}

.article th {
  color: white;
  font-family: var(--font-display);
  font-weight: 850;
}

.article-sidebar {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(18, 20, 61, 0.72);
}

.article-sidebar img {
  width: 82px;
  margin-bottom: 18px;
  border-radius: 19px;
}

.article-sidebar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

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

.article-sidebar .button {
  width: 100%;
  margin-top: 8px;
  padding-inline: 14px;
  font-size: 0.85rem;
}

.guide-index {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.guide-index .guide-card:first-child {
  grid-column: span 2;
}

.legal {
  max-width: 820px;
  margin-inline: auto;
}

.legal h2 {
  margin-top: 2em;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.legal p,
.legal li {
  color: #c4cae2;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(5, 8, 35, 0.97);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 8px;
  }

  .desktop-nav.is-open {
    display: flex;
  }

  .desktop-nav > a:not(.button) {
    padding: 10px;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .mode-layout,
  .feature-layout,
  .story-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-summary {
    margin-inline: auto;
  }

  .hero-actions,
  .proof-line {
    justify-content: center;
  }

  .hero-media {
    margin-top: 18px;
  }

  .mode-layout .phone-pair {
    order: 2;
  }

  .board-levels {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-card:first-child {
    grid-column: span 2;
  }

  .cta-panel {
    grid-template-columns: auto 1fr;
  }

  .cta-panel .button {
    grid-column: 1 / -1;
  }

  .article-sidebar {
    position: static;
    display: grid;
    align-items: center;
    gap: 10px 20px;
    grid-template-columns: auto 1fr;
  }

  .article-sidebar img {
    margin: 0;
    grid-row: span 2;
  }

  .article-sidebar .button {
    grid-column: 1 / -1;
  }
}

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

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 41px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  .hero-summary {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-line {
    align-items: center;
    flex-direction: column;
  }

  .hero-media {
    width: min(92%, 420px);
  }

  .orbit-mark {
    right: 0;
    width: 120px;
  }

  .orbit {
    inset: 18% 0 20%;
  }

  .phone-pair .phone.secondary {
    right: 4%;
    width: 60%;
    transform: rotate(3deg);
  }

  .steps,
  .modes,
  .benefits,
  .board-levels,
  .guide-grid,
  .guide-index {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 34px 10px;
  }

  .step + .step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mode:first-child,
  .mode:last-child,
  .guide-card:first-child,
  .guide-index .guide-card:first-child {
    grid-column: auto;
  }

  .screenshot-stage {
    width: min(84%, 370px);
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .screenshot-stage figure:nth-child(2) {
    transform: none;
  }

  .screenshot-stage figure:nth-child(3) {
    display: none;
  }

  .board-level {
    min-height: 0;
  }

  .guide-card {
    min-height: 240px;
  }

  .cta-panel {
    text-align: center;
    grid-template-columns: 1fr;
  }

  .cta-panel > img {
    margin-inline: auto;
  }

  .cta-panel .button {
    grid-column: auto;
  }

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

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

  .footer-note {
    grid-column: auto;
  }

  .article table {
    display: block;
    overflow-x: auto;
  }

  .article-sidebar {
    display: block;
  }

  .article-sidebar img {
    margin-bottom: 18px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
