/* ashrafdaoud.com — design system and components */

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

/* Design tokens */
:root {
  /* Color */
  --dark: #0B1320;
  --dark-lift-1: #131D32;
  --dark-lift-2: #1A2540;
  --light: #F5F3EE;
  --light-card: #FBFAF7;
  --light-card-active: #F0EBDD;

  --text-headline: #0B1320;
  --text-body: #2A3340;
  --text-label: #6B7280;

  /* 4-token dark-section text color system */
  --text-primary:   #FFFFFF;   /* Headings (H1/H2/H3) + primary button text only */
  --text-secondary: #D1D5DB;   /* All body paragraphs and subheadings */
  --text-meta:      #9CA3AF;   /* Monospaced labels, overlines, tags, "STARTING FROM", "WHAT'S INCLUDED" */
  --text-accent:    var(--yellow); /* Reserved: prices, hero CTA button, checkmarks, single-word highlights */

  --yellow: #F5C518;
  --yellow-deep: #E0B30C;
  --blue: #1500FE;

  --hairline-light: rgba(11, 19, 32, 0.10);
  --hairline-dark: rgba(255, 255, 255, 0.08);
}

/* Base */
html, body {
  background: var(--dark);
  color: var(--text-secondary);
  font-family: 'Satoshi', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 17px;
}

/* Section primitives — every section is one of these two */
.section {
  position: relative;
  padding: 160px 60px;
}
.section.dark { background: var(--dark); color: var(--text-secondary); }
.section.light { background: var(--light); color: var(--text-headline); }

/* Subtle radial accent glows on dark sections (yellow + faint yellow,
   matching the v13 mockup — soft warmth in the corners) */
.section.dark::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.section.dark::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.025) 0%, transparent 70%);
  pointer-events: none;
}
.section > * { position: relative; z-index: 1; }

/* Typography helpers (used inside sections) */
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-align: center;
}
.section.dark .label { color: var(--text-meta); }
.section.light .label { color: var(--text-label); }
.label.left { text-align: left; }

.headline {
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.section.dark .headline { color: var(--text-primary); }
.section.light .headline { color: var(--text-headline); }
.headline.left { text-align: left; max-width: 1100px; margin: 0 0 32px 0; }

.subhead {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section.dark .subhead { color: var(--text-secondary); }
.section.light .subhead { color: var(--text-body); }
.subhead.left { text-align: left; max-width: 760px; margin: 0 0 80px 0; }

/* Section transitions — hairline between sections */
.transition-strip {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 197, 24, 0.12) 50%, transparent 100%);
}

/* CTA system — three tiers */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: #000;
  padding: 17px 34px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--yellow);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(245, 197, 24, 0.4);
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--yellow);
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--yellow);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--yellow);
  color: #000;
  transform: translateY(-2px);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(21, 0, 254, 0.3);
  transition: all 0.2s ease;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(21, 0, 254, 0.5);
}

/* Focus ring — accessibility */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scroll-triggered fade-up — standard intensity */
.scroll-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-fade[data-delay="1"].visible { transition-delay: 0.1s; }
.scroll-fade[data-delay="2"].visible { transition-delay: 0.2s; }
.scroll-fade[data-delay="3"].visible { transition-delay: 0.3s; }
.scroll-fade[data-delay="4"].visible { transition-delay: 0.4s; }

