/* SpudioFX design system: tokens, base, components, pages.
   Legacy pages (service pages, project pages, the hub's blog) still use /styles.css. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------ tokens */
:root {
  color-scheme: dark;

  --bg: #0b1020;
  --bg-2: #101827;
  --surface: #151d31;
  --surface-2: #1c263b;

  --brand: #6366f1;
  --brand-strong: #4f46e5; /* button fill: white text on it is 6.3:1, #6366F1 would be 4.5:1 */
  --brand-stronger: #4338ca;
  --brand-light: #818cf8;
  --tech: #22d3ee;

  --text: #f8fafc;
  --text-2: #cbd5e1;
  --text-muted: #94a3b8;
  --text-disabled: #64748b;

  --border: #293449;
  --border-subtle: #202b3e;
  --border-strong: #475569;

  --success: #34d399;
  --warning: #fbbf24;
  --error: #fb7185;

  --apps: #22d3ee;
  --apps-strong: #0891b2;
  --games: #a78bfa;
  --games-strong: #7c3aed;
  --authors: #fbbf24; /* amber/gold */
  --authors-strong: #d97706;

  /* The accent in play. Hub sections and hub pages swap it via [data-hub]. */
  --accent: var(--brand-light);
  --accent-strong: var(--brand-strong);
  --accent-ink: #ffffff;
  --accent-fill: var(--brand-strong);
  --accent-fill-hover: var(--brand-stronger);
  --accent-rgb: 99 102 241;

  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 8px scale */
  --s-1: 4px;
  --s0: 8px;
  --s1: 12px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s7: 64px;
  --s8: 80px;
  --s9: 96px;
  --s10: 128px;

  --r-btn: 10px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;

  --shadow-1: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 1px 2px rgb(2 6 23 / 0.4);
  --shadow-2: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 12px 32px -12px rgb(2 6 23 / 0.7);
  --shadow-3: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 32px 80px -24px rgb(2 6 23 / 0.85);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-med: 260ms;

  --fs-hero: clamp(2.4rem, 1.2rem + 5.2vw, 5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
}

[data-hub="apps"] {
  --accent: var(--apps);
  --accent-strong: var(--apps-strong);
  --accent-fill: var(--apps);
  --accent-fill-hover: #67e8f9;
  --accent-ink: #052029;
  --accent-rgb: 34 211 238;
}
[data-hub="games"] {
  --accent: var(--games);
  --accent-strong: var(--games-strong);
  --accent-fill: var(--games);
  --accent-fill-hover: #c4b5fd;
  --accent-ink: #1a0b3b;
  --accent-rgb: 167 139 250;
}
[data-hub="authors"] {
  --accent: var(--authors);
  --accent-strong: var(--authors-strong);
  --accent-fill: var(--authors);
  --accent-fill-hover: #fcd34d;
  --accent-ink: #2a1600;
  --accent-rgb: 251 191 36;
}

/* ------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::selection {
  background: rgb(99 102 241 / 0.45);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.muted {
  color: var(--text-muted);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--brand-strong);
  color: #fff;
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--article {
  max-width: calc(1040px + var(--gutter) * 2);
}
.narrow {
  max-width: calc(720px + var(--gutter) * 2);
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.section--panel {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--border-subtle);
}

.grid {
  display: grid;
  gap: var(--s3);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
@media (min-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------------------ type helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.eyebrow--pill {
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(21 29 49 / 0.7);
  color: var(--text-2);
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.eyebrow--hub {
  color: var(--accent);
  border-color: rgb(var(--accent-rgb) / 0.35);
  background: rgb(var(--accent-rgb) / 0.08);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--tech);
  box-shadow: 0 0 0 3px rgb(34 211 238 / 0.18);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-title {
  font-size: var(--fs-h2);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.section-lead {
  margin-top: var(--s3);
  font-size: var(--fs-lead);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 640px;
}
.section-lead .status {
  vertical-align: 2px;
  margin-left: 6px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 550;
  font-size: var(--fs-sm);
}
.text-link .icon {
  transition: transform var(--t-fast) var(--ease);
}
.text-link:hover .icon {
  transform: translateX(3px);
}

/* ------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-border: var(--border);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-btn);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.btn .icon {
  flex: none;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .icon:last-child {
  transform: translateX(2px);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.875rem;
}
.btn--lg {
  min-height: 50px;
  padding: 13px 22px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  --btn-bg: var(--brand-strong);
  --btn-fg: #fff;
  --btn-border: rgb(129 140 248 / 0.5);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.18) inset,
    0 8px 24px -10px rgb(79 70 229 / 0.8);
}
.btn--primary:hover {
  --btn-bg: var(--brand-stronger);
}
.btn--secondary {
  --btn-bg: rgb(21 29 49 / 0.8);
  --btn-border: var(--border);
}
.btn--secondary:hover {
  --btn-bg: var(--surface-2);
  --btn-border: var(--border-strong);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-border: transparent;
  --btn-fg: var(--text-2);
}
.btn--ghost:hover {
  --btn-fg: var(--text);
  --btn-bg: rgb(255 255 255 / 0.04);
}
.btn--hub {
  --btn-bg: var(--accent-fill);
  --btn-fg: var(--accent-ink);
  --btn-border: transparent;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset;
}
.btn--hub:hover {
  --btn-bg: var(--accent-fill-hover);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
}
.btn[aria-busy="true"] {
  cursor: progress;
}
.btn[aria-busy="true"] .btn__spinner {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-btn);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover {
  border-color: var(--border-strong);
}

/* ------------------------------------------------------------ status chips */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status--planned {
  color: var(--text-2);
  border-color: var(--border);
  background: rgb(148 163 184 / 0.08);
}
.status--planned::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.status--dev {
  color: var(--warning);
  border-color: rgb(251 191 36 / 0.3);
  background: rgb(251 191 36 / 0.08);
}
.status--live,
.status--beta {
  color: var(--success);
  border-color: rgb(52 211 153 / 0.3);
  background: rgb(52 211 153 / 0.08);
}
.status--concept,
.status--example {
  color: var(--text-muted);
  border-color: var(--border);
  background: transparent;
}

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    backdrop-filter var(--t-med) var(--ease);
}
.site-header.is-scrolled,
.no-js .site-header {
  background: rgb(11 16 32 / 0.78);
  border-bottom-color: var(--border-subtle);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: none;
}
.logo__mark {
  width: 28px;
  height: 28px;
}
.logo__word {
  font-size: 1.125rem;
  font-weight: 640;
  letter-spacing: -0.03em;
}
.logo__word span {
  color: var(--brand-light);
}
.nav {
  flex: 1;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav__item--menu {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}
.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--text);
  background: rgb(255 255 255 / 0.05);
}
.nav__link[aria-current="page"] {
  color: var(--text);
}
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
}
.nav__trigger .icon {
  transition: transform var(--t-fast) var(--ease);
}
.nav__trigger[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin-left: auto;
}
.drawer-toggle {
  display: none;
}

