/* ============================================
   TrainingOS — Bold Editorial Design System
   Set C — Shared Stylesheet
   ============================================ */


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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 185, 154, 0.25);
  color: #F5F5F0;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

a:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
  border-radius: 4px;
}


/* -----------------------------------------
   CSS Variables
   ----------------------------------------- */
:root {
  --bg: #0A0A0A;
  --card-bg: #141414;
  --elevated: #1A1A1A;
  --recessed: #0E0E0E;
  --text-primary: #F5F5F0;
  --text-secondary: #8A8A8A;
  --text-tertiary: #7A7A7A;
  --text-muted: #5E5E5E;
  --text-faint: #3A3A3A;
  --accent-gold: #C9B99A;
  --accent-light: #D8CCAF;
  --accent-muted: #A69F8D;
  --border: #1F1F1F;
  --border-secondary: #181818;
  --border-accent: #2A2520;
  --icon-blue: #7DB8E8;
  --icon-green: #6B9B7A;
  --icon-purple: #A87DE8;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
}


/* -----------------------------------------
   Ambient Glow
   ----------------------------------------- */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201,185,154,0.10) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}


/* -----------------------------------------
   Navigation (fixed, backdrop blur)
   ----------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo:hover { opacity: 1; }

.nav-logo span {
  color: var(--accent-gold);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s ease;
}

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

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


/* -----------------------------------------
   Hero (landing page)
   ----------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 48px 120px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero h1 {
  font-size: 64px;
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  background: var(--accent-gold);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px rgba(201,185,154,0.3), 0 0 80px rgba(201,185,154,0.15);
}

.hero-cta:hover {
  box-shadow: 0 0 60px rgba(201,185,154,0.5), 0 0 120px rgba(201,185,154,0.25);
  transform: translateY(-1px);
  opacity: 1;
  color: var(--bg);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  animation: fadeInUp 1s ease 1.5s both;
}

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


/* -----------------------------------------
   Features (landing page — alternating
   left/right cards with big numbers)
   ----------------------------------------- */
.features {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 48px;
}

.features-header h2 {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.features-header p {
  font-size: 32px;
  font-weight: 100;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--border));
  top: -40px;
}

.feature-card:first-child::before { display: none; }

.feature-icon-wrap {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-icon-wrap svg {
  width: 48px;
  height: 48px;
}

.feature-text {
  flex: 1;
}

.feature-number {
  font-size: 80px;
  font-weight: 100;
  color: rgba(201,185,154,0.06);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.04em;
}

.feature-text h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  font-weight: 300;
}

.feature-card:nth-child(even) .feature-text {
  text-align: right;
}

.feature-card:nth-child(even) .feature-text p {
  margin-left: auto;
}


/* -----------------------------------------
   Subscription / Pricing (landing page)
   ----------------------------------------- */
.subscription {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  text-align: center;
}

.subscription-header {
  margin-bottom: 64px;
}

