/* vibecord.dev homepage styles. Inter is OFL: fonts/LICENSE-Inter.txt. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}

:root {
  color-scheme: dark;

  --bg: #1a1d29;
  --surface: #23262f;
  --surface-2: #2b2d35;
  --inset: #1a1d29;
  --border: #3f434a;
  --border-control: #6d7280;
  --text: #e9eaed;
  --muted: #a8aeb8;
  --faint: #949ba4;
  --accent: #5865f2;
  --accent-hover: #4752c4;
  --accent-text: #c7ccff;
  --success: #57f287;
  --error: #fa777c;
  --warning: #fee75c;

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

  --ease: cubic-bezier(.4, 0, .2, 1);
  --gutter: 20px;
  --section: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.btn, .icon-btn, .link-btn, .option, .example, .q-chip, .pick, .plan-details summary, .faq-list summary { touch-action: manipulation; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label-caps {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .h2 { font-size: 32px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:active { background: var(--accent-hover); }
.btn-primary[disabled] { background: var(--accent-hover); cursor: progress; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-control); }
.btn-secondary:active { background: var(--surface-2); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-secondary:hover { background: var(--surface-2); }
}
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
@media (hover: hover) {
  .icon-btn:hover { background: var(--surface-2); color: var(--text); }
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: -12px -10px -12px 0;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-underline-offset: 3px;
}
.link-btn:hover { text-decoration: underline; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand img { width: 28px; height: 28px; }

.site-header {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
@media (min-width: 768px) {
  .site-header { position: sticky; top: 0; }
  .site-header .wrap { min-height: 64px; }
  html { scroll-padding-top: 80px; }
  .plan { scroll-margin-top: 80px !important; }
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  margin-right: -12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms var(--ease);
}
.nav-link:hover { color: var(--text); }

.hero {
  position: relative;
  isolation: isolate;
  padding: 20px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -1px 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 50% -20%, rgba(88, 101, 242, .15), transparent 70%),
    radial-gradient(60% 40% at 85% 15%, rgba(99, 118, 240, .08), transparent 70%);
}
.hero-inner { max-width: 640px; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(43, 45, 53, .6);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.hero h1 {
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.picker { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.picker-legend {
  display: block;
  padding: 0;
  margin-bottom: 8px;
  color: var(--muted);
}
.picker-rows { display: grid; gap: 8px; }
.pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border-control);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.pick input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.pick .icon { color: var(--muted); }
.pick-name { flex: 1; min-width: 0; font-weight: 500; line-height: 1.3; }
.pick-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pick-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.pick-dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--border-control);
  border-radius: 50%;
  transition: border-color 150ms var(--ease);
}
.pick-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.pick:has(input:checked), .pick.is-checked { border-color: var(--accent); background: var(--surface-2); }
.pick:has(input:checked) .pick-dot, .pick.is-checked .pick-dot { border-color: var(--accent); background: var(--accent); }
.pick:has(input:checked) .pick-dot::after, .pick.is-checked .pick-dot::after { background: #fff; }
.pick:has(input:checked) .icon, .pick.is-checked .icon { color: var(--accent-text); }
.pick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) {
  .pick:not(.is-checked):hover { border-color: var(--muted); }
}
@media (max-width: 359px) {
  .pick > .icon { display: none; }
  .pick { padding: 0 12px; gap: 10px; }
}
.picker[aria-invalid="true"] .pick { border-color: var(--error); }

.prompt {
  margin-top: 12px;
  padding: 12px 14px 10px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 0 48px -14px rgba(88, 101, 242, .32);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.prompt:focus-within {
  border-color: rgba(88, 101, 242, .75);
  box-shadow: 0 0 0 4px rgba(88, 101, 242, .2), 0 0 56px -12px rgba(88, 101, 242, .4);
}
.prompt-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.prompt-text {
  display: block;
  width: 100%;
  margin-top: 4px;
  min-height: 28px;
  max-height: 120px;
  padding: 0;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  overflow-y: auto;
}
.prompt-text:focus { outline: none; }
.prompt-text::placeholder { color: var(--faint); opacity: 1; }
.prompt-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 2px; }
.prompt-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 16px;
  white-space: nowrap;
}
.prompt-btn .icon { width: 18px; height: 18px; }
.hero-clear { min-height: 44px; padding: 8px 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.hero-starters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.hero-starters button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); color: var(--text); cursor: pointer; }
.hero-starters button:hover, .hero-clear:hover { color: var(--accent-text); }
.hero-starters button:focus-visible, .hero-clear:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#hero-error[hidden] { display: none; }
#hero-error { margin-top: 12px; }
.hero-note { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hero-trust { display: none; }
.hero-noscript {
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
}

.hero-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--error);
}
.hero-error .icon { width: 18px; height: 18px; margin-top: 1px; }

@media (min-width: 768px) {
  .hero { padding: 56px 0 72px; }
  .hero-inner { max-width: 760px; }
  .hero-sub { font-size: 18px; }
}
@media (min-width: 1024px) {
  .hero { padding: 96px 0 104px; }
  .hero-inner { max-width: 1000px; margin-inline: auto; text-align: center; }
  #hero-form { max-width: 760px; margin-inline: auto; }
  .hero h1 { margin-top: 20px; }
  .hero-sub { margin-top: 16px; font-size: 20px; }
  .picker { margin-top: 40px; }
  .picker-legend { margin-inline: auto; }
  .hero-error { justify-content: center; }
  .picker-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .pick {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon . dot" "name name name" "price price price";
    align-items: center;
    row-gap: 10px;
    min-height: 112px;
    padding: 16px;
    text-align: left;
  }
  .pick > .icon { grid-area: icon; width: 22px; height: 22px; }
  .pick-dot { grid-area: dot; }
  .pick-name { grid-area: name; font-weight: 600; }
  .pick-price { grid-area: price; font-size: 20px; }
  .pick-price span { font-size: 15px; }
  .prompt { margin-top: 16px; padding: 18px 20px 14px; text-align: left; }
  .hero-note { text-align: center; margin-top: 12px; }
  .hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
  }
  .hero-trust::before, .hero-trust::after { content: ""; flex: 1; height: 1px; }
  .hero-trust::before { background: linear-gradient(90deg, transparent, var(--border)); }
  .hero-trust::after { background: linear-gradient(90deg, var(--border), transparent); }
}

.section { padding: var(--section) 0; border-top: 1px solid var(--border); }
.section-label { color: var(--accent-text); margin-bottom: 8px; }
.section-head { margin-bottom: 32px; max-width: 46rem; }
.section-sub { margin-top: 12px; color: var(--muted); max-width: 60ch; text-wrap: pretty; }

.plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.plans-meta { font-size: 14px; color: var(--muted); }
.plans-grid { display: grid; gap: 16px; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  scroll-margin-top: 16px;
  transition: border-color 150ms var(--ease);
}
@media (hover: hover) {
  .plan:hover { border-color: var(--border-control); }
}
.plan-top { display: flex; align-items: center; gap: 12px; }
.tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent-text);
}
.tile .icon { width: 22px; height: 22px; }
.plan-title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.plan-promise { margin-top: 12px; color: var(--muted); text-wrap: pretty; }
.plan-price { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.amt {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.per { font-size: 16px; font-weight: 500; color: var(--muted); }
.terms { margin-left: auto; font-size: 14px; color: var(--muted); }
.plan .offer-cta { margin-top: 16px; width: 100%; }
.plan-list {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
  align-content: start;
}
.plan-list li { display: flex; gap: 12px; line-height: 1.5; }
.plan-list .icon { color: var(--accent-text); margin-top: 2px; }

.plan-example { margin-top: 20px; display: flex; flex-direction: column; }
.ex-label { display: block; color: var(--faint); margin-bottom: 8px; }
.ex-in {
  padding: 10px 12px;
  border: 1px dashed var(--border-control);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  overflow-wrap: anywhere;
}
.ex-in .ex-k { color: var(--muted); font-weight: 600; }
.ex-arrow { display: grid; place-items: center; height: 20px; color: var(--faint); }
.ex-arrow .icon { width: 16px; height: 16px; }

.mock {
  flex: 1;
  background: #1e1f25;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.mock-head .hash { color: var(--faint); font-weight: 500; font-size: 16px; line-height: 1; }
.mock-body { padding: 4px 0; }
.msg { display: flex; gap: 10px; padding: 6px 12px; }
.av {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3a3d47;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}
.av.bot { background: var(--accent); color: #fff; }
.msg-main { min-width: 0; }
.who { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); line-height: 1.3; }
.app-tag {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
}
.msg-text { margin-top: 2px; color: #dbdee1; overflow-wrap: anywhere; }
.at { color: var(--accent-text); background: rgba(88, 101, 242, .2); border-radius: 3px; padding: 0 2px; }
.ch { color: var(--accent-text); }
.sys { display: flex; align-items: center; gap: 10px; padding: 6px 12px; color: var(--muted); }
.sys .icon { width: 16px; height: 16px; color: var(--success); margin-inline: 7px; }

.srv { display: flex; align-items: center; gap: 12px; padding: 14px 12px; }
.plan-example .mock:has(.srv) { display: flex; flex-direction: column; justify-content: center; }
.srv-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #2f3a2c;
  border: 1px solid #45533f;
  color: #b9dfa4;
}
.srv-icon .icon { width: 22px; height: 22px; }
.srv-name { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.srv-meta { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.srv-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.srv-foot .icon { width: 16px; height: 16px; color: var(--success); }

.plan-details { margin-top: 12px; border-top: 1px solid var(--border); }
.plan-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 2px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  cursor: pointer;
}
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary .icon { color: var(--muted); transition: transform 150ms var(--ease); }
.plan-details[open] summary .icon { transform: rotate(180deg); }
.plan-details summary:focus-visible { outline-offset: 2px; border-radius: 4px; }
.details-list { display: grid; gap: 8px; padding: 4px 0 16px; }
.details-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.details-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--success); }
.details-list strong { color: var(--text); font-weight: 600; }

@media (min-width: 900px) {
  .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  .plan { padding: 28px 24px 8px; }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .plans-grid { grid-template-rows: repeat(7, auto); }
    .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  }
}

.plans-note {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.plans-note .icon { color: var(--faint); }

.steps { display: grid; gap: 0; counter-reset: step; }
.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 28px;
}
.step-item:last-child { padding-bottom: 0; }
.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 4px;
  width: 1px;
  background: var(--border);
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-control);
  color: var(--accent-text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-h { font-size: 18px; font-weight: 600; line-height: 1.35; padding-top: 5px; }
.step-p { grid-column: 2; margin-top: 6px; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .step-item {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .step-item, .step-item:last-child { padding: 24px; }
  .step-item { align-content: start; }
  .step-item:not(:last-child)::before { display: none; }
  .step-h { padding-top: 16px; }
  .step-p { grid-column: 1; }
}

.rail { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .rail > :last-child { grid-column: 2 / span 2; }
}
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: 4px; border-radius: 4px; }
.faq-list summary .icon { color: var(--muted); transition: transform 150ms var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding-bottom: 20px; max-width: 65ch; color: var(--muted); }
.faq-a p + p, .faq-a ul + p { margin-top: 12px; }
.faq-a ul { display: grid; gap: 10px; }
.faq-a strong { color: var(--text); font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
  color: var(--muted);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.discord-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(88, 101, 242, .1);
  border: 1px solid rgba(88, 101, 242, .3);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.discord-pill .icon { color: var(--accent-text); width: 18px; height: 18px; }
.discord-pill:hover { background: rgba(88, 101, 242, .18); border-color: rgba(88, 101, 242, .5); }
.footer-plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.footer-plans a, .footer-legal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
}
.footer-plans a:hover, .footer-legal a:hover { color: var(--text); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 20px; }
.footer-legal a[aria-current="page"] { color: var(--text); }
.disclaimer { max-width: 60ch; color: var(--faint); font-size: 13px; line-height: 1.5; }
.age { color: var(--faint); font-size: 13px; }

.internal-badge {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 9999;
  padding: 3px 7px;
  border-radius: 6px;
  background: #f59e0b;
  color: #111;
  font: 11px/1.4 sans-serif;
  opacity: .85;
  pointer-events: none;
}

.sheet {
  position: fixed;
  inset: auto 0 0 0;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  height: 94vh;
  height: 94dvh;
  max-height: 100vh;
  max-height: 100dvh;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .24);
}
.sheet[open] { display: flex; animation: sheet-in 240ms cubic-bezier(.2, 0, 0, 1); }
.sheet::backdrop { background: rgba(10, 11, 16, .72); }
.sheet[open]::backdrop { animation: fade-in 240ms cubic-bezier(.2, 0, 0, 1); }
.sheet.is-closing { animation: sheet-out 180ms cubic-bezier(.4, 0, 1, 1) forwards; }
.sheet.is-closing::backdrop { animation: fade-out 180ms cubic-bezier(.4, 0, 1, 1) forwards; }
.sheet.no-modal[open] { z-index: 100; }

@media (min-width: 640px) {
  .sheet {
    inset: 0;
    margin: auto;
    width: 560px;
    height: min(720px, calc(100vh - 48px));
    height: min(720px, calc(100dvh - 48px));
    border-bottom: 1px solid var(--border);
    border-radius: 16px;
  }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sheet-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(24px); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

.sheet-head { flex-shrink: 0; padding: 8px 8px 12px; border-bottom: 1px solid var(--border); }
.sheet-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.sheet-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.sheet-title img { width: 20px; height: 20px; flex-shrink: 0; }
.sheet-title span { overflow: hidden; text-overflow: ellipsis; }

.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 12px 0; }
.progress li { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--faint); }
.progress .bar { display: block; height: 4px; margin-bottom: 6px; border-radius: 2px; background: var(--border); overflow: hidden; }
.progress .bar::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease-out;
}
.progress li.is-done .bar::after, .progress li.is-current .bar::after { width: 100%; }
.progress li.is-done { color: var(--muted); }
.progress li.is-current { color: var(--text); font-weight: 600; }

.sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 32px;
  scroll-padding-block: 16px;
}
.sheet-foot {
  flex-shrink: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 640px) {
  .sheet-body { padding: 28px 28px 32px; }
  .sheet-foot { padding: 16px 28px; }
}
.foot-note { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); text-align: center; }
.foot-note strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.foot-note a { color: var(--accent-text); display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }

@media (max-height: 480px) {
  .sheet {
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .sheet-body { flex: none; min-height: auto; overflow: visible; }
}
/* Short viewports (phone landscape, or a resizing keyboard): the whole sheet scrolls and the action bar stays stuck
   to the bottom. --foot-h is the bar's measured height (script.js syncFootH), so a focused field or an error that
   scrolls into view always lands above the bar, whatever the step puts in it. */