.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 440px;
  padding: var(--s1);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgb(16 24 39 / 0.98);
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.js .menu:not([hidden]) {
  animation: menu-in var(--t-med) var(--ease);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.menu__label {
  padding: 8px 12px 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menu__hubs {
  list-style: none;
}
.menu-hub {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) var(--ease);
}
.menu-hub:hover,
.menu-hub:focus-visible {
  background: rgb(var(--accent-rgb) / 0.08);
}
.menu-hub__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.25);
}
.menu-hub__name {
  display: block;
  color: var(--text);
  font-weight: 580;
  font-size: 0.9375rem;
}
.menu-hub__text {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.menu__foot {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  padding: 10px 6px 4px;
  border-top: 1px solid var(--border-subtle);
}
.menu__foot a {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-2);
}
.menu__foot a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.05);
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(2 6 23 / 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding: 14px var(--gutter) max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-3);
}
.js .drawer:not([hidden]) .drawer__panel {
  animation: drawer-in var(--t-med) var(--ease);
}
@keyframes drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  margin-bottom: var(--s2);
}
.drawer .menu__label {
  padding-inline: 0;
}
.drawer__hubs,
.drawer__links {
  list-style: none;
  display: grid;
  gap: 6px;
}
.drawer__hub {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text);
  font-weight: 560;
}
.drawer__hub[aria-current="page"] {
  border-color: rgb(var(--accent-rgb) / 0.5);
}
.drawer__arrow {
  margin-left: auto;
  color: var(--text-muted);
}
.drawer__links {
  margin: var(--s2) 0;
  gap: 0;
}
.drawer__links a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-2);
  font-size: 1.0625rem;
}
.drawer__links a[aria-current="page"] {
  color: var(--text);
}
body.drawer-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .drawer-toggle {
    display: inline-grid;
  }
}
@media (max-width: 420px) {
  .header-cta {
    display: none;
  }
}

/* ------------------------------------------------------------ atmosphere */
.atmos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.atmos__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.atmos__glow--a {
  width: 760px;
  height: 520px;
  left: 50%;
  top: -260px;
  transform: translateX(-70%);
  background: radial-gradient(closest-side, rgb(99 102 241 / 0.36), transparent);
}
.atmos__glow--b {
  width: 560px;
  height: 420px;
  right: -160px;
  top: 120px;
  background: radial-gradient(closest-side, rgb(34 211 238 / 0.14), transparent);
}
.atmos--hub .atmos__glow--a {
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.24), transparent);
}
.atmos--hub .atmos__glow--b {
  background: radial-gradient(closest-side, rgb(99 102 241 / 0.18), transparent);
}
.atmos--soft .atmos__glow--a {
  opacity: 0.7;
}
.atmos__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(148 163 184 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(148 163 184 / 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(16px, 3vw, 40px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(48px, 6vw, 72px);
}
.hero__copy {
  max-width: 820px;
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 620;
}
.hero__title--hub {
  font-size: clamp(2.375rem, 1.35rem + 4.2vw, 4.25rem);
  line-height: 1.03;
}
.hero__title-accent {
  background: linear-gradient(100deg, #f8fafc 0%, #c7d2fe 30%, #818cf8 62%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: var(--s3);
  max-width: 640px;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin-top: var(--s4);
}
.hero__actions--center {
  justify-content: center;
}
.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: var(--s3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.hero__for {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: var(--s5);
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.hero__for li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__for .icon {
  color: var(--accent);
}

@media (min-width: 1100px) {
  .hero--hub .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* ------------------------------------------------------------ hero workspace (concept) */
.ws {
  margin: 0;
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgb(28 38 59 / 0.9), rgb(16 24 39 / 0.95));
  box-shadow: var(--shadow-3), 0 0 0 1px rgb(99 102 241 / 0.08);
  overflow: hidden;
  font-size: 0.8125rem;
  color: var(--text-2);
}
.ws::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(129 140 248 / 0.6), rgb(34 211 238 / 0.5), transparent);
}
.ws__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgb(11 16 32 / 0.5);
}
.ws__dots {
  display: flex;
  gap: 6px;
}
.ws__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.ws__path {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.ws__path span {
  margin: 0 6px;
  color: var(--text-disabled);
}
.ws__badge {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ws__body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 380px;
}
.ws__side {
  padding: 20px 14px;
  border-right: 1px solid var(--border-subtle);
  background: rgb(11 16 32 / 0.28);
}
.ws__label {
  margin: 0 8px 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-disabled);
}
.ws__label:not(:first-child) {
  margin-top: 22px;
}
.ws__nav {
  list-style: none;
  display: grid;
  gap: 2px;
}
.ws__nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--text-muted);
}
.ws__nav li.is-active {
  background: rgb(99 102 241 / 0.14);
  color: var(--text);
}
.ws__nav .icon {
  color: currentColor;
}
.ws__hubs i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}
.ws__main {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.ws__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.ws__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ws__title {
  margin-top: 4px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.ws__weeks,
.ws-lane__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.ws-lane--head {
  padding-block: 0;
  border: 0;
  background: none;
}
.ws__weeks {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-disabled);
  text-align: center;
}
.ws__lanes {
  display: grid;
  gap: 10px;
}
.ws-lane {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: rgb(11 16 32 / 0.35);
}
.ws-lane__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 560;
}
.ws-lane__label i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}
.ws-lane__track {
  gap: 4px;
  position: relative;
}
.ws-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  grid-row: 1;
}
.ws-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-bar--done {
  background: rgb(var(--accent-rgb) / 0.16);
  color: var(--accent);
}
.ws-bar--active {
  position: relative;
  background: rgb(var(--accent-rgb) / 0.26);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.55);
}
.ws-bar--todo {
  background: transparent;
  color: var(--text-muted);
  box-shadow: inset 0 0 0 1px var(--border);
}
.ws-lane__to {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  color: var(--accent);
  font-weight: 560;
  font-size: 0.75rem;
}
.ws__foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-top: auto;
}
.ws-card {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: rgb(21 29 49 / 0.7);
}
.ws-card__title,
.float-card__title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ws-card__big {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}
.ws-card__meta {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.ws-progress {
  height: 6px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.ws-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--tech));
}
.ws-checks {
  list-style: none;
  display: grid;
  gap: 8px;
}
.ws-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-2);
}
.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
}
.tick--done {
  border-color: transparent;
  background: var(--success);
  color: #04261a;
}
.tick--active {
  border-color: var(--brand-light);
  background: radial-gradient(circle, var(--brand-light) 0 3px, transparent 3.5px);
}