.subscription-header h2 {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.subscription-header p {
  font-size: 32px;
  font-weight: 100;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  width: 2px;
  height: 220%;
  background: linear-gradient(to bottom, transparent 10%, var(--accent-gold) 50%, transparent 90%);
  transform: translateX(-50%) rotate(15deg);
  opacity: 0.3;
}

.pricing-plan {
  flex: 1;
  padding: 56px 40px;
  position: relative;
  z-index: 1;
}

.pricing-plan-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.pricing-plan .price {
  font-size: 42px;
  font-weight: 100;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-plan .price-period {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 300;
  margin-bottom: 24px;
}

.pricing-plan .price-detail {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

.pricing-plan-yearly .pricing-plan-label {
  color: var(--accent-gold);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201,185,154,0.08);
  border: 1px solid var(--border-accent);
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 16px;
  font-weight: 500;
}


/* -----------------------------------------
   Closing CTA (landing page)
   ----------------------------------------- */
.closing-cta {
  position: relative;
  z-index: 1;
  padding: 160px 48px;
  text-align: center;
}

.closing-cta h2 {
  font-size: 48px;
  font-weight: 100;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.closing-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-glow {
  display: inline-block;
  padding: 18px 56px;
  background: var(--accent-gold);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px rgba(201,185,154,0.35), 0 0 80px rgba(201,185,154,0.15), 0 0 120px rgba(201,185,154,0.08);
}

.cta-glow svg {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 4px;
}

.cta-glow:hover {
  box-shadow: 0 0 60px rgba(201,185,154,0.5), 0 0 120px rgba(201,185,154,0.3), 0 0 180px rgba(201,185,154,0.12);
  transform: translateY(-2px);
  opacity: 1;
  color: var(--bg);
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid rgba(201,185,154,0.2);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(201,185,154,0.4);
  background: rgba(201,185,154,0.04);
  opacity: 1;
}

.sub-fine {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
}


/* -----------------------------------------
   Page Header (shared by support,
   delete-account, 404)
   ----------------------------------------- */
.page-header {
  position: relative;
  z-index: 1;
  padding: 180px 48px 80px;
  text-align: center;
}

.page-header-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 100;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}


/* -----------------------------------------
   Contact Card (support page)
   ----------------------------------------- */
.contact-section {
  position: relative;
  z-index: 1;
  padding: 0 48px 100px;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 56px 64px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.3;
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 300;
}

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

.contact-method a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method a:hover {
  color: var(--accent-light);
  opacity: 1;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: var(--bg);
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(201, 185, 154, 0.3);
  border: none;
  cursor: pointer;
}

.contact-btn:hover {
  opacity: 1;
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 185, 154, 0.3);
}


/* -----------------------------------------
   FAQ Section & Grid (support page —
   masonry 2-column)
   ----------------------------------------- */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 0 48px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-header h2 {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.faq-header p {
  font-size: 32px;
  font-weight: 100;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.faq-grid {
  columns: 2;
  column-gap: 24px;
}

.faq-item {
  break-inside: avoid;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.3s ease;
}

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

.faq-item .faq-number {
  font-size: 48px;
  font-weight: 100;
  color: rgba(201,185,154,0.06);
  line-height: 1;
  margin-bottom: -8px;
  letter-spacing: -0.03em;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

.faq-item a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-item a:hover {
  color: var(--accent-light);
  opacity: 1;
}

/* Vary heights for masonry effect */
.faq-item:nth-child(1) { padding-bottom: 40px; }
.faq-item:nth-child(3) { padding-bottom: 48px; }
.faq-item:nth-child(5) { padding-bottom: 36px; }
.faq-item:nth-child(7) { padding-bottom: 44px; }


/* -----------------------------------------
   Hero Header (legal pages — editorial
   style with scroll hint)
   ----------------------------------------- */
.hero-header {
  position: relative;
  z-index: 1;
  padding: 180px 48px 100px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-header .hero-eyebrow {
  color: var(--accent-muted);
}

.hero-header h1 {
  font-size: 56px;
  font-weight: 100;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 16px;
}

.hero-intro {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-top: 24px;
  text-align: center;
}

.scroll-hint {
  margin-top: auto;
  padding-top: 60px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  animation: fadeInUp 1.5s ease 0.5s both;
}


/* -----------------------------------------
   Inline TOC (legal pages)
   ----------------------------------------- */
.toc-section {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.toc-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 32px;
  font-weight: 500;
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.toc-grid a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 300;
  padding: 8px 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
}

.toc-grid a:hover {
  color: var(--accent-gold);
  padding-left: 8px;
  opacity: 1;
}


/* -----------------------------------------
   Legal Sections — Editorial Flow
   (alternating number positions)
   ----------------------------------------- */
.legal-sections {
  position: relative;
  z-index: 1;
}

.legal-section {
  padding: 80px 48px;
}

.section-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  gap: 0;
}

.legal-section:nth-child(even) .section-inner {
  flex-direction: row-reverse;
}

.section-number {
  width: 120px;
  flex-shrink: 0;
  font-size: 96px;
  font-weight: 100;
  line-height: 1;
  color: rgba(201,185,154,0.08);
  letter-spacing: -0.04em;
  user-select: none;
}

.legal-section:nth-child(odd) .section-number {
  text-align: left;
}

.legal-section:nth-child(even) .section-number {
  text-align: right;
}

.section-content {
  flex: 1;
  min-width: 0;
  max-width: 600px;
}

.section-content h2 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

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

.section-content ul {
  list-style: none;
  margin: 16px 0;
}

.section-content ul li {
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
}

.section-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--accent-gold);
}

.section-content a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-content a:hover {
  color: var(--accent-light);
  opacity: 1;
}


/* -----------------------------------------
   Section Divider (legal pages)
   ----------------------------------------- */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 0;
}

.section-divider span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border-accent);
}