@media (max-height: 480px) and (min-height: 281px) {
  .sheet { scroll-padding-bottom: 112px; scroll-padding-bottom: calc(var(--foot-h, 96px) + 16px); }
  .sheet-foot { position: sticky; bottom: 0; z-index: 1; }
}
@media (max-height: 480px) and (min-height: 281px) and (min-width: 560px) {
  .sheet-foot { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .sheet-foot .foot-actions { display: flex; gap: 12px; }
  .sheet-foot .foot-actions .btn { flex: 1 1 0; margin-top: 0; }
}
/* Phone landscape checkout: the Total comes first in the order card, so a price is on screen above the sticky
   bar at the pay tap. Layout only; the copy is unchanged. */
@media (max-height: 480px) {
  .sheet-body { padding-top: 12px; }
  .order { display: flex; flex-direction: column; }
  .order-total { order: -1; }
}

.step { animation: fade-in 150ms var(--ease); }
.step-kicker { color: var(--accent-text); margin-bottom: 8px; }
.step-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.step-title:focus { outline: none; }
.step-sub { margin-top: 8px; color: var(--muted); text-wrap: pretty; }
.step-body { margin-top: 24px; }

.status-head { position: relative; width: 56px; height: 56px; margin-bottom: 20px; }
.status-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.status-logo img { width: 36px; height: 36px; }
.status-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--surface);
  color: var(--accent-text);
}
.status-badge .icon { width: 22px; height: 22px; }
.status-badge.ok { color: var(--success); }
@media (max-width: 639px) and (max-height: 760px) {
  .cap-head { width: 40px; height: 40px; margin-bottom: 14px; }
  .cap-head .status-logo { width: 40px; height: 40px; border-radius: 10px; }
  .cap-head .status-logo img { width: 26px; height: 26px; }
  .cap-head .status-badge { width: 20px; height: 20px; right: -5px; bottom: -5px; }
  .cap-head .status-badge .icon { width: 16px; height: 16px; }
}
/* Short screens (Instagram's webview on a 360x640 phone, phone landscape): the decorative status icon goes, so the
   title, the body and the email field all fit above the Join button on first view. */