@media (prefers-reduced-motion: no-preference) {
  .ws-bar--active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.1) 50%, transparent 70%);
    background-size: 220% 100%;
    animation: sheen 3.6s var(--ease) infinite;
  }
  .ws-progress span {
    animation: grow 1.6s var(--ease) both 0.4s;
    transform-origin: left;
  }
}
@keyframes sheen {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

@media (max-width: 860px) {
  .ws__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ws__side {
    display: none;
  }
}
@media (max-width: 560px) {
  .ws__main {
    padding: 16px;
  }
  .ws-lane--head {
    display: none;
  }
  .ws-lane {
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
  }
  .ws-lane__track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .ws-bar {
    padding: 0 6px;
    font-size: 0.6875rem;
  }
  .ws-bar .icon {
    display: none;
  }
  .ws__foot {
    grid-template-columns: 1fr;
  }
  .ws-card--focus {
    display: none;
  }
  .ws__path {
    display: none;
  }
}

/* ------------------------------------------------------------ problem cards */
.problem-card {
  position: relative;
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--surface), rgb(21 29 49 / 0.4));
  box-shadow: var(--shadow-1);
  transition:
    border-color var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}
.problem-card:hover {
  border-color: var(--border);
}
.problem-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s3);
  border-radius: 11px;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.22);
}
.problem-card h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.problem-card p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.pain-note {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s3);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  border: 1px dashed rgb(var(--accent-rgb) / 0.35);
  background: rgb(var(--accent-rgb) / 0.04);
}
.pain-note .problem-card__icon {
  margin: 0;
  flex: none;
}
.pain-note strong {
  color: var(--text);
}

/* ------------------------------------------------------------ hub cards (home) */
.section--hubs {
  background:
    radial-gradient(60% 40% at 50% 0%, rgb(99 102 241 / 0.08), transparent),
    linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg));
}
.hub-grid {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 960px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hub-card--wide {
    grid-column: 1 / -1;
  }
}
.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(var(--accent-rgb) / 0.1), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow-2);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color var(--t-med) var(--ease),
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}
.hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}
.hub-card:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.hub-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hub-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.hub-card__title {
  margin-top: var(--s2);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.hub-card__copy {
  margin-top: var(--s1);
  color: var(--text-2);
  max-width: 520px;
}
.hub-card__features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: var(--s3) 0 var(--s4);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.hub-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hub-card__features .icon {
  flex: none;
  color: var(--accent);
}
.hub-card__visual {
  position: relative;
  margin-top: auto;
  min-height: 260px;
  border-top: 1px solid var(--border-subtle);
  background:
    radial-gradient(70% 80% at 50% 100%, rgb(var(--accent-rgb) / 0.12), transparent),
    rgb(11 16 32 / 0.35);
}
@media (min-width: 960px) {
  .hub-card--wide {
    flex-direction: row;
  }
  .hub-card--wide .hub-card__body {
    flex: 0 0 50%;
  }
  .hub-card--wide .hub-card__visual {
    flex: 1;
    margin: 0;
    border-top: 0;
    border-left: 1px solid var(--border-subtle);
  }
  .hub-card--wide .hub-card__features {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
}

/* ------------------------------------------------------------ product concept visuals */
.viz {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  height: 100%;
  padding: 36px 24px;
  font-size: 0.75rem;
  color: var(--text-2);
}
.viz--compact {
  min-height: 260px;
}
.viz__tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgb(11 16 32 / 0.6);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.viz__tag--inline {
  position: static;
  align-self: flex-start;
  margin-top: 12px;
  display: inline-block;
}
.float-card {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgb(21 29 49 / 0.92);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 190px;
}
.float-card--a {
  right: 8%;
  top: 18%;
}
.float-card--b {
  left: 6%;
  bottom: 14%;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pills span {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.3);
  background: rgb(var(--accent-rgb) / 0.08);
  color: var(--text-2);
  font-size: 0.6875rem;
}
.sk {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
}
.sk--title {
  width: 70%;
  height: 10px;
  background: var(--border-strong);
}
.sk--sub {
  width: 46%;
  margin-top: 7px;
}
.sk--line {
  width: 100%;
  margin-top: 10px;
}
.sk--short {
  width: 64%;
}

/* app: phone */
.phone {
  position: relative;
  width: 210px;
  height: 380px;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(160deg, #273249, #141b2d);
  box-shadow:
    0 0 0 1px #3a4660,
    var(--shadow-3);
  transform: rotate(-4deg) translateX(-30%);
}
.viz--compact .phone {
  width: 180px;
  height: 300px;
  transform: rotate(-4deg) translateX(-34%) translateY(16%);
}
.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 64px;
  height: 18px;
  border-radius: 10px;
  transform: translateX(-50%);
  background: #0b1020;
  z-index: 1;
}
.phone__screen {
  height: 100%;
  padding: 44px 14px 14px;
  border-radius: 25px;
  background: linear-gradient(180deg, #0f1729, #0b1020);
  overflow: hidden;
}
.listing {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.listing__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  color: #052029;
  background: linear-gradient(140deg, #67e8f9, var(--apps-strong));
}
.listing__meta {
  flex: 1;
  min-width: 0;
}
.listing__get {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 14px;
  border-radius: 99px;
  background: var(--apps);
  color: #052029;
  font-weight: 650;
  font-size: 0.6875rem;
}
.listing__shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 16px 0 6px;
}
.listing__shots span {
  aspect-ratio: 9 / 17;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgb(34 211 238 / 0.22), rgb(34 211 238 / 0.04));
}
.listing__shots span:nth-child(2) {
  background: linear-gradient(180deg, rgb(99 102 241 / 0.25), rgb(99 102 241 / 0.04));
}

/* game: store page */
.viz-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 52px;
}
.storepage {
  width: min(100%, 400px);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.viz--compact .storepage {
  width: min(100%, 360px);
}
.viz--compact .storepage__capsule {
  aspect-ratio: 3 / 1;
}
.storepage__capsule {
  position: relative;
  aspect-ratio: 23 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #2e1065 0%, #6d28d9 55%, #c084fc 100%);
}
.cap-sun {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  right: 14%;
  top: 18%;
  background: radial-gradient(circle, #fde68a, #f472b6 70%);
  opacity: 0.9;
}
.cap-hill {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  border-radius: 50% 50% 0 0;
}
.cap-hill--1 {
  height: 50%;
  background: #1e1b4b;
  clip-path: polygon(0 100%, 0 55%, 12% 40%, 22% 52%, 36% 22%, 48% 46%, 60% 30%, 74% 52%, 86% 34%, 100% 50%, 100% 100%);
  border-radius: 0;
}
.cap-hill--2 {
  height: 30%;
  background: #0b1020;
  clip-path: polygon(0 100%, 0 40%, 18% 62%, 30% 36%, 44% 58%, 58% 30%, 72% 56%, 88% 38%, 100% 60%, 100% 100%);
  border-radius: 0;
}
.cap-title {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
}
.storepage__info {
  padding: 14px 16px 16px;
}
.storepage__wish {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--games);
  color: #1a0b3b;
  font-weight: 650;
}
.float-card--timeline {
  position: relative;
  width: min(100%, 400px);
  margin-top: -34px;
  margin-left: 48px;
}
.viz--compact .float-card--timeline {
  width: min(100%, 360px);
}
@media (max-width: 520px) {
  .float-card--timeline {
    margin-left: 0;
    margin-top: 0;
  }
}
.beats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
}
.beats::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
}
.beats li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.beats i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg-2);
}
.beats .is-done i {
  border-color: var(--games);
  background: var(--games);
}
.beats .is-done,
.beats .is-active {
  color: var(--text-2);
}
.beats .is-active i {
  border-color: var(--games);
  box-shadow: 0 0 0 4px rgb(167 139 250 / 0.2);
}

