/* ==========================================================================
   Dad Jokes VIP — Brand Design System
   ==========================================================================

   Shared stylesheet for ALL pages on dadjokes.vip.
   Every page should link to this file to ensure visual consistency.

   Design tokens match the Flutter app's design system:
   - Primary: Coral #FF6B6B + Navy #1E3A5F
   - Accent: Orange #FF6B35
   - Surface: Warm white #FFFBF7
   - Font: DM Sans (web equivalent of app's "Calab" / "ROCK")

   Usage:
     <link rel="stylesheet" href="/assets/css/brand.css">

   ========================================================================== */


/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* --- Colors --- */
  --brand-coral: #FF6B6B;
  --brand-coral-hover: #FF5252;
  --brand-coral-light: #FFE0E0;
  --brand-navy: #1E3A5F;
  --brand-navy-light: #2A4A6F;
  --brand-orange: #FF6B35;
  --brand-orange-hover: #E55A28;
  --brand-surface: #FFFBF7;
  --brand-card-bg: #1E3A5F;
  --brand-text: #2D3748;
  --brand-text-dim: #718096;
  --brand-text-on-dark: #FFFFFF;
  --brand-text-on-dark-dim: #A0AEC0;
  --brand-success: #48BB78;
  --brand-warning: #ED8936;
  --brand-error: #E53E3E;
  --brand-border: #E2E8F0;
  --brand-bg: #F7FAFC;

  /* --- Typography --- */
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* --- Spacing (4px scale) --- */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 20px;
  --sp-2xl: 24px;
  --sp-3xl: 32px;
  --sp-4xl: 40px;
  --sp-5xl: 48px;

  /* --- Border Radii --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);

  /* --- Layout --- */
  --max-width: 1200px;
  --max-width-content: 800px;
  --nav-height: 64px;
  --side-padding: 16px;
}


/* ==========================================================================
   2. Base / Reset
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--brand-text);
  background: var(--brand-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-coral);
}


/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-text);
}

h1 { font-size: 2.25rem; }  /* 36px */
h2 { font-size: 1.75rem; }  /* 28px */
h3 { font-size: 1.375rem; } /* 22px */
h4 { font-size: 1.125rem; } /* 18px */

/* Display heading — heavier weight, larger, used for hero sections */
.display-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-dim { color: var(--brand-text-dim); }
.text-coral { color: var(--brand-coral); }
.text-navy { color: var(--brand-navy); }
.text-on-dark { color: var(--brand-text-on-dark); }
.text-center { text-align: center; }


/* ==========================================================================
   4. Layout Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.container--narrow {
  max-width: var(--max-width-content);
}

/* Add top padding to account for sticky nav */
.page-content {
  padding-top: calc(var(--nav-height) + var(--sp-3xl));
  padding-bottom: var(--sp-5xl);
  min-height: calc(100vh - var(--nav-height));
}


/* ==========================================================================
   5. Navigation
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--brand-border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo area */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-navy);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--brand-navy);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-logo-emoji {
  font-size: 1.5rem;
  line-height: 1;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-coral);
}

/* Current page indicator — subtle underline */
.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand-coral);
  border-radius: 1px;
}

/* Get the App CTA in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--brand-coral);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--brand-coral-hover);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* Hamburger menu toggle (mobile) */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  color: var(--brand-navy);
}

.nav-hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--brand-border);
    flex-direction: column;
    padding: var(--sp-lg);
    gap: var(--sp-lg);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-links a {
    font-size: 1rem;
    padding: var(--sp-sm) 0;
  }
}


/* ==========================================================================
   6. Buttons
   ========================================================================== */

/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  min-height: 48px;
  padding: var(--sp-md) var(--sp-2xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

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

/* Primary — Coral background, white text */
.btn-primary {
  background: var(--brand-coral);
  color: #FFFFFF;
  border-color: var(--brand-coral);
}

.btn-primary:hover {
  background: var(--brand-coral-hover);
  border-color: var(--brand-coral-hover);
  color: #FFFFFF;
}

/* Secondary — Navy outline */
.btn-secondary {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}

.btn-secondary:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
}

