/* Beta tester site (beta.kilona.org). Loads AFTER styles.css: shares the black base and the
   ts- section renderer styles, and adds the beta- component set. */

.beta-body { color: #ccc; overflow-x: hidden; }
.beta-body main { display: block; }

/* Header / footer */
.beta-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
.beta-wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.beta-wordmark img { height: 26px; width: auto; display: block; }
.beta-chip {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; color: #7ab8ff;
  border: 1px solid rgba(122, 184, 255, 0.45); border-radius: 999px; padding: 2px 8px;
}
.beta-header-nav { display: flex; align-items: center; gap: 16px; font-size: 0.9rem; }
.beta-header-nav a { color: #7ab8ff; text-decoration: none; }
.beta-header-nav a:hover { text-decoration: underline; }
.beta-header-user { color: #777; }
.beta-footer { text-align: center; padding: 28px 20px 36px; color: #666; font-size: 0.85rem; }
.beta-footer a { color: #888; }

/* Layout */
.beta-main { max-width: 860px; margin: 0 auto; padding: 24px 20px 60px; }
.beta-main-wide { max-width: 1180px; }
.beta-page h1, .beta-auth h1 { color: #fff; margin-bottom: 12px; }
.beta-page-narrow { max-width: 640px; margin: 0 auto; }
.beta-hero-sub { color: #aaa; max-width: 560px; margin: 0 auto 26px; }
.beta-section-title { color: #fff; font-size: 1.15rem; margin: 34px 0 14px; }

/* ---------------------------------------------------------------------------
   Signed-out landing: copy | iPad hero, then the 3-step briefing, the status
   rail, and the honest-warning close. Monospace carries the program's own
   vernacular (build plate, step numbers, statuses); everything else stays quiet.
   --------------------------------------------------------------------------- */

.beta-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.22em; color: #7ab8ff; margin-bottom: 18px;
}

.beta-hero2 {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px; align-items: center; padding: 40px 0 24px;
}
.beta-hero2-title {
  color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 18px;
}
.beta-hero2-sub { color: #9a9aa2; font-size: 1.02rem; line-height: 1.65; max-width: 44ch; }
.beta-hero2-cta { margin-top: 28px; }
.beta-hero2-cta .beta-fineprint { margin-top: 12px; }

/* The iPad: same bezel art + screen cutout geometry as the marketing hero,
   floated on a faint blue ambient glow instead of the shader. */
.beta-device { position: relative; margin: 0; min-width: 0; }
.beta-device::before {
  content: ''; position: absolute; inset: -14% -16%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(47, 111, 237, 0.16), transparent 72%);
}
.beta-device-frame { position: relative; }
/* Black backing a hair larger than the screen cutout, painted below the gif. */
.beta-device-frame::before {
  content: ''; position: absolute;
  top: 5.0%; left: 3.5%; width: 93.0%; height: 90.0%;
  background: #000; border-radius: 2.2% / 2.8%;
}
.beta-device-bezel {
  position: relative; width: 100%; display: block; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6))
          drop-shadow(0 32px 64px rgba(0, 0, 0, 0.5));
}
/* Exact bounds of the bezel PNG's transparent screen cutout (see styles.css). */
.beta-device-screen {
  position: absolute; top: 5.29%; left: 3.87%; width: 92.23%; height: 89.36%;
  object-fit: fill; border-radius: 1.6% / 2.1%;
}
.beta-buildplate {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: #6a6a72; text-align: center; margin-top: 20px;
}
.beta-buildplate-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #6fdc9b; margin-right: 9px; vertical-align: 1px;
}

/* The tester's loop, in order. */
.beta-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin: 72px 0 0;
}
.beta-step { border-top: 1px solid #222226; padding-top: 20px; }
.beta-step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem; color: #7ab8ff; letter-spacing: 0.1em;
}
.beta-step h3 { color: #fff; font-size: 1.02rem; margin: 10px 0 8px; }
.beta-step p { color: #8a8a93; font-size: 0.92rem; line-height: 1.65; }

/* Feature statuses, the program's own vocabulary. */
.beta-rail {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px;
  align-items: center; background: #0e0e10; border: 1px solid #1d1d21;
  border-radius: 16px; padding: 28px 32px; margin: 64px 0 0;
}
.beta-rail-copy h2 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.beta-rail-copy p { color: #8a8a93; font-size: 0.94rem; line-height: 1.6; max-width: 52ch; }
.beta-rail-chips { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.beta-rail-arrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #55555c;
}

.beta-closing { text-align: center; margin: 64px 0 24px; }
.beta-closing .beta-note { text-align: left; margin-bottom: 28px; }

@media (max-width: 900px) {
  .beta-device::before { inset: -10% 0; }
  .beta-hero2 { grid-template-columns: 1fr; gap: 44px; padding-top: 16px; }
  .beta-hero2-copy { text-align: center; }
  .beta-hero2-sub { margin: 0 auto; }
  .beta-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .beta-rail { grid-template-columns: 1fr; padding: 24px; }
}

/* Cards */
.beta-card {
  background: #111; border: 1px solid #232323; border-radius: 14px; padding: 24px;
  margin: 0 auto 22px;
}
.beta-card-center { max-width: 520px; text-align: center; }
.beta-note {
  background: rgba(122, 184, 255, 0.07); border: 1px solid rgba(122, 184, 255, 0.25);
  border-radius: 12px; padding: 14px 18px; color: #a9c6e8; font-size: 0.92rem;
  max-width: 640px; margin: 22px auto; line-height: 1.6; text-align: left;
}
.beta-error {
  background: rgba(255, 90, 90, 0.08); border: 1px solid rgba(255, 90, 90, 0.35);
  border-radius: 10px; padding: 12px 16px; color: #ff9b9b; margin: 14px auto; max-width: 640px;
}

/* Buttons + form fields */
.beta-btn {
  display: inline-block; border: none; border-radius: 10px; padding: 12px 22px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; text-decoration: none;
}
.beta-btn-primary { background: #2f6fed; color: #fff; }
.beta-btn-primary:hover { background: #3d7cf5; }
.beta-btn-provider {
  background: #1c1c1e; color: #fff; border: 1px solid #333; width: 100%; margin-bottom: 10px;
}
.beta-btn-provider:hover { background: #26262a; }
.beta-auth-buttons { margin: 20px 0 4px; }
.beta-divider {
  display: flex; align-items: center; gap: 12px; color: #555; margin: 16px 0;
  font-size: 0.8rem;
}
.beta-divider::before, .beta-divider::after { content: ""; flex: 1; height: 1px; background: #2a2a2a; }
.beta-input {
  width: 100%; background: #1a1a1c; border: 1px solid #303032; border-radius: 10px;
  color: #eee; padding: 11px 14px; font-size: 0.95rem; margin-top: 6px;
  font-family: inherit;
}
.beta-input:focus { outline: none; border-color: #2f6fed; }
#email-form .beta-btn { width: 100%; margin-top: 10px; }

/* Request form */
.beta-form { max-width: 640px; text-align: left; }
.beta-form label { display: block; color: #ddd; font-size: 0.92rem; margin-bottom: 16px; }
.beta-form textarea { resize: vertical; }
.beta-hint { display: block; color: #777; font-size: 0.8rem; margin-top: 6px; line-height: 1.5; }
.beta-optional { color: #666; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.beta-check { display: flex; gap: 10px; align-items: flex-start; color: #aaa; line-height: 1.55; }
.beta-check input { margin-top: 4px; }
.beta-check a { color: #7ab8ff; }
.beta-fineprint { color: #777; font-size: 0.85rem; line-height: 1.6; margin-top: 14px; }
.beta-fineprint a { color: #888; }

/* Beta home */
.beta-build { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.beta-build-label {
  display: block; color: #666; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px;
}
.beta-build-version { color: #fff; font-size: 1.5rem; font-weight: 700; }
.beta-build-focus { color: #aaa; margin-top: 10px; max-width: 520px; line-height: 1.6; }

.beta-discord { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.beta-discord-text { color: #aaa; margin-top: 6px; max-width: 520px; line-height: 1.6; }
.beta-discord-status { margin-top: 10px; font-size: 0.9rem; color: #6fdc9b; }
.beta-discord-error { color: #ff8a80; }
.beta-btn-discord { background: #5865f2; color: #fff; }
.beta-btn-discord:hover { background: #6a76f4; }

.beta-feature-list { display: flex; flex-direction: column; gap: 12px; }
.beta-feature-card {
  display: block; background: #111; border: 1px solid #232323; border-radius: 14px;
  padding: 18px 50px 18px 22px; text-decoration: none; transition: border-color 0.15s ease;
  position: relative;
}
.beta-feature-card:hover { border-color: #3a3a3a; }
/* The chevron down the right edge: the card opens that feature's guide page. */
.beta-feature-card::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -5px;
  border-top: 2px solid #666; border-right: 2px solid #666;
  transform: rotate(45deg); transition: border-color 0.15s ease, right 0.15s ease;
}
.beta-feature-card:hover::after { border-color: #bbb; right: 19px; }
.beta-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.beta-feature-title { color: #fff; font-weight: 650; font-size: 1.05rem; }
.beta-feature-summary { color: #999; margin: 6px 0 0; font-size: 0.92rem; line-height: 1.55; }
.beta-feature-version { color: #666; font-size: 0.8rem; display: inline-block; margin-top: 8px; }
.beta-feature-header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.beta-back { color: #7ab8ff; text-decoration: none; font-size: 0.9rem; }
.beta-post { border-left: none; padding-left: 0; }

/* Status pills (match BetaFeature statuses) */
.beta-status {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.beta-status-available { background: rgba(70, 200, 120, 0.15); color: #6fdc9b; }
.beta-status-coming_soon { background: rgba(122, 184, 255, 0.12); color: #7ab8ff; }
.beta-status-paused { background: rgba(230, 190, 80, 0.14); color: #e6be50; }
.beta-status-public { background: rgba(255, 255, 255, 0.1); color: #ddd; }

/* ---------------------------------------------------------------------------
   Rewards Center. The points are the one loud thing: a ticket with a torn
   stub, set in the program's monospace. Everything else stays in the site's
   quiet card vocabulary.
   --------------------------------------------------------------------------- */
.beta-back { display: inline-block; margin-bottom: 14px; }
.rw-copy { color: #aaa; line-height: 1.65; margin: 8px 0 14px; }
.rw-copy a { color: #7ab8ff; }

.rw-ticket {
  display: flex; align-items: stretch; margin: 6px 0 22px;
  background: linear-gradient(135deg, #14161c, #101013); border: 1px solid #262a33;
  border-radius: 16px; overflow: hidden;
}
.rw-ticket-main { flex: 1; padding: 22px 26px; min-width: 0; }
.rw-points, .rw-points-inline, .rw-inline-points, .rw-amount, .rw-price {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}
.rw-points {
  display: block; color: #fff; font-size: clamp(2.2rem, 7vw, 3.2rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
}
.rw-inline-points { color: #fff; }
.rw-ticket-note { display: block; color: #6fdc9b; font-size: 0.85rem; margin-top: 8px; }
/* The stub: a perforated edge, then the one action. */
.rw-ticket-stub {
  display: flex; align-items: center; padding: 22px 26px;
  border-left: 2px dashed #2c313c; background: rgba(47, 111, 237, 0.06);
}

.rw-terms .beta-check { margin: 4px 0 16px; }

.rw-doors { display: flex; flex-direction: column; gap: 14px; }
/* A door with one action: the copy on the left, the button on the right
   (the points ticket's stub, without the tear). */
/* On beta home the report card stands alone under the feature posts. */
.rw-home-report { margin-top: 26px; }
/* Beta home: the public app bar sits at the bottom, above Report a bug. */
.beta-home-app { margin-top: 26px; }
.beta-home-app + .rw-home-report { margin-top: 0; }
/* The home's Get the App card sits over Report a bug: its title and text
   take that bar's type (rw-door-title / rw-door .rw-copy), so the two read
   as a pair. The other pages' Get the App bar keeps its larger type. */
.beta-home-app .beta-build-version { display: block; font-size: 1.08rem; font-weight: 650; }
.beta-home-app .beta-build-focus { font-size: 0.92rem; line-height: 1.65; margin-top: 8px; }
/* The card's first line: the copy on the left, its one action on the right. */
.rw-door-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rw-door-body { min-width: 0; }
.rw-door-action .beta-btn { flex: none; white-space: nowrap; margin-left: auto; }
.rw-door-body .rw-copy { margin-bottom: 0; }
.rw-btn-inert { opacity: 0.55; cursor: default; }
.rw-preview-note { max-width: 520px; }
.rw-preview-note a { color: #7ab8ff; }
.rw-door {
  display: block; background: #111; border: 1px solid #232323; border-radius: 14px;
  padding: 20px 22px; text-decoration: none; transition: border-color 0.15s ease;
}
a.rw-door:hover { border-color: #3a3a3a; }
.rw-door-title { display: block; color: #fff; font-weight: 650; font-size: 1.08rem; }
.rw-door .rw-copy { font-size: 0.92rem; margin: 8px 0 12px; }
.rw-earn {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem; color: #6fdc9b; background: rgba(70, 200, 120, 0.12);
  border-radius: 999px; padding: 4px 10px;
}
/* The invite card: the link first, then what it earns, a line per reward. */
.rw-door .rw-copy.rw-invite-how { margin: 16px 0 0; }
.rw-earn-list { margin-top: 14px; border-top: 1px solid #232323; }
.rw-earn-head {
  display: block; color: #666; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin: 16px 0 4px;
}
.rw-earn-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid #1d1d1f;
}
.rw-earn-row:last-child { border-bottom: none; padding-bottom: 0; }
.rw-earn-what { color: #ddd; font-size: 0.93rem; min-width: 0; }
.rw-earn-row .rw-earn { flex: none; }
.rw-invite { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.rw-invite-link {
  margin-top: 0; min-width: 0; flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem;
}
.rw-btn-quiet { background: #1c1c1e; color: #fff; border: 1px solid #333; padding: 11px 16px; }
.rw-btn-quiet:hover { background: #26262a; }
/* Under the link: how many invites have paid, as a figure and a meter, and
   the way to see the page the link opens. */
.rw-invite-status {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 20px;
  flex-wrap: wrap; margin-top: 14px;
}
.rw-invite-progress { flex: 1; min-width: 200px; max-width: 360px; }
.rw-invite-figure { display: block; color: #999; font-size: 0.88rem; }
.rw-invite-figure strong {
  color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums; font-size: 1.05rem; margin-right: 2px;
}
.rw-invite-extra { color: #666; }
.rw-meter { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: #232326; overflow: hidden; }
.rw-meter span { display: block; height: 100%; border-radius: 999px; background: #6fdc9b; min-width: 0; }
.rw-link-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none;
  color: #7ab8ff; font-size: 0.9rem; font-weight: 600; padding: 9px 14px;
  border: 1px solid rgba(122, 184, 255, 0.35); border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rw-link-btn:hover { background: rgba(122, 184, 255, 0.08); border-color: rgba(122, 184, 255, 0.6); }
.rw-link-btn svg { width: 18px; height: 18px; }

/* Ledger-style rows: history, my reports, the confirm sum. */
.rw-table, .rw-sum { border: 1px solid #232323; border-radius: 14px; overflow: hidden; background: #111; }
.rw-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; border-top: 1px solid #1d1d1f;
}
.rw-row:first-child { border-top: none; }
.rw-row-main { color: #ddd; font-size: 0.93rem; min-width: 0; }
.rw-row-date { display: block; color: #666; font-size: 0.78rem; margin-top: 2px; }
.rw-amount { color: #999; white-space: nowrap; }
.rw-amount-up { color: #6fdc9b; }
.rw-amount-short { color: #ff9b9b; }
.rw-row-total .rw-row-main, .rw-row-total .rw-amount { color: #fff; font-weight: 650; }
.rw-sum { margin: 18px 0; background: #0e0e10; }
.rw-note-good { background: rgba(70, 200, 120, 0.08); border-color: rgba(70, 200, 120, 0.3); color: #a6e3bf; }

/* The report form's type picker: a select drawn with the site's field, each
   option with its icon and a line on what it covers. */
.rw-field { margin-bottom: 16px; }
.rw-field-name { display: block; color: #ddd; font-size: 0.92rem; }
.rw-picker { position: relative; }
.rw-picker-button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
}
.rw-picker-button:focus-visible, .rw-picker-button[aria-expanded="true"] { outline: none; border-color: #2f6fed; }
.rw-picker-current { flex: 1; min-width: 0; }
.rw-picker-icon { flex: none; width: 20px; height: 20px; color: #7ab8ff; }
.rw-picker-icon svg { width: 20px; height: 20px; display: block; }
.rw-picker-caret { flex: none; width: 18px; height: 18px; color: #777; }
.rw-picker-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px;
  list-style: none; background: #1a1a1c; border: 1px solid #303032; border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); max-height: min(60vh, 460px); overflow-y: auto;
}
.rw-picker-list:focus { outline: none; }
.rw-picker-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer;
}
.rw-picker-option .rw-picker-icon { margin-top: 1px; color: #8a8a93; }
.rw-picker-option.is-active { background: #26262a; }
.rw-picker-option[aria-selected="true"] .rw-picker-icon { color: #7ab8ff; }
.rw-picker-option[aria-selected="true"] .rw-picker-title { color: #fff; }
.rw-picker-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rw-picker-title { color: #ddd; font-size: 0.95rem; line-height: 1.35; }
.rw-picker-explainer { color: #777; font-size: 0.8rem; line-height: 1.45; }
.rw-type-note {
  margin: 10px 0 0; max-width: none; padding: 10px 14px; font-size: 0.84rem; line-height: 1.5;
}
.rw-type-note[hidden] { display: none; }
/* The "i" in a circle: this is information, not an error. It sits in the
   text's first line; the lines after it run back to the note's left edge. */
.rw-note-icon {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: -3px;
  width: 17px; height: 17px; margin-right: 6px; border-radius: 50%; border: 1.5px solid currentColor;
  font-family: Georgia, 'Times New Roman', serif; font-size: 0.7rem; font-weight: 700; font-style: italic;
  line-height: 1;
}
.rw-file-error { display: block; margin: 8px 0 0; font-size: 0.85rem; }
.rw-file-error[hidden] { display: none; }

/* The shop */
.rw-section-note { margin: -6px 0 14px; }
.rw-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rw-item {
  display: flex; flex-direction: column; gap: 2px; background: #111; border: 1px solid #232323;
  border-radius: 14px; padding: 18px; text-decoration: none; transition: border-color 0.15s ease;
}
.rw-item:hover, a.rw-pass-cell:hover { border-color: #2f6fed; }
.rw-item-title { color: #fff; font-size: 1.4rem; font-weight: 700; }
.rw-item-sub { display: block; color: #777; font-size: 0.8rem; font-weight: 400; }
.rw-price { color: #7ab8ff; font-size: 0.85rem; margin-top: 10px; }
.rw-item-short { opacity: 0.45; }

.rw-passes { display: flex; flex-direction: column; gap: 10px; }
.rw-pass-row {
  display: grid; grid-template-columns: minmax(120px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 10px; align-items: stretch;
}
.rw-pass-head span {
  color: #666; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; text-align: center;
}
.rw-pass-name { color: #fff; font-weight: 650; align-self: center; }
.rw-pass-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #111; border: 1px solid #232323; border-radius: 12px; padding: 14px 8px;
  text-decoration: none; text-align: center; transition: border-color 0.15s ease;
}
.rw-pass-cell .rw-price { margin-top: 0; font-size: 0.95rem; }
.rw-pass-cell-label { display: none; color: #777; font-size: 0.75rem; margin-bottom: 4px; }
.rw-pass-cell-empty { color: #444; }

.rw-choice { border: none; padding: 0; margin: 0 0 4px; }
.rw-choice .beta-check { margin-bottom: 12px; }
.rw-choice .beta-hint { margin-top: 2px; }

/* The invite page's full pitch: edge to edge, the invite over the main
   site's hero video, the main site's showcase (landing.css, .studio) below. */
/* The body is a column flex box and .beta-main centers itself with auto side
   margins, which makes it shrink to its content. The showcase's marquees are
   far wider than the screen, so without a fixed width the whole page grew to
   their width and everything sat off to the right. */
.beta-main-full { width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 0; }
.beta-main-full .studio { min-width: 0; max-width: 100%; }
.rw-pitch-hero {
  position: relative; z-index: 2; min-height: 78vh; padding: 56px 20px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.rw-pitch-card {
  width: 100%; max-width: 560px; text-align: center; padding: 34px 30px 28px;
  background: rgba(14, 14, 18, 0.72); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.rw-pitch-card h1 {
  color: #fff; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px;
}
/* The headline is the wordmark itself, the header's logo at display size. */
.rw-pitch-logo { margin: 4px 0 20px; line-height: 0; }
.rw-pitch-logo img { display: block; margin: 0 auto; width: min(78%, 340px); height: auto; }
.rw-pitch-card .beta-eyebrow { display: block; margin-bottom: 14px; }
.rw-pitch-sub { color: #c4c4cf; line-height: 1.6; margin: 0 auto 22px; max-width: 46ch; }
/* The bonus: the Rewards ticket's number, as the offer. */
.rw-bonus {
  display: inline-flex; align-items: center; gap: 14px; text-align: left; margin: 0 0 22px;
  padding: 12px 20px; border: 1px dashed rgba(111, 220, 155, 0.5); border-radius: 14px;
  background: rgba(70, 200, 120, 0.1);
}
.rw-bonus-amount {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums;
  color: #6fdc9b; font-size: 2.1rem; font-weight: 700; line-height: 1;
}
.rw-bonus-label { color: #a6e3bf; font-size: 0.85rem; line-height: 1.35; }
.rw-btn-big { display: block; width: 100%; padding: 16px 22px; font-size: 1.05rem; text-align: center; }
.st-closing .rw-btn-big { display: inline-block; width: auto; min-width: 260px; }
.rw-pitch-steps { color: #8a8a93; font-size: 0.85rem; line-height: 1.55; margin: 14px 0 0; }
.rw-scroll { color: #c4c4cf; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.02em; }
.rw-scroll:hover { color: #fff; }
.rw-pitch .rw-preview-note { margin: 0; }
.rw-pitch .st-closing .beta-fineprint { max-width: 520px; margin: 18px auto 0; }
.rw-pitch .st-closing .beta-fineprint a { color: #888; }

/* The invite and gift pages' numbered steps. */
.rw-steps {
  text-align: left; color: #aaa; line-height: 1.6; margin: 4px auto 24px; padding-left: 22px;
  max-width: 400px;
}
.rw-steps li { margin-bottom: 8px; }
.rw-steps strong { color: #fff; }

@media (max-width: 640px) {
  .rw-door-action { flex-direction: column; align-items: stretch; }
  .rw-door-action .beta-btn { text-align: center; margin-left: 0; }
  .rw-invite { flex-wrap: wrap; }
  .rw-invite-link { flex-basis: 100%; }
  .rw-ticket { flex-direction: column; }
  .rw-ticket-stub { border-left: none; border-top: 2px dashed #2c313c; padding: 16px 26px; }
  .rw-ticket-stub .beta-btn { width: 100%; text-align: center; }
  /* The pass table stacks: tier name, then its durations side by side with
     their own labels. */
  .rw-pass-head { display: none; }
  .rw-pass-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rw-pass-name { grid-column: 1 / -1; margin-top: 8px; }
  .rw-pass-cell-label { display: block; }
}

/* Terms */
.beta-terms h2 { color: #fff; font-size: 1.05rem; margin: 26px 0 8px; }
.beta-terms p { color: #aaa; line-height: 1.7; margin: 8px 0; }
.beta-terms a { color: #7ab8ff; }

@media (max-width: 600px) {
  .beta-header { padding: 14px 18px; }
  .beta-build { flex-direction: column; align-items: flex-start; }
  .beta-discord { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------------------
   Feature post: the list of every post down the left, the post on the right.
   On a phone the list turns into one sideways-scrolling strip above the post.
   --------------------------------------------------------------------------- */
/* width: the page body centers main to its content, and the strip's row of
   pills would otherwise stretch it past a phone's screen. */
.beta-main-post { max-width: 1180px; width: 100%; }
.beta-post-layout { display: flex; align-items: flex-start; gap: 44px; }
.beta-post-body { flex: 1; min-width: 0; max-width: 820px; }
.beta-post-nav { width: 230px; flex: none; position: sticky; top: 20px; }
.beta-post-nav-heading {
  display: block; color: #666; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 0 10px 14px;
}
.beta-post-nav-list {
  position: relative; display: flex; flex-direction: column;
  max-height: calc(100vh - 80px); overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.beta-post-nav-item {
  display: block; text-decoration: none; padding: 7px 8px 7px 14px;
  border-left: 2px solid transparent; margin-left: -1px;
}
.beta-post-nav-title { display: block; color: #999; font-size: 0.88rem; line-height: 1.35; }
.beta-post-nav-item:hover .beta-post-nav-title { color: #ddd; }
.beta-post-nav-item.active { border-left-color: #7ab8ff; }
.beta-post-nav-item.active .beta-post-nav-title { color: #fff; font-weight: 600; }
/* One label per state, above that state's posts. */
.beta-post-nav-group {
  display: block; margin: 14px 0 4px 14px; font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: #777;
}
.beta-post-nav-group:first-child { margin-top: 2px; }
.beta-post-nav-group-available { color: #6fdc9b; }
.beta-post-nav-group-coming_soon { color: #7ab8ff; }
.beta-post-nav-group-paused { color: #e6be50; }
.beta-post-nav-group-public { color: #bbb; }

@media (max-width: 900px) {
  .beta-post-layout { flex-direction: column; align-items: stretch; gap: 14px; }
  .beta-post-body { flex: none; max-width: none; }
  .beta-post-nav { position: static; width: auto; min-width: 0; }
  .beta-post-nav-heading { display: none; }
  .beta-post-nav-list {
    flex-direction: row; gap: 8px; max-height: none; border-left: none;
    overflow-x: auto; overflow-y: hidden; padding-bottom: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .beta-post-nav-list::-webkit-scrollbar { display: none; }
  .beta-post-nav-item {
    flex: none; margin: 0; padding: 7px 12px; white-space: nowrap;
    border: 1px solid #232323; border-radius: 999px; background: #111;
  }
  .beta-post-nav-item.active { border-color: #7ab8ff; }
  .beta-post-nav-title { display: inline; font-size: 0.82rem; }
  .beta-post-nav-group {
    flex: none; align-self: center; margin: 0 0 0 6px; white-space: nowrap; font-size: 0.6rem;
  }
  .beta-post-nav-group:first-child { margin: 0; }
}
