/* ============================================
   SEOGEOGPT.PRO — Main Stylesheet
   "Первое GEO агентство в России"
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ── Custom Properties ──────────────────────── */
:root {
  --bg:               #0D0F14;
  --bg-surface:       #161921;
  --bg-elevated:      #1E2230;
  --text-primary:     #E8E4DC;
  --text-secondary:   #9A968E;
  --text-muted:       #5A5855;
  --accent-terra:     #C0624A;
  --accent-terra-h:   #CF6F5A;
  --accent-sage:      #6A8F6A;
  --sage-muted:       rgba(106,143,106,0.12);
  --border:           rgba(255,255,255,0.07);
  --border-strong:    rgba(255,255,255,0.13);
  --shadow-card:      0 1px 0 var(--border), 0 8px 40px rgba(0,0,0,0.4);
  --shadow-up:        0 1px 0 var(--border), 0 20px 60px rgba(0,0,0,0.5);
  --code-bg:          #090B0F;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:               #F5F2EE;
  --bg-surface:       #EAE6E0;
  --bg-elevated:      #DDD9D2;
  --text-primary:     #1A1814;
  --text-secondary:   #5C5852;
  --text-muted:       #9A968E;
  --accent-terra:     #B85742;
  --accent-terra-h:   #C0624A;
  --accent-sage:      #4A7050;
  --sage-muted:       rgba(74,112,80,0.1);
  --border:           rgba(0,0,0,0.08);
  --border-strong:    rgba(0,0,0,0.15);
  --shadow-card:      0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.08);
  --shadow-up:        0 1px 0 var(--border), 0 8px 40px rgba(0,0,0,0.12);
  --code-bg:          #1A1814;
  color-scheme: light;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.32s ease, color 0.32s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem);   font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; }

p { color: var(--text-secondary); line-height: 1.78; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sage);
  display: block;
  margin-bottom: 1rem;
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 112px 0; }

/* ── Nav ────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13,15,20,0.82);
  transition: background-color 0.32s ease, border-color 0.32s ease;
}

[data-theme="light"] .nav { background: rgba(245,242,238,0.88); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-logo-wordmark {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.25;
  transition: color 0.32s ease;
}

.nav-logo-wordmark span {
  display: block;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background-color 0.15s ease, border-color 0.15s ease,
              color 0.15s ease;
}

.btn-primary { background: var(--accent-terra); color: #fff; }
.btn-primary:hover {
  background: var(--accent-terra-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(192,98,74,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent-terra);
  color: var(--accent-terra);
}

.btn-lg { padding: 15px 40px; font-size: 0.95rem; }

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s, background-color 0.32s ease;
}

.theme-toggle:hover { border-color: var(--accent-terra); color: var(--accent-terra); }
.theme-toggle svg { pointer-events: none; }

/* ── Hero ───────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 66px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  transition: background 0.32s ease;
}

.hero-grid {
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-muted);
  border: 1px solid rgba(106,143,106,0.25);
  color: var(--accent-sage);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: background-color 0.32s ease, border-color 0.32s ease, color 0.32s ease;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-sage);
  animation: blink 2.4s ease-in-out infinite;
  transition: background-color 0.32s ease;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--accent-terra); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 44px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Schema card */
