/* Homepage-only refinement. Existing feature-page and feature-index styles stay untouched. */
.beta-home {
  min-width: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  --c-rule: rgba(255, 255, 255, .08);
}
.beta-home .site-header { border-bottom-color: rgba(255, 255, 255, .06); }
.beta-home .site-header .shell { min-height: 60px; }
.beta-home .brand { font-size: 20px; letter-spacing: .06em; line-height: 1.2; }
.beta-home .site-nav { font-size: 13px; font-weight: 500; gap: 24px; color: #a7a8ab; }
.beta-home .site-nav a:hover { color: #fff; }
/* Server managers' way in: the one outlined item in the header. */
.beta-home .site-nav .nav-dash { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 3px; color: #e9eaee; font-weight: 600; transition: border-color .15s, background-color .15s, color .15s; }
.beta-home .site-nav .nav-dash:hover { border-color: rgba(0, 212, 255, .6); background-color: rgba(0, 212, 255, .08); color: #fff; }
.beta-home .site-footer { border-top-color: rgba(255, 255, 255, .06); }
.beta-home .site-footer .shell { color: #9296a0; font-size: 11px; line-height: 1.6; }
.beta-home .a-main,
.beta-home .c-main { flex: 1; min-height: 0; padding-block: clamp(56px, 9vh, 96px); }
.beta-home .a-hero h1,
.beta-home .b-title { line-height: .9; letter-spacing: .01em; }
.beta-home .a-kicker,
.beta-home .b-eyebrow,
.beta-home .c-rule-heading { font-size: 11px; letter-spacing: .2em; }
.beta-home .a-intro,
.beta-home .b-intro,
.beta-home .c-intro { color: #a7a8b0; font-size: 15px; line-height: 1.7; }
.beta-home .a-intro { max-width: 480px; margin-block: 26px 28px; }
.beta-home .b-intro { max-width: 400px; }
.beta-home .c-intro { max-width: 450px; margin-block: 26px 28px; }
.beta-home .a-join,
.beta-home .b-actions .b-join,
.beta-home .c-join { font-size: 14px !important; font-weight: 700; letter-spacing: .06em; min-height: 54px; }
.beta-home .a-join { min-width: 280px; }
.beta-home .a-explore { max-width: 510px; margin-top: 30px; border-color: rgba(255,255,255,.08); }
.beta-home .a-link { min-height: 57px; justify-content: center; padding: 17px 22px; }
.beta-home .a-link-label { font-size: 13px; font-weight: 500; }
.beta-home .b-actions { max-width: 410px; }
.beta-home .b-explore,
.beta-home .c-secondary-actions { gap: 12px; margin-top: 12px; }
.beta-home .b-explore .btn,
.beta-home .c-secondary-actions a { font-size: 13px; font-weight: 500; letter-spacing: 0; min-height: 48px; padding: 13px 16px; border-color: rgba(255,255,255,.12); }
.beta-home .b-receipt { background: #101116; border-color: rgba(255,255,255,.09); }
.beta-home .b-quote { letter-spacing: -.01em; font-weight: 500; }
.beta-home .b-receipt-heading,
.beta-home .b-receipt-footer,
.beta-home .b-match { font-size: 11px; color: #a1a4af; }
.beta-home .c-rule-heading { margin-bottom: 28px; }
.beta-home .c-title-name { font-size: clamp(68px, 8.8vw, 110px); }
.beta-home .c-title-beta { font-size: clamp(90px, 10vw, 128px); }
.beta-home .c-signup-host { margin-top: 0; }

/* The same inline form across the three homepage layouts. */
.beta-home .signup-panel {
  background: #101116;
  border: 1px solid rgba(255,255,255,.09);
  padding: 30px;
  margin-top: 36px;
  scroll-margin-top: 24px;
}
.beta-home .signup-top { gap: 12px; }
.beta-home .signup-title { font-size: 36px; line-height: 1; }
.beta-home .signup-intro { font-size: 14px; line-height: 1.65; color: #b0b2bd; margin-bottom: 26px; }
.beta-home .signup-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: -8px -10px 0 0;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #b9bcc6;
}
.beta-home .signup-close:hover { background: rgba(255,255,255,.06); color: #fff; }
.beta-home .signup-field { font-size: 13px; gap: 9px; }
.beta-home .signup-field input,
.beta-home .signup-field select { font-size: 15px; background: #06070a; min-height: 48px; padding: 12px; border-color: rgba(255,255,255,.15); }
.beta-home .signup-field input::placeholder { color: #858a96; }
.beta-home .signup-field small { color: #a1a6b2; font-size: 12px; }
.beta-home .signup-consent { font-size: 12px; color: #b0b5c0; line-height: 1.65; }
.beta-home .signup-consent input { width: 17px; height: 17px; margin-top: 1px; }
.beta-home .signup-actions { gap: 14px; }
.beta-home .signup-actions .btn { font-size: 13px; min-height: 48px; }
.beta-home .signup-actions p { color: #a2a7b2; font-size: 12px; }
.beta-home .signup-error,
.beta-home .signup-field-error { color: #ffadb4; font-size: 13px; line-height: 1.6; }
.beta-home [aria-invalid="true"] { border-color: #ff939b !important; }
.beta-home .signup-status { color: #b8bec9; font-size: 13px; line-height: 1.6; }
.beta-home .signup-result:focus { outline: none; }
.beta-home .signup-panel:has(.signup-result:not([hidden])) .signup-top { margin-bottom: 20px; }
.beta-home .signup-result h3 { font-size: 36px; }
.beta-home .signup-result p,
.beta-home .signup-summary div { font-size: 14px; }
.beta-home .signup-summary dt { color: #a9afba; }

/* Compact homepage dropdown, between Apply and the two exploration links. */
.beta-home .c-main { --reveal-duration: 380ms; --reveal-easing: cubic-bezier(.22, 1, .36, 1); transition: padding var(--reveal-duration) var(--reveal-easing); }
.beta-home .c-actions { width: 100%; max-width: 416px; transition: max-width var(--reveal-duration) var(--reveal-easing); }
.beta-home .c-title-name,
.beta-home .c-title-beta { transition: font-size var(--reveal-duration) var(--reveal-easing); }
.beta-home .c-rule-heading { max-height: 32px; overflow: hidden; transition: max-height var(--reveal-duration) var(--reveal-easing), margin var(--reveal-duration) var(--reveal-easing), opacity 180ms ease; }
.beta-home .c-intro { max-height: 120px; overflow: hidden; transition: max-height var(--reveal-duration) var(--reveal-easing), margin var(--reveal-duration) var(--reveal-easing), opacity 180ms ease; }
.beta-home .c-invitation h1 { transition: margin var(--reveal-duration) var(--reveal-easing); }
.beta-home .c-join,
.beta-home .c-secondary-actions a { transition: min-height var(--reveal-duration) var(--reveal-easing), padding var(--reveal-duration) var(--reveal-easing), background .15s, border-color .15s; }
.beta-home .c-secondary-actions { transition: margin var(--reveal-duration) var(--reveal-easing); }
.beta-home .c-main.has-open-signup { padding-block: 12px; }
.beta-home .has-open-signup .c-actions { max-width: 480px; }
.beta-home .c-join-note { max-height: 60px; overflow: hidden; margin: 12px 0 8px; color: #8b8f9a; font-size: 13px; line-height: 1.6; text-wrap: pretty; transition: max-height var(--reveal-duration) var(--reveal-easing), margin var(--reveal-duration) var(--reveal-easing), opacity 180ms ease; }
.beta-home .has-open-signup .c-rule-heading,
.beta-home .has-open-signup .c-intro,
.beta-home .has-open-signup .c-join-note { max-height: 0; margin-block: 0; opacity: 0; }
.beta-home .has-open-signup .c-invitation h1 { margin-bottom: 12px; }
.beta-home .has-open-signup .c-title-name { font-size: clamp(30px, 5vh, 64px); }
.beta-home .has-open-signup .c-title-beta { font-size: clamp(34px, 5.5vh, 72px); }
.beta-home .has-open-signup .c-join { min-height: 44px; padding-block: 10px; }
.beta-home .has-open-signup .c-secondary-actions { margin-top: 8px; }
.beta-home .has-open-signup .c-secondary-actions a { min-height: 44px; padding-block: 10px; }
.beta-home .c-actions .c-signup-dropdown {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  margin: 0;
  opacity: 0;
  transition: grid-template-rows var(--reveal-duration) var(--reveal-easing), opacity 240ms ease;
}
.beta-home .c-signup-dropdown.is-open { grid-template-rows: 1fr; opacity: 1; }
.beta-home .c-signup-dropdown .signup-reveal { min-height: 0; overflow: hidden; }
.beta-home .c-signup-dropdown .signup-panel { width: 100%; margin: 8px 0 0; padding: 16px; }
.beta-home .c-signup-dropdown .signup-title { font-size: 24px; margin-bottom: 12px; }
.beta-home .c-signup-dropdown .signup-intro { display: none; }
.beta-home .c-signup-dropdown .signup-close { width: 32px; height: 32px; flex-basis: 32px; margin: -6px -6px 0 0; }
.beta-home .c-signup-dropdown .signup-grid { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.beta-home .c-signup-dropdown .signup-field { gap: 5px; }
.beta-home .c-signup-dropdown .signup-field input,
.beta-home .c-signup-dropdown .signup-field select { min-height: 42px; padding: 9px 10px; }
.beta-home .c-signup-dropdown .signup-consent { margin-block: 12px; line-height: 1.5; }
.beta-home .c-signup-dropdown .signup-actions .btn { width: 100%; min-height: 44px; padding-block: 10px; }
.beta-home .c-signup-dropdown .signup-summary div { display: block; line-height: 1.7; padding-block: 4px; }
.beta-home .c-signup-dropdown .signup-summary dd { text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .beta-home .c-actions .c-signup-dropdown { transition: none; }
}

@media (max-width: 650px) and (max-height: 740px) {
  .beta-home .c-main.has-open-signup { padding-block: 4px; }
  .beta-home .has-open-signup .c-invitation h1 { margin-bottom: 6px; }
  .beta-home:has(.has-open-signup) .site-header .shell { min-height: 48px; }
  .beta-home:has(.has-open-signup) .site-footer .shell { min-height: 44px; flex-direction: row; gap: 8px; padding-block: 8px; font-size: 9px; }
  .beta-home:has(.has-open-signup) .site-footer nav { gap: 12px; }
}

@media (max-width: 650px) {
  .beta-home .c-signup-dropdown .signup-grid { grid-template-columns: 1fr; }
  .beta-home .shell { width: calc(100% - 40px); }
  .beta-home .site-header .shell { min-height: 60px; }
  .beta-home .site-nav { font-size: 13px; gap: 20px; }
  .beta-home .site-header .shell { gap: 14px; }
  .beta-home .site-nav .nav-dash { min-height: 32px; padding: 0 10px; white-space: nowrap; }
  .beta-home .a-main,
  .beta-home .c-main { padding: 48px 20px; }
  .beta-home .b-main { padding-block: 48px; }
  .beta-home .a-hero h1 { font-size: clamp(50px, 15vw, 75px); line-height: .94; }
  .beta-home .a-hero h1 span { display: block; }
  .beta-home .a-kicker,
  .beta-home .b-eyebrow,
  .beta-home .c-rule-heading { font-size: 10px; letter-spacing: .16em; }
  .beta-home .a-intro,
  .beta-home .b-intro,
  .beta-home .c-intro { font-size: 14px; line-height: 1.75; max-width: 350px; }
  .beta-home .a-intro br { display: none; }
  .beta-home .a-join { min-width: 0; width: 100%; max-width: 350px; }
  .beta-home .a-explore { margin-top: 26px; }
  .beta-home .a-link { padding: 14px 10px; }
  .beta-home .a-link-label { font-size: 12px; gap: 8px; }
  .beta-home .b-explore .btn,
  .beta-home .c-secondary-actions a { font-size: 12px; padding-inline: 12px; gap: 10px; }
  .beta-home .b-quote { font-size: 24px; }
  .beta-home .b-receipt-heading { font-size: 10px; }
  .beta-home .c-title-name { font-size: clamp(54px, 16vw, 82px); }
  .beta-home .c-title-beta { font-size: clamp(86px, 25vw, 118px); }
  .beta-home .c-rule-heading { gap: 12px; }
  .beta-home .site-footer .shell { font-size: 10px; gap: 16px; }
  .beta-home .signup-panel { padding: 22px 18px; scroll-margin-top: 16px; }
  .beta-home .signup-title { font-size: 31px; }
  .beta-home .signup-grid { gap: 20px; }
  .beta-home .signup-field { font-size: 14px; }
  .beta-home .signup-field input,
  .beta-home .signup-field select { font-size: 16px; }
  .beta-home .signup-summary div { display: block; padding-block: 4px; line-height: 1.7; }
  .beta-home .signup-summary dd { text-align: left; }
}

/* Phones: keep the brand, Features, FAQ and Dashboard on one header line. */
@media (max-width: 430px) {
  .beta-home .site-nav { gap: 12px; }
  .beta-home .site-nav .nav-dash { padding: 0 9px; font-size: 12px; }
}
@media (max-width: 370px) {
  .beta-home .site-nav > a:not(.nav-dash) { display: none; }
}
