/* ============================================================
   Эдельвейс — Digital agency landing
   Design tokens
   ============================================================ */
:root {
  --brand: #10b981;
  --brand-600: #0ea472;
  --brand-700: #0b7a5b;
  --brand-glow: rgba(16, 185, 129, 0.35);
  --gold: #fbbf24;

  --ink: #0c1424;
  --ink-2: #26324a;
  --muted: #5b6675;
  --line: #e6eaf0;
  --line-soft: #eef1f6;

  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-dark: #0b1220;
  --bg-dark-2: #0f1830;

  --warn: #ef6a5a;
  --warn-soft: #fef2f0;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 3px rgba(12, 20, 36, 0.06), 0 6px 20px rgba(12, 20, 36, 0.05);
  --shadow-md: 0 10px 30px rgba(12, 20, 36, 0.10);
  --shadow-lg: 0 30px 60px -20px rgba(12, 20, 36, 0.35);

  --maxw: 1180px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 18px 34px; font-size: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -8px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px var(--brand-glow); }

.btn-outline {
  background: transparent;
  color: var(--brand-700);
  box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.35);
}
.btn-outline:hover { background: rgba(16, 185, 129, 0.08); transform: translateY(-2px); }

.btn-ghost {
  background: var(--bg-soft);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: #eef2f7; }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn-cta { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(12, 20, 36, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; fill: var(--brand); filter: drop-shadow(0 4px 8px var(--brand-glow)); }
.brand-mark .brand-core { fill: var(--gold); }
.brand-name { color: var(--ink); }
.brand-dot { color: var(--brand); }

.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.header-phone:hover { color: var(--brand-700); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(16, 185, 129, 0.10), transparent 55%),
    radial-gradient(900px 500px at 95% 0%, rgba(59, 130, 246, 0.08), transparent 50%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -140px; top: -120px;
  background: radial-gradient(circle, var(--brand-glow), transparent 68%);
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 185, 129, 0.10);
  color: var(--brand-700);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(16,185,129,0.2); }

.hero-title { font-size: clamp(30px, 4.4vw, 52px); color: var(--ink); margin-bottom: 22px; }
.hero-title .accent { color: var(--brand-700); position: relative; white-space: nowrap; }
.hero-title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(16, 185, 129, 0.18); border-radius: 4px; z-index: -1;
}

.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero-sub strong { color: var(--ink); }

.hero-bullets { display: grid; gap: 12px; margin-bottom: 30px; }
.hero-bullets li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: 16px; }
.hero-bullets li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.14); color: var(--brand-700);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.trust-num { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--brand-700); line-height: 1; }
.trust-label { font-size: 12.5px; color: var(--muted); line-height: 1.25; }

