/* ============================================================
   New Grad Software Engineer Resume Hub — Shared Stylesheet
   Design: Minimal Tech — white background, deep blue accents
   No Tailwind CDN, all vanilla CSS
   ============================================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --primary: #1E40AF;
  --primary-hover: #1e3a8a;
  --primary-light: #3B82F6;
  --primary-bg: rgba(30, 64, 175, 0.08);
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --border-hover: #CBD5E1;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --warning: #D97706;
  --warning-bg: #FEF3C7;
  --error: #DC2626;
  --error-bg: #FEE2E2;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --max-width: 1200px;
  --nav-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: 2.25rem; line-height: 1.15; }
h1.section-header { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --- Utility Classes --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* --- Navigation --- */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; }

.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--bg-alt);
  color: var(--text-secondary);
  border-radius: 9999px;
  font-weight: 500;
  border: 1px solid var(--border);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover { color: var(--primary); text-decoration: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 49;
}

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

.nav-mobile a {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

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

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-alt);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius);
}

.btn-block { width: 100%; }

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

/* --- Cards --- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 64, 175, 0.2);
}

.card-highlighted {
  border: 2px solid var(--primary);
  position: relative;
}

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* --- Sections --- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header-group { margin-bottom: 2.5rem; }
.section-header-group.center { text-align: center; }

/* --- Hero --- */
.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4rem 0 5rem; }
}

.hero-content h1 { margin-bottom: 1rem; }
.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .hero-cta { flex-direction: row; }
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--bg-alt);
  border-radius: 9999px;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Resume Preview (Homepage) --- */
.resume-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
}

.resume-preview .name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.resume-preview .title-line {
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.resume-preview .contact {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.resume-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.resume-divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}

.resume-preview .edu-school {
  font-weight: 600;
  font-size: 0.8125rem;
}

.resume-preview .edu-detail {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.resume-preview .proj-title {
  font-weight: 600;
  font-size: 0.8125rem;
}

.resume-preview .proj-tech {
  font-size: 0.7rem;
  color: var(--primary);
}

.resume-preview .proj-bullets {
  list-style: disc;
  padding-left: 1rem;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.resume-preview .ats-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--radius);
  font-size: 0.6rem;
  font-weight: 600;
}

.resume-preview .floating-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  color: var(--text);
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Problem/Solution --- */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .problem-solution-grid { grid-template-columns: 1fr 1fr; }
}

/* --- How It Works Steps --- */
.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  transition: all 0.2s;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 2rem;
  height: 2rem;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* --- Tool Cards --- */
.tool-card {
  display: flex;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  border-color: rgba(30, 64, 175, 0.3);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-1px);
}

.tool-card-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 2px 12px;
  border-radius: 9999px;
  font-weight: 600;
}

.pricing-name { font-size: 1.125rem; font-weight: 600; }
.pricing-amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
  font-family: 'Space Grotesk', sans-serif;
}
.pricing-period { font-size: 0.9375rem; font-weight: 400; color: var(--text-muted); }
.pricing-features {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features .check {
  color: var(--success);
  flex-shrink: 0;
  font-weight: 700;
}

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
}

.faq-question {
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  margin-top: 0.75rem;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  gap: 1rem;
}

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

.footer-links a:hover { color: var(--text); }

/* --- Content Pages --- */
.content-page { padding: 3rem 0 4rem; }

.content-page h1 { margin-bottom: 0.5rem; }
.content-page .lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.content-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-page p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-page ul, .content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.content-page li { margin-bottom: 0.5rem; line-height: 1.6; }

.content-page blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  background: var(--primary-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.example-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1rem 0;
}

.example-box .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.example-box pre {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8125rem;
  white-space: pre-wrap;
  color: var(--text);
}

.disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

/* --- Resume Example Cards --- */
.example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .example-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .example-grid { grid-template-columns: repeat(3, 1fr); }
}

.example-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.2s;
}

.example-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.example-card-header {
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.example-card-title { font-weight: 600; }
.example-card-subtitle { font-size: 0.75rem; color: var(--text-muted); }

.example-card-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.example-card-footer {
  padding: 0.75rem 1.25rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
}

/* --- Tool Pages --- */
.tool-page {
  padding: 3rem 0 4rem;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-alt);
}

.upload-zone:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.upload-zone p { margin: 0.25rem 0; }
.upload-hint { font-size: 0.8125rem; color: var(--text-muted); }

.textarea-tool {
  width: 100%;
  min-height: 200px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s;
}

.textarea-tool:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

.results-card {
  margin-top: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.results-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-body { padding: 1.25rem; }

.score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.score-high { background: var(--success-bg); color: var(--success); }
.score-medium { background: var(--warning-bg); color: var(--warning); }
.score-low { background: var(--error-bg); color: var(--error); }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.check-item:last-child { border-bottom: none; }
.check-pass { color: var(--success); font-weight: 700; }
.check-fail { color: var(--error); font-weight: 700; }
.check-warn { color: var(--warning); font-weight: 700; }

/* --- Star Analyzer Specific --- */
.star-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1rem 0; }

@media (min-width: 640px) {
  .star-grid { grid-template-columns: repeat(4, 1fr); }
}

.star-indicator {
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.star-indicator.present { border-color: var(--success); background: var(--success-bg); }
.star-indicator.missing { border-color: var(--error); background: var(--error-bg); }

.star-letter {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.star-label { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }

/* --- Suggestion Box --- */
.suggestion-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0.75rem 0;
  overflow: hidden;
}

.suggestion-header {
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.suggestion-body { padding: 0.75rem 1rem; }

.original-bullet {
  color: var(--error);
  font-size: 0.8125rem;
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.improved-bullet {
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* --- Upsell Banner --- */
.upsell-banner {
  background: var(--primary-bg);
  border: 1px solid rgba(30, 64, 175, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .upsell-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.upsell-banner p { font-size: 0.875rem; color: var(--text); margin: 0; }

/* --- Skeleton Loader --- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, #e2e8f0 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-line { height: 1rem; margin-bottom: 0.5rem; }
.skeleton-line.short { width: 60%; }
.skeleton-circle { width: 3rem; height: 3rem; border-radius: 50%; }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--text);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: slideUp 0.3s ease;
  max-width: 360px;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Blog --- */
.blog-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 720px; }

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  transition: all 0.2s;
}

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

.blog-card h3 { font-size: 1.125rem; margin-bottom: 0.375rem; }

.blog-card .date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text); }

/* --- Highlight Box --- */
.highlight-box {
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  padding: 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0;
}

/* --- Responsive --- */
@media (max-width: 639px) {
  h1 { font-size: 1.75rem; }
  h1.section-header { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  .hero-subhead { font-size: 1rem; }
  .section { padding: 2.5rem 0; }
}

/* --- Print styles --- */
@media print {
  .nav, .footer, .btn, .upsell-banner { display: none !important; }
  body { font-size: 11pt; }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  z-index: 100;
}

@media (min-width: 640px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner a { color: var(--primary-light); }
.cookie-btn {
  background: var(--primary);
  border: none;
  color: white;
  padding: 0.375rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* --- Prose (for legal pages) --- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p { margin-bottom: 1rem; line-height: 1.7; color: var(--text-secondary); }
.prose ul { margin-bottom: 1rem; padding-left: 1.25rem; color: var(--text-secondary); }
.prose li { margin-bottom: 0.5rem; }

/* --- Tag / Badge --- */
.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius);
}

.tag-green { background: var(--success-bg); color: var(--success); }
.tag-blue { background: var(--primary-bg); color: var(--primary); }