/* Scroll-triggered fade-up — strong intensity (Section 4 shift lines) */
.scroll-fade-strong {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-fade-strong.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-fade-strong[data-delay="1"].visible { transition-delay: 0.15s; }
.scroll-fade-strong[data-delay="2"].visible { transition-delay: 0.35s; }
.scroll-fade-strong[data-delay="3"].visible { transition-delay: 0.55s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-fade, .scroll-fade-strong {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Site nav (sticky frosted glass) */
.site-nav {
  background: rgba(11, 19, 32, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(28px, 4vw, 64px);
  max-width: none;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-brand {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 15px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a[aria-current="page"] { color: var(--text-primary); }

/* Hero */
.hero {
  padding: 110px 60px;
  text-align: center;
  position: relative;
}
.hero-rule {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 36px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(245, 197, 24, 0.55);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 36px;
}
.hero-label-dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--yellow);
}
.hero-headline {
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 auto 36px;
  max-width: 1100px;
}
.yellow-word {
  color: var(--yellow);
  font-weight: 700;
  display: inline-block;
  min-width: 1ch;
}
.yellow-cursor {
  display: inline-block;
  width: 4px;
  height: 0.85em;
  background: var(--yellow);
  margin-left: 6px;
  vertical-align: -8%;
  animation: blink 1s infinite step-end;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.hero-subhead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 52px;
}
.hero-ctas {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-tagline {
  font-size: 13px;
  color: var(--text-meta);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Hero ghost button override — white outline (not yellow) for hero context */
.hero .btn-ghost {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero .btn-ghost:hover {
  background: var(--text-primary);
  color: var(--dark);
  border-color: var(--text-primary);
}

/* Marquee — horizontal scrolling band below hero */
.marquee-band {
  background: var(--dark);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-group {
  display: inline-flex;
  align-items: center;
}
.marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-meta);
  text-transform: uppercase;
  padding: 0 32px;
}
.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.85;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Section 2 — Pain Grid */
.section-2-header { max-width: 1240px; margin: 0 auto; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}
.pain-card {
  background: linear-gradient(180deg, var(--dark-lift-1) 0%, var(--dark-lift-2) 100%);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 14px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 197, 24, 0.55) 50%, transparent 100%);
  opacity: 0.55;
}
.pain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.pain-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  margin-bottom: 32px;
  display: block;
}
.pain-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.pain-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.pain-transition {
  text-align: center;
  margin-top: 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.pain-transition .accent { color: var(--yellow); }

/* Section 4 — The Shift */
.shift-grid {
  display: flex;
  flex-direction: column;
  max-width: 940px;
  margin: 0 auto;
}
.shift-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: start;
  transition: padding-left 0.25s ease;
}
.shift-line:hover { padding-left: 8px; }
.shift-line:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.08); }
.shift-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  padding-top: 8px;
  text-transform: uppercase;
}
.shift-line h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.shift-line p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.shift-connector {
  text-align: center;
  margin-top: 72px;
  margin-bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.shift-closing {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
}
.shift-closing .accent { color: var(--yellow); }
.yellow-text { color: var(--yellow); }

/* Section 6 — Services */
.services-stinger {
  text-align: center;
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.services-secondary {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 80px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}
.pricing-card {
  background: linear-gradient(180deg, var(--dark-lift-1) 0%, var(--dark-lift-2) 100%);
  border: 1px solid rgba(245, 197, 24, 0.18);
  border-radius: 14px;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 197, 24, 0.5) 50%, transparent 100%);
  opacity: 0.5;
}
.pricing-card:hover {
  transform: translateY(-12px);
  border-color: var(--yellow);
  box-shadow: 0 20px 60px rgba(245, 197, 24, 0.2), 0 0 0 1px rgba(245, 197, 24, 0.4);
}
.pricing-name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}
.pricing-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin-bottom: 16px;
}
.pricing-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 120px;
}
.pricing-price-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pricing-price-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pricing-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price .price-suffix { font-size: 16px; font-weight: 600; color: var(--text-meta); }
.pricing-price-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-top: 6px;
}
.pricing-guarantee {
  background: rgba(245, 197, 24, 0.07);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.pricing-guarantee strong {
  color: var(--text-meta);
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pricing-features-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.pricing-check { flex-shrink: 0; margin-top: 4px; }
.pricing-cta {
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--yellow);
  border: 1.5px solid var(--yellow);
  text-decoration: none;
}
.pricing-cta:hover {
  background: var(--yellow);
  color: #000;
  transform: translateY(-2px);
}

/* Section 3 — The Difference */
.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}
.diff-card {
  position: relative;
  padding: 44px 36px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.diff-card.muted {
  background: var(--light-card);
  border: 1px solid var(--hairline-light);
  color: var(--text-body);
  transform: scale(0.96);
}
.diff-card.muted .corner {
  position: absolute;
  width: 12px;
  height: 12px;
  color: rgba(11,19,32,0.22);
}
.diff-card.muted .corner.tl { top: -1px; left: -1px; }
.diff-card.muted .corner.tr { top: -1px; right: -1px; }
.diff-card.muted .corner.bl { bottom: -1px; left: -1px; }
.diff-card.muted .corner.br { bottom: -1px; right: -1px; }
.diff-card.muted .card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 28px;
}
.diff-card.muted .card-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 32px;
}
.diff-card.muted .missing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-light);
  font-size: 13px;
  color: var(--text-body);
}
.diff-card.muted .missing-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.diff-card.elevated {
  background: var(--dark);
  color: var(--text-secondary);
  border: 1px solid rgba(245, 197, 24, 0.4);
  transform: translateY(-16px);
  box-shadow: 0 20px 60px rgba(245, 197, 24, 0.12), 0 0 0 1px rgba(245, 197, 24, 0.18);
  position: relative;
  overflow: hidden;
}
.diff-card.elevated::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
  opacity: 0.6;
}
.diff-card.elevated::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.diff-card.elevated .card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
  border: 1px solid rgba(245, 197, 24, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
}
.diff-card.elevated .card-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--yellow);
}
.diff-card.elevated .card-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.diff-card.elevated .card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.diff-card.elevated .card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.diff-card.elevated .card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Privacy Bar — light micro-section */
.privacy-band {
  background: var(--light);
  padding: 80px 60px 100px;
}
.privacy-block {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--dark);
  color: var(--text-secondary);
  border-radius: 16px;
  padding: 64px 72px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 19, 32, 0.18);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.privacy-block::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(21, 0, 254, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.privacy-content { position: relative; z-index: 1; }
.privacy-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.privacy-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--yellow);
}
.privacy-block h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}
.privacy-block h2 .accent { color: var(--yellow); }
.privacy-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.privacy-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.privacy-trust-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.trust-item .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #22C55E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

