:root {
  --bg:#070b12;
  --bg-soft:#0b1320;
  --surface:#111a28;
  --surface-2:#162235;
  --surface-3:#1b2940;
  --text:#f5f7fb;
  --muted:#9da9ba;
  --line:#26344b;
  --line-strong:#33445f;
  --accent:#ef5362;
  --accent-hover:#ff6473;
  --accent-deep:#d83f4f;
  --blue:#69a7ff;
  --success:#45c6aa;
  --warning:#f6c868;
  --shadow:0 24px 70px rgba(0,0,0,.34);
}

* { box-sizing:border-box; }
html { color-scheme:dark; }
body {
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 12% -8%,rgba(66,99,155,.22),transparent 34rem),
    radial-gradient(circle at 92% 8%,rgba(239,83,98,.10),transparent 30rem),
    linear-gradient(180deg,#070b12 0%,#09111d 52%,#070b12 100%);
  font:15px/1.55 Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  -webkit-font-smoothing:antialiased;
}

button,input,select,textarea { font:inherit; }
button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { appearance:none; }

header.site-header,
body > header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:82px;
  padding:18px clamp(20px,5vw,72px);
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(6,10,17,.78);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  position:sticky;
  top:0;
  z-index:20;
}

.brand { display:flex; align-items:center; gap:13px; max-width:1100px; }
.logo {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:13px;
  color:white;
  background:linear-gradient(145deg,var(--accent),#7a68ff);
  box-shadow:0 10px 24px rgba(239,83,98,.23);
  font-size:15px;
  font-weight:900;
  letter-spacing:.02em;
}
.brand-copy h1,.brand h1 { margin:0 0 1px; font-size:19px; line-height:1.2; letter-spacing:-.02em; }
.brand-copy div,.brand > div > div { color:var(--muted); font-size:13px; }
.header-trust {
  padding:8px 11px;
  border:1px solid rgba(105,167,255,.20);
  border-radius:999px;
  color:#c8dcff;
  background:rgba(105,167,255,.08);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

h1,h2,h3,p { margin-top:0; }
h2 { margin-bottom:8px; font-size:clamp(22px,3vw,30px); line-height:1.18; letter-spacing:-.025em; }
h3 { font-size:15px; }

main,.portal-main { width:min(1120px,calc(100% - 32px)); margin:28px auto 64px; }
.card {
  margin-bottom:18px;
  padding:clamp(20px,3vw,30px);
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(17,26,40,.96),rgba(12,20,33,.97));
  box-shadow:var(--shadow);
}
.auth { width:min(500px,100%); margin:58px auto; }
.auth-card { position:relative; overflow:hidden; }
.auth-card::before {
  content:"";
  position:absolute;
  inset:-120px -180px auto auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(105,167,255,.13),transparent 68%);
  pointer-events:none;
}

.account-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
  padding:14px 17px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(15,23,36,.78);
}
.account-bar strong { display:block; font-size:14px; }
.account-label { display:block; margin-bottom:2px; color:var(--muted); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.09em; }

