/* 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-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 22px; text-decoration: none; transition: border-color 0.15s ease;
}
.beta-feature-card:hover { border-color: #3a3a3a; }
.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; }

/* 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; }
}