/* Section 5 — Proof + Find Your Leverage */
.proof-block { max-width: 880px; margin: 0 auto; text-align: center; }
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(245, 197, 24, 0.5);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-headline);
  margin-bottom: 56px;
}
.proof-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--yellow);
}
.proof-quote-wrap { position: relative; margin-bottom: 48px; }
.proof-quote-mark {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Satoshi', sans-serif;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.18;
  pointer-events: none;
}
.proof-quote {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-headline);
  letter-spacing: -0.01em;
}
.proof-quote .highlight {
  color: var(--text-headline);
  background: rgba(245, 197, 24, 0.32);
  padding: 0 4px;
}
.proof-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
}
.avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-lift-2) 0%, var(--dark) 100%);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.author-info { text-align: left; }
.author-name {
  font-weight: 600;
  color: var(--text-headline);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.author-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-body);
  text-transform: uppercase;
}
.proof-divider {
  width: 60px;
  height: 1px;
  background: rgba(11, 19, 32, 0.15);
  margin: 0 auto 48px;
}
.proof-bridge {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Section 9 — FAQ */
.faq-block { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--hairline-light);
  transition: background 0.2s;
}
.faq-item:first-child { border-top: 1px solid var(--hairline-light); }
.faq-item:hover { background: rgba(11, 19, 32, 0.02); }
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 28px 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: inherit;
  color: var(--text-headline);
}
.faq-question h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(11, 19, 32, 0.06);
  color: var(--text-headline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--yellow);
  color: #000;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 28px;
}
.faq-answer p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 720px;
}
.faq-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-headline);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--text-headline);
  padding-bottom: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.faq-link:hover { color: var(--yellow); border-color: var(--yellow); }

