/* askip — landing styles
   Палітра й типографіка за брендбуком AskIP Brand Book (2026):
   primary #461E86, white #FFFFFF; заголовки Rubik, текст Open Sans. */

:root {
  --purple: #461E86;
  --purple-700: #37176b;
  --purple-300: #8b6ec4;
  --purple-050: #f2eefa;
  --ink: #0b1b3a;
  --ink-70: #45516e;
  --muted: #6c7893;
  --line: #e3e6ee;
  --bg: #ffffff;
  --bg-alt: #f5f6f9;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .05), 0 12px 32px rgba(11, 27, 58, .07);
  --wrap: 1140px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .eyebrow, .btn, .st-n, .ic, summary {
  font-family: Rubik, "Open Sans", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--purple); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 72px;
}
@media (min-width: 860px) { .header-inner { gap: 28px; } }
.brand img { width: 118px; height: auto; border-radius: 7px; }
.nav { display: none; margin-left: auto; gap: 26px; }
.header-inner .btn-sm { margin-left: auto; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .header-inner .btn-sm { margin-left: 0; }
}
.nav a {
  color: var(--ink-70); text-decoration: none; font-size: 15.5px; font-weight: 600;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--purple); border-bottom-color: var(--purple); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple); color: #fff;
  font-weight: 600; font-size: 16px; letter-spacing: .01em;
  border: 0; border-radius: 11px; padding: 14px 24px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--purple-700); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 9px 18px; font-size: 15px; border-radius: 9px; }
.btn-lg { padding: 16px 34px; font-size: 17px; width: 100%; }
@media (min-width: 620px) { .btn-lg { width: auto; } }

:where(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--purple-300); outline-offset: 2px; border-radius: 8px;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 460px at 88% -12%, rgba(70, 30, 134, .16), transparent 62%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid; gap: 48px;
  padding-block: 68px 78px;
}
@media (min-width: 940px) {
  .hero-inner { grid-template-columns: 1.08fr .92fr; align-items: center; padding-block: 92px 100px; }
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--purple-050); color: var(--purple);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px; margin: 0 0 22px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--purple);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .badge .dot { animation: none; } }

h1 {
  font-size: clamp(1.95rem, 5.4vw, 3.5rem);
  line-height: 1.1; font-weight: 700; letter-spacing: -.02em;
  margin: 0 0 20px; text-wrap: balance;
}
/* примусовий перенос лише там, де рядок точно вміщується */
.lb { display: none; }
@media (min-width: 560px) { .lb { display: inline; } }
.lead {
  font-size: clamp(1.02rem, 1.9vw, 1.19rem);
  color: var(--ink-70); max-width: 33em; margin: 0 0 30px;
}