/* author: book */
.book {
  position: relative;
  width: 190px;
  aspect-ratio: 2 / 3;
  transform: perspective(900px) rotateY(-18deg) translateX(-40%);
  transform-style: preserve-3d;
}
.viz--compact .book {
  width: 160px;
  transform: perspective(900px) rotateY(-18deg) translateX(-48%);
}
.book__cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  border-radius: 3px 10px 10px 3px;
  overflow: hidden;
  background: linear-gradient(165deg, #78350f 0%, #0b1020 75%);
  box-shadow:
    inset 4px 0 8px rgb(0 0 0 / 0.4),
    var(--shadow-3);
  color: #fffbeb;
}
.book__orb {
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  left: -20%;
  top: 34%;
  border-radius: 50%;
  border: 1px solid rgb(251 191 36 / 0.35);
  box-shadow:
    0 0 0 18px rgb(251 191 36 / 0.06),
    0 0 0 40px rgb(251 191 36 / 0.04);
}
.book__kicker {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.24em;
  color: var(--authors);
}
.book__title {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.book__author {
  margin-top: auto;
  position: relative;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7f3d0;
}
.book__spine {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 18px;
  transform: rotateY(90deg) translateZ(-9px) translateX(-9px);
  background: #451a03;
}

@media (max-width: 520px) {
  .float-card--a {
    right: 4%;
    top: 12%;
  }
  .float-card--b {
    display: none;
  }
  .phone,
  .viz--compact .phone {
    transform: rotate(-4deg) translateX(-40%) translateY(12%);
    width: 170px;
    height: 290px;
  }
  .book,
  .viz--compact .book {
    width: 140px;
    transform: perspective(900px) rotateY(-18deg) translateX(-55%) translateY(8%);
  }
}

/* hub page hero visual frame */
.hero__visual--hub {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 70% at 60% 40%, rgb(var(--accent-rgb) / 0.14), transparent),
    linear-gradient(180deg, rgb(21 29 49 / 0.8), rgb(11 16 32 / 0.6));
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.hero__visual--hub .viz {
  min-height: 440px;
}
@media (max-width: 520px) {
  .hero__visual--hub .viz {
    min-height: 360px;
  }
}

/* ------------------------------------------------------------ steps (home) */
.steps {
  list-style: none;
  display: grid;
  gap: var(--s3);
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
  }
}
.step {
  position: relative;
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg);
}
.step__num {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s3);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px -8px rgb(99 102 241 / 0.7);
}
.step h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
}
.step p {
  margin-top: 10px;
  color: var(--text-muted);
}
@media (max-width: 899px) {
  .steps {
    padding-left: 22px;
    border-left: 1px solid var(--border);
    gap: var(--s2);
  }
  .step::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 44px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--brand-light);
    box-shadow: 0 0 0 4px var(--bg);
  }
}