/* Section 7 — Workflow Examples */
/* Section 7 — slightly tighter padding to give the SVG canvas more room */
.section.workflows-section { padding: 130px 60px; }

.workflow-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 36px;
  max-width: 1240px;
  margin: 56px auto 0;
  align-items: start;
}
.workflow-tabs { display: flex; flex-direction: column; gap: 14px; }
.workflow-tab {
  background: var(--light-card);
  border: 1px solid var(--hairline-light);
  border-left-width: 3px;
  border-left-color: transparent;
  border-radius: 8px;
  padding: 22px 24px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  color: var(--text-headline);
  font-family: inherit;
  width: 100%;
}
.workflow-tab:hover { border-color: rgba(11, 19, 32, 0.2); }
.workflow-tab.active {
  background: var(--light-card-active);
  border-color: rgba(245, 197, 24, 0.4);
  border-left-color: var(--yellow);
  box-shadow: 0 4px 16px rgba(11, 19, 32, 0.06);
  transform: translateX(4px);
}
.workflow-tab .tab-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}
.workflow-tab h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-headline);
}
.workflow-tab.active h3 { font-weight: 700; }
.workflow-tab .hours {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-body);
  text-transform: uppercase;
  white-space: nowrap;
}
.workflow-tab.active .hours {
  color: var(--text-headline);
  font-weight: 600;
}
.workflow-tab p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
}
.workflow-preview {
  position: relative;
  background: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 24, 0.18);
  box-shadow: 0 20px 60px rgba(11, 19, 32, 0.18);
}
.preview-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 520;
}
.preview-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.preview-panel.active {
  opacity: 1;
  pointer-events: auto;
}
.preview-panel svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--text-secondary);
  padding: 100px 60px 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-meta);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-links-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--yellow); }
.footer-newsletter h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-newsletter h6 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.footer-newsletter p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-meta);
  margin-bottom: 18px;
}
.footer-newsletter-form { display: flex; gap: 8px; }
.footer-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  min-width: 0;
}
.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(21, 0, 254, 0.06);
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-bottom {
  max-width: 1240px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.footer-bottom .tagline { color: var(--yellow); }

/* Utility — visually-hidden for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* About page — 2-column layout */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 48px auto 0;
  align-items: start;
}
.about-portrait {
  position: sticky;
  top: 96px;
}
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--dark-lift-1) 0%, var(--dark-lift-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-placeholder span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.about-narrative {
  max-width: 68ch;
}
.about-narrative p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.about-narrative p:first-of-type {
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 32px;
}
.about-rules-headline {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 56px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.about-rules {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-rules li {
  padding: 14px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.about-rules li:last-child { border-bottom: none; }
.about-rules strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-portrait {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-options { display: flex; flex-direction: column; gap: 32px; }
.contact-option {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-option:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-option-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-option a {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-option a:hover { color: var(--text-accent); }
.contact-option p {
  color: var(--text-secondary);
  font-size: 16px;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-meta);
  text-transform: uppercase;
}
.form-row input,
.form-row textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.04);
}
.form-row textarea { resize: vertical; min-height: 120px; }
textarea::placeholder, input::placeholder {
  color: var(--text-meta);
  opacity: 1;
}
.contact-intro {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 720px;
}

/* Insights page */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.insight-card {
  background: linear-gradient(180deg, var(--dark-lift-1) 0%, var(--dark-lift-2) 100%);
  border: 1px solid rgba(245, 197, 24, 0.18);
  border-radius: 12px;
  padding: 32px;
}
.insight-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.insight-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.insights-note {
  text-align: center;
  margin-top: 56px;
  color: var(--text-meta);
  font-size: 14px;
}

/* Find Your Leverage page */
.fyl-block { max-width: 640px; margin: 0 auto; text-align: center; }
.fyl-card {
  background: linear-gradient(180deg, var(--dark-lift-1) 0%, var(--dark-lift-2) 100%);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 14px;
  padding: 40px;
  margin-bottom: 32px;
}
.fyl-card-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.fyl-card-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.fyl-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fyl-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  min-width: 0;
}
.fyl-input:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.04);
}
.fyl-input::placeholder { color: rgba(255,255,255,0.3); }
.fyl-fallback {
  font-size: 14px;
  color: var(--text-meta);
}
.fyl-fallback a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.fyl-fallback a:hover { color: var(--yellow); }

/* Full FAQ page -- group headings */
.faq-group-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-meta);
  text-transform: uppercase;
  margin-top: 56px;
  margin-bottom: 24px;
}
.faq-group-heading:first-child { margin-top: 0; }