.schema-card {
  background: var(--code-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 32px 80px rgba(0,0,0,0.6);
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  transition: border-color 0.32s ease, box-shadow 0.32s ease, background-color 0.32s ease;
}

[data-theme="light"] .schema-card {
  border-color: rgba(0,0,0,0.14);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 16px 48px rgba(0,0,0,0.14);
}

.schema-titlebar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .schema-titlebar { background: rgba(0,0,0,0.04); border-bottom-color: rgba(0,0,0,0.06); }

.sc-dot { width: 10px; height: 10px; border-radius: 50%; }
.sc-dot:nth-child(1) { background: #FF5F57; }
.sc-dot:nth-child(2) { background: #FFBD2E; }
.sc-dot:nth-child(3) { background: #28C840; }

.schema-titlebar-label {
  margin-left: auto;
  color: rgba(255,255,255,0.25);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
}

[data-theme="light"] .schema-titlebar-label { color: rgba(0,0,0,0.25); }

.schema-code {
  padding: 22px 22px 4px;
  color: #707070;
  white-space: pre;
  overflow-x: auto;
}

.jk { color: #C0624A; }
.js { color: #6A8F6A; }
.jb { color: rgba(255,255,255,0.3); }
.jn { color: #8BA8C8; }

[data-theme="light"] .jb { color: rgba(0,0,0,0.3); }

.schema-badge {
  margin: 16px 22px 22px;
  background: rgba(106,143,106,0.1);
  border: 1px solid rgba(106,143,106,0.22);
  border-radius: 8px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  color: var(--accent-sage);
  font-weight: 500;
  transition: color 0.32s ease;
}

.schema-badge-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(106,143,106,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ── Section header ─────────────────────────── */
.section-header { max-width: 680px; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; font-weight: 300; }

/* ── Pain section ───────────────────────────── */
.pain-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.32s ease, border-color 0.32s ease;
}

.pain-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 60px;
  transition: border-color 0.32s ease;
}

.pain-col { padding: 36px; }
.pain-col:last-child {
  border-left: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.32s ease, background-color 0.32s ease;
}

.pain-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.32s ease;
}

.pain-col-label.old { color: var(--text-muted); }
.pain-col-label.now { color: var(--accent-terra); }

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.flow-n {
  min-width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0; margin-top: 2px;
  transition: background-color 0.32s ease, color 0.32s ease;
}

.pain-divider {
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 1.2rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: border-color 0.32s ease;
}

.pain-bullets { display: flex; flex-direction: column; gap: 16px; }

.pain-bullet {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  transition: border-color 0.2s, background-color 0.32s ease;
}

.pain-bullet:hover { border-color: var(--border-strong); }

.pb-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }

.pb-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color 0.32s ease;
}

.pb-text { font-size: 0.88rem; line-height: 1.65; }

/* ── Problem section ────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.problem-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.32s ease;
}

.problem-card:hover {
  border-color: rgba(192,98,74,0.35);
  box-shadow: 0 0 0 1px rgba(192,98,74,0.1), var(--shadow-card);
}

.pc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; font-weight: 700; line-height: 1;
  color: var(--border);
  position: absolute; top: 8px; right: 16px;
  pointer-events: none;
  transition: color 0.2s;
}

.problem-card:hover .pc-num { color: rgba(192,98,74,0.12); }

.pc-emoji { font-size: 2rem; margin-bottom: 20px; }

.pc-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 10px;
  transition: color 0.32s ease;
}

.pc-text { font-size: 0.88rem; line-height: 1.7; }

/* ── Solution section ───────────────────────── */
.solution-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.32s ease, border-color 0.32s ease;
}

.solution-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.solution-intro h2 { margin-bottom: 20px; }
.solution-intro p { font-size: 1rem; font-weight: 300; }

.sol-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s ease, border-color 0.32s ease;
}

.sol-item:first-child { padding-top: 0; }
.sol-item:last-child { border-bottom: none; }
.sol-item:hover { padding-left: 6px; }

.sol-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 600;
  color: var(--accent-terra);
  line-height: 1; flex-shrink: 0;
  width: 32px; padding-top: 3px;
  transition: color 0.32s ease;
}

.sol-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
  transition: color 0.32s ease;
}

.sol-text { font-size: 0.88rem; line-height: 1.7; }

code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-terra);
  border: 1px solid var(--border);
  transition: background-color 0.32s ease, border-color 0.32s ease, color 0.32s ease;
}

/* ── Benefits section ───────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.benefit-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.32s ease;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-terra), var(--accent-sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.benefit-card:hover::after { transform: scaleX(1); }
.benefit-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); }

.bc-icon { font-size: 2rem; margin-bottom: 20px; }

.bc-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 10px;
  transition: color 0.32s ease;
}

.bc-text { font-size: 0.88rem; line-height: 1.7; }

/* ── Process section ────────────────────────── */
.process-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.32s ease, border-color 0.32s ease;
}

.process-list { margin-top: 60px; }

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: border-color 0.32s ease;
}

.process-step:last-child { border-bottom: none; }

.process-step:hover .step-circle {
  background: var(--accent-terra);
  border-color: var(--accent-terra);
  color: #fff;
}

.step-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.step-badge {
  display: inline-flex;
  background: var(--sage-muted);
  border: 1px solid rgba(106,143,106,0.2);
  color: var(--accent-sage);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 10px;
  transition: background-color 0.32s ease, border-color 0.32s ease, color 0.32s ease;
}

.step-title {
  font-family: 'Jost', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
  transition: color 0.32s ease;
}

.step-text { font-size: 0.9rem; line-height: 1.7; max-width: 560px; }

/* ── Form section ───────────────────────────── */
.form-section {
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.32s ease;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.form-intro h2 { margin-bottom: 20px; }
.form-intro > p { font-size: 1rem; font-weight: 300; }

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px;
  box-shadow: var(--shadow-up);
  transition: background-color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
  transition: color 0.32s ease;
}

.form-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.32s ease, color 0.32s ease;
}

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