/* ---------- hero demo card ---------- */
.hero-visual { display: flex; justify-content: center; }
.card-demo {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 24px;
}
.cd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cd-label { font-family: Rubik, sans-serif; font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.cd-chip { font-size: 11.5px; font-weight: 600; color: var(--purple); background: var(--purple-050); padding: 4px 10px; border-radius: 999px; }
.cd-query {
  font-family: Rubik, sans-serif; font-size: 26px; font-weight: 600;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px;
}
.cd-cls { font-family: "Open Sans", sans-serif; font-size: 13.5px; font-weight: 600; color: var(--muted); }

.cd-score { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cd-ring {
  --v: 62;
  flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%;
  background: conic-gradient(var(--purple) calc(var(--v) * 1%), #ece9f4 0);
  display: grid; place-items: center;
}
.cd-ring::before {
  content: ""; grid-area: 1/1; width: 68px; height: 68px; border-radius: 50%; background: #fff;
}
.cd-ring span {
  grid-area: 1/1; font-family: Rubik, sans-serif; font-size: 24px; font-weight: 700; color: var(--purple);
}
.cd-ring small { font-size: 13px; font-weight: 600; }
.cd-score-txt { display: flex; flex-direction: column; gap: 3px; }
.cd-score-txt strong { font-family: Rubik, sans-serif; font-size: 17px; }
.cd-score-txt span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.cd-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.cd-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-70); }
.cd-list i { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; margin-top: 3px; }
.i-ok { background: #1f9d6b1a; box-shadow: inset 0 0 0 2px #1f9d6b; }
.i-warn { background: #d9861a1a; box-shadow: inset 0 0 0 2px #d9861a; }

/* ---------- sections ---------- */
.section { padding-block: 78px; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); margin: 0 0 12px;
}
.eyebrow--light { color: #cbb8ee; }
.h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.2; font-weight: 700; letter-spacing: -.015em;
  margin: 0 0 34px; max-width: 20em;
}
.h2--light { color: #fff; }

.about-grid { display: grid; gap: 26px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 42px; } }
.about-lead { margin: 0; color: var(--ink-70); font-size: 1.03rem; }

.pull {
  margin: 46px 0 0; padding: 26px 30px;
  border-left: 4px solid var(--purple); background: var(--purple-050);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: Rubik, sans-serif; font-weight: 500; font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  line-height: 1.45; color: var(--purple);
}

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ic {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  background: var(--purple-050); color: var(--purple);
  border-radius: 11px; font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.card h3 { font-size: 1.09rem; font-weight: 600; margin: 0 0 9px; line-height: 1.32; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.disclaimer { margin: 28px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.steps li { position: relative; padding-top: 20px; border-top: 3px solid var(--purple-050); }
.steps li::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 34px; height: 3px; background: var(--purple);
}
.st-n { display: block; font-size: 13px; font-weight: 700; color: var(--purple); letter-spacing: .1em; margin-bottom: 8px; }
.steps h3 { font-size: 1.12rem; font-weight: 600; margin: 0 0 7px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.human-note {
  margin-top: 42px; padding: 22px 26px;
  background: var(--purple-050); border-radius: var(--radius);
  font-size: 15.5px; color: var(--ink-70); line-height: 1.6;
}
.human-note strong { color: var(--ink); display: block; margin-bottom: 4px; font-family: Rubik, sans-serif; }

/* ---------- waitlist ---------- */
.wl {
  background:
    radial-gradient(760px 380px at 15% 0%, rgba(255, 255, 255, .13), transparent 60%),
    var(--purple);
  color: #fff;
}
.wl-wrap { max-width: 760px; }
.wl-lead { color: #ded3f2; font-size: 1.05rem; margin: 0 0 34px; max-width: 34em; }

.wl-form--hero .wl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-form--hero input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  padding: 14px 17px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink);
}
.wl-form--hero input::placeholder { color: #9aa4bb; }
.wl-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

.fields { display: grid; gap: 18px; margin-bottom: 22px; }
@media (min-width: 620px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: #e6ddf7; font-family: Rubik, sans-serif; }
.field .opt { font-weight: 400; color: #b9a9dc; }
.field input, .field select {
  padding: 13px 15px; font-size: 16px; font-family: inherit;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 11px;
  background: rgba(255, 255, 255, .1); color: #fff;
}
.field input::placeholder { color: #b4a5d6; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { background: rgba(255, 255, 255, .18); }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #ded3f2; margin-bottom: 24px; cursor: pointer; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: #fff; flex: 0 0 auto; }

.wl-form--big .btn { background: #fff; color: var(--purple); }
.wl-form--big .btn:hover { background: #f0eafb; }

.wl-done {
  display: flex; flex-direction: column; gap: 5px;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--purple-050); border: 1px solid #ddd2f2;
}
.wl-done strong { font-family: Rubik, sans-serif; font-size: 1.08rem; color: var(--purple); }
.wl-done span { font-size: 14.5px; color: var(--ink-70); }
.wl-form--big .wl-done { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.wl-form--big .wl-done strong { color: #fff; }
.wl-form--big .wl-done span { color: #ded3f2; }

.wl-msg { margin: 14px 0 0; font-size: 15px; font-weight: 600; min-height: 1.2em; }
.wl-msg.ok { color: #1f9d6b; }
.wl-msg.err { color: #c93c3c; }
.wl-form--big .wl-msg.ok { color: #b8f0d6; }
.wl-form--big .wl-msg.err { color: #ffc9c9; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 600; font-size: 1.03rem; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--purple); font-size: 1.4rem; line-height: 1; flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 44px; }
.footer-inner { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.f-brand img { width: 122px; border-radius: 7px; margin-bottom: 14px; }
.f-brand p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 30em; }
.f-meta { font-size: 14.5px; color: var(--muted); }
.f-meta p { margin: 0 0 6px; }
.f-partners { font-family: Rubik, sans-serif; font-weight: 500; color: var(--ink); }
.f-copy { color: #98a2b8; font-size: 13.5px; margin-top: 12px; }
@media (min-width: 760px) { .f-meta { text-align: right; } }
