/* ================================================================
   GOLD'S GYM — ONE SYSTEM INITIATIVE
   Shared Design System (source of truth: survey.html)
   ================================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --gold: #F2C23E;
  --gold-light: #FFF0B3;
  --gold-dim: #E6A800;
  --dark: #1A1A1A;
  --dark-2: #2D2D2D;
  --mid: #555;
  --light: #F7F7F5;
  --white: #FFFFFF;
  --border: #E5E2DC;
  --green: #2E7D32;
  --red: #C62828;
  --amber: #D48800;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.6;
}

/* ── HEADER ── */
header, .hero {
  background: var(--dark);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.header-inner, .hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 52px 40px 48px;
  position: relative;
  z-index: 2;
}
.header-eyebrow, .hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
header h1, .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 16px;
}
header h1 span, .hero h1 span,
header h1 .accent, .hero h1 .accent {
  color: var(--gold);
}
.header-sub, .hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.6;
}
.hero-subtitle { margin-bottom: 32px; }
.header-meta, .hero-pills {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.meta-pill, .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.meta-pill .dot, .hero-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.header-bg-text, .hero-bg-text {
  position: absolute;
  right: -10px;
  top: -20px;
  font-family: var(--font-display);
  font-size: 260px;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.02em;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* ── STICKY NAV ── */
.sticky-nav, .nav-bar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner, .nav-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar,
.nav-bar-inner::-webkit-scrollbar { display: none; }
.nav-tab, .nav-link {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 16px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.nav-tab:hover, .nav-tab.active,
.nav-link:hover, .nav-link.active {
  color: var(--dark);
  border-bottom-color: var(--gold);
}
.nav-home {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 16px 20px 16px 0;
  margin-right: 8px;
  border-right: 1.5px solid var(--border);
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav-home:hover { color: var(--gold); }

/* ── SECTION HEADERS ── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.section-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--dark);
  line-height: 1;
}

/* ── FOOTER ── */
footer, .footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 28px 40px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
footer strong, .footer strong {
  color: var(--gold);
  font-weight: 700;
}

/* ── SHARED LAYOUT ── */
.page-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.section {
  margin-bottom: 64px;
  scroll-margin-top: 65px;
}
.section-intro {
  font-size: 15px;
  color: var(--mid);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── STAT ROW (shared) ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.18s;
}
.stat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.stat-card:hover::before { opacity: 1; }
.stat-big {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 6px;
}

/* ── PANELS ── */
.panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 20px;
}
.panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 12px;
}
.panel p, .panel li {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}
.panel ul { list-style: none; padding: 0; }
.panel ul li { padding: 4px 0; padding-left: 16px; position: relative; }
.panel ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ── CARD (shared) ── */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.18s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover::before { opacity: 1; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.card-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.card-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-2);
}
.card-stat .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.card-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 20px;
  color: var(--border);
  transition: color 0.2s, transform 0.2s;
}
.card:hover .card-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* ── PREV / NEXT NAV ── */
.prev-next-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}
.prev-next-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 20px 24px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, transform 0.18s;
  min-width: 200px;
  max-width: 48%;
}
.prev-next-nav a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.prev-next-nav .pn-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.prev-next-nav .pn-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--dark);
}
.prev-next-nav .next { margin-left: auto; text-align: right; }

/* ── THREE-COLUMN COMPARE ── */
.three-col-compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.three-col-compare .col {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
}
.three-col-compare .col.recommended {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 24px rgba(242,194,62,0.12);
}
.three-col-compare .col.recommended::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
}
.col-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: center;
}
.col ul { list-style: none; padding: 0; }
.col ul li {
  font-size: 13.5px;
  color: var(--mid);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.col .verdict {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}
@media (max-width: 900px) {
  .three-col-compare { grid-template-columns: 1fr; }
  .three-col-compare .col.recommended { margin-top: 16px; }
}

/* ── PROFILE CARD ── */
.profile-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}
.profile-card .profile-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 4px;
}
.profile-card .profile-meta {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 16px;
}
.profile-card table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 13px;
}
.profile-card table th {
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  padding: 6px 12px 6px 0;
  white-space: nowrap;
  width: 30%;
}
.profile-card table td {
  color: var(--mid);
  padding: 6px 0;
}
.profile-card blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin: 16px 0 0;
  font-size: 13.5px;
  font-style: italic;
  color: var(--mid);
  background: rgba(242,194,62,0.04);
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

/* ── CALLOUT BOX ── */
.callout-box {
  border-left: 4px solid var(--gold);
  background: rgba(242,194,62,0.06);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 28px 0;
}
.callout-box .callout-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 8px;
}
.callout-box p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}
.callout-box .callout-big {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin: 8px 0;
}

/* ── DEPT CARD ── */
.dept-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
}
.dept-card .dept-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 4px;
}
.dept-card .dept-people {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
}
.dept-card .dept-needs {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.dept-card blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 12px;
  margin: 0;
  font-size: 12.5px;
  font-style: italic;
  color: var(--mid);
  background: rgba(242,194,62,0.04);
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}

