/* ============================================================
   PAWK landing — premium B2B SaaS (blue / dark-navy)
   Inter, trust-oriented, denser conversion-focused layout.
   Mobile-first, semantic, reduced-motion aware.
   ============================================================ */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-tint: #EFF4FF;
  --blue-tint-2: #DBE6FE;

  --navy: #0F172A;
  --navy-deep: #020617;

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;

  --accent: #0A9396;
  --accent-tint: #E6F5F5;

  --border: #E2E8F0;
  --border-2: #CBD5E1;

  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --faint: #94A3B8;

  --bad: #DC2626;

  --r: 12px;
  --r-sm: 9px;
  --r-lg: 16px;

  --sh-sm: 0 1px 2px rgba(15,23,42,.05);
  --sh-md: 0 6px 20px -8px rgba(15,23,42,.12);
  --sh-lg: 0 24px 60px -24px rgba(15,23,42,.30);
  --sh-blue: 0 10px 24px -10px rgba(37,99,235,.5);

  --f: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-dis: var(--f);
  --f-mono: var(--f);

  --container: 1180px;
  --container-narrow: 800px;
  --gutter: clamp(18px, 4vw, 36px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--f);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout / spacing (denser) ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(44px, 5.5vw, 68px); }

/* ---------- Section header ---------- */
.shead { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.shead__kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.shead__title { font-size: clamp(1.6rem, 3.3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.shead__note { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.96rem; line-height: 1;
  height: 46px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--border-2); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink-soft); }
.btn--ghost:hover { color: var(--blue); }
.btn--lg { height: 52px; font-size: 1rem; padding: 0 28px; }
.btn--sm { height: 40px; font-size: 0.9rem; padding: 0 16px; }
.btn--block { width: 100%; }
.section__cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 44px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.85); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; flex: none; background: var(--blue); color: #fff; }
.brand__mark svg { width: 18px; height: 18px; }
.brand__name { font-size: 1.18rem; font-weight: 800; letter-spacing: .12em; color: var(--ink); }
.brand--invert .brand__name { color: #fff; }
.brand--invert .brand__mark { background: var(--blue); }

.nav { display: none; gap: 24px; margin-inline: auto; }
.nav a { font-weight: 500; font-size: 0.94rem; color: var(--muted); transition: color .16s var(--ease); }
.nav a:hover { color: var(--ink); }
.header__cta { display: none; gap: 8px; margin-left: auto; align-items: center; }

.nav-toggle { margin-left: auto; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-2); border-radius: var(--r-sm); }
.nav-toggle span { display: block; height: 2px; width: 18px; margin-inline: auto; background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { padding: 10px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--border); }
.mobile-menu a:not(.btn) { padding: 12px 6px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 10px; }
.mobile-menu .btn--ghost { border: 1px solid var(--border-2); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--blue); background: var(--blue-tint); border: 1px solid var(--blue-tint-2); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 76px); background: linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--border); }
.hero__inner { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(36px, 5vw, 52px); align-items: center; }
.hero__title { margin-top: 18px; font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.038em; color: var(--ink); }
.accent-text { color: var(--blue); }
.hero__subtitle { margin-top: 18px; font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.trust-line strong { color: var(--ink); font-weight: 700; }
.trust-line__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); flex: none; }

