/* ===== Formsache — Warm/Clean Modern ===== */
/* Design: Warm/Clean Modern, Font: Bricolage Grotesque (Heading) + DM Sans (Body) */
/* Palette: Teal #1A7F6E + Orange #E07B3C + Warm Neutrals */
/* Signature: Soft card-based layout with teal trust accents */


/* ==========================================================================
   1. Reset + Custom Properties
   ========================================================================== */

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

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

:root {
  /* Backgrounds */
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-alt: #F3F2EE;
  --border: #E5E3DD;
  --border-strong: #D0CDC6;

  /* Text */
  --text: #1A1A18;
  --text-secondary: #6B6860;
  --text-tertiary: #9E9A92;

  /* Accent — Teal */
  --accent: #1A7F6E;
  --accent-hover: #15695B;
  --accent-subtle: #EDF7F5;
  --accent-text: #FFFFFF;

  /* CTA — Orange */
  --cta: #E07B3C;
  --cta-hover: #C96A30;
  --cta-text: #FFFFFF;

  /* Fonts */
  --font-heading: 'Bricolage Grotesque', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1120px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Multi-layer shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);

  /* Fluid type scale — bold minimums for confident mobile sizing */
  --text-sm: clamp(0.925rem, 0.85rem + 0.35vw, 1.05rem);
  --text-base: clamp(1.0625rem, 0.95rem + 0.5vw, 1.1875rem);
  --text-lg: clamp(1.35rem, 1.1rem + 1.1vw, 1.625rem);
  --text-xl: clamp(1.75rem, 1.2rem + 2.25vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.2rem + 3.75vw, 3.75rem);
  --text-display: clamp(3rem, 1.5rem + 5.5vw, 5.5rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

ul, ol {
  list-style: none;
}


/* ==========================================================================
   2. Typography
   ========================================================================== */

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

h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}

h4 {
  font-size: var(--text-base);
  font-weight: 600;
}

h5 {
  font-size: var(--text-sm);
  font-weight: 600;
}

h6 {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.display-heading {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

mark {
  background: none;
  color: var(--accent);
}


/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.section-alt {
  background: var(--surface-alt);
}


/* ==========================================================================
   4. Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  text-decoration: none;
}

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

.logo mark {
  background: none;
  color: var(--accent);
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 200;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 1px;
}

.mobile-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  z-index: 150;
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, 0.4);
  z-index: 140;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
  opacity: 1;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-links a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

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

.mobile-menu-cta {
  margin-top: 1.5rem;
}


/* ==========================================================================
   5. Hero Landing
   ========================================================================== */

.hero-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(18, 18, 16, 0.88) 0%,
    rgba(18, 18, 16, 0.65) 45%,
    rgba(26, 127, 110, 0.25) 100%
  );
}

.hero-landing .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-landing h1 {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-landing h1 em {
  font-style: normal;
  color: var(--cta);
}

.hero-lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-landing .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hero-landing .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--cta);
  flex-shrink: 0;
}


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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--shadow-sm);
}

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

.btn-cta {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
  background: var(--cta-hover);
  color: var(--cta-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--text-tertiary);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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


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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}


/* ==========================================================================
   8. Badge
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent-subtle);
  color: var(--accent);
  letter-spacing: 0.02em;
}


/* ==========================================================================
   9. Section Headers
   ========================================================================== */

.section-header {
  margin-bottom: 2.5rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: var(--text-base);
  max-width: 520px;
  line-height: 1.6;
}


/* ==========================================================================
   10. Pain Points
   ========================================================================== */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pain-card {
  padding: 1.75rem;
}

.pain-icon {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.pain-icon svg {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
}

.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pain-before {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  text-decoration: line-through;
  text-decoration-color: rgba(224, 123, 60, 0.5);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.pain-after {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}


/* ==========================================================================
   11. Steps
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  padding: 1.75rem;
  counter-increment: step;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-heading);
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ==========================================================================
   12. Feature Grid
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ==========================================================================
   13. Image Break Section
   ========================================================================== */

.image-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.image-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.image-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.image-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 24, 0.82) 0%, rgba(26, 26, 24, 0.55) 50%, rgba(26, 127, 110, 0.25) 100%);
  z-index: 1;
}