@media (max-height: 600px) {
  .cap-head { display: none; }
}
.cap-back { margin-top: 16px; }

.field + .field, .field + .group, .group + .field, .group + .group, .field-row + .group { margin-top: 24px; }
.group { margin: 0; padding: 0; border: 0; min-width: 0; }
.label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); padding: 0; }
.label .opt { color: var(--faint); font-weight: 400; }
.group-hint { margin: -4px 0 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.input, .textarea, .select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--inset);
  border: 1px solid var(--border-control);
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 150ms var(--ease);
}
.textarea { min-height: 128px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--faint); opacity: 1; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--error);
}
.field-error .icon { width: 18px; height: 18px; margin-top: 1px; }
.group > .field-error { margin: 0 0 12px; }
.hint { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hint .icon { color: var(--faint); width: 18px; height: 18px; margin-top: 1px; }
.field-help { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--faint); }

.ver-row { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.ver-val { font-weight: 600; font-variant-numeric: tabular-nums; }

.examples-wrap { margin-top: 24px; }
.examples-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.examples-top .label { margin-bottom: 0; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; }
.example {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
@media (hover: hover) {
  .example:hover { border-color: var(--border-control); }
}
.example.is-used { border-color: var(--accent); }

.options { display: grid; gap: 8px; }
.option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  background: var(--inset);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
/* The hidden input covers the whole option, so keyboard focus scrolls the whole card into view (not a 1px corner that
   leaves the label under the sticky bar). Clicks still reach the label (pointer-events: none). */
.option input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid var(--border-control);
  border-radius: 4px;
  background: var(--inset);
  color: transparent;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.option input[type="radio"] + .tick { border-radius: 50%; }
.option input[type="radio"] + .tick::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}
.option input:checked + .tick { background: var(--accent); border-color: var(--accent); color: #fff; }
.option input[type="radio"]:checked + .tick::after { background: #fff; }
.option.checked { border-color: var(--accent); background: var(--surface-2); }
.option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) {
  .option:not(.checked):hover { border-color: var(--border-control); }
}
.option-text { min-width: 0; }
.option-text strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--text); }
.option-text span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg .option { flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 56px; padding: 10px 8px; text-align: center; }
.seg .tick { position: absolute; top: 8px; right: 8px; margin: 0; width: 16px; height: 16px; }
.seg .option input[type="radio"] + .tick::after { width: 6px; height: 6px; }
.seg .option.checked { border-width: 2px; padding: 9px 7px; }
.seg .option.checked .tick { top: 7px; right: 7px; }
.seg .option.checked .option-text strong { color: var(--accent-text); }
.seg .option-text strong { font-size: 15px; line-height: 1.3; padding-inline: 12px; }
.seg .option-text span { margin-top: 2px; font-size: 12px; color: var(--faint); }
.players .option-text span { font-size: 13px; color: var(--faint); }