/* ── THEME CARD ── */
.theme-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.theme-card .theme-num {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
}
.theme-card .theme-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 6px;
}
.theme-card .theme-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── TIMELINE BAR ── */
.timeline-bar {
  display: flex;
  gap: 0;
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.timeline-bar .tl-phase {
  flex: 1;
  padding: 16px 12px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--border);
  position: relative;
}
.timeline-bar .tl-phase:last-child { border-right: none; }
.timeline-bar .tl-phase.active {
  background: var(--gold);
  color: var(--dark);
}
.timeline-bar .tl-phase.active .tl-label { color: var(--dark); }
.timeline-bar .tl-num {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}
.timeline-bar .tl-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}
.timeline-bar .tl-duration {
  font-size: 10px;
  color: var(--mid);
  margin-top: 2px;
}

/* ── VENN DIAGRAM ── */
.venn-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.venn-svg { max-width: 480px; width: 100%; height: auto; }
.venn-svg text {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* ── LAYER CAKE ARCHITECTURE DIAGRAM ── */
.layer-diagram-section {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}
.layer-diagram {
  max-width: 800px;
  width: 100%;
  height: auto;
}

/* ── SHARED TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.data-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}
.data-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(242,194,62,0.03); }

/* ── CTA BUTTON ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
}

/* ── BLOCKQUOTE (shared) ── */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  font-style: italic;
  color: var(--mid);
  background: rgba(242,194,62,0.04);
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}
.quote-block cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: var(--dark);
  margin-top: 8px;
}

/* ── SCORE BAR ── */
.score-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.score-bar .sb-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  min-width: 120px;
}
.score-bar .sb-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.score-bar .sb-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.score-bar .sb-value {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  min-width: 36px;
  text-align: right;
}

/* ── GLOBAL PROGRESS STEPPER ── */
.global-nav {
  background: var(--dark);
  padding: 20px 0 0;
}
.global-stepper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  transition: all 0.2s;
}
.step-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  transition: color 0.2s;
}
.step:hover .step-num {
  border-color: var(--gold);
  color: var(--gold);
}
.step:hover .step-label { color: rgba(255,255,255,0.6); }
.step.active .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.step.active .step-label { color: var(--gold); }
.step.visited .step-num {
  border-color: rgba(242,194,62,0.4);
  color: rgba(242,194,62,0.6);
}
.step.visited .step-label { color: rgba(242,194,62,0.4); }
.step-connector {
  flex: 1;
  height: 1.5px;
  background: rgba(255,255,255,0.1);
  min-width: 16px;
  max-width: 60px;
  margin: 0 4px;
  align-self: flex-start;
  margin-top: 15px;
}

/* ── PAGE INDICATOR (in sticky nav) ── */
.nav-page-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  margin-right: 8px;
  flex-shrink: 0;
}
.nav-prev-arrow, .nav-next-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--mid);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.nav-prev-arrow:hover, .nav-next-arrow:hover {
  border-color: var(--gold);
  color: var(--dark);
}
.nav-prev-arrow.disabled, .nav-next-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.nav-page-badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  min-width: 32px;
  text-align: center;
}
.nav-divider {
  width: 1.5px;
  height: 24px;
  background: var(--border);
  margin: 0 8px;
  flex-shrink: 0;
  align-self: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-inner, .hero-inner { padding: 36px 20px 32px; }
  .nav-inner, .nav-bar-inner { padding: 0 20px; }
  .page-main { padding: 36px 20px 60px; }
  .prev-next-nav { flex-direction: column; }
  .prev-next-nav a { max-width: 100%; min-width: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .timeline-bar { flex-direction: column; }
  .timeline-bar .tl-phase { border-right: none; border-bottom: 1px solid var(--border); }
  .global-stepper { padding: 0 20px 16px; }
  .step-label { display: none; }
  .step-num { width: 26px; height: 26px; font-size: 11px; }
  .step-connector { margin-top: 12px; }
}
@media (max-width: 480px) {
  .step-num { width: 22px; height: 22px; font-size: 10px; }
  .step-connector { min-width: 8px; margin-top: 10px; }
  .global-stepper { padding: 0 12px 12px; }
  .nav-page-badge { font-size: 11px; }
}

/* ── LOGIN PAGE ── */
.login-page {
  min-height: 100vh;
  background: var(--dark);
  color: var(--white);
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.login-bg-text {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 28vw, 320px);
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.02em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 36px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.login-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.login-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 52px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 16px;
}

.login-title span { color: var(--gold); }

.login-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 28px;
}

.login-error {
  background: rgba(198, 40, 40, 0.15);
  border: 1px solid rgba(198, 40, 40, 0.45);
  color: #ffb4b4;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.login-input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.25);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input::placeholder { color: rgba(255,255,255,0.3); }

.login-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 194, 62, 0.15);
}

.login-btn {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.login-btn:hover {
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.login-btn:active { transform: translateY(0); }

.login-footer {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.login-footer a {
  color: var(--gold);
  text-decoration: none;
}

.login-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .login-card { padding: 32px 24px 28px; }
}
