:root {
  --bg: #070b0f;
  --ink: #091019;
  --paper: #f3f5f0;
  --text: #f7f7f2;
  --muted: #b9cdd8;
  --panel: #111923;
  --line: rgba(185, 205, 216, 0.2);
  --accent: #ccff24;
  --accent-dark: #8fb216;
  --gold: #ccff24;
  --soft: #ecf0e9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);

  --dash-bg: #f4f1e8;
  --dash-card: #fffdf8;
  --dash-ink: #10120f;
  --dash-muted: #77746b;
  --dash-line: #e2dccc;
  --dash-green: #064433;
  --dash-green-2: #0c765d;
  --dash-tan: #e8d5a9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 11, 15, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
}

.site-header nav {
  color: #cfe0e8;
  font-size: 14px;
  font-weight: 600;
}

.header-action,
.primary-button,
.secondary-button,
.profile-form button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(204, 255, 36, 0.08) 1px, transparent 1px) right 7% top 92px / 28px 136px no-repeat,
    radial-gradient(circle at 82% 18%, rgba(204, 255, 36, 0.09), transparent 30%),
    linear-gradient(180deg, #070b0f 0%, #06090d 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 2px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-lede,
.access-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.compliance-line {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.primary-button {
  background: var(--accent);
  color: var(--ink);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.terminal-panel,
.dashboard-card,
.profile-form,
.profile-preview {
  background: rgba(17, 25, 35, 0.9);
  border: 1px solid rgba(185, 205, 216, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.terminal-panel {
  padding: 22px;
}

.stock-ticket {
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
  background: #090f15;
  border: 1px solid var(--line);
}

.stock-ticket span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stock-ticket strong {
  display: block;
  margin-top: 8px;
  font-size: 48px;
  line-height: 1;
  color: var(--text);
}

.stock-ticket p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.panel-header,
.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-dot {
  color: var(--accent);
}

.risk-meter,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.risk-meter > div,
.scenario-grid > div {
  padding: 18px;
  border-radius: 8px;
  background: #090f15;
  border: 1px solid var(--line);
}

.risk-meter strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

.metric-label,
.scenario-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.scenario-grid {
  grid-template-columns: repeat(3, 1fr);
}

.scenario-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 20px;
}

.chart-card {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.chart-row {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  border-radius: 8px;
  background: #0c141d;
}

.chart-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  content: "";
  background: linear-gradient(90deg, rgba(204, 255, 36, 0.38), var(--accent));
}

.chart-row span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-left: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.ticker-strip div {
  padding: 24px clamp(18px, 4vw, 54px);
  background: #090f15;
}

.ticker-strip span,
.muted {
  display: block;
  color: var(--muted);
}

.ticker-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  color: var(--text);
}

.section,
.dashboard-section,
.access-section {
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

.section,
.access-section {
  background: var(--paper);
  color: var(--ink);
}

.section .muted,
.section .feature-grid p,
.access-section .access-copy p,
.access-section .profile-form label,
.access-section .form-note,
.access-section .profile-preview dt,
.access-section .request-count small {
  color: #415360;
}

.section .eyebrow,
.access-section .eyebrow,
.feature-grid article span {
  color: #5d7110;
}

.section-heading {
  margin-bottom: 22px;
}

.feature-grid,
.dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article {
  padding: 28px;
  border-top: 1px solid var(--line);
}

.feature-grid article span {
  color: var(--gold);
  font-weight: 900;
}

.feature-grid p,
.muted {
  line-height: 1.55;
}

.dashboard-section {
  background: #070b0f;
  color: var(--text);
}

.dashboard-section .eyebrow {
  color: var(--accent);
}

.dashboard-card {
  min-height: 240px;
  padding: 24px;
  color: var(--text);
}

.dashboard-card.wide {
  grid-column: span 2;
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  margin-top: 28px;
}

.bars span {
  flex: 1;
  height: var(--height);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.scenario-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.scenario-paths div {
  min-height: 170px;
  padding: 18px;
  border-radius: 8px;
  background: #090f15;
  border: 1px solid var(--line);
}

.scenario-paths span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-paths strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  color: var(--text);
}

.scenario-paths p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.large-stat {
  margin: 30px 0 12px;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.analysis-card {
  grid-column: span 3;
  min-height: auto;
}

.analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.analysis-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-card h3 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.analysis-score {
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 76%, #e5ded1 0);
}

.analysis-score span {
  font-size: 44px;
  font-weight: 900;
}

.analysis-score small {
  margin-top: -34px;
  color: var(--muted);
  font-weight: 900;
}

.analysis-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.analysis-pills span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(204, 255, 36, 0.12);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.analysis-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr) minmax(280px, 0.45fr);
  gap: 24px;
  align-items: start;
}

.signin-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 72px);
  background: #070b0f;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.profile-form,
.profile-preview {
  padding: 24px;
}

.profile-form {
  display: grid;
  gap: 18px;
}

.profile-form label,
.form-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
}

textarea {
  min-height: 104px;
  padding: 14px;
  resize: vertical;
  line-height: 1.4;
}

input[type="range"] {
  accent-color: var(--accent);
  padding: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  min-height: 40px;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

.segmented input:checked + label {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(28, 25, 19, 0.1);
}

.profile-form button {
  border: 0;
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.success {
  color: var(--accent);
  font-weight: 800;
}

.preview-label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-preview > strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}

.preview-score {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  margin: 26px auto;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score, 82) * 1%), #e5ded1 0);
}