.pc { background: var(--inset); border: 1px solid var(--border); border-radius: 12px; }
.pc-head { display: flex; align-items: center; gap: 12px; padding: 16px; }
.pc-id { min-width: 0; }
.pc-name { font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.pc-meta { font-size: 14px; line-height: 1.45; color: var(--muted); }
.pc-head-bot { align-items: flex-start; }
.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pc-name-field { flex: 1; min-width: 0; }
.pc-sec { padding: 16px; border-top: 1px solid var(--border); }
.pc-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
  margin-bottom: 12px;
}
.pc-label { display: block; color: var(--faint); }
.quote {
  padding-left: 12px;
  border-left: 2px solid var(--border-control);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.5; }
.row dt { flex-shrink: 0; max-width: 48%; color: var(--muted); }
.row dd { min-width: 0; color: var(--text); text-align: right; overflow-wrap: anywhere; }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.checks .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--success); }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; }
.cmds li {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  line-height: 1.45;
}
.cmds code { font-family: var(--mono); font-size: 14px; color: var(--accent-text); overflow-wrap: anywhere; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  overflow-wrap: anywhere;
}
.muted-line { font-size: 14px; color: var(--muted); }
.pc-example { margin-top: 16px; }
.pc-example .mock { background: #1e1f25; }

.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--faint); line-height: 1.5; transition: color 150ms var(--ease); overflow-wrap: anywhere; }
.checklist .mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-control);
  color: transparent;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.checklist .mark .icon { width: 14px; height: 14px; stroke-width: 3; }