/* ------------------------------------------------------------ bento */
.bento {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }
  .bento__tile--a {
    grid-column: span 7;
  }
  .bento__tile--b {
    grid-column: span 5;
  }
  .bento__tile--c {
    grid-column: span 5;
  }
  .bento__tile--d {
    grid-column: span 7;
  }
}
.bento__tile {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(90% 70% at 0% 0%, rgb(99 102 241 / 0.08), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.bento__text .status {
  margin-bottom: var(--s2);
}
.bento__text h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
}
.bento__text p {
  margin-top: 8px;
  color: var(--text-muted);
  max-width: 480px;
}
.bviz {
  margin-top: auto;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: rgb(11 16 32 / 0.55);
  font-size: 0.8125rem;
}
.bviz-strat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.strat {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgb(var(--accent-rgb) / 0.22);
  background: rgb(var(--accent-rgb) / 0.05);
}
.strat__name {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 600;
}
.strat__name i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.strat ul {
  list-style: none;
  display: grid;
  gap: 5px;
  color: var(--text-2);
}
.plan-week__label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bviz-flow {
  position: relative;
  padding-bottom: 36px;
}
.bviz-flow svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-line {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}
.flow-line--loop {
  stroke: rgb(129 140 248 / 0.6);
}
.flow {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.flow li {
  padding: 10px 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 560;
}
.flow__end {
  border-color: rgb(129 140 248 / 0.5) !important;
  background: rgb(99 102 241 / 0.14) !important;
}
.prog {
  list-style: none;
  display: grid;
  gap: 12px;
}
.prog li {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 12px;
}
.prog__label {
  color: var(--text-2);
}
.prog__bar {
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.prog__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}
.prog__n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}
.bviz-prog {
  display: flex;
  flex-direction: column;
}
@media (max-width: 480px) {
  .bviz-strat {
    grid-template-columns: 1fr;
  }
  .prog li {
    grid-template-columns: 92px 1fr 34px;
    gap: 8px;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .bviz-flow svg {
    display: none;
  }
  .bviz-flow {
    padding-bottom: 18px;
  }
}

/* ------------------------------------------------------------ early access block + forms */
.ea-block {
  position: relative;
  display: grid;
  gap: var(--s5);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 80% at 0% 0%, rgb(99 102 241 / 0.16), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgb(34 211 238 / 0.08), transparent 60%),
    var(--bg-2);
  box-shadow: var(--shadow-2);
}
@media (min-width: 960px) {
  .ea-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--s7);
  }
}
.ea-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: var(--s4);
  color: var(--text-2);
}
.ea-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ea-points .icon {
  flex: none;
  margin-top: 3px;
  color: var(--success);
}
.ea-points strong {
  color: var(--text);
  font-weight: 600;
}
.ea-block__form,
.form-card {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgb(11 16 32 / 0.6);
}
.form-card--raised {
  background: var(--bg-2);
  box-shadow: var(--shadow-3);
}
.form-card__title {
  margin-bottom: var(--s3);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.ea-form {
  display: grid;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field__label {
  padding: 0;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 560;
}
.field__optional {
  margin-left: 6px;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8125rem;
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-btn);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.input::placeholder {
  color: var(--text-disabled);
}
.input:hover {
  border-color: var(--border-strong);
}
.input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.3);
}
.input[aria-invalid="true"] {
  border-color: var(--error);
}
.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgb(251 113 133 / 0.25);
}
.textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.select-wrap {
  position: relative;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.select option {
  background: var(--bg-2);
}
.select-wrap__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 6px;
  border-radius: var(--r-btn);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 540;
  text-align: center;
  transition:
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.choice__box .icon {
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.choice:hover .choice__box {
  border-color: var(--border-strong);
}
.choice input:checked + .choice__box {
  border-color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.choice input:checked + .choice__box .icon {
  color: var(--accent);
}
.choice input:focus-visible + .choice__box {
  outline: 2px solid var(--brand-light);
  outline-offset: 2px;
}
.choices[aria-invalid="true"] .choice__box {
  border-color: rgb(251 113 133 / 0.7);
}
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.check input {
  position: absolute;
  opacity: 0;
  left: -2px;
  top: -2px;
  width: 24px;
  height: 24px;
  margin: 0;
}
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: transparent;
  transition: all var(--t-fast) var(--ease);
}
.check input:checked + .check__box {
  border-color: var(--brand-light);
  background: var(--brand-strong);
  color: #fff;
}
.check input:focus-visible + .check__box {
  outline: 2px solid var(--brand-light);
  outline-offset: 2px;
}
.check__text {
  color: var(--text-2);
}
.field__error {
  display: flex;
  gap: 6px;
  color: var(--error);
  font-size: 0.875rem;
}
.form-alert {
  padding: 12px 14px;
  border-radius: var(--r-btn);
  border: 1px solid rgb(251 113 133 / 0.4);
  background: rgb(251 113 133 / 0.08);
  color: #fecdd3;
  font-size: var(--fs-sm);
}
.form-alert:focus {
  outline: none;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.form-note a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: var(--s2) 0;
}
.form-success:focus {
  outline: none;
}
.form-success__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(52 211 153 / 0.14);
  border: 1px solid rgb(52 211 153 / 0.4);
  color: var(--success);
}
.form-success__icon--lg {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--s3);
}
.form-success__title {
  font-size: 1.375rem;
}
.form-success p {
  color: var(--text-2);
}
@media (max-width: 380px) {
  .choice__box {
    min-height: 64px;
    font-size: 0.875rem;
  }
}

/* ------------------------------------------------------------ YouTube strip */
.yt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s4);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.yt__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(140deg, var(--surface-2), var(--bg));
  border: 1px solid var(--border);
}
.yt__title {
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  letter-spacing: -0.025em;
}
.yt__copy p {
  margin-top: 6px;
  color: var(--text-muted);
}
.yt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 860px) {
  .yt {
    grid-template-columns: 1fr;
    gap: var(--s3);
  }
}

/* ------------------------------------------------------------ CTA panel */
.cta-panel {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  border: 1px solid rgb(129 140 248 / 0.3);
  background: linear-gradient(160deg, #1a1f4a 0%, #121735 45%, var(--bg-2) 100%);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-panel__glow {
  position: absolute;
  inset: -40% 10% auto;
  height: 360px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(99 102 241 / 0.45), transparent);
  filter: blur(40px);
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgb(148 163 184 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(148 163 184 / 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 80%);
}
.cta-panel__title {
  max-width: 760px;
  margin-inline: auto;
  font-size: var(--fs-h2);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.cta-panel__text {
  max-width: 600px;
  margin: var(--s3) auto var(--s4);
  font-size: var(--fs-lead);
  color: var(--text-2);
}
[data-hub-page] .cta-panel {
  border-color: rgb(var(--accent-rgb) / 0.3);
  background: linear-gradient(160deg, rgb(var(--accent-rgb) / 0.14) 0%, #111833 45%, var(--bg-2) 100%);
}
[data-hub-page] .cta-panel__glow {
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / 0.3), transparent);
}
[data-hub-page] .cta-panel .btn--primary {
  --btn-bg: var(--accent-fill);
  --btn-fg: var(--accent-ink);
  --btn-border: transparent;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset;
}
[data-hub-page] .cta-panel .btn--primary:hover {
  --btn-bg: var(--accent-fill-hover);
}

/* ------------------------------------------------------------ hub pages */
.path {
  list-style: none;
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.path__step {
  position: relative;
  padding: var(--s4) var(--s4) var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.path__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--s4);
  right: var(--s4);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.path__num {
  display: block;
  margin-bottom: var(--s3);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent);
}
.path__step h3 {
  font-size: 1.25rem;
}
.path__step p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.cap-layout {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 1000px) {
  .cap-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--s8);
    align-items: start;
  }
  .cap-layout__intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}
