/* ================================================================
   Доступно — landing
   B2C real estate, honest & transparent
   Onest typography, navy ink, tweakable accent
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Palette — light, airy */
  --bg:            #F4F6FB;
  --bg-elev:       #FFFFFF;
  --bg-soft:       #EEF2F9;
  --ink:           #0B1F3A;
  --ink-2:         #1B2B47;
  --ink-soft:      #3C4A66;
  --muted:         #6B7897;
  --line:          #E2E7F1;
  --line-2:        #D5DCEC;

  /* Accent — default: green (разрешение, «ок») — tweakable */
  --accent:        #1A8F5B;
  --accent-2:      #0F6E44;
  --accent-soft:   #D7F0E3;
  --accent-ink:    #0A4A2D;

  /* Semantic */
  --good:          #1A8F5B;
  --good-soft:     #D7F0E3;
  --bad:           #D13838;
  --bad-soft:      #FADADA;
  --warn:          #C77A00;
  --warn-soft:     #FCE9C7;
  --violet:        #6B4DE0;
  --teal:          #0F9AA8;
  --pink:          #D74DA0;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 0 rgba(11,31,58,.03);
  --shadow-md: 0 6px 20px -8px rgba(11, 31, 58, .14), 0 2px 6px -2px rgba(11,31,58,.06);
  --shadow-lg: 0 30px 60px -24px rgba(11, 31, 58, .22), 0 10px 24px -12px rgba(11,31,58,.10);

  --container: 1240px;
}

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

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

::selection { background: var(--accent); color: white; }

h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- NAV ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 251, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226, 231, 241, 0.7);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink);
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 13px;
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 50%, transparent 50%);
}
.logo-mark span { position: relative; z-index: 1; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -6px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: white; border-color: var(--ink); }
.btn-xl { padding: 18px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }

/* ---------------- SECTIONS ---------------- */
section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }
section.pad-lg { padding: 128px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
}

.section-head { max-width: 840px; margin-bottom: 56px; }
.section-head .kicker { margin-bottom: 16px; }
.section-head p { margin-top: 18px; font-size: 19px; max-width: 680px; }

/* ---------------- HERO ---------------- */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy h1 { margin-top: 24px; }
.hero-copy .lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
}
.hero-cta {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 36px;
  display: flex; gap: 28px;
  color: var(--muted); font-size: 14px;
}
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta .check {
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--good-soft); color: var(--good);
  display: grid; place-items: center; font-size: 10px; font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}
.hero-visual-inner {
  position: relative;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
}