.preview-score span {
  font-size: 42px;
  font-weight: 900;
}

.preview-score small {
  margin-top: -34px;
  color: var(--muted);
  font-weight: 800;
}

.request-count {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  margin: 26px auto;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 100%, #26313a 0);
  color: var(--ink);
}

.request-count span {
  font-size: 48px;
  font-weight: 900;
}

.request-count small {
  max-width: 92px;
  margin-top: -34px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #070b0f;
}

/* Sign in */

.signin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(204, 255, 36, 0.12), transparent 28%),
    linear-gradient(135deg, #070b0f 0%, #0c141d 100%);
}

.signin-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.48fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(28px, 6vw, 74px);
}

.signin-copy .brand {
  margin-bottom: clamp(54px, 10vw, 118px);
}

.signin-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.signin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 660px;
  margin-top: 34px;
}

.signin-stats div,
.signin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 25, 35, 0.9);
  box-shadow: var(--shadow);
}

.signin-stats div {
  padding: 18px;
}

.signin-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.signin-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.signin-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.signin-card form {
  display: grid;
  gap: 16px;
}

.signin-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.signin-card button {
  min-height: 46px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.signin-card .google-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

/* Premium logged-in dashboard */

.dashboard-body.premium-dashboard {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% -8%, var(--dash-tan) 0 210px, transparent 211px),
    var(--dash-bg);
  color: var(--dash-ink);
}

.premium-dashboard .dashboard-app {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
}

.premium-dashboard .dashboard-app::before {
  position: fixed;
  top: -130px;
  right: -115px;
  z-index: 0;
  width: 410px;
  height: 410px;
  border-radius: 999px;
  background: var(--dash-tan);
  content: "";
  pointer-events: none;
}

.premium-dashboard .dashboard-topbar,
.premium-dashboard .dashboard-welcome,
.premium-dashboard .dashboard-stats,
.premium-dashboard .dashboard-layout,
.premium-dashboard .dashboard-disclaimer {
  position: relative;
  z-index: 1;
}

.premium-dashboard .dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.premium-dashboard .dashboard-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dash-ink);
  font-size: 18px;
  font-weight: 900;
}

.premium-dashboard .brand-mark {
  border-color: var(--dash-green);
  background: var(--dash-green);
  color: #fff;
}

.premium-dashboard .dashboard-user {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.premium-dashboard .signout-button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--dash-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
}

