:root {
  --bg: #07101f;
  --surface: #0d1930;
  --line: #30476d;
  --text: #f6f8ff;
  --muted: #b8c4d8;
  --cyan: #58dce9;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 75% 12%, rgba(117, 98, 255, .22), transparent 34%), var(--bg);
  color: var(--text);
  font: 16px/1.6 Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-160%); padding: 9px 13px; background: #fff; color: #07101f; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: none; }
.account-header {
  width: min(1120px, calc(100% - 40px));
  min-height: 90px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.account-header img { display: block; width: 180px; height: auto; }
.back-link { color: #cbd4e4; font-size: 14px; text-decoration: none; }
.back-link:hover { color: #fff; }
.account-main {
  width: min(1040px, calc(100% - 40px));
  margin: 70px auto;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}
.account-main:not(.enrollment-main) {
  width: min(660px, calc(100% - 40px));
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
.login-card { padding: 40px; border: 1px solid #304665; border-radius: 18px; background: rgba(12, 25, 47, .96); box-shadow: 0 24px 64px rgba(0,0,0,.26); }
.eyebrow, .context-label { color: #9eabff; font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: Aptos, "Segoe UI", system-ui, sans-serif; }
h1 { max-width: 430px; margin: 11px 0 13px; font-size: clamp(32px, 4vw, 42px); font-weight: 620; line-height: 1.12; letter-spacing: -.022em; }
.intro { max-width: 430px; margin: 0 0 25px; color: #bdc7d8; font-size: 16px; line-height: 1.58; }
.new-customer { margin: -10px 0 24px; color: #c7d1e2; font-size: 15px; }
.new-customer a, .account-help a { color: #c1caff; font-weight: 700; }
.provider-login { display: grid; grid-template-columns: 1fr; gap: 10px; }
.provider-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  border: 1px solid #3d5272;
  border-radius: 10px;
  padding: 12px 16px;
  background: #101d33;
  color: #f7f9ff;
  font: inherit;
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
  cursor: pointer;
}
.provider-button:hover { border-color: #7188ff; background: #162642; transform: translateY(-1px); }
.provider-button-sso { grid-column: auto; }
.provider-icon { width: 20px; height: 20px; display: block; flex: 0 0 20px; object-fit: contain; }
.provider-icon-apple { filter: none; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 25px 0 20px; color: #8f9db3; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: #2b3e5d; }
.login-form { display: grid; gap: 9px; }
.login-form label { font-size: 14px; font-weight: 650; }
.login-form input { width: 100%; border: 1px solid #40577e; border-radius: 10px; padding: 13px 14px; background: #081426; color: #fff; font: inherit; }
.login-form input:focus { border-color: #7188ff; outline: 0; box-shadow: 0 0 0 3px rgba(113,136,255,.15); }
.password-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 9px; }
.password-row a { color: #aebcff; font-size: 13px; }
.login-form button { margin-top: 13px; border: 0; border-radius: 10px; padding: 14px; background: linear-gradient(135deg, #607cff, #9270ff); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.preview-note { margin: 5px 0 0; color: #95a4ba; font-size: 12px; }
.account-help { margin-top: 26px; padding-top: 23px; border-top: 1px solid #293d5d; }
.account-help p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.account-context { padding: 28px 32px; border: 1px solid #2d4262; border-radius: 16px; background: rgba(10, 22, 42, .78); }
.account-context h2 { margin: 8px 0 18px; font-size: clamp(25px, 3vw, 31px); font-weight: 610; line-height: 1.2; letter-spacing: -.015em; }
.account-context ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; margin: 0 0 20px; padding: 0; list-style: none; color: #d8dfed; font-size: 14px; }
.account-context li { position: relative; padding-left: 25px; }
.account-context li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.account-context > p { color: var(--muted); font-size: 14px; }
.account-context > p a { color: #fff; font-weight: 700; }
.enrollment-main { width: min(1120px, calc(100% - 40px)); grid-template-columns: minmax(0, 650px) minmax(0, 1fr); align-items: start; }
.enrollment-card { padding: 42px; border: 1px solid var(--line); border-radius: 20px; background: rgba(13, 25, 48, .94); box-shadow: 0 28px 70px rgba(0,0,0,.3); }
.enrollment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enrollment-form > .full { grid-column: 1 / -1; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; border: 1px solid #40577e; border-radius: 10px; padding: 12px 14px; background: #081426; color: #fff; font: inherit; }
.form-field textarea { min-height: 105px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #7188ff; outline: 0; box-shadow: 0 0 0 3px rgba(113,136,255,.15); }
.form-field small { color: #94a3b9; font-size: 12px; }
.pricing-fieldset { min-width:0; margin:0; border:0; padding:0; }
.pricing-fieldset legend { margin-bottom:9px; padding:0; font-size:14px; font-weight:700; }
.pricing-options { display:grid; gap:10px; }
.pricing-option { min-height:76px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:13px; border:1px solid #40577e; border-radius:12px; padding:13px 15px; background:#0a172b; cursor:pointer; }
.pricing-option:hover { border-color:#7188ff; }
.pricing-option:has(input:checked) { border-color:#7188ff; background:#111f3a; box-shadow:0 0 0 3px rgba(113,136,255,.12); }
.pricing-option.featured { position:relative; }
.pricing-option input { width:19px; min-height:19px; margin:0; accent-color:#7188ff; }
.pricing-copy strong,.pricing-copy small,.price strong,.price small { display:block; }
.pricing-copy strong { font-size:16px; }
.pricing-copy small { margin-top:2px; color:#a9b6ca; font-size:12px; }
.price { text-align:right; }
.price strong { font-size:21px; font-weight:700; }
.price small { color:#9eabc0; font-size:11px; }
.confirmation-field label { display: flex; align-items: flex-start; gap: 10px; color: #c7d1e1; font-weight: 500; }
.confirmation-field input { width: 18px; min-height: 18px; margin: 3px 0 0; flex: 0 0 18px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enrollment-submit { grid-column: 1 / -1; border: 0; border-radius: 10px; padding: 14px; background: linear-gradient(135deg, #607cff, #9270ff); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.enrollment-submit:disabled { cursor: wait; opacity: .65; }
.info-panel { border: 1px solid var(--line); border-radius: 17px; padding: 28px; background: rgba(10, 22, 43, .78); }
.enrollment-card > .info-panel + .info-panel { margin-top: 18px; }
.info-panel h2 { margin: 8px 0 12px; font-size: 28px; }
.info-panel p { color: var(--muted); }
.info-list { display: grid; gap: 13px; margin: 20px 0; padding: 0; list-style: none; }
.info-list li { padding-left: 22px; position: relative; }
.info-list li::before { content: "•"; position: absolute; left: 4px; color: var(--cyan); }
.text-link { color: #c1caff; font-weight: 700; }
@media (max-width: 800px) {
  .account-main { margin: 38px auto; grid-template-columns: 1fr; gap: 38px; }
  .account-context { order: initial; }
  .enrollment-main { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .account-header, .account-main { width: min(100% - 28px, 1040px); }
  body { font-size: 16px; }
  .account-header { min-height: 68px; }
  .account-header img { width: 132px; }
  .account-main { margin: 28px auto 46px; gap: 22px; }
  h1 { font-size: 34px; }
  .intro { margin-bottom: 20px; font-size: 15px; }
  .login-card { padding: 23px 18px; border-radius: 15px; }
  .provider-login { grid-template-columns: 1fr; }
  .provider-button { min-height: 50px; padding: 11px 14px; font-size: 14px; }
  .provider-button-sso { grid-column: auto; }
  .account-context { padding: 21px 18px; border-radius: 15px; }
  .account-context ul { grid-template-columns: 1fr; }
  .account-context h2 { font-size: 25px; }
  input, select, textarea { font-size: 16px; }
  .enrollment-card { padding: 23px 18px; border-radius: 15px; }
  .enrollment-form { grid-template-columns: 1fr; }
  .enrollment-form > .full, .form-field.full, .enrollment-submit { grid-column: auto; }
  .pricing-option { min-height:78px; grid-template-columns:auto 1fr; padding:12px; }
  .price { grid-column:2; text-align:left; }
}