/* hero flow diagram */
.flow { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 16px; }
.flow__source { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: var(--r); padding: 18px; display: grid; gap: 4px; justify-items: start; }
.flow__source-ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(37,99,235,.25); display: grid; place-items: center; margin-bottom: 6px; }
.flow__source-ic i { font-size: 22px; color: #93B4FF; }
.flow__source-tt { font-weight: 700; font-size: 1.1rem; }
.flow__source-st { font-size: 0.82rem; color: #94A3B8; }
.flow__beam { height: 2px; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 2px; opacity: .6; }
.flow__targets { display: grid; gap: 10px; }
.flow__group { border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; background: var(--bg); }
.flow__group-tt { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.flow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.flow__chips i { font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 4px 9px; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; gap: 12px; }
.achip { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; font-size: 0.98rem; color: var(--ink-soft); box-shadow: var(--sh-sm); }
.achip i { font-size: 20px; color: var(--blue); flex: none; margin-top: 1px; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Integrations ---------- */
.integrations { background: var(--surface); }
.chan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chan-card { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); font-weight: 700; font-size: 1.02rem; color: var(--ink); transition: border-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease); }
.chan-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--sh-md); }
.chan-card--custom { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; gap: 6px; justify-content: center; background: linear-gradient(160deg, var(--blue-tint), var(--surface)); border-color: var(--blue-tint-2); }
.chan-card__tt { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.chan-card__tt i { font-size: 18px; }
.chan-card__st { font-weight: 500; font-size: 0.9rem; color: var(--muted); }
@media (min-width: 560px) { .chan-grid { grid-template-columns: repeat(3, 1fr); } .chan-card--custom { grid-column: span 3; flex-direction: row; align-items: center; gap: 14px; } }
@media (min-width: 880px) { .chan-grid { grid-template-columns: repeat(4, 1fr); } .chan-card--custom { grid-column: span 4; } }

/* ---------- Problem / Solution ---------- */
.compare { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.compare__col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--sh-sm); }
.compare__col--good { border-color: var(--blue-tint-2); box-shadow: var(--sh-md); }
.compare__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.compare__title::before { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 0.85rem; }
.compare__title--bad { color: var(--muted); }
.compare__title--bad::before { content: "✕"; background: var(--surface-2); color: var(--faint); }
.compare__title--good { color: var(--blue); }
.compare__title--good::before { content: "✓"; background: var(--blue-tint); color: var(--blue); }
.compare__list li { position: relative; padding: 11px 0 11px 28px; color: var(--ink-soft); font-size: 0.97rem; }
.compare__list li + li { border-top: 1px solid var(--border); }
.compare__list li::before { position: absolute; left: 2px; top: 12px; font-size: 0.82rem; font-weight: 700; }
.compare__list--bad li::before { content: "–"; color: var(--faint); }
.compare__list--good li::before { content: "✓"; color: var(--blue); }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }

/* ---------- How ---------- */
.steps { display: grid; gap: clamp(22px, 3vw, 32px); }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; box-shadow: var(--sh-blue); }
.step__title { font-size: 1.14rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.step__text { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Tasks / why (checklist) ---------- */
.tasks { background: var(--surface); }
.task-grid { display: grid; gap: 10px; }
.task-grid li { display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); font-size: 0.96rem; color: var(--ink-soft); }
.task-grid li i { font-size: 19px; color: var(--accent); flex: none; }
@media (min-width: 600px) { .task-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .task-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Placeholder screenshot block ---------- */
.ph-shot {
  aspect-ratio: 1200 / 800; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 2px dashed var(--border-2); border-radius: var(--r);
  background:
    repeating-linear-gradient(135deg, rgba(37,99,235,.03) 0 14px, transparent 14px 28px),
    var(--surface-2);
  color: var(--muted); text-align: center; padding: 16px;
}
.ph-shot i { font-size: 34px; color: var(--blue); opacity: .55; }
.ph-shot span { font-size: 0.9rem; font-weight: 600; }
.ph-shot--sm { aspect-ratio: 800 / 500; margin-top: auto; }
.ph-shot--sm i { font-size: 26px; }

/* ---------- Product demo ---------- */
.demo-grid { display: grid; gap: clamp(20px, 3vw, 28px); }
.demo-item { display: flex; flex-direction: column; }
.demo-item__tt { font-size: 1.06rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.demo-item figcaption { margin-top: 14px; color: var(--muted); font-size: 0.94rem; }
@media (min-width: 760px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards (benefits / generic) ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.card:hover { border-color: var(--blue-tint-2); transform: translateY(-3px); box-shadow: var(--sh-md); }
.card__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); font-size: 22px; margin-bottom: 16px; }
.card__title { font-size: 1.06rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.card__text { color: var(--muted); font-size: 0.94rem; }

/* ---------- Cases ---------- */
.case { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.case__title { font-size: 1.16rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.case__row { margin-bottom: 14px; }
.case__lbl { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 6px; margin-bottom: 6px; }
.case__lbl--p { color: var(--bad); background: #FEF2F2; }
.case__lbl--s { color: var(--blue); background: var(--blue-tint); }
.case__row p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing__panel { max-width: 720px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--sh-sm); }
.price-list { display: grid; gap: 0; }
.price-item { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--border); }
.price-item:first-child { padding-top: 2px; }
.price-item__info { display: flex; flex-direction: column; gap: 3px; }
.price-item__name { font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.price-item__desc { font-size: 0.9rem; color: var(--muted); }
.price-item__value { font-weight: 800; font-size: 1.4rem; color: var(--blue); white-space: nowrap; }
.price-item__value small { font-size: 0.72rem; font-weight: 600; color: var(--faint); }
.pricing__note { display: flex; gap: 10px; margin-top: 20px; padding: 16px; background: var(--blue-tint); border: 1px solid var(--blue-tint-2); border-radius: var(--r); color: var(--ink-soft); font-size: 0.92rem; }
.pricing__note i { font-size: 18px; color: var(--blue); flex: none; margin-top: 1px; }
.pricing .section__cta { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--muted); transition: transform .22s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--blue); }
.faq-item p { padding: 0 4px 20px; color: var(--muted); max-width: 70ch; }

/* ---------- Final CTA (navy premium) ---------- */
.final-cta {
  background: linear-gradient(165deg, var(--navy), var(--navy-deep));
  color: #CBD5E1;
  padding: 96px 0;
  overflow: visible;
}
.final-cta__inner { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(32px, 4vw, 52px); align-items: start; }
.final-cta__title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.16; color: #fff; }
.final-cta__text { margin-top: 14px; color: #94A3B8; font-size: 1.04rem; max-width: 480px; }
.final-cta__points { margin-top: 22px; display: grid; gap: 11px; }
.final-cta__points li { display: flex; align-items: center; gap: 11px; color: #E2E8F0; font-size: 0.97rem; }
.final-cta__points li i { color: var(--accent); font-size: 16px; flex: none; }

.after { margin-top: 28px; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); }
.after__tt { font-size: 0.96rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.after__list { display: grid; gap: 12px; }
.after__list li { display: flex; align-items: flex-start; gap: 12px; color: #B6C2D2; font-size: 0.92rem; line-height: 1.5; }
.after__list li span { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; margin-top: 1px; }

/* lead form */
.lead-form { background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--sh-lg); }
.lead-form__title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.lead-form__sub { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 22px; }
.field > label, .field legend { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--ink); padding: 0; }
.req { color: var(--bad); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 0.96rem; color: var(--ink); padding: 12px 14px; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: var(--surface); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover { border-color: var(--blue); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field textarea { resize: vertical; min-height: 64px; }
.field input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px #FEF2F2; }
.field--checks { border: none; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.check { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; font-size: 0.88rem; color: var(--ink-soft); transition: border-color .14s var(--ease), background .14s var(--ease); }
.check:hover { border-color: var(--border-2); }
.check input { width: 16px; height: 16px; accent-color: var(--blue); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); font-weight: 600; }
@media (min-width: 420px) { .checks { grid-template-columns: repeat(3, 1fr); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form .btn { margin-top: 6px; }
.lead-form__status { margin-top: 14px; padding: 11px 14px; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 500; }
.lead-form__status[data-state="success"] { background: var(--accent-tint); color: #0a7d80; }
.lead-form__status[data-state="error"] { background: #FEF2F2; color: var(--bad); }
.lead-form__help { margin-top: 12px; font-size: 0.82rem; color: var(--muted); text-align: center; }
.lead-form__consent { margin-top: 14px; font-size: 0.78rem; line-height: 1.5; color: var(--faint); text-align: center; }
.lead-form__consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.lead-form__consent a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94A3B8; padding-top: clamp(44px, 5vw, 64px); }
.site-footer__inner { display: grid; gap: 36px; padding-bottom: 36px; }
.site-footer__brand p { margin-top: 14px; max-width: 340px; color: #64748B; font-size: 0.94rem; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.site-footer__nav h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: .07em; color: #64748B; margin-bottom: 12px; font-weight: 700; }
.site-footer__nav a, .site-footer__nav span { display: block; padding: 4px 0; color: #CBD5E1; font-size: 0.92rem; transition: color .16s var(--ease); }
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom { padding-block: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 0.85rem; color: #64748B; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.4fr 2fr; }
  .site-footer__nav { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .hero__inner { grid-template-columns: 1.08fr .92fr; }
  .final-cta__inner { grid-template-columns: 1fr 460px; }
}
@media (max-width: 600px) {
  .final-cta { padding: 64px 0; }
}

/* ============================================================
   Конверсійні доповнення (v3): hub, social proof, time-saving,
   wide-placeholder, мульти-селект категорій
   ============================================================ */

/* ---------- Hero hub-and-spoke ---------- */
.hub { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: clamp(20px, 2.6vw, 28px); }
.hub__center { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: var(--r); padding: 18px 20px; display: grid; justify-items: center; text-align: center; gap: 3px; }
.hub__center-ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(37,99,235,.25); display: grid; place-items: center; margin-bottom: 6px; }
.hub__center-ic i { font-size: 24px; color: #93B4FF; }
.hub__center-tt { font-weight: 700; font-size: 1.14rem; }
.hub__center-st { font-size: .76rem; letter-spacing: .02em; color: #94A3B8; }
.hub__beam { width: 2px; height: 22px; margin: 4px auto 0; background: linear-gradient(180deg, var(--blue), transparent); }
.hub__caption { display: block; text-align: center; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 2px 0 12px; }
.hub__nodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hub__node { font-size: .85rem; font-weight: 600; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; transition: border-color .16s var(--ease), transform .16s var(--ease); }
.hub__node:hover { border-color: var(--blue); transform: translateY(-1px); }
.hub__node--xml { color: var(--blue); border-color: var(--blue-tint-2); background: var(--blue-tint); font-family: var(--f-mono); font-size: .8rem; }

/* ---------- Social proof ---------- */
.proof { text-align: center; }
.proof__lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 720px; margin: 0 auto 26px; }
.proof__lead strong { color: var(--ink); font-family: var(--f-dis); }
.proof__logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.logo-ph { display: grid; place-items: center; min-height: 60px; border: 1px dashed var(--border-2); border-radius: var(--r); background: var(--surface-2); color: var(--faint); font-size: .82rem; font-weight: 600; }
.proof__metrics { display: grid; grid-template-columns: 1fr; gap: 14px; }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--sh-sm); }
.metric__v { display: block; font-family: var(--f-dis); font-weight: 700; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.metric__l { display: block; margin-top: 8px; color: var(--muted); font-size: .96rem; }
.proof__note { margin-top: 18px; font-size: .85rem; color: var(--faint); }
@media (min-width: 560px) { .proof__logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .proof__logos { grid-template-columns: repeat(6, 1fr); } .proof__metrics { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Time-saving ---------- */
.tsave__grid { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.tsave__col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--sh-sm); }
.tsave__col--good { border-color: var(--blue-tint-2); box-shadow: var(--sh-md); }
.tsave__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-dis); font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.tsave__col--bad .tsave__title { color: var(--muted); }
.tsave__col--bad .tsave__title i { color: var(--faint); }
.tsave__col--good .tsave__title { color: var(--blue); }
.tsave__list li { position: relative; padding: 10px 0 10px 26px; color: var(--ink-soft); font-size: .97rem; }
.tsave__list li + li { border-top: 1px solid var(--border); }
.tsave__list li::before { position: absolute; left: 2px; top: 11px; font-size: .8rem; font-weight: 700; }
.tsave__col--bad .tsave__list li::before { content: "–"; color: var(--faint); }
.tsave__col--good .tsave__list li::before { content: "✓"; color: var(--blue); }
@media (min-width: 760px) { .tsave__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Wide placeholder ---------- */
.ph-shot--wide { aspect-ratio: 1200 / 540; margin-top: clamp(24px, 3vw, 36px); }
.how .ph-shot--wide { aspect-ratio: 1200 / 700; }

/* ---------- Multi-select (категорії) ---------- */
.ms { position: relative; }
.ms__control { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: inherit; font-size: .96rem; color: var(--ink); text-align: left; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: var(--r-sm); background: var(--surface); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.ms__control:hover { border-color: var(--blue); }
.ms[data-open] .ms__control { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.ms__label { color: var(--faint); }
.ms__label[data-filled] { color: var(--ink); font-weight: 600; }
.ms__control i { color: var(--muted); transition: transform .18s var(--ease); }
.ms[data-open] .ms__control i { transform: rotate(180deg); }
.ms__panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-sm); box-shadow: var(--sh-lg); padding: 10px; }
.ms__panel[hidden] { display: none; }
.ms__search { width: 100%; font: inherit; font-size: .92rem; padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 8px; }
.ms__search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.ms__list { max-height: 220px; overflow-y: auto; display: grid; gap: 2px; }
.ms__opt label { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; color: var(--ink-soft); }
.ms__opt label:hover { background: var(--surface-2); }
.ms__opt input { width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.ms__opt[hidden] { display: none; }
.ms__opt label:has(input:checked) { color: var(--blue); font-weight: 600; }

.field__help { margin-top: 6px; font-size: .82rem; color: var(--muted); }

/* ============================================================
   Покращення v5: групи hub, тексти, ціни, trust, анімації
   ============================================================ */

/* hub — групи каналів */
.hub__group { margin-top: 12px; }
.hub__group + .hub__group { margin-top: 12px; }
.hub__group-tt { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 7px; }
.hub__caption { margin-bottom: 10px; }

/* «Для кого» — чесний info-card (світло-синій, з маркером) */
.audience__note { display: flex; align-items: flex-start; gap: 12px; max-width: 820px; margin: clamp(22px, 3vw, 30px) auto 0; padding: 16px 20px; background: var(--blue-tint); border: 1px solid var(--blue-tint-2); border-radius: var(--r); }
.audience__note i { flex: none; font-size: 20px; color: var(--blue); margin-top: 2px; }
.audience__note p { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* кейси — рядок результату */
.case__result { margin-top: 4px; margin-bottom: 14px; font-size: .92rem; color: var(--ink-soft); }
.case__result strong { color: var(--blue); }

/* pricing — розгорнуті пояснення (короткий + додатковий абзац) */
.price-item { flex-direction: column; align-items: stretch; gap: 7px; }
.price-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.price-item__exp { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.price-item__exp--soft { color: var(--muted); font-size: .9rem; }
.pricing__fine { margin-top: 14px; font-size: .85rem; color: var(--faint); }

/* pricing — безкоштовний доступ до кабінету (акцент) */
.pricing__free { margin-top: 16px; font-size: .96rem; font-weight: 600; color: var(--ink-soft); }

/* pricing — юр. лінк (не сильніший за CTA) */
.pricing__legal { margin-top: 14px; text-align: center; font-size: .86rem; }
.pricing__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; transition: color .16s var(--ease); }
.pricing__legal a:hover { color: var(--blue); }

/* time-saving — підсилений підсумковий пункт */
.tsave__list li.tsave__result { font-weight: 700; color: var(--ink); }
.tsave__col--good .tsave__list li.tsave__result::before { content: "★"; color: var(--blue); }

/* final CTA — безпечний старт (компактна виділена нотатка) + «що беремо на себе» */
.safe-start--compact { display: flex; align-items: flex-start; gap: 11px; margin-top: 22px; padding: 13px 16px; background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.28); border-radius: var(--r); }
.safe-start--compact i { flex: none; color: #93B4FF; font-size: 19px; margin-top: 1px; }
.safe-start--compact span { color: #C9D4E3; font-size: .92rem; line-height: 1.5; }
.safe-start--compact strong { color: #fff; font-weight: 700; }
.take-list { display: grid; gap: 9px; }
.take-list li { position: relative; padding-left: 22px; color: #B6C2D2; font-size: .92rem; line-height: 1.5; }
.take-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: #93B4FF; font-weight: 700; }

/* ---------- Legal pages (оферта, політики, стаби) ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal__back { margin-bottom: 24px; font-size: .92rem; }
.legal__back a { color: var(--blue); font-weight: 600; }
.legal__back a:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin-bottom: 10px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 28px 0 8px; }
.legal h3 { font-size: 1.04rem; font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
.legal__upd { color: var(--faint); font-size: .88rem; margin-bottom: 24px; }
.legal p { color: var(--ink-soft); margin-bottom: 12px; max-width: 70ch; }
.legal ul { margin: 0 0 14px; padding-left: 22px; max-width: 70ch; list-style: disc; }
.legal li { color: var(--ink-soft); margin-bottom: 6px; }
.legal li a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal li a:hover { color: var(--blue-dark); }
.legal__stub-note { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: var(--blue-tint); border: 1px solid var(--blue-tint-2); border-radius: var(--r); color: var(--ink-soft); margin-bottom: 8px; }
.legal__stub-note i { flex: none; font-size: 20px; color: var(--blue); margin-top: 2px; }

/* footer — атрибуція */
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.site-footer__by { font-size: 0.82rem; color: #64748B; letter-spacing: .01em; }
.site-footer__by strong { color: #CBD5E1; font-weight: 600; }

/* ---------- Анімації (преміум, ненав'язливі) ---------- */
/* hero-візуал: scale-in */
.hero__viz.reveal { transform: translateY(18px) scale(.985); }
.hero__viz.reveal.is-visible { transform: none; }

/* hub-чипи: легкий stagger при появі */
.hub__node { opacity: 0; animation: hubChip .42s var(--ease) forwards; }
.hub__node:nth-child(1) { animation-delay: .04s; }
.hub__node:nth-child(2) { animation-delay: .09s; }
.hub__node:nth-child(3) { animation-delay: .14s; }
.hub__node:nth-child(4) { animation-delay: .19s; }
.hub__node:nth-child(5) { animation-delay: .24s; }
.hub__node:nth-child(6) { animation-delay: .29s; }
.hub__node:nth-child(7) { animation-delay: .34s; }
.hub__node:nth-child(8) { animation-delay: .39s; }
@keyframes hubChip { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* картки «Для кого»: hover */
.achip { transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.achip:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh-md); }

/* плейсхолдери: спокійний shimmer */
.ph-shot { position: relative; overflow: hidden; }
.ph-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(37,99,235,.06) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 3.4s linear infinite; pointer-events: none; }

@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }

/* final CTA: м'яке синє світіння */
.final-cta { position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; top: -20%; right: -10%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,99,235,.22), transparent 65%); pointer-events: none; }
.final-cta__inner { position: relative; z-index: 1; }

/* reduce-motion: вимикаємо необов'язкові анімації */
@media (prefers-reduced-motion: reduce) {
  .hub__node { opacity: 1; animation: none; }
  .ph-shot::after { animation: none; display: none; }
  .hero__viz.reveal { transform: none; }
}