.premium-dashboard .dashboard-welcome {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.premium-dashboard .dashboard-welcome h1 {
  max-width: none;
  margin: 0 0 4px;
  color: var(--dash-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.premium-dashboard .dashboard-welcome p {
  max-width: 720px;
  margin: 0;
  color: var(--dash-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.premium-dashboard .eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--dash-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.premium-dashboard .eyebrow::before {
  display: none;
}

.premium-dashboard .advice-pill,
.premium-dashboard .status-pill,
.premium-dashboard .request-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 34px;
  border-radius: 999px;
  background: #eef5ec;
  color: var(--dash-green);
  font-size: 12px;
  font-weight: 900;
  padding: 0 16px;
}

.premium-dashboard .dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.premium-dashboard .dashboard-stats article,
.premium-dashboard .analysis-card {
  border: 1px solid rgba(16, 18, 15, 0.06);
  border-radius: 14px;
  background: var(--dash-card);
  box-shadow: 0 18px 42px rgba(46, 41, 30, 0.08);
}

.premium-dashboard .dashboard-stats article {
  padding: 18px 20px 16px;
}

.premium-dashboard .dashboard-stats span {
  display: block;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 900;
}

.premium-dashboard .dashboard-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--dash-ink);
  font-size: 34px;
  line-height: 0.95;
}

.premium-dashboard .dashboard-stats p {
  margin: 6px 0 0;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 700;
}

.premium-dashboard .dashboard-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(380px, 1.08fr);
  gap: 24px;
  align-items: start;
}

.premium-dashboard .dashboard-left,
.premium-dashboard .dashboard-right {
  display: grid;
  gap: 24px;
}

.premium-dashboard .dashboard-right {
  grid-template-columns: 1fr 0.86fr;
}

.premium-dashboard .featured-analysis {
  grid-column: 1 / -1;
}

.premium-dashboard .analysis-card {
  grid-column: auto;
  padding: 26px;
  color: var(--dash-ink);
}

.premium-dashboard .section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.premium-dashboard .section-heading h2,
.premium-dashboard .analysis-card h2 {
  max-width: none;
  margin: 0;
  color: var(--dash-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.premium-dashboard .dashboard-form .muted {
  margin: -6px 0 14px;
  color: var(--dash-muted);
  font-size: 14px;
  font-weight: 700;
}

.premium-dashboard .dashboard-form {
  display: grid;
  gap: 14px;
}

.premium-dashboard .dashboard-form label {
  display: grid;
  gap: 8px;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 900;
}

.premium-dashboard input,
.premium-dashboard select,
.premium-dashboard textarea {
  min-height: 54px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fbfaf5;
  color: var(--dash-ink);
  font-size: 15px;
  font-weight: 800;
}

.premium-dashboard textarea {
  min-height: 94px;
}

.premium-dashboard input:focus,
.premium-dashboard select:focus,
.premium-dashboard textarea:focus {
  outline: 2px solid rgba(12, 118, 93, 0.2);
  border-color: var(--dash-green-2);
}

.premium-dashboard .form-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.premium-dashboard .dashboard-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--dash-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 22px;
}

.premium-dashboard .form-note {
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.premium-dashboard .form-note.success {
  color: var(--dash-green-2);
}

.premium-dashboard .request-list-panel {
  min-height: 150px;
}

.premium-dashboard .empty-state {
  margin-top: 16px;
  padding: 22px;
  border: 1px dashed var(--dash-line);
  border-radius: 8px;
  background: #fbfaf5;
}

.premium-dashboard .empty-state strong {
  color: var(--dash-ink);
  font-size: 18px;
}

.premium-dashboard .empty-state p {
  margin: 6px 0 0;
  color: var(--dash-muted);
  font-weight: 700;
}

.premium-dashboard .request-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.premium-dashboard .request-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--dash-line);
  border-radius: 0;
  background: transparent;
}

.premium-dashboard .request-item:last-child {
  border-bottom: 0;
}

.premium-dashboard .request-main strong {
  display: inline;
  margin: 0 10px 0 0;
  color: var(--dash-ink);
  font-size: 22px;
  line-height: 1;
}

.premium-dashboard .request-main span {
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 800;
}

.premium-dashboard .request-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 700;
}

.premium-dashboard .request-status {
  min-height: 28px;
  background: #eee8dc;
  color: #aa7a25;
  padding: 0 13px;
}

.premium-dashboard .ticker-line {
  margin: 4px 0 12px;
  color: #c68a27;
  font-size: 15px;
  font-weight: 900;
}

.premium-dashboard .score-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 26px;
  align-items: center;
}

.premium-dashboard .score-row p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.premium-dashboard .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.premium-dashboard .tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #eee8dc;
  color: var(--dash-ink);
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
}

.premium-dashboard .ai-score {
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--dash-card) 0 48%, transparent 49%),
    conic-gradient(var(--dash-green-2) 76%, #e6ddce 0);
}

.premium-dashboard .ai-score strong {
  margin-top: 18px;
  color: var(--dash-ink);
  font-size: 42px;
  line-height: 0.9;
}

.premium-dashboard .ai-score span {
  margin-top: -34px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 900;
}

.premium-dashboard .education-card h2,
.premium-dashboard .tutoring-card h2 {
  font-size: 23px;
}

.premium-dashboard .lesson-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 18px;
  padding: 0;
  list-style: none;
}

.premium-dashboard .lesson-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dash-ink);
  font-size: 14px;
  font-weight: 900;
}

.premium-dashboard .lesson-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: var(--dash-ink);
  color: #fff;
  font-size: 13px;
}

.premium-dashboard .secondary-button {
  min-height: 42px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fbfaf5;
  color: var(--dash-ink);
  font-size: 13px;
  font-weight: 900;
}

.premium-dashboard .tutoring-card {
  background: var(--dash-green);
  color: #fff;
}

.premium-dashboard .tutoring-card .eyebrow,
.premium-dashboard .tutoring-card h2 {
  color: #fff;
}