.checklist li.is-done { color: var(--text); }
.checklist li.is-done .mark { border-color: var(--success); color: var(--success); }

.order { background: var(--inset); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.order-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.order-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.order-logo img { width: 28px; height: 28px; }
.order-name { font-weight: 600; line-height: 1.35; }
.order-meta { font-size: 14px; line-height: 1.45; color: var(--muted); }
.order .rows { padding: 16px; gap: 0; }
.order .row { padding: 8px 0; font-size: 15px; }
.order .row + .row { border-top: 1px solid var(--border); }
.order .row:first-child { padding-top: 0; }
.order .row:last-child { padding-bottom: 0; }
.order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.order-total > span:first-child { font-weight: 600; }
.order-amt { display: inline-flex; align-items: baseline; gap: 4px; }
.support-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.support-line .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-text); }
.sheet-foot .support-line { margin: 0 0 8px; justify-content: center; gap: 8px; }

.saved {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--inset);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.saved .icon { color: var(--accent-text); margin-top: 1px; }
.saved strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.foot-actions { display: grid; gap: 8px; }

.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.qualify { padding: 16px; background: var(--inset); border: 1px solid var(--border); border-radius: 12px; }
.qualify + .qualify, .qualify + .code-box { margin-top: 16px; }
.qualify-title { font-weight: 600; line-height: 1.4; }
.q-block { margin-top: 20px; }
.q-lead { margin-bottom: 4px; color: var(--faint); }
.q-label { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border-control);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
@media (hover: hover) {
  .q-chip:not(.selected):hover { background: var(--surface-2); }
}
.q-chip.selected { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.qualify-thanks { display: flex; gap: 8px; margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--success); }
.qualify-thanks:empty { margin-top: 0; }
.qualify-thanks .icon { width: 18px; height: 18px; margin-top: 1px; }

