:root { color-scheme: dark; --ink: #06090f; --panel: #0c131d; --panel-2: #101a27; --paper: #f8fafc; --muted: #85909d; --blue: #3ba7ff; --line: rgba(255,255,255,.13); }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.portal-header { height: 78px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.portal-brand { display: flex; align-items: center; gap: 13px; }
.portal-brand > span { color: var(--blue); font-size: 22px; font-weight: 950; letter-spacing: -.07em; }
.portal-brand strong { display: flex; flex-direction: column; font-size: 12px; letter-spacing: .12em; line-height: 1; }
.portal-brand small { margin-top: 5px; color: #687382; font-size: 7px; letter-spacing: .25em; }
.secure-label, .eyebrow { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-action { padding: 9px 12px; border: 1px solid var(--line); background: transparent; color: #92a0ad; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.portal-locked { width: min(980px, calc(100vw - 40px)); min-height: calc(100vh - 78px); margin: auto; padding: 100px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.portal-locked h1, .dashboard-intro h1 { margin: 16px 0 25px; font-size: clamp(58px, 8vw, 112px); line-height: .85; letter-spacing: -.075em; text-transform: uppercase; }
.portal-locked h1 em, .dashboard-intro h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.portal-locked > p:not(.eyebrow) { max-width: 590px; margin: 0; color: #9aa4af; font-size: 15px; line-height: 1.75; }
.primary-action { margin-top: 30px; padding: 16px 24px; background: var(--blue); color: #06101a; font-size: 10px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.portal-locked > small { margin-top: 17px; color: #687382; font-size: 9px; }
.portal-locked .legacy-access-note { margin-top: 28px!important; font-size:10px!important; }
.portal-access-form { width: min(440px,100%); margin-top: 28px; display: grid; gap: 10px; text-align: left; }
.portal-access-form label { color: #8c99a6; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.portal-access-form input { width: 100%; padding: 15px 16px; border: 1px solid var(--line); background: #0c131d; color: var(--paper); font: inherit; outline: none; }
.portal-access-form input:focus { border-color: var(--blue); }
.portal-access-form .primary-action { width: 100%; margin-top: 2px; border: 0; }
.secondary-access { min-height:46px; margin-top:2px; border:1px solid var(--line); background:transparent; color:#9ba8b5; font-size:8px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.portal-access-form p { margin: 4px 0 0; color: #9eb0bf; font-size: 10px; line-height: 1.55; text-align: center; }
.portal-dashboard { width: min(1240px, calc(100vw - 64px)); margin: auto; padding: 78px 0 50px; animation: portal-enter .55s ease both; }
.dashboard-intro { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }
.dashboard-intro h1 { max-width: 870px; margin-bottom: 0; font-size: clamp(58px, 7.4vw, 102px); }
.member-mark { min-width: 210px; padding: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.member-mark small { color: var(--muted); font-size: 7px; letter-spacing: .13em; }
.member-mark strong { font-size: 11px; letter-spacing: .08em; }
.member-mark span { width: max-content; padding: 5px 7px; background: rgba(59,167,255,.14); color: var(--blue); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.launch-panel { margin-top: 72px; display: grid; grid-template-columns: .7fr 1.3fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.launch-heading { padding: 42px 45px 42px 0; border-right: 1px solid var(--line); }
.launch-heading h2, .status-card h2 { margin: 14px 0 28px; font-size: clamp(31px, 4vw, 52px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.launch-heading > span, .status-pill { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.launch-note { max-width: 360px; margin: 24px 0 0; color: #788592; font-size: 10px; line-height: 1.65; }
.launch-steps { margin: 0; padding: 0; list-style: none; }
.launch-steps li { min-height: 78px; padding: 14px 0 14px 28px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.launch-steps li:last-child { border-bottom: 0; }
.launch-steps > li > span { color: #637080; font-size: 9px; font-weight: 900; }
.launch-steps strong, .launch-steps small { display: block; }
.launch-steps strong { font-size: 12px; }
.launch-steps small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.launch-steps i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(59,167,255,.14); color: var(--blue); font-style: normal; font-size: 10px; }
.launch-steps .current { background: linear-gradient(90deg,rgba(59,167,255,.09),transparent); box-shadow: inset 2px 0 var(--blue); }
.launch-steps .current::after { content: ''; align-self: stretch; width: 2px; margin-right: -2px; background: var(--blue); animation: status-pulse 1.8s ease-in-out infinite; }
.launch-steps button, .status-card button { margin-right: 20px; padding: 10px 12px; border: 1px solid var(--line); background: transparent; color: #6f7a87; font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.portal-grid { display: grid; grid-template-columns: 1.35fr .85fr; }
.status-card { min-height: 390px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-card:nth-child(2) { border-right: 0; }
.status-card > p:not(.eyebrow) { max-width: 620px; color: #8e99a5; font-size: 12px; line-height: 1.7; }
.status-pill { float: right; margin-top: -17px; padding: 6px 8px; background: rgba(59,167,255,.12); }
.program-line { margin-top: 70px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; color: #717d8a; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.program-line i { height: 1px; background: var(--line); }
.status-card dl { margin: 30px 0; }
.status-card dl div { padding: 13px 0; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.status-card dt, .status-card dd { font-size: 9px; }
.status-card dt { color: var(--muted); }
.status-card dd { margin: 0; text-align: right; }
.membership-controls { grid-column: 1 / -1; min-height: 0; border-right: 0; }
.membership-control-heading { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.membership-control-heading h2 { max-width: 760px; margin-bottom: 8px; }
.membership-control-heading .status-pill { flex: 0 0 auto; }
.membership-policy-list { margin-top: 30px; border-top: 1px solid var(--line); }
.membership-policy-list p { margin: 0; padding: 17px 0; display: grid; grid-template-columns: 170px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.membership-policy-list strong { color: #d8e2eb; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.membership-policy-list span { color: #8e99a5; font-size: 11px; line-height: 1.55; }
.membership-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.membership-actions button { margin: 0; }
.request-summary { margin-top: 28px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.request-summary p { margin: 0 0 10px; display: flex; justify-content: space-between; gap: 20px; color: #9aa7b3; font-size: 10px; line-height: 1.5; }
.request-summary strong { color: var(--paper); text-transform: capitalize; }
.request-summary button { margin: 0; padding: 0; border: 0; color: var(--blue); }
.support-card { grid-column: 1 / -1; min-height: 260px; border-right: 0; }
.referral-card { grid-column: 1 / -1; min-height: 0; border-right: 0; }
.referral-heading { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.referral-heading h2 { max-width: 760px; }
.referral-link-row { margin-top: 30px; padding: 22px; border: 1px solid var(--line); background: #0b121b; }
.referral-link-row label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.referral-link-row > div { display: grid; grid-template-columns: 1fr auto auto; }
.referral-link-row input { min-width: 0; padding: 13px 14px; border: 1px solid var(--line); background: #070c12; color: #d8e2eb; font: 12px/1.4 Arial, sans-serif; }
.referral-link-row button { margin: 0 0 0 8px; color: var(--blue); }
.referral-share-tools { margin-top: 10px; display: flex !important; flex-wrap: wrap; gap: 8px; }
.referral-share-tools button, .referral-share-tools a { min-height: 38px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); color: #9eb0bf; background: transparent; font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.referral-share-tools strong { color: var(--blue); }
.referral-stats { margin: 28px 0 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.referral-stats div { padding: 18px !important; display: block !important; border: 0 !important; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
.referral-stats dt { margin-bottom: 10px; }
.referral-stats dd { color: var(--blue); font-size: 21px; font-weight: 900; text-align: left; }
.referral-terms, .referral-copy-status { max-width: none !important; margin-top: 20px; color: #697684 !important; font-size: 9px !important; }
.referral-copy-status { color: var(--blue) !important; }
.referral-preferences { margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.referral-preferences label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.referral-preferences input { margin-top: 3px; accent-color: var(--blue); }
.referral-preferences span { display: grid; gap: 5px; }
.referral-preferences strong { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.referral-preferences small { color: #788592; font-size: 9px; line-height: 1.55; }
.referral-history { margin-top: 22px; }
.referral-history p { margin: 0; padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: 9px; }
.referral-history span { color: #788592; }
[data-referral-status='paused'] { color: #ffb08a; background: rgba(255,176,138,.1); }
.support-card h2 { max-width: 650px; }
.support-card a { display: inline-block; margin-top: 12px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.preview-banner { margin: 20px 0 0; color: #596574; font-size: 7px; font-weight: 900; letter-spacing: .12em; text-align: center; }
.membership-dialog { width: min(620px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); background: #0a111a; color: var(--paper); box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.membership-dialog::backdrop { background: rgba(2,5,9,.82); backdrop-filter: blur(8px); }
.membership-dialog form { padding: 34px; }
.membership-dialog header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.membership-dialog header h2 { margin: 12px 0 0; font-size: clamp(34px,6vw,54px); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.membership-dialog header button { border: 0; background: transparent; color: #7f8b98; font-size: 26px; line-height: 1; }
.dialog-intro { margin: 25px 0; color: #8e99a5; font-size: 12px; line-height: 1.7; }
.membership-dialog label { margin-top: 16px; display: grid; gap: 8px; color: #84909d; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.membership-dialog input, .membership-dialog select, .membership-dialog textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #0e1722; color: var(--paper); padding: 13px 14px; font: 14px/1.4 Arial, sans-serif; }
.membership-dialog textarea { resize: vertical; }
.dialog-status { margin: 18px 0 0; color: #a9c9e5; font-size: 11px; line-height: 1.55; }
.membership-dialog footer { margin-top: 28px; display: flex; justify-content: flex-end; gap: 10px; }
.membership-dialog footer button { margin: 0; padding: 13px 16px; border: 1px solid var(--line); background: transparent; color: #83909d; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.membership-dialog footer .primary-action { border-color: var(--blue); background: var(--blue); color: #06101a; }
[data-request-status='scheduled'], [data-request-status='active'] { color: var(--blue); }
[hidden] { display: none !important; }
@keyframes portal-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes status-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (max-width: 760px) {
  .portal-header { height: 68px; padding: 0 19px; }
  .header-actions { gap: 6px; }
  .header-action { padding: 9px 8px; font-size: 7px; }
  .secure-label { display: none; }
  .portal-dashboard { width: min(100% - 32px, 620px); padding-top: 52px; }
  .dashboard-intro, .launch-panel, .portal-grid { grid-template-columns: 1fr; }
  .member-mark { margin-top: 16px; }
  .launch-panel { margin-top: 52px; }
  .launch-heading { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .launch-steps li { padding-left: 12px; grid-template-columns: 40px 1fr; }
  .launch-steps li::after { display: none; }
  .launch-steps button { grid-column: 2; width: 100%; min-height: 44px; margin: 6px 0 2px; display: block; }
  .status-card { min-height: 0; padding: 34px 20px; border-right: 0; }
  .membership-control-heading { display: block; }
  .referral-heading { display: block; }
  .referral-link-row { padding: 14px; }
  .referral-link-row > div { grid-template-columns: 1fr 1fr; gap: 8px; }
  .referral-link-row input { grid-column: 1 / -1; }
  .referral-link-row button { min-height: 44px; margin: 0; }
  .referral-stats { grid-template-columns: 1fr 1fr; }
  .referral-share-tools { display: grid !important; grid-template-columns: 1fr 1fr; }
  .referral-share-tools button:first-child { grid-column: 1 / -1; }
  .membership-control-heading .status-pill { float: none; display: inline-block; margin: 10px 0 0; }
  .membership-policy-list p { grid-template-columns: 1fr; gap: 7px; }
  .membership-actions { display: grid; }
  .membership-actions button { width: 100%; min-height: 44px; }
  .request-summary p { align-items: flex-start; flex-direction: column; gap: 6px; }
  .membership-dialog form { padding: 26px 20px; }
  .membership-dialog footer { display: grid; }
  .membership-dialog footer button { min-height: 44px; }
  .support-card { grid-column: auto; }
  .program-line { margin-top: 45px; grid-template-columns: 1fr; }
  .program-line i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
