/* ==========================================================================
   BizFormHQ — Global Stylesheet v2
   Warm Editorial Design — Teal + Coral
   Plain-English Guides for Every Stage of Your Small Business
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary — Deep Teal */
  --color-primary: #0D6B5E;
  --color-primary-light: #0F8272;
  --color-primary-dark: #094D44;
  --color-primary-darker: #063B34;
  --color-primary-50: #F0FAF8;
  --color-primary-100: #E6F5F2;

  /* Accent — Coral */
  --color-accent: #E05A3A;
  --color-accent-light: #FF7A5E;
  --color-accent-dark: #C04428;
  --color-accent-50: #FFF7F5;
  --color-accent-100: #FFF0EC;

  /* Semantic */
  --color-success: #2A9D6E;
  --color-success-light: #E6F7EF;
  --color-warning: #D4860A;
  --color-warning-light: #FFF6E8;
  --color-danger: #C0392B;
  --color-danger-light: #FDEAEA;
  --color-info: #2B7A9E;
  --color-info-light: #E8F4F8;

  /* Neutrals */
  --color-bg: #FAFBF9;
  --color-surface: #FFFFFF;
  --color-border: #DDE3E0;
  --color-border-light: #EDF0EE;
  --color-text: #1C2B28;
  --color-text-secondary: #4A5C57;
  --color-text-muted: #5E716B;

  /* Tables */
  --color-table-stripe: #F0FAF8;
  --color-table-header: #094D44;
  --color-table-header-text: #FFFFFF;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-h1: clamp(2rem, 5vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 1.875rem);
  --fs-h3: clamp(1.2rem, 2.5vw, 1.375rem);
  --fs-h4: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-caption: 0.875rem;

  --lh-heading: 1.15;
  --lh-body: 1.65;

  /* Spacing (8px base) */
  --sp-4: 0.25rem;
  --sp-8: 0.5rem;
  --sp-12: 0.75rem;
  --sp-16: 1rem;
  --sp-20: 1.25rem;
  --sp-24: 1.5rem;
  --sp-32: 2rem;
  --sp-40: 2.5rem;
  --sp-48: 3rem;
  --sp-64: 4rem;
  --sp-80: 5rem;
  --sp-96: 6rem;

  /* Layout */
  --max-width: 1140px;
  --content-width: 740px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows — teal-tinted */
  --shadow-sm: 0 1px 3px rgba(13, 107, 94, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 107, 94, 0.08);
  --shadow-lg: 0 8px 24px rgba(13, 107, 94, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background-color: var(--color-accent);
  color: #fff;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: var(--lh-heading);
  color: var(--color-text);
}

h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-24);
}

h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  margin-top: var(--sp-48);
  margin-bottom: var(--sp-16);
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-top: var(--sp-32);
  margin-bottom: var(--sp-12);
  line-height: 1.3;
}

h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-top: var(--sp-24);
  margin-bottom: var(--sp-8);
  line-height: 1.3;
}

p {
  margin-bottom: var(--sp-16);
}

strong {
  font-weight: 600;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-primary-50);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--color-primary-dark);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--sp-48) 0;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

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

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-small { font-size: var(--fs-small); }
.text-caption {
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

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

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--color-text);
  text-decoration: none;
}

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

.site-nav {
  display: none;
}

.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-16) var(--sp-24);
  box-shadow: var(--shadow-md);
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--sp-12) 0;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: var(--color-primary-50);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

/* ---------- Hero Section ---------- */
.hero {
  padding: var(--sp-64) 0;
  text-align: center;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto var(--sp-16);
}

.hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--sp-32);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  transform: scale(1.02);
}

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

.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
  padding: var(--sp-8) var(--sp-16);
}

.btn-ghost:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-32);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

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

.card-label {
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--sp-8);
}

.card h3 {
  margin-top: 0;
  margin-bottom: var(--sp-8);
}

.card h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--color-accent);
}

.card p {
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-16);
}

.card-grid {
  display: grid;
  gap: var(--sp-24);
}

/* ---------- Email Signup Section ---------- */
.signup-section {
  background: var(--color-primary);
  color: #fff;
  padding: var(--sp-64) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.signup-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 90, 58, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.signup-section h2 {
  color: #fff;
  margin-top: 0;
}

.signup-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto var(--sp-32);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  max-width: 440px;
  margin: 0 auto;
}

.signup-form input {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  min-height: 44px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

.signup-form .btn-primary {
  width: 100%;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.signup-form .btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.signup-note {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--sp-12);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: var(--sp-48) 0;
  text-align: center;
}

.trust-bar p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-24) var(--sp-48);
  margin-top: var(--sp-24);
}

.trust-item {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

/* ---------- Guide Page Layout ---------- */
.guide-header {
  padding: var(--sp-48) 0 var(--sp-32);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--sp-32);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  list-style: none;
  font-size: var(--fs-caption);
  margin-bottom: var(--sp-16);
}

.breadcrumb li + li::before {
  content: "\203A";
  color: var(--color-text-muted);
  margin-right: var(--sp-4);
}

.breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

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

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  margin-top: var(--sp-12);
}

.guide-layout {
  display: grid;
  gap: var(--sp-48);
  padding: var(--sp-32) 0;
}

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