.code-box { border: 1px solid var(--border); border-radius: 12px; background: var(--inset); }
.code-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 4px 16px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.code-box summary::-webkit-details-marker { display: none; }
.code-box summary .icon { color: var(--muted); transition: transform 150ms var(--ease); }
.code-box[open] summary .icon { transform: rotate(180deg); }
.code-box form { padding: 0 16px 16px; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.code-row .input { text-transform: uppercase; }
.code-row .btn { min-height: 48px; }
.code-box .hint { margin-top: 10px; display: block; }
.code-msg { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.code-msg:empty { margin-top: 0; }
.code-msg.ok { color: var(--success); }
.code-msg.bad { color: var(--error); }

.doc { padding: 40px 0 var(--section); }
.doc-inner { max-width: 68ch; }
.doc h1 {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.doc-updated { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--faint); }
.doc-intro { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.doc h2 { margin-top: 40px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.doc-inner > p:not([class]), .doc-inner > ul { margin-top: 12px; color: var(--muted); }
.doc-inner > ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.doc-inner li::marker { color: var(--faint); }
.doc-inner strong { color: var(--text); font-weight: 600; }
.doc-back { margin-top: 40px; }
.doc-back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 768px) {
  .doc { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .step { animation: fade-in 80ms linear; }
  .sheet[open], .sheet[open]::backdrop { animation: fade-in 100ms linear; }
  .sheet.is-closing, .sheet.is-closing::backdrop { animation: fade-out 100ms linear forwards; }
  .progress .bar::after, .faq-list summary .icon, .plan-details summary .icon, .code-box summary .icon { transition: none; }
  .pick, .prompt, .option, .q-chip, .btn { transition: none; }
}

@media (forced-colors: active) {
  :focus-visible,
  .option:has(input:focus-visible),
  .pick:has(input:focus-visible) { outline: 2px solid CanvasText; }
  .tick, .option, .q-chip, .pick { transition: none; }
  .tick, .pick-dot { forced-color-adjust: none; background: Canvas; border-color: CanvasText; color: Canvas; }
  .option input:checked + .tick { background: Highlight; border-color: Highlight; color: HighlightText; }
  .option input[type="radio"]:checked + .tick::after { background: HighlightText; }
  .option.checked, .pick.is-checked { border: 2px solid Highlight; }
  .pick.is-checked .pick-dot { background: Highlight; border-color: Highlight; }
  .q-chip.selected { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
  .progress .bar { border: 1px solid CanvasText; }
  .progress .bar::after { forced-color-adjust: none; background: Highlight; }
  .checklist .mark { forced-color-adjust: none; background: Canvas; border-color: CanvasText; color: Canvas; }
  .checklist li.is-done .mark { color: CanvasText; border-color: CanvasText; }
}

/* Phone landscape: on checkout and the priority list the action bar is one row, with the button on
   the right and its support line and note on the left. The bar drops from about 120px to about 65px, so the order
   Total and the capacity title stay on screen above it down to about 290px of height. Layout only; browsers without
   :has keep the stacked bar. */
@media (max-height: 480px) and (min-height: 281px) and (min-width: 560px) {
  .sheet-foot .foot-inner:has(> [data-pay]),
  .sheet-foot .foot-inner:has(> #cap-submit) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    column-gap: 20px;
    align-items: center;
  }
  .sheet-foot .foot-inner:has(> [data-pay]) > [data-pay],
  .sheet-foot .foot-inner:has(> #cap-submit) > #cap-submit { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .sheet-foot .foot-inner:has(> [data-pay]) > .support-line { grid-column: 1; grid-row: 1; margin: 0; justify-content: flex-start; }
  .sheet-foot .foot-inner:has(> [data-pay]) > .foot-note,
  .sheet-foot .foot-inner:has(> #cap-submit) > .foot-note { grid-column: 1; margin: 0; text-align: left; }
  .sheet-foot .foot-inner:has(> [data-pay]) > .foot-note { grid-row: 2; }
  .sheet-foot .foot-inner:has(> #cap-submit) > .foot-note { grid-row: 1; }
  .sheet-foot .foot-inner:has(> #cap-submit) > .foot-note a { padding-left: 0; }
}
@media (max-height: 480px) {
  .step-body { margin-top: 12px; }
}

/* Site navigation and footer links (vibecord.dev) */
.site-nav { display: flex; align-items: center; gap: 0 4px; margin-right: -12px; }
.site-nav .nav-link { margin-right: 0; white-space: nowrap; }
.nav-signin { color: var(--text); }
@media (max-width: 479px) {
  .site-header .brand span { display: none; }
  .site-nav .nav-link { padding: 0 8px; font-size: 13px; }
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; max-width: 60ch; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }
.footer-links a[aria-current="page"] { color: var(--text); }

/* Bundle-led plans (8 Oct, competitor verdict): the linked bot + server card goes first and is marked. */
.plan-top { flex-wrap: wrap; }
.plan-flag { order: -1; flex-basis: 100%; margin-bottom: 2px; }
.plan-flag span {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--accent-text);
  border-radius: 999px;
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.plan-lead { border-color: var(--accent-text); }

/* Minecraft side of the bundle example: game chat lines, Minecraft's own yellow join text */
.mock-mc { background: #17181c; }
.mock-mc .mock-head .icon { width: 14px; height: 14px; color: var(--faint); }
.mock-mc .mock-body { padding: 8px 12px; }
.mc-line { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; color: #e4e4e7; overflow-wrap: anywhere; }
.mc-line + .mc-line { margin-top: 2px; }
.mc-join { color: #fde047; }
.mc-kick { color: #fca5a5; }
.mc-who { color: #a1a1aa; }
.plan-example .mock-mc { flex: none; }

/* Discord-only launch: reuse the existing type, cards, colors and spacing. */
.launch-cta { margin-top: 24px; }
.launch-secondary { display: inline-flex; min-height: 44px; align-items: center; margin: 16px; text-underline-offset: 4px; }
.launch-plan-grid { display: grid; gap: 32px; align-items: start; }
.launch-plan-grid > .plan { display: flex; grid-row: auto; padding-bottom: 24px; }
.launch-plan-grid > .plan > .btn { margin-top: 24px; }
.launch-detail { padding-block: 20px; }
@media (min-width: 800px) {
  .launch-plan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
