/* =============================================
   ELEVATE EBS — TAX EFFICIENCY PROPOSAL TOOL
   ============================================= */

:root {
  --navy:       #1a2744;
  --navy-light: #243461;
  --navy-dark:  #0f1a30;
  --gold:       #c9a227;
  --gold-light: #e8be44;
  --green:      #16a34a;
  --green-light:#dcfce7;
  --accent:     #2563eb;
  --accent-light:#dbeafe;
  --red:        #dc2626;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --white:      #ffffff;

  --font-body: 'Inter', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--navy-dark);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-accent {
  color: var(--gold);
}

.logo-sep {
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,48,0.88) 0%, rgba(26,39,68,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 32px;
  font-weight: 300;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

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

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

.btn-primary:disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
  transform: none;
}

.btn-large {
  padding: 15px 36px;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  border: 2px solid var(--gray-200);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gray-400);
  color: var(--gray-800);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-download:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* =============================================
   HERO CTA ROW
   ============================================= */
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-outline-light.btn-large {
  padding: 15px 36px;
  font-size: 1.05rem;
}

/* =============================================
   TOOL SECTIONS
   ============================================= */
.tool-section {
  padding: 80px 0;
  background: var(--white);
}

.tool-section-dark {
  background: var(--gray-50);
}

.section-label {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-label-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.section-desc {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
  line-height: 1.7;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}

.section-title-light {
  color: var(--navy);
}

.section-desc-light {
  color: var(--gray-600);
}

/* =============================================
   SECTION DIVIDER
   ============================================= */
.section-divider {
  padding: 0 0 0;
  background: var(--white);
}

.divider-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
  margin: 0 auto;
  max-width: 300px;
}

/* =============================================
   QUICK ESTIMATE LAYOUT
   ============================================= */
.estimate-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.estimate-inputs {
  position: sticky;
  top: 80px;
}

.panel-title-sm {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.estimate-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 24px;
  font-size: 0.83rem;
  color: var(--gray-600);
}

