/* =====================================================================
   Availo — marketing site
   Aesthetic: clean white & blue · modern · professional
   White canvas · deep-navy headings · #1F7CEC blue accent
   Floating capsule nav (top) · soft rounded cards · Figtree
   ===================================================================== */

/* ------------------------------------------------------------------ *
 * Tokens
 * ------------------------------------------------------------------ */
:root {
  --white:       #ffffff;
  --soft:        #f5f8fd;   /* light blue-gray sections */
  --soft-2:      #eef4fb;
  --card:        #ffffff;

  --blue:        #1f7cec;   /* primary */
  --blue-ink:    #175fc0;   /* darker (hover / text) */
  --blue-deep:   #0f4699;
  --blue-wash:   #e9f2fe;
  --blue-wash-2: #f3f8ff;

  --navy:        #0b2545;   /* headings + dark bands */
  --navy-2:      #12315c;

  --ink:         #0b2545;   /* headings */
  --slate:       #45526b;   /* body */
  --slate-2:     #64748b;   /* muted */
  --slate-3:     #93a0b4;   /* captions */

  --line:        #e4e9f1;
  --line-2:      #eef2f8;
  --line-strong: #cfd8e6;

  --confirm:     #1f7cec;   /* checks stay on-palette (blue) */
  --confirm-bg:  #e9f2fe;

  --shadow-xs:   0 1px 2px rgba(11,37,69,.05);
  --shadow-sm:   0 2px 8px -3px rgba(11,37,69,.09), 0 8px 24px -14px rgba(11,37,69,.09);
  --shadow-md:   0 16px 36px -16px rgba(11,37,69,.18), 0 4px 12px -6px rgba(11,37,69,.08);
  --shadow-lg:   0 36px 72px -30px rgba(11,37,69,.26), 0 12px 28px -16px rgba(11,37,69,.14);
  --shadow-blue: 0 24px 60px -22px rgba(31,124,236,.42);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------------------------------------------ *
 * Reset
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--white); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--slate);
  font-size: 1.06rem;
  line-height: 1.64;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; background: var(--blue-wash); color: var(--blue-ink); padding: .1em .4em; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

