/*
 * Skill & Spark - Premium Design System
 * $100K Quality Mobile-First Design
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --bg: #FAFAF8;
  --bg2: #F3F1ED;
  --bg3: #EBE8E2;
  --ink: #1C1917;
  --ink2: #44403C;
  --muted: #78716C;
  --rule: #E7E5E0;
  --accent: #115E59;
  --accent-light: #14B8A6;
  --accent-pale: #CCFBF1;
  --accent-dark: #0D4744;
  --warm: #B45309;
  --warm-light: #F59E0B;
  --warm-pale: #FEF3C7;
  --warm-dark: #92400E;
  --cta: #C2610C;
  --cta-hover: #A3520A;
  --white: #FFFFFF;
  --error: #DC2626;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.125rem;
}

h4 {
  font-size: 1rem;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink2);
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  height: 60px;
}

nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  z-index: 1001;
  flex-shrink: 0;
}

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

.logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Footer logo larger */
.footer-brand .logo-img {
  height: 50px;
  max-width: 200px;
}

/* Desktop - larger logo */
@media (min-width: 768px) {
  .logo-img {
    height: 44px;
    max-width: 180px;
  }
  .footer-brand .logo-img {
    height: 60px;
    max-width: 280px;
  }
}

.logo-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Desktop Navigation - Hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink2);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Mobile Menu Button - Visible on mobile */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay - SEPARATE ELEMENT */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--rule);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  transition: background 0.2s var(--ease);
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: var(--bg2);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

.btn.sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn.lg {
  padding: 16px 28px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========== BADGES & PILLS ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--accent-pale);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge.warm {
  background: var(--warm-pale);
  color: var(--warm);
}

.badge.no-dot::before {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink2);
}

.pill.accent {
  background: var(--warm-pale);
  border-color: transparent;
  color: var(--cta);
  font-weight: 600;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 80px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  display: none;
}