.estimate-note strong {
  display: block;
  color: var(--gray-800);
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.estimate-note ul {
  padding-left: 18px;
  line-height: 1.9;
}

/* Public Sector Toggle */
.public-sector-toggle {
  background: #fffbeb;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 20px;
  margin-bottom: 4px;
}

.toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.toggle-label input[type="checkbox"]:checked + .toggle-check-box {
  background: var(--gold);
  border-color: var(--gold);
}

.toggle-label input[type="checkbox"]:checked + .toggle-check-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid var(--navy-dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.toggle-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toggle-text strong {
  font-size: 0.88rem;
  color: var(--gray-800);
  font-weight: 700;
}

.toggle-hint {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Select input */
.form-group select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select:focus {
  border-color: var(--navy);
}

/* Results placeholder */
.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 300px;
  color: var(--gray-400);
  text-align: center;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.results-placeholder p {
  font-size: 0.95rem;
  max-width: 260px;
  line-height: 1.6;
}

/* Results content */
.results-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-summary-header {
  text-align: center;
  padding: 20px 0 4px;
}

.results-summary-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.results-summary-sub {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Savings blocks */
.savings-block {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.savings-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.savings-block-header h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
}

.savings-block-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.employee-icon {
  background: var(--green-light);
  color: var(--green);
}

.employer-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.savings-breakdown {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  gap: 12px;
}

.breakdown-row:last-child {
  border-bottom: none;
}

.breakdown-total-row {
  border-top: 2px solid var(--gray-200);
  border-bottom: none;
  padding-top: 12px;
  margin-top: 4px;
}

.breakdown-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  flex: 1;
}

.breakdown-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}

.breakdown-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.savings-big-number {
  background: var(--navy);
  padding: 20px 24px;
  text-align: center;
}

.savings-block-employee .savings-big-number {
  background: linear-gradient(135deg, #15803d, #16a34a);
}

.savings-block-employer .savings-big-number {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.big-number-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.big-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

/* Grand total */
.grand-total-box {
  background: var(--navy-dark);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
  border: 2px solid var(--gold);
}

.grand-total-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.grand-total-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.grand-total-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Estimate CTA */
.estimate-cta {
  text-align: center;
  padding: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.estimate-cta p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  background: var(--white);
  padding: 80px 0;
}

/* =============================================
   PROGRESS TRACK (inside tool-section-dark)
   ============================================= */
.tool-section-dark .progress-track {
  margin-bottom: 40px;
}

.tool-section-dark .progress-step span {
  color: var(--gray-400);
}

.tool-section-dark .progress-step.active span,
.tool-section-dark .progress-step.done span {
  color: var(--navy);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 52px;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 24px 20px;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 18px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.step-divider {
  flex: 0 0 40px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 50px;
  align-self: flex-start;
}

/* =============================================
   APP SECTION (now inside tool-section-dark)
   ============================================= */

/* Progress Track */
.progress-track {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.progress-step span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.progress-step.active span,
.progress-step.done span {
  color: var(--navy);
}

.prog-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: 3px solid transparent;
}

.progress-step.active .prog-dot {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--gold);
}

.progress-step.done .prog-dot {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.progress-line {
  flex: 0 0 80px;
  height: 3px;
  background: var(--gray-200);
  margin-bottom: 28px;
  transition: background 0.3s;
}

.progress-line.done {
  background: var(--green);
}

/* Step Panels */
.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.panel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  max-width: 780px;
  margin: 0 auto;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.panel-subtitle {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* Forms */
.app-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus {
  border-color: var(--navy);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.step2-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}

/* Template Box */
.template-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--navy-dark);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.template-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.template-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.template-info strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.template-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.template-box .btn-outline {
  color: var(--gold);
  border-color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
}

.template-box .btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* Pay Frequency Note */
.pay-freq-note {
  background: var(--gray-100);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.83rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.pay-freq-note strong {
  color: var(--gray-800);
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s;
  margin-bottom: 24px;
  overflow: hidden;
}

.upload-area:hover {
  border-color: var(--navy);
}

.upload-area.has-file {
  border-color: var(--green);
  background: var(--green-light);
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 20px;
  cursor: pointer;
  color: var(--gray-600);
}

.upload-icon {
  color: var(--navy);
  opacity: 0.5;
}

.upload-label strong {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.upload-label span {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Error message */
.error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* Spinner */
.spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =============================================
   RESULTS
   ============================================= */
.results-card {
  max-width: 900px;
}

.results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.metric-card {
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
}

.metric-primary {
  background: var(--navy);
  color: var(--white);
}

.metric-success {
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: var(--white);
}

.metric-accent {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: var(--white);
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 12px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.1;
}

.metric-sub {
  font-size: 0.75rem;
  opacity: 0.7;
}

.stats-row {
  display: flex;
  gap: 0;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--gray-200);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}

/* Employee Breakdown Cards */
#employeeBreakdownList > div {
  transition: box-shadow 0.2s;
}

#employeeBreakdownList > div:hover {
  box-shadow: var(--shadow-md);
}

/* Download Section */
.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  flex-wrap: wrap;
}

.download-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.download-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  max-width: 400px;
}

.pdf-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* =============================================
   VALUE PROPS
   ============================================= */
.value-props {
  background: var(--navy-dark);
  padding: 80px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-item {
  text-align: center;
  padding: 24px 16px;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
}

.value-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.footer-brand .logo-text {
  font-size: 1.3rem;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.support-footer-btn {
  display: inline-block;
  margin-top: 10px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.support-footer-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.metric-value.animate {
  animation: countUp 0.5s ease forwards;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .estimate-inputs {
    position: static;
    margin: 0 auto;
  }

  .tool-section .section-label,
  .tool-section-dark .section-label {
    display: block;
    text-align: center;
  }

  .tool-section .section-title,
  .tool-section-dark .section-title {
    text-align: center;
  }

  .tool-section .section-desc,
  .tool-section-dark .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 800px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .panel-card {
    padding: 32px 24px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }

  .step-divider {
    width: 2px;
    height: 32px;
    flex: 0 0 32px;
    margin: 0 0 0 0;
    align-self: center;
  }

  .stats-row {
    flex-direction: column;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .download-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .template-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .progress-line {
    flex: 0 0 40px;
  }

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

  .results-header {
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
  }

  .hero-content {
    padding: 80px 24px 60px;
  }
}

/* =============================================
   SECTION 2 AUTH GATE
   ============================================= */
.section2-gate {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 48, 0.88);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  backdrop-filter: blur(4px);
}

.section2-gate-inner {
  text-align: center;
  max-width: 480px;
}

.section2-gate-icon {
  width: 72px;
  height: 72px;
  background: rgba(201, 162, 39, 0.15);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}

.section2-gate-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 700;
}

.section2-gate-desc {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.section2-gate-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   AUTH MODALS
   ============================================= */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,26,48,0.75);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}

.auth-modal-overlay.open {
  display: flex;
}

.auth-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 48px;
  width: 100%;
  max-width: 560px;
  position: relative;
  animation: authModalIn 0.22s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes authModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

.auth-modal-close:hover { color: var(--gray-800); }

.auth-modal-logo {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal-logo .logo-text {
  color: var(--navy);
  font-size: 1.5rem;
}

.auth-modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}

.auth-modal-sub {
  font-size: 0.88rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-form-group input,
.auth-form-group select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  width: 100%;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
  border-color: var(--navy);
}

.auth-submit-btn {
  width: 100%;
  padding: 13px;
  font-size: 1rem;
  text-align: center;
  margin-top: 4px;
}

.auth-forgot {
  text-align: center;
  font-size: 0.83rem;
  margin-top: 4px;
}

.auth-forgot a {
  color: var(--gray-600);
  text-decoration: none;
}

.auth-forgot a:hover { text-decoration: underline; }

.auth-switch {
  text-align: center;
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.auth-switch a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover { text-decoration: underline; }

.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
}

.auth-success {
  background: var(--green-light);
  border: 1px solid #86efac;
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
}

.auth-spam-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 4px;
}

.auth-verify-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.auth-resend-link {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

/* =============================================
   PROFILE TYPE PICKER
   ============================================= */
.profile-type-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.profile-type-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.profile-type-option:has(input:checked) {
  border-color: var(--navy);
  background: #f0f4ff;
}

.profile-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.profile-type-radio-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  background: var(--white);
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.profile-type-option:has(input:checked) .profile-type-radio-dot {
  border-color: var(--navy);
  background: var(--navy);
}

.profile-type-option:has(input:checked) .profile-type-radio-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.profile-type-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-type-label strong {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 700;
}

.profile-type-label small {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* =============================================
   HEADER NAV BUTTONS — REMOVED
   ============================================= */
.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.nav-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.nav-btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 1.5px solid var(--gold);
}

.nav-btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.nav-user-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =============================================
   DASHBOARD LAYOUT — REMOVED
   ============================================= */
.dash-layout {
  display: flex;
  min-height: calc(100vh - 58px);
  background: var(--gray-50);
}

.dash-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--navy-dark);
  padding: 28px 12px 24px;
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow-y: auto;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  width: 100%;
  text-align: left;
}

.dash-nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.dash-nav-item.active {
  background: rgba(201,162,39,0.15);
  color: var(--gold);
  font-weight: 700;
}

.dash-nav-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.dash-nav-item.active svg { opacity: 1; }

.dash-main {
  flex: 1;
  min-width: 0;
  padding: 40px 40px 60px;
}

.dash-tab {
  display: none;
}

.dash-tab.active {
  display: block;
}

.dash-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dash-page-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  font-weight: 700;
}

.dash-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 40px;
  text-align: center;
  color: var(--gray-400);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
}