.cap-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
}
.cap {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cap__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
}
.cap h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}
.cap p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
@media (max-width: 520px) {
  .cap {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .cap .status {
    grid-column: 2;
    justify-self: start;
  }
}
.disclaimer {
  margin-top: var(--s5);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.learn-grid {
  align-items: stretch;
}
.topic-card {
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px dashed var(--border);
}
.topic-card__label {
  margin-bottom: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.topic-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: var(--s3);
  color: var(--text-2);
}
.other-hubs__inner {
  display: grid;
  gap: var(--s2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.other-hubs__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.other-hub {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  transition: border-color var(--t-fast) var(--ease);
}
.other-hub > .icon:first-child {
  color: var(--accent);
  flex: none;
}
.other-hub > .icon:last-child {
  margin-left: auto;
  color: var(--text-muted);
  flex: none;
}
.other-hub strong {
  display: block;
  color: var(--text);
  font-weight: 580;
}
.other-hub span span {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.other-hub:hover {
  border-color: rgb(var(--accent-rgb) / 0.5);
}

/* ------------------------------------------------------------ page hero (inner pages) */
.page-hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(40px, 5vw, 64px);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero--center {
  text-align: center;
  padding-bottom: clamp(72px, 9vw, 128px);
}
.page-hero--legal {
  padding-bottom: 0;
}
.page-title {
  max-width: 860px;
  font-size: var(--fs-h1);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.page-hero--center .page-title,
.page-hero--center .page-lead {
  margin-inline: auto;
}
.page-lead {
  max-width: 680px;
  margin-top: var(--s3);
  font-size: var(--fs-lead);
  color: var(--text-2);
}
.page-lead--small {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--s2);
}
.breadcrumb {
  margin-bottom: var(--s3);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.breadcrumb li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--text-disabled);
}
.breadcrumb a:hover {
  color: var(--text);
}
.breadcrumb [aria-current] {
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 48ch;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s4);
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.jump a .icon {
  color: var(--accent);
}
.jump a:hover {
  border-color: rgb(var(--accent-rgb) / 0.5);
  color: var(--text);
}

/* ------------------------------------------------------------ resources */
.resource-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(var(--accent-rgb) / 0.08), transparent 70%),
    var(--surface);
  transition:
    border-color var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}
.resource-card:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
  transform: translateY(-2px);
}
.resource-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.resource-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.resource-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.resource-card__meta {
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.resource-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--accent);
  font-weight: 560;
  font-size: var(--fs-sm);
}
.res-cat {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-2);
}
.res-cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.res-cat__head h2 {
  font-size: 1.5rem;
}
.res-cat__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.25);
}
.topics {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
}
.topics li > a,
.topics li > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-2);
}
.topics li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.topics li > a {
  flex: 1;
  color: var(--text);
}
.topics li > a:hover {
  color: var(--accent);
}
.topic__state {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.topic__state--live {
  color: var(--accent);
}
.res-cat .btn {
  align-self: flex-start;
  margin-top: auto;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.tool-card--live {
  transition: border-color var(--t-med) var(--ease);
}
.tool-card--live:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
}
.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.tool-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.22);
}
.tool-card__hub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.tool-card h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}
.tool-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ------------------------------------------------------------ article + prose */
.article__header {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--border-subtle);
}
.article__header > .container {
  position: relative;
  z-index: 1;
}
.article__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.article__cat a:hover {
  text-decoration: underline;
}
.article__title {
  max-width: 880px;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.article__meta {
  margin-top: var(--s3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.article__layout {
  display: grid;
  gap: var(--s5);
  padding-block: clamp(40px, 5vw, 64px);
}
@media (min-width: 1000px) {
  .article__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--s7);
  }
  .article__toc {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}
.article__toc-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article__toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--border);
}
.article__toc a {
  display: block;
  padding: 5px 0 5px 14px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.article__toc a:hover {
  color: var(--text);
  border-left-color: var(--accent);
}
@media (max-width: 999px) {
  .article__toc {
    padding: var(--s3);
    border-radius: var(--r-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-2);
  }
}
.article__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: clamp(64px, 8vw, 112px);
  padding: var(--s4);
  border-radius: var(--r-lg);
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  background: radial-gradient(80% 100% at 0% 0%, rgb(var(--accent-rgb) / 0.12), transparent), var(--surface);
}
.article__cta > div {
  max-width: 560px;
}
.article__cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.article__cta-title {
  margin: 8px 0 6px;
  color: var(--text);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.article__cta p:last-child {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.prose {
  max-width: 700px;
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose--wide {
  max-width: 760px;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: 1.25rem;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--text-muted);
}
.article__lede {
  font-size: 1.1875rem;
  color: var(--text);
  line-height: 1.7;
}
.prose .checklist {
  list-style: none;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-2);
}
.prose .checklist li {
  position: relative;
  padding-left: 32px;
}
.prose .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgb(var(--accent-rgb) / 0.6);
  background: rgb(var(--accent-rgb) / 0.08)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.section--legal {
  padding-top: var(--s5);
}
.values {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 14px;
}
.values li {
  padding-left: 18px;
  border-left: 2px solid var(--brand);
}

/* ------------------------------------------------------------ about / contact / early access */
.about-grid,
.contact-grid {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--s8);
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--s6);
    align-items: start;
  }
}
.about-side,
.contact-side {
  display: grid;
  gap: var(--s2);
  align-content: start;
}
.fact-card {
  padding: var(--s3);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.fact-card > * + * {
  margin-top: 10px;
}
.fact-card__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fact-card a:not(.text-link) {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
}
.fact-list,
.product-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.fact-list li {
  display: grid;
  gap: 6px;
  justify-items: start;
  font-size: var(--fs-sm);
}
.product-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-sm);
}
.product-list span {
  color: var(--text-muted);
}
.ea-page {
  display: grid;
  gap: var(--s5);
}
@media (min-width: 1000px) {
  .ea-page {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: var(--s8);
    align-items: start;
  }
}
.page-hero--form {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.ea-points--stack {
  margin-top: var(--s5);
  gap: 14px;
}
.ea-page__honest {
  display: flex;
  gap: 12px;
  margin-top: var(--s5);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: rgb(21 29 49 / 0.6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 520px;
}
.ea-page__honest .icon {
  flex: none;
  margin-top: 2px;
  color: var(--brand-light);
}

/* ------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer__brand {
  grid-column: 1 / -1;
  max-width: 380px;
}
@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
  .footer__brand {
    grid-column: auto;
  }
}
.footer__brand p {
  margin-top: var(--s2);
  color: var(--text-muted);
}
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s3);
  color: var(--brand-light);
  font-weight: 560;
}
.footer__title {
  margin-bottom: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer__col a,
.footer__bottom a {
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease);
  overflow-wrap: anywhere;
}
.footer__col a:hover,
.footer__bottom a:hover {
  color: var(--text);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: var(--s3);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.footer__bottom ul {
  list-style: none;
  display: flex;
  gap: var(--s3);
}

/* ------------------------------------------------------------ authors landing (/authors/) */
[data-hub-page="authors"] .check input:checked + .check__box {
  border-color: var(--accent);
  background: var(--accent-fill);
  color: var(--accent-ink);
}
[data-hub-page="authors"] .check input:focus-visible + .check__box {
  outline-color: var(--accent);
}
.hero--authors .hero__title--hub {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem);
  text-wrap: balance;
}
.hero--authors .hero__lead {
  text-wrap: pretty;
}
.hero-signup {
  margin-top: var(--s4);
  max-width: 600px;
}
.hero-signup .ea-form {
  gap: 14px;
}
.signup__row {
  display: grid;
  gap: 10px;
}
@media (min-width: 560px) {
  .signup--inline .signup__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .signup--inline .signup__row .input {
    min-height: 50px;
  }
}
.hero__more {
  margin-top: var(--s2);
}
.hero--authors .hero__for {
  margin-top: var(--s3);
}
.hero--authors .hero__for .icon {
  color: var(--success);
}

/* workspace illustration */
.hero__visual--authors {
  padding: clamp(20px, 3vw, 36px);
}
.aw {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgb(28 38 59 / 0.92), rgb(16 24 39 / 0.96));
  box-shadow: var(--shadow-3);
  overflow: hidden;
  font-size: 0.8125rem;
  color: var(--text-2);
}
.aw__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgb(11 16 32 / 0.5);
}
.aw__dots {
  display: flex;
  gap: 6px;
}
.aw__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.aw__path {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.aw__body {
  display: grid;
  gap: 12px;
  padding: 16px 16px 48px;
}
.aw__book,
.aw__draft,
.aw__plan {
  padding: 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  background: rgb(11 16 32 / 0.55);
}
.aw__book {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.aw__cover {
  display: flex;
  flex-direction: column;
  aspect-ratio: 2 / 3;
  padding: 10px 8px;
  border-radius: 2px 6px 6px 2px;
  background: linear-gradient(165deg, #92400e 0%, #1c1917 80%);
  box-shadow: inset 3px 0 6px rgb(0 0 0 / 0.4), 0 10px 24px -10px rgb(0 0 0 / 0.8);
  color: #fffbeb;
}
.aw__cover span {
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  letter-spacing: 0.2em;
  color: var(--authors);
}
.aw__cover strong {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.05;
  font-weight: 650;
}
.aw__cover em {
  margin-top: auto;
  font-style: normal;
  font-size: 0.5625rem;
  color: #fde68a;
}
.aw__label {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.aw__checks {
  list-style: none;
  display: grid;
  gap: 6px;
}
.aw__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aw__checks .is-ok .icon {
  color: var(--success);
}
.aw__checks .is-fix .icon {
  color: var(--authors);
}
.aw__text {
  color: var(--text);
  line-height: 1.5;
}
.aw__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.aw__btn {
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-2);
}
.aw__btn--ok {
  border-color: transparent;
  background: var(--accent-fill);
  color: var(--accent-ink);
  font-weight: 600;
}
.aw__beats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.aw__beats li {
  display: grid;
  gap: 6px;
}
.aw__beats i {
  height: 4px;
  border-radius: 99px;
  background: var(--border);
}
.aw__beats .is-done i {
  background: var(--accent);
}
.aw__beats .is-active i {
  background: linear-gradient(90deg, var(--accent) 50%, var(--border) 50%);
}
.aw__beats .is-done,
.aw__beats .is-active {
  color: var(--text-2);
}

.aw__checks .icon {
  flex: none;
}
.aw__beats li {
  align-content: start;
}
@media (max-width: 1099px) {
  .hero__visual--authors {
    max-width: 600px;
  }
}
@media (max-width: 520px) {
  .hero__visual--authors {
    padding: 12px;
  }
  .aw__body {
    padding: 12px 12px 44px;
  }
  .aw__book {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }
  .aband {
    padding: 24px 20px;
  }
}

/* pain points */
.apain {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
@media (min-width: 1000px) {
  .apain {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
  }
}
.apain__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  font-size: 1.0625rem;
  color: var(--text);
}
.apain__icon,
.acap__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.22);
}

/* how it works */
.asteps {
  list-style: none;
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
@media (min-width: 1000px) {
  .asteps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.asteps__step {
  position: relative;
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg);
}
.asteps__num {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
}
.asteps__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s3);
  border-radius: 12px;
  color: var(--accent-ink);
  background: var(--accent-fill);
}
.asteps__step h3,
.acap h3,
.afeature h3,
.aflow__step h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
}
.asteps__step p,
.acap p,
.afeature p,
.aflow__step p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* capabilities and features */
.acap {
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.acap--planned {
  background: transparent;
  border-style: dashed;
  border-color: var(--border);
}
.acap--planned .acap__icon {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
}
.acap__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--s3);
}
.afeature {
  display: flex;
  gap: 16px;
  padding: var(--s3);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}