.hero-panel {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);
  gap:28px;
  align-items:end;
  margin-bottom:20px;
  padding:clamp(26px,5vw,46px);
  min-height:260px;
  border:1px solid rgba(105,167,255,.16);
  border-radius:26px;
  background:
    linear-gradient(90deg,rgba(8,14,24,.90),rgba(8,14,24,.40)),
    radial-gradient(circle at 82% 32%,rgba(105,167,255,.24),transparent 24rem),
    radial-gradient(circle at 72% 86%,rgba(239,83,98,.16),transparent 19rem),
    #0d1726;
  box-shadow:0 30px 80px rgba(0,0,0,.30);
  overflow:hidden;
}
.hero-panel h2 { max-width:720px; margin-bottom:12px; font-size:clamp(32px,5vw,56px); }
.hero-panel p { max-width:700px; margin-bottom:0; color:#b8c4d5; font-size:17px; }
.eyebrow { margin-bottom:9px; color:#9fc5ff; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.13em; }
.trust-points { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.trust-points span,.step-badge {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  color:#d9e3f1;
  background:rgba(255,255,255,.05);
  font-size:12px;
  font-weight:700;
}

.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.compact-grid { grid-template-columns:repeat(2,minmax(0,220px)); }
label { display:block; margin:14px 0; color:#dce5f2; font-size:13px; font-weight:750; }
.optional { margin-left:5px; color:var(--muted); font-size:11px; font-weight:650; text-transform:uppercase; letter-spacing:.06em; }
.field-help { display:block; margin-top:6px; color:var(--muted); font-size:12px; font-weight:500; }

input,select,textarea {
  width:100%;
  margin-top:7px;
  padding:13px 14px;
  border:1px solid var(--line-strong);
  border-radius:12px;
  outline:none;
  color:var(--text);
  background:#0a1220;
  font-size:16px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
input::placeholder,textarea::placeholder { color:#728197; opacity:1; }
input:focus,select:focus,textarea:focus {
  border-color:#6c9eff;
  background:#0c1625;
  box-shadow:0 0 0 3px rgba(105,167,255,.13);
}
select { min-height:50px; }
textarea { min-height:118px; resize:vertical; }

button,.button-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border:0;
  border-radius:11px;
  padding:11px 16px;
  cursor:pointer;
  color:white;
  background:linear-gradient(135deg,var(--accent),var(--accent-deep));
  box-shadow:0 8px 22px rgba(239,83,98,.18);
  font-weight:800;
  font-size:14px;
  text-decoration:none;
  transition:transform .16s ease,filter .16s ease,background .16s ease;
}
button:hover,.button-link:hover { filter:brightness(1.06); transform:translateY(-1px); }
button:active,.button-link:active { transform:translateY(0); }
button.secondary {
  color:#d9e7ff;
  background:#17243a;
  border:1px solid #2b3e5d;
  box-shadow:none;
}
button.quiet { min-height:auto; padding:8px 10px; color:#b8c9e7; background:transparent; box-shadow:none; }
.primary-action { min-width:150px; }

.row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.spread { justify-content:space-between; }
.auth-actions { margin-top:18px; }
.privacy-note { margin:16px 0 0; padding-top:14px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.muted { color:var(--muted); }
.notice,.status { padding:11px 13px; border:1px solid rgba(246,200,104,.22); border-radius:11px; background:rgba(246,200,104,.09); color:#f4d78f; }
.status:empty { display:none; }

.tabs {
  display:flex;
  gap:8px;
  margin-bottom:18px;
  padding:6px;
  width:max-content;
  max-width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(11,19,32,.84);
  overflow:auto;
}
.tabs button { flex:0 0 auto; color:#aebbd0; background:transparent; box-shadow:none; }
.tabs button.active { color:white; background:#1b2b45; box-shadow:inset 0 0 0 1px rgba(105,167,255,.18); }

.section-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.section-heading h2 { margin-bottom:6px; }
.section-heading p { margin-bottom:0; }
.request-card { border-color:#2a3b56; }
.submit-row { display:flex; align-items:center; gap:14px; margin-top:18px; }
.submit-row span { color:var(--muted); font-size:12px; }

.list { display:grid; gap:10px; }
.list-item {
  padding:14px 15px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0d1625;
}
.list-item strong { color:#f6f8fb; }
.list-item p { margin:5px 0; color:#b8c4d5; white-space:pre-line; }
.list-item small { display:block; margin-top:8px; }

table { width:100%; border-collapse:collapse; font-size:13px; }
th,td { padding:10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
code { color:#a6c8ff; }
.hidden,[hidden] { display:none !important; }

.site-footer {
  display:flex;
  justify-content:space-between;
  gap:16px;
  width:min(1120px,calc(100% - 32px));
  margin:0 auto 30px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  color:#718096;
  font-size:12px;
}

@media (max-width:860px) {
  .hero-panel { grid-template-columns:1fr; min-height:auto; }
  .trust-points { justify-content:flex-start; }
}

@media (max-width:760px) {
  header.site-header,body > header { min-height:70px; padding:14px 16px; }
  .header-trust { display:none; }
  .brand-copy div,.brand > div > div { display:none; }
  main,.portal-main { width:min(100% - 24px,1120px); margin-top:16px; }
  .card { padding:18px; border-radius:18px; }
  .auth { margin:26px auto; }
  .hero-panel { margin-bottom:14px; padding:24px 20px; border-radius:20px; }
  .hero-panel h2 { font-size:34px; }
  .hero-panel p { font-size:15px; }
  .grid,.grid.three,.compact-grid { grid-template-columns:1fr; gap:0; }
  .compact-grid { max-width:none; }
  .tabs { width:100%; }
  .tabs button { flex:1 0 auto; }
  .section-heading { display:block; }
  .step-badge { margin-top:8px; }
  .submit-row { align-items:stretch; flex-direction:column; }
  .submit-row .primary-action { width:100%; min-height:50px; }
  .submit-row span { text-align:center; }
  .account-bar { padding:12px 14px; }
  table { display:block; overflow:auto; }
  .site-footer { flex-direction:column; }
}

@media (max-width:430px) {
  .logo { width:40px; height:40px; border-radius:12px; }
  .brand-copy h1,.brand h1 { font-size:17px; }
  .hero-panel h2 { font-size:30px; }
  .trust-points span { font-size:11px; }
}