/* Quiz card */
.quiz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.quiz-head { margin-bottom: 18px; }
.quiz-title { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.quiz-lead { font-size: 14.5px; color: var(--muted); }

.quiz-progress { height: 6px; background: var(--line-soft); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.quiz-progress-bar { height: 100%; width: 20%; background: linear-gradient(90deg, var(--brand), var(--brand-700)); border-radius: 999px; transition: width 0.35s ease; }
.quiz-step-count { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }

.quiz-step { display: none; animation: fade 0.3s ease; }
.quiz-step.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.quiz-q { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin-bottom: 14px; }

.field {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field::placeholder { color: #9aa5b4; }
.field:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(16,185,129,0.12); }
.field.invalid { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(239,106,90,0.12); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.chip:hover { border-color: rgba(16,185,129,0.5); }
.chip.selected { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 14px -6px var(--brand-glow); }

.quiz-nav { display: flex; gap: 10px; margin-top: 22px; }
.quiz-nav .btn-primary { flex: 1; }
.quiz-nav .btn-cta { flex: 1; }

.quiz-consent { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.quiz-consent input { width: 18px; height: 18px; accent-color: var(--brand); }

.quiz-micro { font-size: 12.5px; color: #98a2b1; margin-top: 16px; text-align: center; }

.quiz-success { text-align: center; padding: 20px 8px; animation: fade 0.4s ease; }
.success-icon {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%; background: rgba(16, 185, 129, 0.14);
  color: var(--brand-700); font-size: 32px; font-weight: 800;
  display: grid; place-items: center;
}
.quiz-success h3 { font-size: 22px; margin-bottom: 10px; }
.quiz-success p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

/* ============================================================
   Strip
   ============================================================ */
.strip { background: var(--bg-dark); color: #fff; padding: 20px 0; }
.strip-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.strip-label { color: #93a0b5; font-size: 14px; font-weight: 600; }
.strip-channels { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.strip-channels span { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #dbe3ee; opacity: 0.9; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%); color: #fff; }

.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-title { font-size: clamp(24px, 3vw, 36px); color: var(--ink); margin-bottom: 16px; }
.section-dark .section-title { color: #fff; }
.section-lead { color: var(--muted); font-size: 17px; }
.section-dark .section-lead { color: #a9b6c9; }
.formula { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 18px; letter-spacing: 0.01em; }

.tag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-700); background: rgba(16, 185, 129, 0.10);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.tag-warn { color: var(--warn); background: var(--warn-soft); }
.tag-light { color: #8ff0cf; background: rgba(16, 185, 129, 0.14); }

.section-cta { text-align: center; margin-top: 44px; }

/* Cards grid */
.cards-grid { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* Loss cards */
.loss-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.loss-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(var(--warn), #f4a08f); opacity: 0.85; }
.loss-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.loss-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--warn); margin-bottom: 14px; }
.loss-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.loss-card p { color: var(--muted); font-size: 15px; }

/* Segment cards */
.seg-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.seg-ic { font-size: 30px; margin-bottom: 16px; }
.seg-card h3 { font-size: 18px; margin-bottom: 8px; }
.seg-card p { color: var(--muted); font-size: 15px; }
.seg-card-cta { background: linear-gradient(150deg, #ffffff, #f2fbf7); border-color: rgba(16,185,129,0.25); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.seg-card-cta .btn { margin-top: 14px; }

/* Check table */
.check-table {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); max-width: 940px; margin: 0 auto;
}
.check-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; padding: 18px 28px; border-bottom: 1px solid var(--line-soft); align-items: center; transition: background 0.15s ease; }
.check-row:last-child { border-bottom: none; }
.check-row:not(.check-row-head):hover { background: var(--bg-soft); }
.check-row span:first-child { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; }
.check-row span:last-child { color: var(--muted); font-size: 15.5px; }
.check-row-head { background: var(--bg-dark); }
.check-row-head span { color: #fff !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

/* Result cards (dark) */
.result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.result-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.06); }
.result-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px;
  display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: 0 8px 18px -8px var(--brand-glow);
}
.result-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.result-card p { color: #a9b6c9; font-size: 15px; }
.result-card-accent { background: linear-gradient(150deg, rgba(16,185,129,0.16), rgba(16,185,129,0.04)); border-color: rgba(16,185,129,0.4); display: flex; flex-direction: column; justify-content: center; }
.result-card-accent .btn { margin-top: 16px; align-self: flex-start; }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.ba-col { border-radius: var(--radius-lg); padding: 30px; }
.ba-before { background: var(--warn-soft); border: 1px solid #f7d9d3; }
.ba-after { background: #f2fbf7; border: 1px solid #cdeee0; }
.ba-col-head { margin-bottom: 18px; }
.ba-label { font-family: var(--font-head); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 16px; border-radius: 999px; }
.ba-label-before { background: var(--warn); color: #fff; }
.ba-label-after { background: var(--brand); color: #fff; }
.ba-col ul { display: grid; gap: 14px; }
.ba-col li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-2); }
.ba-before li::before { content: "✕"; position: absolute; left: 0; color: var(--warn); font-weight: 800; }
.ba-after li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-700); font-weight: 800; }
.ba-arrow { align-self: center; font-size: 34px; color: var(--brand); font-weight: 700; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: tl; position: relative; }
.tl-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.tl-item::before {
  content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-700)); border-radius: 0 0 4px 4px;
}
.tl-day { font-family: var(--font-head); font-weight: 800; color: var(--brand-700); font-size: 17px; margin-bottom: 10px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* Technology */
.tech-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-n { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: rgba(16,185,129,0.22); line-height: 1; }
.tech-step h3 { font-size: 18px; margin: 10px 0 8px; }
.tech-step p { color: var(--muted); font-size: 15px; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius); padding: 28px 26px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.adv-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); border-color: rgba(16,185,129,0.35); }
.adv-ic { font-size: 30px; margin-bottom: 14px; }
.adv-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.adv-card p { color: #a9b6c9; font-size: 15px; }

/* Security */
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--brand);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-card h3 { font-size: 17px; margin-bottom: 8px; }
.trust-card p { color: var(--muted); font-size: 15px; }

/* Presence */
.presence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.presence-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.presence-item:hover { transform: translateY(-3px); border-color: rgba(16,185,129,0.4); }
.presence-item strong { font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.presence-item span { color: var(--muted); font-size: 14px; }

/* Calculator */
.calc {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg); padding: 32px; max-width: 1000px; margin: 0 auto;
}
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-field { display: flex; flex-direction: column; gap: 7px; }
.calc-field label { font-size: 13.5px; color: #a9b6c9; font-weight: 600; }
.calc-field input {
  border: 1.5px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm); padding: 12px 14px; color: #fff; font-size: 16px; font-family: var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.calc-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }

.calc-result {
  background: linear-gradient(160deg, rgba(16,185,129,0.14), rgba(16,185,129,0.03));
  border: 1px solid rgba(16,185,129,0.3); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.calc-metric { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.calc-metric-label { color: #a9b6c9; font-size: 14px; }
.calc-metric-val { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; }
.calc-metric-hl .calc-metric-val { color: #8ff0cf; }
.calc-metric-money { border-bottom: none; }
.calc-metric-money .calc-metric-val { font-size: 26px; color: var(--gold); }
.calc-note { font-size: 12.5px; color: #93a0b5; }
.calc-result .btn { margin-top: 4px; }

/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pkg-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pkg-card-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.pkg-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em;
  padding: 6px 18px; border-radius: 999px; box-shadow: 0 8px 18px -8px var(--brand-glow);
}
.pkg-head { margin-bottom: 20px; }
.pkg-head h3 { font-size: 22px; margin-bottom: 6px; }
.pkg-sub { color: var(--muted); font-size: 14.5px; }
.pkg-list { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.pkg-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.pkg-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand-700); font-weight: 800;
}
.pkg-card .btn { width: 100%; }

/* Ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.ladder-step {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px;
  position: relative;
}
.ladder-step span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-700); font-weight: 700; margin-bottom: 6px; }
.ladder-step:nth-child(1) { background: #fff; }
.ladder-step:nth-child(4) { background: linear-gradient(150deg, rgba(16,185,129,0.12), rgba(16,185,129,0.03)); border-color: rgba(16,185,129,0.3); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--brand-700); border-radius: 2px; transition: transform 0.25s ease; }
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }

/* Final CTA */
.final-cta {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(16,185,129,0.18), transparent 60%),
    linear-gradient(150deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #fff; padding: 90px 0;
}
.final-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.final-inner h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.final-inner p { color: #a9b6c9; font-size: 18px; margin-bottom: 32px; }
.final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.final-micro { font-size: 13.5px; color: #8593a8; }

/* Footer */
.site-footer { background: #070c16; color: #b7c2d4; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14.5px; color: #8593a8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #a9b6c9; font-size: 14.5px; padding: 5px 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--brand); }
.footer-cta p { font-size: 14px; margin-bottom: 14px; color: #8593a8; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: #6b7890; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .quiz-card { max-width: 520px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-steps, .adv-grid, .presence-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }

  .nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 12px 14px; font-size: 16px; }

  .section { padding: 60px 0; }
  .hero { padding: 44px 0 54px; }
  .section-head { margin-bottom: 34px; }

  .cards-4, .cards-3, .tech-steps, .adv-grid, .presence-grid, .timeline, .ladder, .calc-inputs { grid-template-columns: 1fr; }

  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }

  .check-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .check-row-head { display: none; }
  .check-row span:first-child { font-size: 15px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .hero-trust { gap: 10px; }
  .trust-item { padding: 10px 12px; flex: 1; min-width: 0; }
  .trust-num { font-size: 22px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .quiz-card { padding: 22px 18px; }
  .btn-lg { padding: 15px 22px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   2026 refresh — AI-first product layer
   ============================================================ */
:root {
  --brand-soft: #eafaf4;
  --cyan: #38bdf8;
  --violet: #8b5cf6;
}

body::selection { background: rgba(16,185,129,.2); }

.site-header {
  background: rgba(255,255,255,.82);
  border-bottom-color: rgba(230,234,240,.72);
}

.hero {
  background:
    radial-gradient(900px 520px at 8% -4%, rgba(16,185,129,.15), transparent 58%),
    radial-gradient(760px 520px at 94% 8%, rgba(56,189,248,.10), transparent 55%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7fb 100%);
  padding-top: 76px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(12,20,36,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(12,20,36,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.hero-grid { gap: 64px; }
.hero-copy, .quiz-card { z-index: 1; }
.hero-title { max-width: 720px; font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.045em; }
.hero-title .accent { white-space: normal; }
.hero-sub { max-width: 650px; }

.hero-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 630px;
  margin: -4px 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(16,185,129,.18);
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.hero-promise-badge {
  flex: 0 0 auto;
  color: var(--brand-700);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .035em;
  text-transform: uppercase;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.quiz-card {
  border-color: rgba(16,185,129,.18);
  box-shadow: 0 34px 80px -34px rgba(11,18,32,.42), 0 1px 0 rgba(255,255,255,.75) inset;
  padding: 30px;
  overflow: hidden;
}
.quiz-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: -130px;
  right: -100px;
  background: radial-gradient(circle, rgba(16,185,129,.26), transparent 68%);
}
.quiz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-700);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(16,185,129,.12);
}
.quiz-title { font-size: 25px; letter-spacing: -.035em; }
.quiz-progress { height: 7px; }
.field, .chip { background: #f8fafc; }

.audit-processing, .audit-report { position: relative; z-index: 1; }
.audit-processing { text-align: center; padding: 10px 0 2px; }
.audit-processing h3 { font-size: 23px; margin: 14px 0 8px; }
.audit-processing > p { color: var(--muted); font-size: 14px; max-width: 410px; margin: 0 auto 22px; }
.processing-orb {
  width: 74px;
  height: 74px;
  margin: 2px auto 0;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(16,185,129,.13), rgba(56,189,248,.08));
  border: 1px solid rgba(16,185,129,.18);
  transform: rotate(8deg);
}
.processing-orb span {
  width: 25px;
  height: 25px;
  border: 3px solid rgba(16,185,129,.22);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: aiSpin .8s linear infinite;
}
@keyframes aiSpin { to { transform: rotate(360deg); } }
.processing-list { display: grid; gap: 8px; text-align: left; }
.processing-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 12px;
  color: #7b8798;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
}
.processing-item > span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
}
.processing-item.active { color: var(--ink); border-color: rgba(16,185,129,.28); background: #fff; }
.processing-item.active > span { border-color: rgba(16,185,129,.25); border-top-color: var(--brand); animation: aiSpin .7s linear infinite; }
.processing-item.done { color: var(--ink-2); }
.processing-item.done > span { border-color: var(--brand); background: var(--brand); position: relative; }
.processing-item.done > span::after { content: "✓"; position: absolute; inset: -3px 0 0 2px; color: #fff; font-size: 12px; font-weight: 900; }

.audit-report { animation: fade .35s ease; }
.report-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.report-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--muted); margin-bottom: 4px; }
.report-score { display: block; font-family: var(--font-head); font-size: 38px; line-height: 1; color: var(--ink); letter-spacing: -.04em; }
.report-risk { font-family: var(--font-head); font-weight: 800; font-size: 12px; padding: 7px 11px; border-radius: 999px; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.report-risk[data-level="medium"] { background: #fffbeb; color: #a16207; border-color: #fde68a; }
.report-risk[data-level="low"] { background: var(--brand-soft); color: var(--brand-700); border-color: rgba(16,185,129,.25); }
.report-notice { padding: 11px 13px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.report-priorities { display: grid; gap: 9px; }
.report-priority { display: grid; grid-template-columns: 32px 1fr; gap: 11px; align-items: start; padding: 12px; border-radius: 13px; border: 1px solid var(--line-soft); background: #fff; }
.report-priority > span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--brand-700); background: var(--brand-soft); font-family: var(--font-head); font-weight: 800; font-size: 11px; }
.report-priority strong { display: block; font-family: var(--font-head); font-size: 14px; margin-bottom: 3px; }
.report-priority p { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.report-actions { display: flex; gap: 9px; margin-top: 16px; }
.report-actions .btn { padding: 12px 15px; font-size: 13.5px; }
.report-saved { color: #7b8798; font-size: 11.5px; margin-top: 11px; line-height: 1.45; }

/* AI automation block */
.automation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.automation-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 25px 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.automation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(16,185,129,.3); }
.automation-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--brand-700); background: linear-gradient(145deg, var(--brand-soft), #fff); border: 1px solid rgba(16,185,129,.18); font-size: 20px; margin-bottom: 20px; }
.automation-card h3 { font-size: 18px; margin-bottom: 9px; }
.automation-card p { color: var(--muted); font-size: 14.5px; }
.automation-price { margin-top: auto; padding-top: 20px; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--brand-700); }
.automation-callout {
  margin-top: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(16,185,129,.22);
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(56,189,248,.04));
  border-radius: var(--radius);
  color: var(--ink-2);
}
.automation-callout strong { color: var(--ink); }

/* Packages refresh */
.pkg-grid { align-items: stretch; }
.pkg-card { display: flex; flex-direction: column; }
.pkg-card .btn { margin-top: auto; }
.pkg-name-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pkg-time { flex: 0 0 auto; font-size: 11px; font-family: var(--font-head); font-weight: 800; color: var(--brand-700); background: var(--brand-soft); border-radius: 999px; padding: 5px 8px; }
.pkg-price { display: flex; align-items: baseline; gap: 9px; padding: 18px 0 4px; }
.pkg-price strong { font-family: var(--font-head); font-size: 31px; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.pkg-price span { color: var(--muted); font-size: 12px; }
.pkg-card-featured .pkg-price strong { color: var(--brand-700); }
.upsell-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 25px 28px;
  border-radius: var(--radius-lg);
  background: #0d1627;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.upsell-strip > div { max-width: 760px; }
.upsell-strip strong { display: block; font-family: var(--font-head); font-size: 20px; margin: 4px 0 5px; }
.upsell-strip p { color: #9eabc0; font-size: 14px; }
.tag-inline { margin: 0 0 4px; color: #8ff0cf; background: rgba(16,185,129,.12); }
.upsell-strip .btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.upsell-strip .btn-ghost:hover { background: rgba(255,255,255,.14); }

.final-cta { position: relative; overflow: hidden; }
.final-cta::after { content: "AI + strategy + implementation"; position: absolute; left: 50%; bottom: -23px; transform: translateX(-50%); font-family: var(--font-head); font-size: clamp(46px, 8vw, 110px); font-weight: 800; white-space: nowrap; color: rgba(255,255,255,.025); pointer-events: none; }
.final-inner { position: relative; z-index: 1; }

@media (max-width: 1180px) {
  .header-phone { display: none; }
  .automation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hero { padding-top: 46px; }
  .hero-title { font-size: clamp(32px, 10.2vw, 45px); }
  .hero-promise { align-items: flex-start; flex-direction: column; }
  .quiz-card { padding: 24px 20px; }
  .report-top { align-items: flex-start; flex-direction: column; }
  .report-actions { flex-direction: column; }
  .automation-grid { grid-template-columns: 1fr; }
  .automation-card { min-height: 0; }
  .automation-callout, .upsell-strip { flex-direction: column; align-items: flex-start; }
  .automation-callout .btn, .upsell-strip .btn { width: 100%; }
  .pkg-name-row { flex-direction: column; }
}

/* Mobile overflow hardening */
.hero-copy, .quiz-card, .hero-grid > * { min-width: 0; }
.eyebrow { max-width: 100%; line-height: 1.35; white-space: normal; }
@media (max-width: 760px) {
  .eyebrow { display: inline-flex; flex-wrap: wrap; padding: 7px 11px; font-size: 12px; }
  .hero-copy { width: 100%; overflow-wrap: anywhere; }
  .hero-title { overflow-wrap: normal; word-break: normal; }
}

.calc > *, .calc-inputs, .calc-field, .calc-result { min-width: 0; }
.calc-field input { width: 100%; min-width: 0; }
@media (max-width: 760px) {
  .calc { padding: 20px 16px; gap: 18px; }
  .calc-result { padding: 18px 16px; }
  .calc-metric { gap: 12px; }
  .calc-metric-label { min-width: 0; }
  .calc-metric-val { flex: 0 0 auto; }
  .final-cta::after { display: none; }
  .hero-glow { width: 360px; height: 360px; right: -180px; }
}
