/* =============================================
   COMICRA — Главная таблица стилей
   ============================================= */

:root {
  --ink: #1C1917;
  --ink-soft: #292524;
  --parchment: #FAFAF8;
  --parchment-warm: #F5EFE6;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --amber-pale: #FEF3C7;
  --red: #DC2626;
  --muted: #78716C;
  --border: #E7E0D5;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(28, 25, 23, 0.10);
  --shadow-lg: 0 8px 32px rgba(28, 25, 23, 0.14);
}

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

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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.sans {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =============================================
   LAYOUT
   ============================================= */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.section-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-sub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* =============================================
   HEADER / NAV
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.15s;
}

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

.nav-cta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.2s;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  padding: 80px 0 72px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero.png') center/cover no-repeat;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  color: var(--white);
}

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

.hero-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/11;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   FOR WHOM
   ============================================= */

.for-whom {
  background: var(--parchment-warm);
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.for-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.for-card-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.for-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
}

.for-card p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* =============================================
   BENEFITS
   ============================================= */

.benefits {
  background: var(--parchment);
}

.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.benefits-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.benefits-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.benefits-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 16px;
}

.benefit-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--amber-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}

.benefit-text h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-text p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =============================================
   PROCESS STEPS
   ============================================= */

.process {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}

.process-step {
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

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

.step-num {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.step-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-step h3 {
  color: var(--amber-light);
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.process-step p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* =============================================
   PROGRAM / MODULES
   ============================================= */

.program {
  background: var(--parchment-warm);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s;
}

.module-card:hover {
  box-shadow: var(--shadow);
}

.module-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.module-card h3 {
  font-size: 1.05rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.module-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-card ul li {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.module-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* =============================================
   OUTCOMES
   ============================================= */

.outcomes {
  background: var(--parchment);
}

.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.outcomes-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.outcomes-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.outcome-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.outcome-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.outcome-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.outcome-check::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.outcome-item p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =============================================
   AUTHOR
   ============================================= */

.author {
  background: var(--parchment-warm);
}

.author-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.author-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.author-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.author-name {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.author-role {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.author-bio {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.author-facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.author-fact strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1;
}

.author-fact span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

/* =============================================
   FAQ
   ============================================= */

.faq {
  background: var(--parchment);
}

.faq-list {
  margin-top: 48px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s;
}

.faq-q:hover {
  color: var(--amber);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  transition: transform 0.2s, background 0.2s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
  transition: transform 0.2s;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item.open .faq-q {
  color: var(--amber);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: 20px;
  line-height: 1.65;
}

/* =============================================
   LEAD FORM
   ============================================= */

.lead-form-section {
  background: var(--ink);
  color: var(--white);
}

.lead-form-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: center;
}

.lead-form-text h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.lead-form-text p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--ink);
}

.form-card h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--parchment);
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--amber);
}

.form-consent {
  margin: 16px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--amber);
}

.form-consent p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.form-consent a {
  color: var(--amber);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--amber);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.form-submit:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

/* =============================================
   FINAL CTA
   ============================================= */

.final-cta {
  background: var(--amber-pale);
  text-align: center;
  padding: 72px 0;
}

.final-cta h2 {
  max-width: 640px;
  margin: 0 auto 20px;
}

.final-cta p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--ink-soft);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--amber-light);
}

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

.footer-legal-links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}

.footer-legal-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-requisites {
  line-height: 1.7;
}

/* =============================================
   COOKIE BANNER
   ============================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--white);
  padding: 16px 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(110%);
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--amber-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--amber);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
}

.cookie-accept:hover {
  background: var(--amber-light);
}

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}

.cookie-decline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

/* =============================================
   INNER PAGES (privacy, terms, cookie, success)
   ============================================= */

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 60px 0 48px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.page-hero p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.legal-content {
  padding: 56px 0 80px;
}

.legal-content .container {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

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

.legal-content p,
.legal-content li {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--amber);
  text-decoration: underline;
}

/* Success page */

.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.success-icon::after {
  content: '';
  width: 20px;
  height: 36px;
  border: 4px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-3px, -4px);
}

.success-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.success-page p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-img {
    display: none;
  }

  .benefits-inner,
  .outcomes-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .author-inner {
    grid-template-columns: 1fr;
  }

  .author-photo {
    max-width: 240px;
  }

  .lead-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-step {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .for-whom-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-facts {
    gap: 20px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile nav open state */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--parchment);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}
