/* Inbovio marketing site. Brand tokens from branding/Inbovio_Brand_Guidelines.pdf (v1.0):
   Midnight Navy #061235, Royal Blue #1349FC for actions, Inbovio Blue #278AFF, Violet #8051FC (decorative),
   Sky #6CBDFA, Lavender #C1C7FD; neutrals #F7F9FE / #E1E7F2 / #52617A; Inter. No scripts, no third parties. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f7f9fe;
  --surface: #ffffff;
  --sunk: #eef2fb;
  --ink: #061235;
  --muted: #52617a;
  --rule: #e1e7f2;
  --accent: #1349fc;
  --accent-ink: #ffffff;
  --accent-hover: #0f3ad0;
  --accent-soft: #dce6ff;
  --ok: #137a4a;
  --ok-soft: #e7f5ee;
  --bad: #b32d23;
  --bad-soft: #fbeceb;
  --warn: #8a5a0d;
  --warn-soft: #fbf3e4;
  --shadow: 0 1px 2px rgba(6, 18, 53, 0.06), 0 12px 32px -12px rgba(6, 18, 53, 0.18);
  --glow-a: rgba(39, 138, 255, 0.22);
  --glow-b: rgba(128, 81, 252, 0.18);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #060f2b;
    --surface: #0b1840;
    --sunk: #0d1c4a;
    --ink: #eaf0ff;
    --muted: #9fb0cc;
    --rule: #1c2a52;
    --accent: #6ca0ff;
    --accent-ink: #061235;
    --accent-hover: #8db6ff;
    --accent-soft: #14275c;
    --ok: #5dd39e;
    --ok-soft: #0f2d25;
    --bad: #ff8d84;
    --bad-soft: #3a1a1a;
    --warn: #f0b95b;
    --warn-soft: #33270f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -14px rgba(0, 0, 0, 0.6);
    --glow-a: rgba(39, 138, 255, 0.2);
    --glow-b: rgba(128, 81, 252, 0.22);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}
h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  margin: 0;
}

.mt16 {
  margin-top: 16px;
}
.mt22 {
  margin-top: 22px;
}
.section-head.flush {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo img {
  height: 30px;
  width: auto;
}
.logo .on-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  .logo .on-light {
    display: none;
  }
  .logo .on-dark {
    display: block;
  }
}

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover {
  background: var(--sunk);
  color: var(--ink);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  background: var(--sunk);
  color: var(--ink);
}
.btn-lg {
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 14px;
}
.btn-sm {
  padding: 10px 16px;
}

.menu {
  display: none;
}

@media (max-width: 860px) {
  .nav,
  .actions .signin {
    display: none;
  }
  .bar {
    gap: 12px;
  }
  .actions {
    margin-left: auto;
  }
  .menu {
    display: block;
    position: relative;
  }
  .menu summary {
    list-style: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--surface);
  }
  .menu summary::-webkit-details-marker {
    display: none;
  }
  .menu nav {
    position: absolute;
    right: 0;
    top: 52px;
    width: min(280px, calc(100vw - 32px));
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: grid;
  }
  .menu nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 500;
  }
  .menu nav a:hover {
    background: var(--sunk);
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(40% 50% at 20% 30%, var(--glow-a), transparent 70%),
    radial-gradient(38% 46% at 82% 18%, var(--glow-b), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 22px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 14px;
}
.fine {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero {
    padding: 48px 0 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- product mock (decorative) ---------- */

.mock {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  font-size: 15px;
}
.mock-top .grow {
  flex: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pill-ok {
  color: var(--ok);
  background: var(--ok-soft);
}
.pill-bad {
  color: var(--bad);
  background: var(--bad-soft);
}
.pill-warn {
  color: var(--warn);
  background: var(--warn-soft);
}
.pill-soft {
  color: var(--accent);
  background: var(--accent-soft);
}
.row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
}
.row:last-child {
  border-bottom: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.av1 {
  background: #278aff;
}
.av2 {
  background: #8051fc;
}
.av3 {
  background: #137a4a;
}
.av4 {
  background: #e0802d;
}
.row b {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row span.sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.unread b {
  font-weight: 700;
}
.unread .avatar::after {
  content: "";
}
.mock-foot {
  padding: 12px 16px;
  background: var(--sunk);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- sections ---------- */

section {
  padding: 84px 0;
}
.band {
  background: var(--sunk);
}
.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.section-head .lead {
  margin-top: 16px;
}

.providers {
  padding: 28px 0;
  border-block: 1px solid var(--rule);
  background: var(--surface);
}
.providers .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.providers p {
  font-weight: 600;
  font-size: 15px;
  margin-right: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  margin: 16px 0 8px;
}
.card p {
  color: var(--muted);
  font-size: 16px;
}
.ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.ico svg {
  width: 22px;
  height: 22px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231349FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/20px no-repeat;
}

.rules {
  display: grid;
  gap: 12px;
}
.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.rule .ico {
  width: 38px;
  height: 38px;
  flex: none;
}
.rule .ico svg {
  width: 19px;
  height: 19px;
}

.triage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
}
.triage li {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.triage strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}
.triage span {
  color: var(--muted);
  font-size: 16px;
}
.triage ul {
  padding: 0;
  margin: 0;
  display: contents;
}

.nos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.no {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-weight: 600;
}
.no svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 30px 28px;
}
.plan.popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 22px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 8px;
}
.price strong {
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price span {
  color: var(--muted);
  font-size: 15px;
}
.plan p {
  color: var(--muted);
  font-size: 16px;
}
.plan .for {
  color: var(--ink);
  font-weight: 600;
}
.plan-link {
  margin-top: 28px;
  text-align: center;
}

.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq p {
  color: var(--muted);
  padding: 0 4px 24px;
  max-width: 68ch;
}

.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #061235;
  color: #fff;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 15% 0%, rgba(39, 138, 255, 0.4), transparent 70%),
    radial-gradient(45% 80% at 90% 100%, rgba(128, 81, 252, 0.4), transparent 70%);
}
.final .wrap {
  position: relative;
}
.final h2 {
  color: #fff;
}
.final p {
  color: #c4cfec;
  margin: 16px auto 32px;
  font-size: 19px;
}
.final .btn-primary {
  background: #fff;
  color: #061235;
}
.final .btn-primary:hover {
  background: #e8eeff;
  color: #061235;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 44px 0 56px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.foot a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.foot a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.credit {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* ---------- legal pages ---------- */

.doc {
  max-width: 780px;
  padding: 56px 24px 96px;
  margin: 0 auto;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 10px;
}
.doc h2 {
  font-size: 24px;
  margin: 44px 0 12px;
}
.doc p,
.doc li {
  color: var(--ink);
}
.doc p {
  margin: 0 0 14px;
}
.doc ul {
  padding-left: 22px;
  margin: 0 0 14px;
}
.doc li {
  margin: 6px 0;
}
.doc .updated {
  color: var(--muted);
  margin-bottom: 28px;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  margin: 8px 0 18px;
  font-size: 15.5px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  padding: 11px 14px 11px 0;
}
.doc th {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.doc hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 36px 0 18px;
}
.doc code {
  font-size: 0.92em;
  background: var(--sunk);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  section {
    padding: 60px 0;
  }
  .cards,
  .triage,
  .plans {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.flip > :first-child {
    order: 2; /* on a phone the words come before the picture */
  }
  .plans {
    gap: 28px;
  }
}

@media (min-width: 640px) and (max-width: 960px) {
  .triage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 18px;
  }
  .btn-lg {
    width: 100%;
  }
  .row {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .row .meta {
    display: none;
  }
}