/* ------------------------------------------------------------------ *
 * Typography
 * ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.028em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); line-height: 1.01; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.28rem, 1.9vw, 1.55rem); font-weight: 750; letter-spacing: -.02em; }
p { text-wrap: pretty; }
strong { color: var(--navy); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.dark .eyebrow::before { box-shadow: 0 0 0 3px rgba(127,178,245,.22); }

.lede {
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  line-height: 1.58;
  color: var(--slate-2);
  font-weight: 420;
}
.serif-accent { font-style: normal; font-weight: 800; color: var(--blue); }

/* ------------------------------------------------------------------ *
 * Layout helpers
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding-block: clamp(70px, 9vw, 122px); position: relative; }
.section--tight { padding-block: clamp(46px, 6vw, 80px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.max-60 { max-width: 62ch; }
.max-52 { max-width: 54ch; }
.stack-sm > * + * { margin-top: 1rem; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 1.75rem; }
.section-head { max-width: 740px; }
.section-head.center { margin-inline: auto; }
.section-head h2 + p { margin-top: 1.05rem; }
.ruler { display: none; }

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */
.btn {
  --_bg: var(--blue);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -.01em;
  line-height: 1;
  padding: .95em 1.55em;
  border-radius: var(--r-pill);
  background: var(--_bg);
  color: var(--_fg);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { box-shadow: 0 12px 26px -12px rgba(31,124,236,.6); }
.btn--primary:hover { background: var(--blue-ink); box-shadow: 0 18px 32px -14px rgba(31,124,236,.62); }
.btn--ghost { --_bg: #fff; --_fg: var(--navy); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-ink); }
.btn--light { --_bg: #fff; --_fg: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--onDark { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.4); }
.btn--onDark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.85); }
.btn--lg { font-size: 1.05rem; padding: 1.08em 1.85em; }
.btn--block { display: flex; width: 100%; }

.textlink {
  color: var(--blue-ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  transition: gap .2s var(--ease);
}
.textlink svg { width: 1em; height: 1em; }
.textlink:hover { gap: .7em; }

/* ------------------------------------------------------------------ *
 * Header — floating capsule nav (top)
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
  background: none;
}
.site-header .nav {
  pointer-events: auto;
  width: auto;
  max-width: min(calc(100vw - 32px), 1060px);
  margin: 0;
  display: flex; align-items: center; gap: 1.1rem;
  height: 64px;
  padding: 8px 8px 8px 22px;
  background: none;
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 22px -12px rgba(11,37,69,.20);
}
.site-header .nav .btn { padding: .68em 1.2em; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -.03em;
  color: var(--navy);
}
.brand__mark { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-xs); }
.brand b { font-weight: 800; }
.brand em { font-style: normal; color: var(--blue); }

.nav__links { display: flex; align-items: center; gap: .1rem; }
.nav__links a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--slate);
  padding: .5rem .8rem;
  border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.nav__links a:hover { color: var(--navy); background: var(--soft); }
.nav__links a[aria-current="page"] { color: var(--blue-ink); }
.nav__actions { display: flex; align-items: center; gap: .5rem; margin-left: .4rem; }
.site-header .nav__toggle { display: none; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--white);
  padding: 24px var(--gutter);
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.mobile-nav__links { margin-top: 3vh; display: flex; flex-direction: column; }
.mobile-nav__links a {
  font-weight: 750; font-size: 2rem; letter-spacing: -.03em;
  color: var(--navy); padding: .5rem 0; border-bottom: 1px solid var(--line);
}
.mobile-nav__cta { margin-top: auto; display: grid; gap: .7rem; padding-block: 24px; }
.iconbtn {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--navy); background: #fff;
}

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(50px, 6vw, 80px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__bg::before {  /* soft blue glow upper-left */
  content: ""; position: absolute; left: -10%; top: -22%;
  width: 62vw; height: 62vw; max-width: 780px; max-height: 780px;
  background: radial-gradient(circle, rgba(31,124,236,.14), transparent 62%);
}
.hero__glow {  /* faint blue wash lower-right */
  position: absolute; z-index: 0;
  width: 44vw; height: 44vw; max-width: 560px; max-height: 560px;
  right: -10vw; bottom: -18vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,124,236,.10), transparent 64%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero h1 { margin-top: 1.3rem; }
.hero h1 .u { position: relative; white-space: nowrap; color: var(--blue); }
.hero__lede { margin-top: 1.5rem; max-width: 33rem; }
.hero__cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta {
  margin-top: 1.7rem;
  font-size: .92rem; font-weight: 500;
  color: var(--slate-2);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5em; }
.hero__meta svg { width: 18px; height: 18px; color: #fff; background: var(--confirm); border-radius: 50%; padding: 3.5px; }

/* Hero product visual */
.hero__visual { position: relative; }
.showcase {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero__visual::before {  /* soft blue panel behind */
  content: ""; position: absolute; inset: -16px -16px 22px 24px;
  background: var(--blue-wash);
  border-radius: var(--r-xl);
  z-index: 0;
}
.hero__visual .showcase { z-index: 1; }
.showcase img { width: 100%; height: auto; }
.showcase__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-2);
  background: var(--soft);
}
.showcase__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.showcase__bar i:nth-child(1){ background: #ff6b6b; }
.showcase__bar i:nth-child(2){ background: #ffca3a; }
.showcase__bar i:nth-child(3){ background: #4cc38a; }
.showcase__bar span { margin-left: 10px; font-size: .8rem; font-weight: 500; color: var(--slate-3); }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .7em 1.05em .7em .7em;
  box-shadow: var(--shadow-md);
  font-size: .9rem; font-weight: 650; color: var(--navy);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--confirm-bg); color: var(--confirm); }
.float-chip .dot svg { width: 16px; height: 16px; }
.float-chip--tl { top: 10%; left: -5%; }
.float-chip--br { bottom: 11%; right: -4%; animation-delay: -2.5s; }
.float-chip--br .dot { background: var(--blue-wash); color: var(--blue); }
.float-chip small { display: block; font-weight: 400; font-size: .76rem; color: var(--slate-3); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ------------------------------------------------------------------ *
 * Trust strip
 * ------------------------------------------------------------------ */
.trust { border-block: 1px solid var(--line); background: var(--soft); }
.trust__inner { padding-block: 24px; display: flex; align-items: center; gap: clamp(18px, 4vw, 46px); flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-3); }
.trust__item { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--slate); font-size: .95rem; }
.trust__item svg { width: 20px; height: 20px; color: var(--blue); }

/* ------------------------------------------------------------------ *
 * Section atmospheres
 * ------------------------------------------------------------------ */
.section--paper2 { background: var(--soft); }
.section--white { background: #fff; }
.band-top { border-top: 1px solid var(--line); }
.band-bottom { border-bottom: 1px solid var(--line); }

.pullquote { max-width: 940px; margin-inline: auto; }
.pullquote p { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; color: var(--navy); letter-spacing: -.03em; }

/* ------------------------------------------------------------------ *
 * Feature grid
 * ------------------------------------------------------------------ */
.grid { display: grid; gap: clamp(16px, 1.8vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.fcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.5vw, 36px);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.fcard__icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--blue-wash);
  color: var(--blue);
  margin-bottom: 1.3rem;
}
.fcard__icon svg { width: 26px; height: 26px; }
.fcard h3 { margin-bottom: .55rem; }
.fcard p { color: var(--slate-2); font-size: .99rem; line-height: 1.6; }

/* ------------------------------------------------------------------ *
 * Steps
 * ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.step { position: relative; }
.step__num { display: flex; align-items: center; gap: .7em; margin-bottom: 1.1rem; font-weight: 600; font-size: .92rem; color: var(--slate-2); }
.step__num b {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 800; color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 20px -10px rgba(31,124,236,.7);
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--slate-2); font-size: .99rem; }
.step::before {
  content: ""; position: absolute; top: 22px; left: 58px; right: -16%;
  height: 2px; background: repeating-linear-gradient(to right, var(--line-strong) 0 7px, transparent 7px 14px);
}
.step:last-child::before { display: none; }

/* ------------------------------------------------------------------ *
 * Split rows
 * ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--card);
}
.split__media img { width: 100%; height: auto; }
.split ul { margin-top: 1.6rem; display: grid; gap: .9rem; }
.split li { display: flex; gap: .75rem; align-items: flex-start; color: var(--slate); }
.split li svg { flex: none; width: 24px; height: 24px; color: #fff; background: var(--confirm); border-radius: 50%; padding: 4px; margin-top: 1px; }
.split li b { color: var(--navy); font-weight: 700; }
.split h2 + p { margin-top: 1rem; color: var(--slate-2); }

/* ------------------------------------------------------------------ *
 * Dark band (Pro) — navy
 * ------------------------------------------------------------------ */
.dark {
  background:
    radial-gradient(78% 90% at 84% 0%, rgba(31,124,236,.42), transparent 56%),
    var(--navy);
  color: rgba(255,255,255,.76);
  position: relative;
  overflow: hidden;
}
.dark::after {
  content: ""; position: absolute; width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  left: -8vw; bottom: -14vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,124,236,.30), transparent 66%);
}
.dark .container { position: relative; z-index: 1; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lede { color: rgba(255,255,255,.74); }
.dark .eyebrow { color: #7fb2f5; }
.dark .eyebrow::before { background: #7fb2f5; }
.pro-badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: .5em 1.1em; border-radius: var(--r-pill);
}
.pro-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .1rem 2rem; margin-top: 2rem; }
.pro-list li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.pro-list li svg { flex: none; width: 22px; height: 22px; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; margin-top: 2px; }
.pro-list b { color: #fff; font-weight: 700; }
.pro-list span { display: block; font-size: .92rem; color: rgba(255,255,255,.6); margin-top: .12rem; }

/* ------------------------------------------------------------------ *
 * Pricing
 * ------------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan--featured { border: 1.5px solid var(--blue); background: linear-gradient(180deg, var(--blue-wash), var(--card) 42%); box-shadow: var(--shadow-blue); position: relative; }
.plan--featured::before {
  content: "★ Most popular";
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .5em 1.1em; border-radius: var(--r-pill);
  box-shadow: 0 10px 20px -10px rgba(31,124,236,.7);
  white-space: nowrap;
}
.plan__name { font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }
.plan__price { margin-top: 1rem; font-weight: 800; font-size: 3rem; color: var(--navy); line-height: 1; letter-spacing: -.04em; }
.plan__price sup { font-size: 1.2rem; top: -1.1em; font-weight: 600; color: var(--slate-3); }
.plan__cycle { font-size: .86rem; color: var(--slate-3); margin-top: .55rem; font-weight: 500; }
.plan__desc { margin-top: 1.1rem; font-size: .96rem; color: var(--slate-2); min-height: 2.8em; }
.plan .btn { margin-top: 1.5rem; }
.plan__list { margin-top: 1.6rem; display: grid; gap: .72rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: var(--slate); }
.plan__list svg { flex: none; width: 20px; height: 20px; color: #fff; background: var(--confirm); border-radius: 50%; padding: 3px; margin-top: 1px; }
.plan__best { margin-top: auto; padding-top: 1.4rem; font-size: .84rem; font-style: italic; color: var(--slate-3); }

.included { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; }
.included li { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: var(--navy); }
.included svg { width: 22px; height: 22px; color: #fff; background: var(--confirm); border-radius: 50%; padding: 3px; }

/* ------------------------------------------------------------------ *
 * Comparison table
 * ------------------------------------------------------------------ */
.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare thead th {
  position: sticky; top: 96px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
}
.compare thead th:not(:first-child) { text-align: center; width: 130px; }
.compare .grouprow td {
  font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-ink); background: var(--blue-wash-2); border-bottom: 1px solid var(--line);
}
.compare tbody td:not(:first-child) { text-align: center; }
.compare tbody tr:hover td { background: var(--blue-wash-2); }
.compare td:first-child { color: var(--slate); font-weight: 500; }
.compare .yes { color: var(--confirm); font-weight: 800; }
.compare .no { color: var(--slate-3); }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------------ *
 * FAQ
 * ------------------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.45rem 0; font-weight: 750; font-size: 1.22rem; color: var(--navy); text-align: left; letter-spacing: -.02em;
}
.faq__q .plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: .3s var(--ease); }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; width: 12px; height: 2px; background: var(--navy); transition: .3s var(--ease); border-radius: 2px; }
.faq__q .plus::after { transform: rotate(90deg); }
.faq__item.is-open .plus { background: var(--blue); border-color: var(--blue); }
.faq__item.is-open .plus::before, .faq__item.is-open .plus::after { background: #fff; }
.faq__item.is-open .plus::after { transform: rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding-bottom: 1.5rem; color: var(--slate-2); max-width: 64ch; }

/* ------------------------------------------------------------------ *
 * CTA band
 * ------------------------------------------------------------------ */
.cta-band { position: relative; }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(85% 130% at 82% 8%, rgba(31,124,236,.6), transparent 55%),
    var(--navy);
  padding: clamp(48px, 6vw, 90px);
  text-align: center;
  color: #fff;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; }
.cta-card .lede { color: rgba(255,255,255,.78); margin-inline: auto; margin-top: 1rem; }
.cta-card__actions { margin-top: 2rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ *
 * Footer — navy
 * ------------------------------------------------------------------ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding-block: clamp(50px, 6vw, 78px) 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: #7fb2f5; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer__brand p { margin-top: 1rem; color: rgba(255,255,255,.6); font-size: .96rem; max-width: 34ch; }
.footer h4 { font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .7rem; }
.footer a { color: rgba(255,255,255,.72); font-size: .96rem; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(38px, 5vw, 60px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem; color: rgba(255,255,255,.5);
}

/* ------------------------------------------------------------------ *
 * Page hero (interior)
 * ------------------------------------------------------------------ */
.page-hero { position: relative; padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(28px, 4vw, 50px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero__bg::before {
  content: ""; position: absolute; right: -10%; top: -26%;
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(31,124,236,.12), transparent 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 1.05rem; }
.page-hero .lede { margin-top: 1.2rem; max-width: 62ch; }
.page-hero.center .lede { margin-inline: auto; }

/* about values */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px,2vw,24px); }
.value { padding: clamp(28px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value__k { font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-ink); }
.value h3 { margin: 1rem 0 .6rem; }
.value p { color: var(--slate-2); font-size: .99rem; }

.audience { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.audience li { background: var(--card); padding: 1.35rem 1.6rem; display: flex; gap: .9rem; align-items: center; color: var(--slate); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); }
.audience svg { flex: none; width: 46px; height: 46px; color: var(--blue); background: var(--blue-wash); border-radius: 12px; padding: 11px; }
.audience b { color: var(--navy); font-weight: 700; }

/* ------------------------------------------------------------------ *
 * Reveal on scroll
 * ------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .plan--featured::before { top: -1px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .site-header .nav__toggle { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 1.5rem; max-width: 560px; }
  .hero__visual::before { display: none; }
  .float-chip--tl { left: 1%; }
  .float-chip--br { right: 1%; }
  .grid--3, .steps, .pro-list, .values, .audience { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .price-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .compare thead th { position: static; }
  .float-chip { display: none; }
}

/* ==================================================================== *
   GUTENBERG BRIDGE
   Maps core block markup onto the Availo design. Loaded on the front end
   AND as the block-editor stylesheet, so the editor preview matches.
   ==================================================================== */

/* Availo's CSS owns all spacing: neutralise core layout flow margins. */
main .is-layout-flow > * + *,
main .is-layout-constrained > * + * { margin-block-start: 0; }
.wp-block-group { min-width: 0; }

/* ...except the eyebrow-to-title gap, which needs to win over the reset above. */
main .is-layout-flow > .eyebrow + h1,
main .is-layout-flow > .eyebrow + h2,
main .is-layout-constrained > .eyebrow + h1,
main .is-layout-constrained > .eyebrow + h2 { margin-block-start: 1.75rem; }

/* ...and the gap from a section's title block down to whatever follows it
   (a card grid, steps, values, FAQ, etc.) — also needs to win over the reset. */
main .is-layout-flow > .section-head + *,
main .is-layout-constrained > .section-head + * { margin-block-start: 3rem; }

/* ---- Nav menus (wp_nav_menu renders nav > ul > li > a) ---- */
.nav__links ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links .current-menu-item > a,
.nav__links .current_page_item > a { color: var(--blue-ink); }
.mobile-nav__links ul { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.mobile-nav__links li { margin: 0; }
.footer__col ul { display: grid; gap: .7rem; list-style: none; margin: 0; padding: 0; }

/* ---- Buttons (core wp:button) ---- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.wp-block-button { margin: 0; }
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 650; font-size: 1rem; line-height: 1; letter-spacing: -.01em;
  padding: .95em 1.55em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  background: var(--blue); color: #fff; text-decoration: none;
  box-shadow: 0 12px 26px -12px rgba(31,124,236,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.wp-block-button__link:hover { transform: translateY(-2px); background: var(--blue-ink); color: #fff; }
.wp-block-button.btn--ghost .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff; color: var(--navy); border-color: var(--line-strong); box-shadow: var(--shadow-xs);
}
.wp-block-button.btn--ghost .wp-block-button__link:hover { background: #fff; border-color: var(--blue); color: var(--blue-ink); }
.wp-block-button.btn--light .wp-block-button__link { background: #fff; color: var(--navy); box-shadow: none; }
.wp-block-button.btn--light .wp-block-button__link:hover { background: #fff; color: var(--navy); }
.wp-block-button.btn--onDark .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.wp-block-button.btn--onDark .wp-block-button__link:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.wp-block-button.btn--lg .wp-block-button__link { font-size: 1.05rem; padding: 1.08em 1.85em; }

/* ---- Images inside the showcase / split media ---- */
figure.wp-block-image { margin: 0; }
.showcase .wp-block-image img,
.split__media .wp-block-image img { display: block; width: 100%; height: auto; }

/* ---- FAQ: native core Details block ---- */
.faq .wp-block-details { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.faq .wp-block-details summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.45rem 0; font-weight: 750; font-size: 1.22rem; color: var(--navy); letter-spacing: -.02em;
}
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  font-size: 1.15rem; font-weight: 400; color: var(--navy); transition: .3s var(--ease);
}
.faq .wp-block-details[open] summary::after {
  content: "\2013"; background: var(--blue); border-color: var(--blue); color: #fff;
}
.faq .wp-block-details p { margin: 0; padding-bottom: 1.5rem; color: var(--slate-2); max-width: 64ch; }

/* ---- Comparison table: native core Table block ---- */
.wp-block-table.compare { margin: 0; overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.wp-block-table.compare table {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.wp-block-table.compare th,
.wp-block-table.compare td {
  padding: 15px 22px; text-align: left;
  border: 0; border-bottom: 1px solid var(--line-2);
}
.wp-block-table.compare thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; }
.wp-block-table.compare thead th:not(:first-child) { text-align: center; width: 130px; }
.wp-block-table.compare tbody td:not(:first-child) { text-align: center; }
.wp-block-table.compare tbody tr:hover td { background: var(--blue-wash-2); }
.wp-block-table.compare td:first-child { color: var(--slate); font-weight: 500; }
.wp-block-table.compare figcaption { display: none; }

/* ---- Editor-only: give sections breathing room in the canvas ---- */
.editor-styles-wrapper .section { padding-block: 40px; }

/* ---- Buttons in specific contexts ---- */
.plan .wp-block-buttons { display: block; margin-top: 1.5rem; }
.plan .wp-block-button { width: 100%; }
.plan .wp-block-button__link { width: 100%; }
.wp-block-buttons.center-buttons { justify-content: center; margin-top: 2rem; }
.dark .wp-block-buttons { margin-top: 2.6rem; }
.cta-card .wp-block-buttons { justify-content: center; }
.section-head .wp-block-buttons { margin-top: 1.6rem; }

/* ==================================================================== *
   DOCS PROSE
   Typography for the Documentation hub + chapter pages. These pages hold
   real, editable block content (not patterns), so unlike the marketing
   sections this needs its own spacing — the global `* { margin:0 }` reset
   and the `ul { list-style:none }` reset both strip normal prose styling.
   ==================================================================== */
.docs-back { margin-top: 1.2rem !important; }
.docs-back a { color: var(--blue-ink); font-weight: 600; }
.docs-back a:hover { text-decoration: underline; }

.docs-content { max-width: 72ch; margin-inline: auto; }
.docs-content > * + * { margin-top: 1.4rem; }
.docs-content h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.8rem !important; }
.docs-content h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); margin-top: 2.1rem !important; }
.docs-content > h2:first-child, .docs-content > h3:first-child { margin-top: 0 !important; }
.docs-content li + li { margin-top: .5rem; }
.docs-content ul.wp-block-list { list-style: disc; padding-left: 1.3em; }
.docs-content ol.wp-block-list { list-style: decimal; padding-left: 1.3em; }
.docs-content ul.wp-block-list ul, .docs-content ol.wp-block-list ol { margin-top: .5rem; }

.docs-content blockquote.wp-block-quote {
  border-left: 3px solid var(--blue);
  background: var(--blue-wash-2);
  padding: 1rem 1.3rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--navy);
}
.docs-content blockquote.wp-block-quote > p + p { margin-top: .75rem; }

.docs-content pre.wp-block-code {
  background: var(--navy);
  color: #dce8fb;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  overflow-x: auto;
  font-size: .88rem;
  line-height: 1.6;
  white-space: pre;
}
.docs-content pre.wp-block-code code { background: none; color: inherit; padding: 0; border-radius: 0; font-size: inherit; }

.docs-content figure.wp-block-table { margin: 0; overflow-x: auto; }
.docs-content .wp-block-table table { width: 100%; border-collapse: collapse; }
.docs-content .wp-block-table:not(.compare) th,
.docs-content .wp-block-table:not(.compare) td {
  padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; font-size: .95rem; vertical-align: top;
}
.docs-content .wp-block-table:not(.compare) thead th { background: var(--soft); color: var(--navy); font-weight: 700; }

.docs-content hr.wp-block-separator { border: none; border-top: 1px solid var(--line); margin: 2.6rem 0 !important; }

.docs-nav {
  display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3.2rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.docs-nav a { display: flex; flex-direction: column; gap: .3rem; max-width: 46%; }
.docs-nav a:hover .docs-nav__title { color: var(--blue-ink); }
.docs-nav__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-2); }
.docs-nav__title { font-weight: 700; color: var(--navy); }
.docs-nav--next { margin-left: auto; text-align: right; align-items: flex-end; }
@media (max-width: 640px) {
  .docs-nav a, .docs-nav--next { max-width: 100%; }
}