/* ---------------- DASHBOARD MOCKS ---------------- */
.dash {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #FCFDFF 0%, #F7F9FD 100%);
}
.dash-head-left {
  display: flex; align-items: center; gap: 12px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 999px; background: #D5DCEC; display: block; }
.dash-dots i:nth-child(1) { background: #FF6B6B; }
.dash-dots i:nth-child(2) { background: #FFC048; }
.dash-dots i:nth-child(3) { background: #2ECC71; }
.dash-title { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dash-pill {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-soft);
}
.dash-body { padding: 20px 22px; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
  border: 1px solid transparent;
}
.kpi.lift { background: white; border-color: var(--line); }
.kpi-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi-value { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 4px; }
.kpi-value.sm { font-size: 20px; }
.kpi-delta { font-size: 12px; font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 3px; }
.kpi-delta.up { color: var(--good); }
.kpi-delta.down { color: var(--bad); }

/* Funnel table */
.funnel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.funnel-table th {
  text-align: left; font-weight: 600; color: var(--muted);
  padding: 10px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}
.funnel-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.funnel-table tr:last-child td { border-bottom: none; }
.ch-badge {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
}
.ch-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.bar-cell {
  display: flex; align-items: center; gap: 10px;
}
.bar-track {
  flex: 1; height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden;
  min-width: 60px;
}
.bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }

.payback-good { color: var(--good); font-weight: 700; }
.payback-bad { color: var(--bad); font-weight: 700; }
.payback-warn { color: var(--warn); font-weight: 700; }

/* ---------------- LOGOS STRIP ---------------- */
.strip {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.strip-label {
  text-align: center; font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.strip-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px;
  align-items: center;
}
.strip-logo {
  height: 36px; display: grid; place-items: center;
  color: var(--muted); opacity: .65;
  font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
  border-radius: 8px;
}

/* ---------------- Benefits grid ---------------- */
.benefits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.benefit-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.benefit-card h3 { margin-bottom: 10px; }

/* ---------------- Aha row ---------------- */
.aha-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 40px;
}
.aha-card {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.aha-card.alt { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); }
.aha-card h3 { color: white; font-size: 24px; margin-bottom: 12px; letter-spacing: -0.02em; }
.aha-card p { color: rgba(255,255,255,.8); font-size: 16px; }
.aha-card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.aha-bg {
  position: absolute; right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  opacity: .14;
}

/* ---------------- Recognize ---------------- */
.recognize {
  background: white;
  border-radius: var(--r-2xl);
  padding: 64px;
  border: 1px solid var(--line);
}
.recognize-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 40px;
}
.recognize h3 { margin-bottom: 20px; }
.list-check, .list-x {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.list-check li, .list-x li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--ink-2); font-size: 16px; line-height: 1.5;
}
.list-check li::before,
.list-x li::before {
  content: ''; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center;
  margin-top: 2px;
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
}
.list-check li::before {
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2.5 6.2l2.4 2.3L9.5 3.8' stroke='%231A8F5B' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.list-x li::before {
  background-color: #FCE5E5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3.5 3.5l5 5M8.5 3.5l-5 5' stroke='%23D13838' stroke-width='1.8' fill='none' stroke-linecap='round'/></svg>");
}

.pain-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.pain-list li {
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border-left: 3px solid var(--bad);
  font-size: 15px; color: var(--ink-2);
}

/* ---------------- Steps ---------------- */
.steps {
  display: grid; gap: 20px;
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr 1fr;
  gap: 40px;
  padding: 36px 40px;
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  align-items: start;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.step:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.step-num {
  font-size: 56px; line-height: 1; font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.step-num sup {
  font-size: 16px; font-weight: 600; vertical-align: top;
  color: var(--muted);
  margin-left: 2px;
}
.step h3 { margin-bottom: 12px; }
.step .gives {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.5;
}
.step .gives b { font-weight: 700; display: block; margin-bottom: 2px; }

/* ---------------- Point B ---------------- */
.pointb {
  background: linear-gradient(180deg, #0B1F3A 0%, #0E264A 100%);
  color: white;
  border-radius: var(--r-2xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.pointb h2, .pointb h3 { color: white; }
.pointb p { color: rgba(255,255,255,.72); }
.pointb .section-head p { color: rgba(255,255,255,.76); font-size: 19px; }
.pointb .eyebrow {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.pointb .eyebrow .dot { background: #7FE4B6; }
.pointb-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 24px;
}
.pointb-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.pointb-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255,255,255,.88); font-size: 16px;
}
.pointb-list li::before {
  content: ''; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 999px;
  margin-top: 2px;
  background: rgba(26,143,91,.28);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2.5 6.2l2.4 2.3L9.5 3.8' stroke='%23A7F0CA' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
}

.pointb-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 28px;
}
.pointb-card h3 { margin-bottom: 16px; font-size: 20px; }

.pointb-visuals {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 48px;
}
.pointb-visual {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 24px;
  min-height: 220px;
}
.pointb-visual .hd { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 16px; }

/* ---------------- Objections ---------------- */
.obj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 40px;
}
.obj-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.obj-card .q {
  font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em;
  line-height: 1.35; margin-bottom: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.obj-card .q::before {
  content: '«'; font-size: 40px; line-height: 0.7; color: var(--accent);
  font-weight: 700; flex: 0 0 auto;
}

/* ---------------- Why us ---------------- */
.why {
  display: grid; gap: 16px;
}
.why-row {
  display: grid;
  grid-template-columns: 44px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.why-row:last-child { border-bottom: 1px solid var(--line); }
.why-num {
  font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.why-left h3 { margin-bottom: 8px; }
.why-left p { font-size: 15px; }
.why-right {
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 20px 24px;
  border-radius: var(--r-md);
  font-size: 15px;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
}
.why-right b { font-weight: 700; }

/* ---------------- Final ---------------- */
.final-card {
  background: white;
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  padding: 64px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center;
}
.final-card h2 { letter-spacing: -0.03em; }
.final-card .lead { font-size: 18px; margin-top: 20px; }
.final-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.final-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 16px; color: var(--ink-2);
}
.final-list li::before {
  content: '→'; color: var(--accent); font-weight: 700; flex: 0 0 auto;
}

/* ---------------- CTA ---------------- */
.cta {
  background: var(--ink);
  color: white;
  border-radius: var(--r-2xl);
  padding: 80px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 40%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent) 25%, transparent) 0%, transparent 45%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 780px; }
.cta h2 { color: white; font-size: 48px; letter-spacing: -0.03em; }
.cta p { color: rgba(255,255,255,.78); font-size: 19px; margin-top: 20px; }
.cta .btn {
  margin-top: 36px;
  background: white; color: var(--ink);
  font-size: 16px;
  padding: 18px 28px;
}
.cta .btn:hover { background: #F2F5FB; }

/* ---------------- Footer ---------------- */
.footer {
  padding: 48px 0 64px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px;
}

/* ---------------- Tweaks panel ---------------- */
.tweaks-panel {
  position: fixed; right: 24px; bottom: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 280px;
  z-index: 100;
  font-size: 14px;
}
.tweaks-panel h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 700;
  margin-bottom: 14px;
}
.tweak-group { margin-bottom: 18px; }
.tweak-group:last-child { margin-bottom: 0; }
.tweak-label { font-size: 13px; color: var(--ink-soft); font-weight: 500; margin-bottom: 8px; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 30px; height: 30px; border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease;
  position: relative;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active { border-color: var(--ink); }
.swatch.active::after {
  content: '✓'; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: white; font-size: 14px; font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.variant-row { display: flex; gap: 8px; }
.variant-btn {
  flex: 1; padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: white; color: var(--ink-soft);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.variant-btn.active { background: var(--ink); color: white; border-color: var(--ink); }

.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------------- Quiz ---------------- */
.quiz-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 48px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.quiz-progress {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.quiz-progress-bar {
  flex: 1; height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; background: var(--accent); border-radius: 999px;
  transition: width .35s cubic-bezier(.22, .61, .36, 1);
}
.quiz-progress-label {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.quiz-question {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.quiz-hint {
  font-size: 15px; color: var(--muted);
  margin-bottom: 28px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.quiz-options.one-col { grid-template-columns: 1fr; }
.quiz-options.three-col { grid-template-columns: repeat(3, 1fr); }

.quiz-option {
  display: flex; align-items: flex-start; gap: 14px;
  text-align: left;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease, box-shadow .2s ease;
  position: relative;
}
.quiz-option:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 50%, white);
}
.quiz-option:active { transform: scale(.99); }
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.quiz-option .opt-ico {
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.quiz-option.selected .opt-ico {
  background: var(--accent); color: white;
}
.quiz-option .opt-text { flex: 1; min-width: 0; }
.quiz-option .opt-title { font-weight: 600; line-height: 1.3; }
.quiz-option .opt-note {
  display: block; font-size: 13px; color: var(--muted); font-weight: 500;
  margin-top: 4px; line-height: 1.45;
}
.quiz-option.selected .opt-note { color: var(--accent-ink); }
.quiz-option .opt-check {
  width: 22px; height: 22px; flex: 0 0 auto;
  border-radius: 999px;
  border: 2px solid var(--line-2);
  display: grid; place-items: center;
  margin-top: 2px;
  transition: all .15s ease;
}
.quiz-option.selected .opt-check {
  background: var(--accent); border-color: var(--accent);
}
.quiz-option.selected .opt-check::after {
  content: ''; width: 10px; height: 6px;
  border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}

.quiz-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quiz-nav .quiz-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none; padding: 8px 4px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  cursor: pointer;
}
.quiz-nav .quiz-back:hover { color: var(--ink); }
.quiz-nav .quiz-back.hidden { visibility: hidden; }

.quiz-summary {
  padding: 20px 22px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.quiz-summary-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; color: var(--muted); margin-bottom: 10px;
}
.quiz-summary dl {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px;
  font-size: 14px;
}
.quiz-summary dt { color: var(--ink-soft); font-weight: 500; }
.quiz-summary dd { margin: 0; color: var(--ink); font-weight: 600; }

.quiz-success {
  text-align: center;
  padding: 40px 24px 20px;
}
.quiz-success-ico {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 24px;
}
.quiz-success h3 {
  font-size: 28px; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.quiz-success p {
  font-size: 17px; color: var(--ink-soft); line-height: 1.55;
  max-width: 520px; margin: 0 auto 24px;
}

/* ---------------- Contact form ---------------- */
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.form-card .section-head { margin-bottom: 0; }
.form-card .section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.form-intro-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 15px; color: var(--ink-2);
}
.form-intro-list li { display: flex; gap: 10px; align-items: flex-start; }
.form-intro-list li::before {
  content: '✓'; color: var(--accent); font-weight: 800; flex: 0 0 auto;
}

.form {
  display: flex; flex-direction: column; gap: 18px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
  transition: border-color .15s ease, background .15s ease, box-shadow .2s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:hover, .form-select:hover, .form-textarea:hover { background: #E7ECF6; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%236B7897' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}

.form-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px;
  accent-color: var(--accent); cursor: pointer;
}
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.form-submit-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 4px;
}
.form-hint { font-size: 13px; color: var(--muted); }

.form-success {
  padding: 20px 22px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: var(--r-md);
  color: var(--accent-ink);
  font-size: 15px; line-height: 1.5;
}
.form-success b { display: block; margin-bottom: 4px; font-weight: 700; }

/* ---------------- Static pages (contacts / legal) ---------------- */
.breadcrumbs {
  padding: 20px 0 0;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.breadcrumbs li + li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--line-2);
  border-top: 1.5px solid var(--line-2);
  transform: rotate(45deg);
  display: inline-block;
  margin-right: 4px;
}
.breadcrumbs a {
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color .15s ease;
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs li[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-hero {
  padding: 32px 0 48px;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(36px, 4.2vw, 56px); }
.page-hero .lead {
  max-width: 720px; margin-top: 20px;
  font-size: 19px; color: var(--ink-soft);
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 96px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
}
.legal h2 {
  font-size: 26px; margin-top: 48px; margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.legal h2:first-of-type { margin-top: 24px; }
.legal h3 { font-size: 19px; margin-top: 28px; margin-bottom: 10px; }
.legal p { margin-bottom: 14px; color: var(--ink-2); }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .muted { color: var(--muted); font-size: 14px; }
.legal .note {
  padding: 16px 20px; border-radius: var(--r-md);
  background: var(--bg-soft); border-left: 3px solid var(--accent);
  margin: 20px 0;
}

/* ---------------- 404 ---------------- */
.error-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 64px 32px 96px;
}
.error-card {
  max-width: 760px;
  width: 100%;
  text-align: center;
}
.error-code {
  font-size: clamp(140px, 22vw, 260px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--accent);
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.error-card h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.error-card p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}
.error-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.error-links {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.error-link {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: left;
  transition: border-color .15s ease, transform .15s ease, box-shadow .2s ease;
}
.error-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.error-link .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 12px;
}
.error-link h3 { font-size: 15px; margin-bottom: 4px; }
.error-link p {
  font-size: 13px; color: var(--muted); margin: 0;
  line-height: 1.45;
}

.contacts-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  margin-top: 48px;
}
.contact-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.contact-card h3 { font-size: 18px; }
.contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.contact-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; flex: 0 0 auto;
}
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-size: 16px; font-weight: 500; color: var(--ink); }
.contact-value a { color: var(--ink); }
.contact-value a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual-inner { transform: none; }
  .benefits, .aha-row, .recognize-grid, .pointb-grid, .obj-grid, .final-card, .pointb-visuals { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step .gives { grid-column: 1 / -1; }
  .why-row { grid-template-columns: 44px 1fr; }
  .why-right { grid-column: 2; }
  .recognize, .cta, .final-card, .pointb { padding: 40px; }
  .nav-links { display: none; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .form-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; gap: 24px; }
  .error-links { grid-template-columns: 1fr; gap: 12px; }
  .quiz-card { padding: 28px 20px; border-radius: var(--r-xl); }
  .quiz-options, .quiz-options.three-col { grid-template-columns: 1fr; }
  .quiz-summary dl { grid-template-columns: 1fr; gap: 10px; }
  .quiz-summary dd { padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
}

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  max-width: 560px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.24);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner a { color: var(--accent-soft); }
.cookie-banner-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.cookie-banner-btn:hover { background: var(--accent-2); }
