:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #62708a;
  --accent: #183c7a;
  --accent-2: #d5233f;
  --border: #e5e9f2;
  --shadow: 0 18px 40px rgba(23, 32, 51, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #ffffff 0, var(--bg) 45%, #eef2f8 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-subtitle { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #315a9a 55%, var(--accent-2));
  box-shadow: 0 12px 22px rgba(24, 60, 122, .22);
}
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { padding: 9px 12px; border-radius: 999px; color: var(--muted); font-weight: 650; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { background: #edf2fb; color: var(--accent); }
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 22px 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.eyebrow { color: var(--accent-2); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
h1 { font-size: clamp(38px, 7vw, 76px); line-height: .95; letter-spacing: -.055em; margin: 12px 0 20px; }
.lead { font-size: clamp(18px, 2.2vw, 23px); color: var(--muted); max-width: 620px; }
.hero-panel, .content-card, .balance-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-panel { padding: 28px; }
.panel-title { font-weight: 800; margin: 0 0 16px; }
.balance-list { display: grid; gap: 14px; }
.balance-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 20px; background: #fbfcff; }
.balance-label { color: var(--muted); font-weight: 700; }
.balance-value { font-size: 20px; font-weight: 850; color: var(--accent); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: 14px; font-weight: 800; border: 1px solid var(--border); }
.button.primary { background: var(--accent); color: white; border-color: var(--accent); }
.button.secondary { background: white; color: var(--accent); }
.main { max-width: 1120px; margin: 0 auto; padding: 22px 22px 70px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.balance-card { padding: 22px; }
.balance-card h3, .content-card h2 { margin-top: 0; }
.content-card { padding: 30px; margin-top: 18px; }
.checklist { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.checklist li { padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: #fbfcff; }
.footer { border-top: 1px solid var(--border); padding: 30px 22px; color: var(--muted); text-align: center; }
.table-wrap { overflow-x: auto; margin-top: 22px; }
.holdings-table { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.holdings-table th { text-align: left; color: var(--muted); font-size: 14px; padding: 0 14px 4px; }
.holdings-table td { background: #fbfcff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 14px; font-weight: 700; }
.holdings-table td:first-child { border-left: 1px solid var(--border); border-radius: 16px 0 0 16px; }
.holdings-table td:last-child { border-right: 1px solid var(--border); border-radius: 0 16px 16px 0; color: var(--accent); font-weight: 850; }

@media (max-width: 780px) {
  .nav, .hero { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .nav { align-items: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; }
  .nav-links { justify-content: flex-start; }
}

.info-list { display: grid; gap: 12px; margin-top: 22px; }
.info-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: #fbfcff; font-weight: 700; }
.info-value { color: var(--accent); font-weight: 850; }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }


.access-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top left, #ffffff 0, var(--bg) 45%, #eef2f8 100%);
}
.access-wrap { width: min(100%, 520px); padding: 24px; }
.access-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 34px;
  text-align: center;
}
.access-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent), #315a9a 55%, var(--accent-2));
  box-shadow: 0 12px 22px rgba(24, 60, 122, .22);
}
.access-title { font-size: clamp(42px, 9vw, 68px); margin: 0; }
.access-subtitle { margin: 4px 0 18px; color: var(--muted); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.access-note { color: var(--muted); margin-bottom: 22px; }
.access-form { display: grid; gap: 12px; text-align: left; }
.access-form label { font-weight: 800; color: var(--muted); }
.access-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font: inherit;
  background: #fbfcff;
}
.access-form .button { width: 100%; margin-top: 6px; }
.access-error { color: var(--accent-2); font-weight: 800; text-align: center; margin: 8px 0 0; }

.trade-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fbfcff;
}
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 800; color: var(--muted); font-size: 14px; }
.form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  background: white;
}
.small-button {
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
  color: var(--accent);
  cursor: pointer;
}
.trade-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 780px) {
  .trade-form { grid-template-columns: 1fr; }
}