/* Legal pages (Privacy, Terms) */
.legal-body {
  max-width: 720px;
  margin: 0 auto;
}
.legal-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.legal-body strong {
  color: var(--text-meta);
  font-weight: 600;
}
.legal-body a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.legal-body a:hover { color: var(--yellow); }
.legal-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-meta);
  margin-top: 40px;
}

/* ========================== Responsive ========================== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .section { padding: 110px 40px; }
  .nav-inner { padding: 18px 40px; }

  /* 3-column grids → 2-column on tablet */
  .pain-grid,
  .services-grid,
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Difference: keep elevated card 2 in its own row, centered */
  .difference-grid {
    grid-template-columns: 1fr 1fr;
  }
  .difference-grid > :nth-child(2) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    transform: none;
  }

  /* Workflow tabs: above the preview in 2-column grid; preview full width */
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Privacy block stacks vertically */
  .privacy-block {
    grid-template-columns: 1fr;
    padding: 48px 40px;
    gap: 24px;
  }
  .privacy-trust-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Footer collapses to single column with 3 sub-columns + newsletter */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  /* Contact: stack form below options */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Hide section markers and decorative privacy glow on tablet */
  .section-marker, .privacy-block::after { display: none; }
}

/* Mobile (≤ 640px) */
@media (max-width: 640px) {
  .section { padding: 80px 20px; }
  .nav-inner { padding: 16px 20px; }
  .nav-links { gap: 16px; font-size: 13px; }

  .hero { padding: 70px 20px; }
  .hero-headline { font-size: clamp(32px, 8vw, 48px); }

  /* All multi-column grids stack to single column */
  .pain-grid,
  .difference-grid,
  .services-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .difference-grid > :nth-child(2) { transform: none; }

  .workflow-tabs { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Shift section: stack the line number above the body */
  .shift-line {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .shift-num { padding-top: 0; }
  .shift-line:hover { padding-left: 0; }

  /* Pricing cards: tighter padding */
  .pricing-card { padding: 32px 24px; }
  .pricing-name { font-size: 24px; }

  /* Footer newsletter form stacks input above button */
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form .btn-blue {
    width: 100%;
    justify-content: center;
  }

  /* Privacy bar tighter on mobile */
  .privacy-band { padding: 60px 20px 80px; }
  .privacy-block { padding: 36px 24px; }

  /* About bio padding reduced — font-size only, color already set via tokens */
  .about-narrative p, .about-rules li { font-size: 16px; }
}

/* Body text reading-width cap (65-75ch) for desktop comfort */
.section p:not(.subhead):not(.shift-closing):not(.services-stinger):not(.services-secondary):not(.pain-transition):not(.pricing-summary):not(.pricing-price-note):not(.pricing-features-label) {
  max-width: 68ch;
}

/* Ambient background glow — subtle, fixed-position, breaks up navy flatness */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(21, 0, 254, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Make sure all content is above ambient glows */
main, footer { position: relative; z-index: 1; }
.site-nav { z-index: 50; }
.back-to-top { z-index: 100; }

/* Back to Top floating button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 100;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--yellow-deep);
}
.back-to-top[hidden] { display: flex; }  /* override default hidden — controlled via class */

/* Skip-to-main-content link — accessible jump for keyboard users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: var(--yellow);
  color: #000;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}