/* Ghost — No border, subtle hover bg */
.btn-ghost {
  background: transparent;
  color: var(--brand-navy);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(30, 58, 95, 0.06);
}

/* CTA — Larger, more prominent coral button */
.btn-cta {
  background: var(--brand-coral);
  color: #FFFFFF;
  border-color: var(--brand-coral);
  padding: var(--sp-lg) var(--sp-3xl);
  font-size: 1.125rem;
  min-height: 56px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.btn-cta:hover {
  background: var(--brand-coral-hover);
  border-color: var(--brand-coral-hover);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Orange variant for roast section */
.btn-orange {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
}

.btn-orange:hover {
  background: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: #FFFFFF;
}

/* Small button variant */
.btn-sm {
  min-height: 36px;
  padding: var(--sp-xs) var(--sp-lg);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Full width */
.btn-block {
  width: 100%;
}

/* Disabled state */
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* ==========================================================================
   7. Cards
   ========================================================================== */

/* Base card — white, rounded, subtle shadow */
.card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-xl);
  transition: box-shadow 0.2s ease;
}

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

/* Dark card — Navy background, white text */
.card-dark {
  background: var(--brand-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-xl);
  color: var(--brand-text-on-dark);
}

.card-dark a {
  color: var(--brand-coral-light);
}

.card-dark .text-dim {
  color: var(--brand-text-on-dark-dim);
}


/* ==========================================================================
   8. Joke Display
   ========================================================================== */

.joke-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-lg);
  transition: box-shadow 0.2s ease;
}

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

/* Setup text — the question / lead-in */
.joke-setup {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--brand-text);
  line-height: 1.5;
  margin-bottom: var(--sp-lg);
}

/* Punchline — the payoff, hidden by default */
.joke-punchline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  padding: var(--sp-lg);
  background: var(--brand-surface);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-coral);
}

/* Hidden state for punchline reveal */
.joke-punchline[hidden] {
  display: none;
}

/* Punchline blur effect before reveal */
.joke-punchline--blurred {
  filter: blur(8px);
  user-select: none;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.joke-punchline--revealed {
  filter: none;
}

/* Reveal button */
.joke-reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-md) var(--sp-xl);
  background: var(--brand-surface);
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.joke-reveal-btn:hover {
  background: var(--brand-coral);
  color: #FFFFFF;
  border-color: var(--brand-coral);
}

/* Dark joke card variant */
.joke-card-dark {
  background: var(--brand-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-lg);
}

.joke-card-dark .joke-setup {
  color: var(--brand-text-on-dark);
}

.joke-card-dark .joke-punchline {
  color: var(--brand-text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--brand-coral);
}


/* ==========================================================================
   9. Share Components
   ========================================================================== */

/* Share bar — horizontal row of share buttons */
.share-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  padding: var(--sp-md) 0;
}

/* Individual share button */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  height: 44px;
  padding: 0 var(--sp-lg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-text);
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.share-btn:hover {
  border-color: var(--brand-navy);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.share-btn:active {
  transform: scale(0.96);
}

/* Share button icon */
.share-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Copy button — has special states */
.share-btn--copy {
  position: relative;
}

/* Copied state — green checkmark animation */
.share-btn--copy.copied {
  color: var(--brand-success);
  border-color: var(--brand-success);
  background: #F0FFF4;
}

/* Checkmark animation keyframes */
@keyframes checkmark-pop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.share-btn--copy.copied .share-btn-icon--check {
  animation: checkmark-pop 0.3s ease forwards;
}

/* Native share button — only show when API available (JS controls this) */
.share-btn--native {
  display: none;
}

.share-btn--native.visible {
  display: inline-flex;
}

/* Twitter/X share button */
.share-btn--twitter:hover {
  background: #E8F5FD;
  border-color: #1DA1F2;
  color: #1DA1F2;
}

/* Toast notification — slides up from bottom */
.toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: var(--sp-md) var(--sp-2xl);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  pointer-events: none;
}

.toast.visible {
  bottom: var(--sp-3xl);
}


/* ==========================================================================
   10. App Store CTA
   ========================================================================== */

/* Clean CTA card — feels like a helpful suggestion, not an ad */
.app-cta {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
  margin: var(--sp-3xl) 0;
}