.afeature p {
  margin-top: 4px;
}
.alater {
  margin-top: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px dashed var(--border);
}
.alater__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
}
.alater__title .icon {
  color: var(--text-muted);
}
.alater__text {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.alater__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s2);
}
.alater__list li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-2);
}

/* launch and growth bands */
.aband {
  display: grid;
  gap: var(--s5);
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 80% at 0% 0%, rgb(var(--accent-rgb) / 0.1), transparent 60%),
    var(--bg-2);
}
.aband--alt {
  background:
    radial-gradient(60% 80% at 100% 100%, rgb(var(--accent-rgb) / 0.1), transparent 60%),
    var(--bg-2);
}
@media (min-width: 960px) {
  .aband {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s7);
    align-items: center;
  }
  .aband--alt .aband__copy {
    order: 2;
  }
}
.aband .section-title {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
}
.aband__link {
  margin-top: var(--s3);
}
.aplist {
  list-style: none;
  display: grid;
  gap: 4px;
}
.aplist__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
}
.aplist__item:last-child {
  border-bottom: 0;
}
.aplist__item > .icon {
  margin-top: 4px;
  color: var(--success);
}
.aplist__item.is-planned,
.aplist__item.is-planned > .icon {
  color: var(--text-muted);
}
@media (max-width: 520px) {
  .aplist__item {
    grid-template-columns: 18px minmax(0, 1fr);
  }
  .aplist__item .status {
    grid-column: 2;
    justify-self: start;
  }
}