.hero-pattern {
  display: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  margin: 20px 0 16px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content .lead {
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-buttons .btn {
  width: 100%;
}

/* Social Proof */
.hero-proof {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.hero-avatars {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: -10px;
  box-shadow: var(--shadow-sm);
}

.hero-avatar:first-child {
  margin-left: 0;
}

.hero-avatar:nth-child(1) { background: var(--accent-pale); color: var(--accent); }
.hero-avatar:nth-child(2) { background: var(--warm-pale); color: var(--warm); }
.hero-avatar:nth-child(3) { background: #DBEAFE; color: #1D4ED8; }
.hero-avatar:nth-child(4) { background: #F3E8FF; color: #7C3AED; }

.hero-proof-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
  text-align: left;
}

.hero-proof-text strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

/* Hero Visual - Desktop only */
.hero-visual {
  display: none;
}

/* ========== SECTIONS ========== */
.section {
  padding: 48px 0;
}

.section-divider {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header .lead {
  max-width: 560px;
  margin: 0 auto;
}

/* ========== GRID ========== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ========== CARDS ========== */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card h3 {
  margin: 8px 0 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.card .btn {
  margin-top: 20px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Course Cards */
.course-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card.warm::before {
  background: linear-gradient(90deg, var(--warm), var(--warm-light));
}

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.course-icon.teal { background: var(--accent-pale); }
.course-icon.amber { background: var(--warm-pale); }

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.625rem;
  padding: 6px 10px;
}

/* Article Cards */
.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-image {
  height: 160px;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  flex-shrink: 0;
}

.article-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-body h3 {
  margin: 6px 0 10px;
}

.article-body p {
  flex: 1;
}

/* ========== SPLIT LAYOUT ========== */
.split {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ========== FORMS ========== */
.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px; /* Prevents iOS zoom */
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 94, 89, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 8px;
}

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

/* ========== STATS (Mobile inline) ========== */
.stats-inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.stat-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.stat-item-icon.teal { background: var(--accent-pale); }
.stat-item-icon.amber { background: var(--warm-pale); }
.stat-item-icon.blue { background: #DBEAFE; }

.stat-item-content {
  flex: 1;
  min-width: 0;
}

.stat-item-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 2px;
}

.stat-item-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.stat-item-value span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-left: 2px;
}

/* ========== FOOTER ========== */
footer {
  padding: 48px 0 32px;
  background: var(--bg2);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 280px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast {
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: var(--error);
}

.toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--muted); }

.hidden { display: none !important; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Button states */
.btn-text { display: inline; }
.btn-loading { display: inline-flex; align-items: center; }
.btn-loading.hidden { display: none; }
.btn-text.hidden { display: none; }

/* Separator */
hr.sep {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 24px 0;
}

/* ========== TABLET (768px+) ========== */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  .lead { font-size: 1.125rem; }
  
  .container { padding: 0 32px; }
  
  /* Navigation */
  nav { height: 72px; }
  .nav-inner { padding: 0 32px; }
  .logo { font-size: 1.25rem; }
  .logo-icon { width: 36px; height: 36px; min-width: 36px; }
  
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    animation: none;
  }
  
  .nav-links a {
    padding: 0;
    font-size: 0.9375rem;
  }
  
  .mobile-menu-btn { display: none; }
  
  /* Hero */
  .hero { padding: 140px 0 80px; }
  .hero-content { text-align: left; max-width: 540px; }
  .hero-content .lead { margin-bottom: 32px; }
  
  .hero-buttons {
    flex-direction: row;
    gap: 16px;
  }
  
  .hero-buttons .btn { width: auto; }
  
  .hero-proof { justify-content: flex-start; }
  
  /* Sections */
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  
  /* Grid */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  
  /* Split */
  .split {
    flex-direction: row;
    gap: 48px;
  }
  
  .split > *:first-child { flex: 1.3; }
  .split > *:last-child { flex: 0.7; }
  
  /* Forms */
  .form-row { grid-template-columns: repeat(2, 1fr); }
  
  /* Stats */
  .stats-inline { grid-template-columns: repeat(3, 1fr); }
  
  /* Footer */
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-brand { text-align: left; }
  .footer-brand .logo { justify-content: flex-start; }
  .footer-brand p { margin: 0; }
  .footer-links { grid-template-columns: repeat(3, auto); gap: 48px; text-align: left; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  
  /* Toast */
  .toast { left: auto; right: 32px; max-width: 400px; }
}

/* ========== DESKTOP (1024px+) ========== */
@media (min-width: 1024px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.25rem; }
  
  /* Hero with visual */
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  
  .hero-bg {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--accent-pale) 100%);
    opacity: 0.6;
    z-index: -1;
  }
  
  .hero-visual {
    display: block;
    position: relative;
    height: 420px;
  }
  
  .hero-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s var(--ease);
  }
  
  .hero-card:hover {
    transform: translateY(-6px);
  }
  
  .hero-card.card-1 { top: 0; left: 0; width: 240px; z-index: 3; }
  .hero-card.card-2 { top: 70px; right: 20px; width: 220px; z-index: 2; }
  .hero-card.card-3 { bottom: 20px; left: 40px; width: 260px; z-index: 1; }
  
  .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    margin-bottom: 14px;
  }
  
  .stat-icon.teal { background: var(--accent-pale); }
  .stat-icon.amber { background: var(--warm-pale); }
  .stat-icon.blue { background: #DBEAFE; }
  
  .stat-label {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 4px;
  }
  
  .stat-value {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--ink);
  }
  
  .stat-value span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent);
    margin-left: 4px;
  }
  
  /* Split sticky form */
  .form-card {
    position: sticky;
    top: 96px;
  }
  
  /* Hide mobile stats on desktop (use hero cards instead) */
  .stats-inline { display: none; }
}

/* ========== LARGE DESKTOP (1280px+) ========== */
@media (min-width: 1280px) {
  h1 { font-size: 3.5rem; }
  
  .container { padding: 0 48px; }
  .nav-inner { padding: 0 48px; }
}

/* ========== PRINT ========== */
@media print {
  nav, footer, .toast, .btn, .form-card {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    background: white;
    color: black;
  }
  
  .hero {
    padding: 20px 0;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ========== PROMPTS FOR CPAs OVERRIDES ========== */
.logo-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-text strong {
  font-weight: 700;
  color: var(--accent);
}
.scrolled .logo-text {
  color: var(--ink);
}