.app-cta-content {
  flex: 1;
}

.app-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--brand-navy);
  margin-bottom: var(--sp-xs);
}

.app-cta-text {
  font-size: 0.9375rem;
  color: var(--brand-text-dim);
  margin-bottom: var(--sp-lg);
  line-height: 1.5;
}

.app-cta-badge {
  display: inline-block;
}

.app-cta-badge img {
  height: 44px;
  width: auto;
}

/* Dark variant */
.app-cta--dark {
  background: var(--brand-card-bg);
  border-color: transparent;
}

.app-cta--dark .app-cta-title {
  color: var(--brand-text-on-dark);
}

.app-cta--dark .app-cta-text {
  color: var(--brand-text-on-dark-dim);
}

@media (max-width: 600px) {
  .app-cta {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   11. Auth Gate Overlay
   ========================================================================== */

/* Full-screen overlay with blurred backdrop */
.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-gate.active {
  opacity: 1;
  visibility: visible;
}

/* Blurred backdrop */
.auth-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Sign-in card */
.auth-gate-card {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-4xl);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.auth-gate-dismiss {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  color: var(--brand-text-dim);
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.auth-gate-dismiss:hover {
  color: var(--brand-text);
}

.auth-gate-emoji {
  font-size: 2.5rem;
  margin-bottom: var(--sp-lg);
}

.auth-gate-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--brand-navy);
  margin-bottom: var(--sp-sm);
}

.auth-gate-subtitle {
  font-size: 0.9375rem;
  color: var(--brand-text-dim);
  margin-bottom: var(--sp-2xl);
  line-height: 1.5;
}

/* Google Sign-In button — follows Google's brand guidelines */
.google-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  width: 100%;
  min-height: 48px;
  padding: var(--sp-md) var(--sp-2xl);
  background: #FFFFFF;
  color: #3C4043;
  font-family: 'Roboto', var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid #DADCE0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.google-signin-btn:hover {
  background: #F8F9FA;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.google-signin-btn:active {
  background: #E8EAED;
}

.google-signin-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Divider line with "or" text */
.auth-gate-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin: var(--sp-2xl) 0;
  color: var(--brand-text-dim);
  font-size: 0.8125rem;
}

.auth-gate-divider::before,
.auth-gate-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--brand-border);
}

/* App Store fallback link in auth gate */
.auth-gate-app-link {
  font-size: 0.875rem;
  color: var(--brand-text-dim);
  line-height: 1.5;
}

.auth-gate-app-link a {
  color: var(--brand-coral);
  font-weight: 600;
}

.auth-gate-app-link a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   12. Footer
   ========================================================================== */

.site-footer {
  background: var(--brand-navy);
  color: var(--brand-text-on-dark);
  padding: var(--sp-5xl) 0 var(--sp-3xl);
  margin-top: var(--sp-5xl);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4xl);
  justify-content: space-between;
  margin-bottom: var(--sp-3xl);
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--sp-sm);
}

.footer-brand-tagline {
  font-size: 0.9375rem;
  color: var(--brand-text-on-dark-dim);
  margin-bottom: var(--sp-lg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3xl);
}

.footer-links-column h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-text-on-dark-dim);
  margin-bottom: var(--sp-md);
}

.footer-links-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-links-column a {
  font-size: 0.9375rem;
  color: var(--brand-text-on-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-column a:hover {
  color: var(--brand-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--brand-text-on-dark-dim);
}

.footer-badge img {
  height: 40px;
  width: auto;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: var(--sp-3xl);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--sp-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   13. Utility Classes
   ========================================================================== */

.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;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }
.gap-xl { gap: var(--sp-xl); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mt-3xl { margin-top: var(--sp-3xl); }

.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-2xl { margin-bottom: var(--sp-2xl); }
.mb-3xl { margin-bottom: var(--sp-3xl); }


/* ==========================================================================
   14. Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --side-padding: 16px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .display-heading {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  .display-heading {
    font-size: 1.75rem;
  }
}


/* ==========================================================================
   15. Print Styles
   ========================================================================== */

@media print {
  .site-nav,
  .site-footer,
  .share-bar,
  .app-cta,
  .auth-gate,
  .toast {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }
}