/* -----------------------------------------
   Info Card (delete-account page)
   ----------------------------------------- */
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

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

.info-card ul {
  list-style: none;
  margin: 16px 0;
}

.info-card ul li {
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
}

.info-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--accent-gold);
}

.info-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

.info-card a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--accent-light);
  opacity: 1;
}


/* -----------------------------------------
   Callout (legal pages)
   ----------------------------------------- */
.callout {
  background: rgba(201,185,154,0.04);
  border: 1px solid rgba(201,185,154,0.12);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 16px 0;
}

.callout p {
  color: var(--accent-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.callout strong {
  color: var(--text-primary);
}


/* -----------------------------------------
   CTA Centered
   ----------------------------------------- */
.cta-centered {
  text-align: center;
  margin-top: 48px;
}


/* -----------------------------------------
   Footer (compact, horizontal)
   ----------------------------------------- */
footer {
  position: relative;
  z-index: 1;
  padding: 40px 48px 48px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  opacity: 1;
}

.copyright {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.2px;
}


/* -----------------------------------------
   Responsive (mobile breakpoint at 640px)
   ----------------------------------------- */
@media (max-width: 640px) {

  /* Navigation */
  nav {
    padding: 20px 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 11px;
  }

  /* Hero (landing) */
  .hero {
    padding: 140px 24px 100px;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 15px;
  }

  /* Features (landing) */
  .features {
    padding: 80px 0;
  }

  .features-header {
    padding: 0 24px;
    margin-bottom: 48px;
  }

  .features-header p {
    font-size: 24px;
  }

  .feature-card {
    flex-direction: column !important;
    gap: 32px;
    padding: 48px 24px;
    text-align: center;
  }

  .feature-card:nth-child(even) .feature-text {
    text-align: center;
  }

  .feature-card:nth-child(even) .feature-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-icon-wrap {
    width: 100px;
    height: 100px;
  }

  .feature-icon-wrap svg {
    width: 36px;
    height: 36px;
  }

  .feature-number {
    font-size: 48px;
  }

  .feature-text h3 {
    font-size: 20px;
  }

  /* Subscription / Pricing (landing) */
  .subscription {
    padding: 80px 24px;
  }

  .subscription-header p {
    font-size: 24px;
  }

  .pricing-card {
    flex-direction: column;
  }

  .pricing-card::before {
    top: 50%;
    left: -60%;
    width: 220%;
    height: 2px;
    transform: translateY(-50%) rotate(15deg);
  }

  .pricing-plan {
    padding: 40px 32px;
  }

  .pricing-plan .price {
    font-size: 32px;
  }

  /* Closing CTA (landing) */
  .closing-cta {
    padding: 100px 24px;
  }

  .closing-cta h2 {
    font-size: 32px;
  }

  /* Page Header (support, delete-account, 404) */
  .page-header {
    padding: 140px 24px 60px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 14px;
  }

  /* Contact Card (support) */
  .contact-section {
    padding: 0 24px 80px;
  }

  .contact-card {
    padding: 40px 28px;
  }

  /* FAQ (support) */
  .faq-section {
    padding: 0 24px 80px;
  }

  .faq-header p {
    font-size: 24px;
  }

  .faq-grid {
    columns: 1;
  }

  /* Hero Header (legal) */
  .hero-header {
    padding: 140px 24px 60px;
    min-height: auto;
  }

  .hero-header h1 {
    font-size: 36px;
  }

  .hero-intro {
    font-size: 14px;
    max-width: 100%;
  }

  .scroll-hint {
    padding-top: 40px;
  }

  /* Inline TOC (legal) */
  .toc-section {
    padding: 40px 24px;
  }

  .toc-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .toc-grid a {
    font-size: 12px;
  }

  /* Legal Sections (legal) */
  .legal-section {
    padding: 48px 24px;
  }

  .section-inner {
    flex-direction: column !important;
    gap: 0;
  }

  .section-number {
    width: auto;
    font-size: 64px;
    margin-bottom: 8px;
    text-align: left !important;
  }

  .section-content h2 {
    font-size: 18px;
  }

  .section-content p,
  .section-content ul li {
    font-size: 13px;
  }

  /* Footer */
  footer {
    padding: 32px 20px 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