/* example workflow */
.aflow {
  list-style: none;
  display: grid;
  max-width: 860px;
  margin-left: 6px;
  border-left: 1px solid var(--border);
}
.aflow__step {
  position: relative;
  display: grid;
  gap: 6px 24px;
  padding: 0 0 var(--s4) var(--s4);
}
.aflow__step:last-child {
  padding-bottom: 0;
}
.aflow__step::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-2);
}
.aflow__when {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
}
@media (min-width: 720px) {
  .aflow__step {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .aflow__when {
    padding-top: 2px;
  }
}

/* early access benefits */
.abenefits {
  display: grid;
  gap: var(--s4);
}
@media (min-width: 960px) {
  .abenefits {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s7);
  }
}
.abenefits__list {
  list-style: none;
  display: grid;
  gap: var(--s3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.abenefits__list li {
  display: flex;
  gap: 12px;
}
.abenefits__list > li > .icon {
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}
.abenefits__list h3 {
  font-size: 1.0625rem;
}
.abenefits__list p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* FAQ */
.afaq-layout {
  display: grid;
  gap: var(--s4);
}
@media (min-width: 1000px) {
  .afaq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--s7);
    align-items: start;
  }
}
.afaq__more {
  margin-top: calc(var(--s4) * -1);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.afaq__more a {
  color: var(--accent);
}
.afaq {
  border-top: 1px solid var(--border-subtle);
}
.afaq__item {
  border-bottom: 1px solid var(--border-subtle);
}
.afaq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.afaq__item summary::-webkit-details-marker {
  display: none;
}
.afaq__item summary h3 {
  font-size: 1.0625rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}
.afaq__item summary:hover h3 {
  color: var(--accent);
}
.afaq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.afaq__chev {
  flex: none;
  color: var(--text-muted);
  transition: transform var(--t-fast) var(--ease);
}
.afaq__item[open] .afaq__chev {
  transform: rotate(180deg);
}
.afaq__item p {
  padding: 0 40px 20px 0;
  color: var(--text-2);
  line-height: 1.65;
}

/* final signup */
.afinal {
  background:
    radial-gradient(60% 80% at 0% 0%, rgb(var(--accent-rgb) / 0.14), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgb(99 102 241 / 0.1), transparent 60%),
    var(--bg-2);
}
.afinal .ea-points .icon {
  color: var(--accent);
}

/* ------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 600ms var(--ease),
      transform 600ms var(--ease);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hub-card:hover,
  .resource-card:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .drawer,
  .site-footer,
  .atmos,
  .article__cta {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* ---------------------------------------------- book launch planner page */
/* The example plan under the introduction (numbers labelled as an example). */
.planner-preview {
  margin: var(--s4, 1.5rem) 0 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.planner-preview__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.planner-preview__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.planner-preview__stat strong {
  font-size: 1.35rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.planner-preview__label {
  color: var(--text-2);
  font-weight: 600;
}
.planner-preview__steps {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-2);
}
.planner-preview__steps li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.planner-preview__steps span {
  color: var(--brand-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.planner-preview figcaption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (max-width: 520px) {
  .planner-preview__row {
    grid-template-columns: 1fr;
  }
  .planner-preview__steps li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* What happens after the button: three short steps. */
.planner-next {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.2rem;
}
/* The large preview under the hero: the planner's example plan. */
.planner-preview--large {
  margin-top: 1rem;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.planner-preview__goal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.planner-preview__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.planner-preview__h {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}
.planner-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.planner-preview__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 0.9rem;
  color: var(--text-2);
}
.planner-preview__list strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.planner-preview__list em {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.planner-preview__phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  counter-reset: phase;
}
.planner-preview__phases li {
  padding: 0.7rem;
  border-radius: 10px;
  background: var(--surface-2);
  border-top: 3px solid var(--brand-light);
}
.planner-preview__phases strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}
.planner-preview__phases span {
  display: block;
  color: var(--brand-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0.1rem 0 0.4rem;
}
.planner-preview__phases p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-2);
}
.planner-preview__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.planner-preview__again {
  margin: 1.5rem 0 0;
  text-align: center;
}
@media (max-width: 900px) {
  .planner-preview__phases {
    grid-template-columns: 1fr;
  }
  .planner-preview__cols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .planner-preview__goal {
    grid-template-columns: 1fr;
  }
}

/* Planner page: the preview sits right under the hero, and reads comfortably. */
.planner-preview-section {
  padding-top: clamp(8px, 2vw, 24px);
}
.planner-preview--large .planner-preview__stat {
  font-size: 0.95rem;
}
.planner-preview--large .planner-preview__stat strong {
  font-size: 1.75rem;
}
.planner-preview--large .planner-preview__h {
  font-size: 1.1rem;
}
.planner-preview__sub {
  margin: -0.2rem 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.planner-preview--large .planner-preview__list li {
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
}
.planner-preview--large .planner-preview__list em {
  font-size: 0.88rem;
}
.planner-preview--large .planner-preview__phases strong {
  font-size: 1rem;
}
.planner-preview--large .planner-preview__phases span {
  font-size: 0.85rem;
}
.planner-preview--large .planner-preview__phases p {
  font-size: 0.95rem;
  line-height: 1.45;
}
.planner-preview--large .planner-preview__note {
  font-size: 0.9rem;
}
@media (max-width: 1100px) {
  .planner-preview__phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .planner-preview__goal,
  .planner-preview__cols,
  .planner-preview__phases {
    grid-template-columns: 1fr;
  }
  .planner-preview--large {
    padding: 1rem;
  }
}
