:root {
  --midnight: #F4F7FB;
  --deep: #E8EEF6;
  --surface: #FFFFFF;
  --surface-light: #EEF2F9;
  --electric: #0066A8;
  --electric-bright: #0082C9;
  --accent-warm: #E8A830;
  --accent-green: #7EC83A;
  --text-primary: #0D1320;
  --text-secondary: #4A5568;
  --text-dim: #6B7280;
  --white: #FFFFFF;
  --border: rgba(0, 102, 168, 0.14);
  --glow: rgba(0, 102, 168, 0.07);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--midnight);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==================== UTILITY ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--electric);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--electric);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--electric-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 120, 192, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--electric);
  background: var(--glow);
}

/* ==================== NAVIGATION ==================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav .container.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-primary);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  border-radius: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 34px;
  width: auto;
}

.logo-footer img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.nav-cta {
  padding: 0.65rem 1.5rem !important;
  background: var(--electric) !important;
  color: var(--white) !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--electric-bright) !important;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 102, 168, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(126, 200, 58, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--electric), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-proof {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.proof-item { }
.proof-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.proof-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,120,192,0.35), transparent 50%, rgba(126,200,58,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.card-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
}

.metric-value.warm { color: var(--accent-warm); }
.metric-value.blue { color: var(--electric); }


/* ==================== PROBLEM SECTION ==================== */
.problem {
  padding: 7rem 0;
  background: var(--deep);
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.problem h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
}

.problem p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.p-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: all 0.3s ease;
}

.p-card:hover {
  border-color: rgba(0, 102, 168, 0.35);
  transform: translateX(4px);
}

.p-card-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}

.p-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.p-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0;
  line-height: 1.6;
}


/* ==================== SERVICES ==================== */
.services {
  padding: 7rem 0;
  position: relative;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.services-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--accent-green));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  border-color: rgba(0, 102, 168, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  background: var(--glow);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}


/* ==================== PROCESS ==================== */
.process {
  padding: 7rem 0;
  background: var(--deep);
}

.process-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.process-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--accent-green), var(--accent-warm), var(--electric));
  opacity: 0.2;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--electric);
  position: relative;
  z-index: 2;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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


/* ==================== ABOUT / GUIDE ==================== */
.guide {
  padding: 7rem 0;
  background: var(--deep);
}

.guide-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.guide-photo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

.guide-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
}

.guide-photo-placeholder .initials {
  font-size: 3rem;
  font-weight: 800;
  color: var(--electric);
  letter-spacing: -0.03em;
}

.guide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
}

.guide-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.guide-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.g-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.g-stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  line-height: 1.4;
}


/* ==================== THOUGHT LEADERSHIP ==================== */
.thought {
  padding: 7rem 0;
}

.thought-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.thought-header-text { max-width: 550px; }

.thought-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  border-color: rgba(0, 102, 168, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.article-img {
  height: 180px;
  background: linear-gradient(135deg, var(--surface-light), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.article-img-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.article-body {
  padding: 1.75rem;
}

.article-cat {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.article-card p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}


/* ==================== CTA BAND ==================== */
.cta-band {
  padding: 5rem 0;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 102, 168, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cta-inner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-hubspot-meetings {
  width: 100%;
  margin-bottom: 1.5rem;
}

.cta-hubspot-meetings .meetings-iframe-container {
  min-height: 640px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}


/* ==================== LEAD MAGNET ==================== */
.lead-magnet {
  padding: 5rem 0;
}

.lead-magnet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lead-magnet-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(126, 200, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.lm-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lm-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.lm-list {
  list-style: none;
  margin-bottom: 2rem;
}

.lm-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.lm-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.lm-form {
  display: flex;
  gap: 0.75rem;
}

.lm-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.lm-input:focus {
  border-color: var(--electric);
}

.lm-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lm-mockup {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
}

.lm-mockup-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
}

.lm-toc-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.lm-toc-item:last-child { border-bottom: none; }

.lm-toc-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
}


/* ==================== FOOTER ==================== */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .hero-grid,
  .problem-grid,
  .guide-grid,
  .lead-magnet-card {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

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

  .process-steps::before { display: none; }

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

  .hero-visual { order: -1; }

  .hero-proof { flex-wrap: wrap; gap: 2rem; }

  .thought-header { flex-direction: column; gap: 1rem; align-items: flex-start; }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem 1.5rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    z-index: 99;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-links a.nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-radius: 6px;
  }

  .guide-stats { grid-template-columns: repeat(3, 1fr); }

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

  .lm-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .guide-stats {
    grid-template-columns: 1fr;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeUp 0.8s ease-out; }
.hero-visual { animation: fadeUp 0.8s ease-out 0.2s both; }

/* ==================== SUBPAGES (tools, legal) ==================== */
.subpage-main {
  padding: 6rem 0 4rem;
  min-height: 60vh;
}

.subpage-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.subpage-main .subpage-lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.subpage-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.subpage-section:last-of-type {
  border-bottom: none;
}

.subpage-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subpage-section p,
.subpage-section li {
  color: var(--text-secondary);
  line-height: 1.75;
}

.subpage-section ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.subpage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.subpage-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.subpage-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.subpage-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .subpage-grid-2 {
    grid-template-columns: 1fr;
  }
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.legal-contact-box p {
  margin-bottom: 0.35rem;
}

.legal-contact-box p:last-child {
  margin-bottom: 0;
}

.footer-social {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-social a:hover {
  color: var(--electric-bright);
}

.subpage-main a {
  color: var(--electric-bright);
  text-decoration: none;
}

.subpage-main a:hover {
  text-decoration: underline;
}