.guide-content h2 {
  padding-top: var(--sp-16);
  border-top: 2px solid var(--color-primary-100);
}

.guide-content h2:first-child {
  border-top: none;
  padding-top: 0;
}

.guide-content ul,
.guide-content ol {
  padding-left: var(--sp-24);
  margin-bottom: var(--sp-16);
}

.guide-content li {
  margin-bottom: var(--sp-8);
}

.guide-content li::marker {
  color: var(--color-accent);
}

/* Table of Contents — Sidebar */
.toc {
  display: none;
}

.toc-mobile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-32);
}

.toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-16);
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}

.toc-list {
  list-style: none;
  padding: 0 var(--sp-16) var(--sp-16);
}

.toc-list a {
  display: block;
  padding: var(--sp-8) 0;
  font-size: var(--fs-caption);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-left: 2px solid var(--color-border-light);
  padding-left: var(--sp-12);
  transition: all 0.2s ease;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--color-primary);
  border-left-color: var(--color-accent);
}

/* ---------- Callout Boxes ---------- */
.callout {
  padding: var(--sp-20) var(--sp-24);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin: var(--sp-24) 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.callout-info {
  background: var(--color-info-light);
  border-color: var(--color-info);
}

.callout-info .callout-title {
  color: var(--color-info);
}

.callout-warning {
  background: var(--color-warning-light);
  border-color: var(--color-warning);
}

.callout-warning .callout-title {
  color: var(--color-warning);
}

.callout-danger {
  background: var(--color-danger-light);
  border-color: var(--color-danger);
}

.callout-danger .callout-title {
  color: var(--color-danger);
}

.callout-success {
  background: var(--color-success-light);
  border-color: var(--color-success);
}

.callout-success .callout-title {
  color: var(--color-success);
}

/* ---------- Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  margin: var(--sp-24) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-caption);
}

thead th {
  background: var(--color-table-header);
  color: var(--color-table-header-text);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: var(--sp-12) var(--sp-16);
  white-space: nowrap;
}

tbody td {
  padding: var(--sp-12) var(--sp-16);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

tbody tr:nth-child(even) {
  background: var(--color-table-stripe);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Forms (Contact) ---------- */
.form-group {
  margin-bottom: var(--sp-24);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-8);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 107, 94, 0.12);
}

.form-group .form-hint {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  margin-top: var(--sp-4);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--sp-64) 0 var(--sp-32);
  border-top: 3px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  gap: var(--sp-32);
  margin-bottom: var(--sp-48);
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0;
  margin-bottom: var(--sp-16);
}

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

.footer-col li {
  margin-bottom: var(--sp-8);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color 0.2s ease;
}

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

.footer-col li svg {
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--sp-24);
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom p {
  margin-bottom: var(--sp-8);
}

.footer-trust {
  font-size: var(--fs-caption);
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
}

/* Footer coming-soon items */
.footer-coming-soon {
  color: rgba(255, 255, 255, 0.65);
  font-size: inherit;
}

/* ---------- Page Sections ---------- */
.page-section {
  padding: var(--sp-64) 0;
}

.page-section + .page-section {
  border-top: 1px solid var(--color-border-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-48);
}

.section-header h2 {
  margin-top: 0;
}

.section-header p {
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Disclaimer Banner ---------- */
.disclaimer {
  background: var(--color-primary-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-16) var(--sp-24);
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  margin: var(--sp-32) 0;
}

/* ---------- About Page ---------- */
.about-values {
  display: grid;
  gap: var(--sp-24);
  margin-top: var(--sp-32);
}

.value-item h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

/* ---------- Thank You Page ---------- */
.thank-you {
  text-align: center;
  padding: var(--sp-96) 0;
}

.thank-you h1 {
  color: var(--color-success);
}

/* ---------- Animations & Transitions ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

/* Scroll-triggered reveal class */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card reveals */
.reveal-stagger:nth-child(1) { transition-delay: 0s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger:nth-child(6) { transition-delay: 0.40s; }

/* Smooth hover underline for nav links (desktop) */
@media (min-width: 768px) {
  .site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover,
  .btn:hover {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive — Mobile-First Breakpoints
   ========================================================================== */

/* ---------- Tablet (768px) ---------- */
@media (min-width: 768px) {
  .site-nav {
    display: flex;
    gap: var(--sp-32);
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    padding: var(--sp-96) 0 var(--sp-64);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signup-form {
    flex-direction: row;
    max-width: 520px;
  }

  .signup-form input {
    flex: 1;
  }

  .signup-form .btn-primary {
    width: auto;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .guide-layout {
    grid-template-columns: 1fr 240px;
  }

  .toc {
    display: block;
    position: sticky;
    top: 88px;
    align-self: start;
  }

  .toc h4 {
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0;
    margin-bottom: var(--sp-12);
  }

  .toc-mobile {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ---------- Wide (1280px) ---------- */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--sp-32);
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .site-header,
  .site-footer,
  .signup-section,
  .toc,
  .toc-mobile,
  .nav-toggle,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .guide-layout {
    display: block;
  }

  .callout {
    border: 1px solid #ccc;
    background: #f9f9f9;
  }

  table {
    font-size: 10pt;
  }

  thead th {
    background: #eee;
    color: #000;
  }
}