.premium-dashboard .tutoring-card h2 {
  line-height: 1.25;
}

.premium-dashboard .price-list {
  display: grid;
  gap: 0;
  margin: 22px 0 18px;
}

.premium-dashboard .price-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.premium-dashboard .price-list strong {
  color: #e9d07e;
}

.premium-dashboard .tutoring-card .primary-button {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  background: #fff;
  color: var(--dash-green);
  font-size: 14px;
  font-weight: 900;
}

.premium-dashboard .dashboard-disclaimer {
  margin: 22px 0 0;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

/* Legacy dashboard fallback */

.dashboard-body:not(.premium-dashboard) {
  min-height: 100vh;
  background: #070b0f;
  color: var(--text);
}

.dashboard-header .signout-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.member-shell {
  display: grid;
  gap: clamp(34px, 6vw, 70px);
  padding: clamp(34px, 6vw, 74px) clamp(18px, 5vw, 72px);
}

.member-hero,
.member-grid,
.learning-section,
.tutoring-callout {
  display: grid;
  gap: 24px;
}

.member-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  align-items: end;
}

.member-status,
.request-list-panel,
.learning-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 25, 35, 0.9);
  box-shadow: var(--shadow);
}

.member-status {
  padding: 24px;
}

.member-status span,
.request-item span,
.learning-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-status strong {
  display: block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 32px;
  line-height: 1.1;
}

.member-status p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.member-grid {
  grid-template-columns: minmax(320px, 0.45fr) minmax(0, 1fr);
  align-items: start;
}

.member-form,
.request-list-panel {
  min-height: 100%;
}

.request-list-panel {
  padding: 24px;
}

.empty-state {
  margin-top: 24px;
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 22px;
}

.empty-state p {
  margin: 0;
}

.request-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.request-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090f15;
}

.request-item strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 24px;
}

.request-item p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.5;
}

.request-item dl {
  margin-top: 12px;
}

.learning-section {
  padding: clamp(38px, 6vw, 70px);
  background: var(--paper);
  color: var(--ink);
}

.learning-section .eyebrow {
  color: #5d7110;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.learning-grid article {
  padding: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.learning-grid span {
  color: #5d7110;
}

.learning-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}

.learning-grid p {
  margin: 12px 0 0;
  color: #415360;
  line-height: 1.5;
}

.tutoring-callout {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-top: 12px;
}

/* Responsive */

@media (max-width: 1060px) {
  .premium-dashboard .dashboard-layout,
  .premium-dashboard .dashboard-right {
    grid-template-columns: 1fr;
  }

  .premium-dashboard .featured-analysis {
    grid-column: auto;
  }

  .premium-dashboard .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero,
  .access-section,
  .signin-shell,
  .member-hero,
  .member-grid,
  .tutoring-callout {
    grid-template-columns: 1fr;
  }

  .terminal-panel {
    max-width: 680px;
  }

  .feature-grid,
  .dashboard,
  .scenario-paths,
  .ticker-strip,
  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-card.wide {
    grid-column: span 2;
  }

  .analysis-card {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-header nav,
  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .scenario-grid,
  .scenario-paths,
  .feature-grid,
  .dashboard,
  .ticker-strip,
  .learning-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card.wide,
  .analysis-card {
    grid-column: auto;
  }

  .analysis-layout {
    grid-template-columns: 1fr;
  }

  .analysis-score {
    justify-self: start;
  }

  .access-section {
    gap: 18px;
  }

  .signin-teaser,
  .signin-stats {
    grid-template-columns: 1fr;
  }

  .signin-teaser {
    display: grid;
  }

  .segmented {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }

  .premium-dashboard .dashboard-app {
    width: min(100% - 22px, 1180px);
    padding-top: 14px;
  }

  .premium-dashboard .dashboard-topbar,
  .premium-dashboard .dashboard-welcome,
  .premium-dashboard .form-submit-row {
    display: grid;
  }

  .premium-dashboard .dashboard-user {
    justify-content: space-between;
  }

  .premium-dashboard .dashboard-stats,
  .premium-dashboard .score-row {
    grid-template-columns: 1fr;
  }

  .premium-dashboard .analysis-card {
    padding: 20px;
  }

  .premium-dashboard .ai-score {
    justify-self: start;
    width: 126px;
    height: 126px;
  }

  .premium-dashboard .dashboard-welcome h1 {
    font-size: 32px;
  }

  .premium-dashboard .request-item {
    grid-template-columns: 1fr;
  }

  .premium-dashboard .request-status {
    justify-self: start;
  }
}