.dash-empty-state p {
  font-size: 0.95rem;
  max-width: 320px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =============================================
   REPORT CARDS — REMOVED
   ============================================= */
.reports-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.report-card:hover { box-shadow: var(--shadow-md); }

.report-card-header {
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.report-card-company {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 3px;
}

.report-card-date {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.report-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gray-100);
  color: var(--gray-600);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Creator / owner info row */
.report-card-people {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 22px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.report-card-person {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--gray-600);
  flex-wrap: wrap;
}

.report-card-person svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

.report-card-person-label {
  font-weight: 700;
  color: var(--gray-800);
  white-space: nowrap;
}

.report-card-person-value {
  color: var(--gray-600);
}

.report-card-metrics {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gray-100);
}

.report-metric {
  flex: 1;
  padding: 14px 18px;
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-metric:last-child { border-right: none; }

.report-metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.report-metric-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.report-metric-value.green { color: var(--green); }
.report-metric-value.navy  { color: var(--navy); }

.report-card-actions {
  padding: 12px 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--gray-50);
}

/* =============================================
   ADMIN TABLES — REMOVED
   ============================================= */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table thead {
  background: var(--gray-50);
}

.admin-table th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}

.admin-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--gray-50); }

.admin-search {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s;
  min-width: 200px;
  background: var(--white);
}

.admin-search:focus { border-color: var(--navy); }

.admin-filter-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-800);
  outline: none;
  background: var(--white);
  cursor: pointer;
}

.admin-badge {
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

/* =============================================
   DASHBOARD WELCOME BANNER
   ============================================= */
.dash-welcome-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--gold);
}

.dash-welcome-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-welcome-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.dash-welcome-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* =============================================
   DASHBOARD RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .dash-layout {
    flex-direction: column;
  }

  .dash-sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding: 12px 12px;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dash-nav {
    flex-direction: row;
    gap: 4px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .dash-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .dash-main {
    padding: 24px 16px 40px;
  }

  .dash-tab-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-page-title {
    font-size: 1.4rem;
  }

  .dash-welcome-banner {
    padding: 18px 20px;
  }

  .dash-welcome-name {
    font-size: 1.25rem;
  }

  .report-card-metrics {
    flex-wrap: wrap;
  }

  .report-metric {
    flex: 1 1 45%;
  }

  .report-card-header {
    flex-direction: column;
    gap: 8px;
  }

  .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-search {
    min-width: 0;
    width: 100%;
  }

  .auth-modal {
    padding: 28px 20px;
  }

  .panel-card {
    padding: 24px 16px;
  }

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

  /* Support modal inline-style override */
  #supportModalOverlay > div {
    padding: 28px 20px !important;
  }

  /* Hamburger + mobile nav */
  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    z-index: 99;
  }

  .header-nav.mobile-open {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .nav-btn {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    font-size: 0.9rem;
    justify-content: flex-start;
  }

  #userArea {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
  }

  #userArea .nav-btn,
  #userArea a.nav-btn {
    width: 100%;
  }

  .nav-user-name {
    max-width: none;
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  /* Logo tagline on mobile */
  .logo-tagline {
    font-size: 0.65rem;
  }

  /* Profile pages */
  .profile-header-inner,
  .profile-main {
    padding: 0 16px;
  }

  /* Step cards */
  .step-card {
    min-width: 0;
    max-width: 100%;
  }

  /* Metrics row */
  .report-card-metrics {
    flex-direction: column;
  }

  .report-metric {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .report-metric:last-child {
    border-bottom: none;
  }
}