.image-section .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.image-section h2 {
  color: #F5F5F2;
  font-size: var(--text-2xl);
  max-width: 600px;
  margin-bottom: 1rem;
}

.image-section p {
  color: rgba(245, 245, 242, 0.8);
  font-size: var(--text-lg);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.6;
}


/* ==========================================================================
   14. Club Types
   ========================================================================== */

.club-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.club-card {
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.club-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.club-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  margin-bottom: 1rem;
}

.club-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.club-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.club-card ul {
  list-style: none;
  padding: 0;
}

.club-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.club-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}


/* ==========================================================================
   15. Trust / Security
   ========================================================================== */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-subtle);
  margin: 0 auto 1rem;
}

.trust-icon svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.trust-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}


/* ==========================================================================
   16. Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  padding: 2rem;
  position: relative;
}

.pricing-popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-period {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-period--accent {
  color: var(--accent);
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 16px;
  height: 16px;
  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='%231A7F6E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-cta {
  width: 100%;
}

/* Sponsor Explainer */
.sponsor-explainer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sponsor-explainer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.sponsor-explainer h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sponsor-explainer-lead {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sponsor-explainer-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.sponsor-explainer-text strong {
  color: var(--text);
}

.sponsor-explainer-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sponsor-explainer-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.sponsor-calc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

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

.sponsor-calc-highlight {
  color: var(--accent);
  font-weight: 700;
  border-bottom: none;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--accent);
}

@media (max-width: 768px) {
  .sponsor-explainer-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   17. FAQ
   ========================================================================== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ==========================================================================
   18. CTA Section
   ========================================================================== */

.cta-section {
  background: var(--accent);
  color: var(--accent-text);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(60px);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--accent-text);
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.cta-section .btn {
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
}

.cta-section .btn:hover {
  background: var(--accent-text);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


/* ==========================================================================
   19. PDF Builder Page
   ========================================================================== */

.builder-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.builder-hero h1 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.builder-hero .lead {
  margin: 0 auto;
}

.builder-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.builder-connection-card {
  border: 2px solid var(--accent);
  background: var(--accent-subtle);
  position: relative;
}

.builder-connection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


/* ==========================================================================
   20. Knowledge Base
   ========================================================================== */

.kb-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.kb-hero h1 {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.kb-hero .lead {
  margin: 0 auto 2rem;
}

.kb-search-wrapper {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.kb-search-wrapper svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  pointer-events: none;
}

.kb-search {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
}

.kb-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 127, 110, 0.12), var(--shadow);
}

.kb-search::placeholder {
  color: var(--text-tertiary);
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.kb-card {
  padding: 1.5rem;
  text-decoration: none;
  display: block;
}

.kb-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  transition: color 0.2s;
}

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

.kb-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.875rem;
}

.kb-card-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.kb-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.kb-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--surface-alt);
  color: var(--text-tertiary);
  border: 1px solid var(--border);
}

.kb-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  margin-bottom: 1rem;
}

.kb-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.kb-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.kb-reading-time svg {
  width: 12px;
  height: 12px;
}

.kb-no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.kb-no-results.visible {
  display: block;
}

.kb-no-results-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.kb-no-results-content svg {
  color: var(--text-tertiary);
  opacity: 0.5;
}

.kb-no-results-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.kb-no-results-content p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}


/* ==========================================================================
   21. Article Page
   ========================================================================== */

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 1rem;
}

.article-back-link:hover {
  color: var(--accent);
}

.article-back-link svg {
  width: 16px;
  height: 16px;
}