.form-input:focus {
  outline: none;
  border-color: var(--accent-terra);
  box-shadow: 0 0 0 3px rgba(192,98,74,0.14);
  background: var(--bg-surface);
}

.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

.form-submit { width: 100%; margin-top: 10px; }

.form-note {
  text-align: center;
  font-size: 0.76rem; color: var(--text-muted);
  margin-top: 14px; line-height: 1.5;
}

.form-note a {
  color: var(--accent-terra);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success { display: none; }
.form-success.active { display: block; }

/* ── Diagnostic panel ────────────────────────── */
.diagnostic-intro {
  text-align: center;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.diagnostic-intro h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
}
.diagnostic-intro p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Category bars — no numbers, visual only */
.diagnostic-bars {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.diagnostic-bars-title {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 14px;
}
.diag-bar-row {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 12px;
}
.diag-bar-row:last-child { margin-bottom: 0; }
.diag-bar-label { font-size: 0.82rem; color: var(--text-primary); width: 170px; flex-shrink: 0; }
.diag-bar-track {
  flex: 1; height: 6px; border-radius: 4px;
  background: var(--border); overflow: hidden;
}
.diag-bar-fill { height: 100%; border-radius: 4px; transition: width 0.7s ease; }
.diag-bar-fill.bar-good { background: #6A8F6A; }
.diag-bar-fill.bar-mid  { background: #C0A34A; }
.diag-bar-fill.bar-bad  { background: #C0624A; }

/* Check groups */
.diagnostic-area { margin-bottom: 20px; }
.diagnostic-area:last-child { margin-bottom: 0; }
.diagnostic-area-title {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 10px;
}
.diagnostic-check {
  display: flex; align-items: flex-start;
  gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.diagnostic-area:last-child .diagnostic-check:last-child { border-bottom: none; }
.check-icon {
  font-size: 0.8rem; font-weight: 700;
  width: 18px; flex-shrink: 0; margin-top: 2px;
  text-align: center; line-height: 1;
}
.check-body { display: flex; flex-direction: column; gap: 3px; }
.check-label { font-size: 0.87rem; font-weight: 500; color: var(--text-primary); line-height: 1.4; }
.check-detail { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.check-pass .check-icon { color: #6A8F6A; }
.check-fail .check-icon { color: #C0624A; }
.check-warn .check-icon { color: #C0A34A; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  transition: background-color 0.32s ease, border-color 0.32s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  transition: border-color 0.32s ease;
}

.footer-logo { height: 30px; width: auto; opacity: 0.75; margin-bottom: 16px; }

.footer-brand-desc {
  font-size: 0.85rem; line-height: 1.7;
  max-width: 260px; margin-bottom: 16px;
}

.footer-reqs {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  transition: color 0.32s ease;
}

.footer-col-title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 20px;
  transition: color 0.32s ease;
}

.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent-terra); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.footer-copy {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.6;
  transition: color 0.32s ease;
}

/* ── Animations ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.65s cubic-bezier(0.16,1,0.3,1) both;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.42s; }
.d5 { animation-delay: 0.58s; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ── Legal pages ─────────────────────────────── */
.page-hero {
  padding: 130px 0 64px;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.32s ease;
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.32s ease;
}

.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-terra); }
.breadcrumb-sep { opacity: 0.4; }

.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

.legal-body { padding: 72px 0 96px; }
.legal-content { max-width: 720px; }

.legal-content h2 {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-primary);
  margin: 44px 0 14px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  letter-spacing: 0; line-height: 1.4;
  transition: color 0.32s ease, border-color 0.32s ease;
}

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

.legal-content p { font-size: 0.92rem; margin-bottom: 14px; }

.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px 22px;
  color: var(--text-secondary);
}

.legal-content li { font-size: 0.92rem; line-height: 1.75; margin-bottom: 8px; }

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

.legal-content a {
  color: var(--accent-terra);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.32s ease;
}

.legal-content a:hover { opacity: 0.8; }

.legal-date {
  font-size: 0.8rem; color: var(--text-muted);
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  transition: color 0.32s ease, border-color 0.32s ease;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .schema-visual { display: none; }
  .solution-layout { grid-template-columns: 1fr; gap: 44px; }
  .form-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  section { padding: 60px 0; }
  .nav-logo-wordmark { display: none; }
  .pain-compare { grid-template-columns: 1fr; }
  .pain-divider { display: none; }
  .pain-col:last-child { border-left: none; border-top: 1px solid var(--border); }
  .problem-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 52px 1fr; gap: 18px; }
  .form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero-grid { padding: 60px 0 80px; }
  .section-header { margin-bottom: 40px; }
}