.article-header {
  padding: clamp(1rem, 2vw, 2rem) 0 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.article-header h1 {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.article-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-meta svg {
  width: 16px;
  height: 16px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

/* Content body — shared by article + default pages */
.content-body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.content-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

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

.content-body ul,
.content-body ol {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.content-body ol {
  list-style: decimal;
}

.content-body li {
  margin-bottom: 0.35rem;
  line-height: 1.65;
}

.content-body strong {
  color: var(--text);
  font-weight: 600;
}

.content-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.content-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.25rem 0;
  background: var(--accent-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.content-body blockquote p {
  color: var(--text);
  margin-bottom: 0;
}

.content-body img {
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.content-body th {
  font-weight: 600;
  color: var(--text);
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 2px solid var(--border-strong);
  background: var(--surface-alt);
}

.content-body td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.content-body tr:last-child td {
  border-bottom: none;
}

.content-body thead {
  position: sticky;
  top: 64px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.article-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 48%;
}

.article-nav-link:hover {
  color: var(--accent);
}

.article-nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.article-nav-next {
  margin-left: auto;
  text-align: right;
}

.article-nav-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 0.15rem;
}

.article-nav-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
}

.article-sidebar {
  position: sticky;
  top: 80px;
}

.article-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.article-sidebar ul {
  list-style: none;
  padding: 0;
}

.article-sidebar li {
  margin-bottom: 0.35rem;
}

.article-sidebar a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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


/* ==========================================================================
   22. Registration
   ========================================================================== */

.register-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.register-info h1 {
  font-size: var(--text-2xl);
  margin-bottom: 1rem;
}

.register-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.register-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  list-style: none;
  padding: 0;
}

.register-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.register-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  flex-shrink: 0;
}

.register-benefit-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.register-card {
  padding: clamp(2rem, 4vw, 3rem);
  width: 100%;
}

.register-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.register-card h1 {
  font-size: var(--text-xl);
  text-align: center;
  margin-bottom: 0.5rem;
}

.register-card .lead {
  text-align: center;
  margin: 0 auto 2rem;
  font-size: var(--text-base);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  padding: 0.7rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 127, 110, 0.12);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.form-submit {
  margin-top: 0.5rem;
}


/* ==========================================================================
   22b. Contact Form Plugin ({{ contact_form() }})
   ========================================================================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form .required {
  color: var(--cta);
  margin-left: 0.15rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 127, 110, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-tertiary);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  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='%239E9A92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  line-height: 1.4;
  margin-top: 0.5rem;
}

.contact-form button[type="submit"]:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-form .form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  animation: fade-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-form .form-message.success {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.contact-form .form-message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}


/* ==========================================================================
   23. Footer
   ========================================================================== */

.site-footer {
  background: #1A1A18;
  color: #C8C5BE;
  padding: clamp(3rem, 5vw, 4rem) 0 0;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-brand {
  max-width: 260px;
}

.footer-brand .logo {
  font-size: 1.2rem;
  color: #F5F5F2;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand .logo mark {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.85rem;
  color: #9E9A92;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #9E9A92;
  font-weight: 500;
}

.footer-brand-badge svg {
  width: 14px;
  height: 14px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #F5F5F2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-col .footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col .footer-links a {
  color: #9E9A92;
  font-size: 0.875rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col .footer-links a:hover {
  color: #F5F5F2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #6B6860;
}

.footer-hosting {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #6B6860;
  font-weight: 500;
}

.footer-hosting svg {
  width: 14px;
  height: 14px;
}


/* ==========================================================================
   24. Animations
   ========================================================================== */

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger-item {
  --i: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 80ms);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   25. Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.w-full { width: 100%; justify-content: center; }

/* Error page hero */
.error-hero {
  text-align: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.error-code {
  margin-bottom: 1rem;
}

.error-hero h1 {
  margin-bottom: 0.75rem;
}

.error-hero .lead {
  margin: 0 auto 2rem;
}


/* ==========================================================================
   25b. Legal Pages
   ========================================================================== */

.legal-page {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.legal-back:hover {
  color: var(--accent);
}

.legal-back svg {
  width: 16px;
  height: 16px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.legal-content .content-body h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-content .content-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content .content-body h3 {
  margin-top: 1.75rem;
}

.legal-content .content-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}


/* ==========================================================================
   26. Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .header-nav .nav-links {
    display: none;
  }

  .header-nav .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-overlay {
    display: block;
    pointer-events: none;
  }

  .mobile-menu-overlay.active {
    pointer-events: auto;
  }

  .hero-landing {
    min-height: 100svh;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .section {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
  }

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

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

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

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .image-section {
    min-height: 320px;
  }

  .article-nav {
    flex-direction: column;
  }

  .register-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .register-info h1 {
    font-size: var(--text-xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .pricing-card {
    padding: 1.5rem;
  }

  .register-card {
    padding: 1.5rem;
  }
}
