/* Airverse marketing site, v3: light gradients, glass panels, liquid blobs. Brand tokens live here. */
:root {
  --ink: #16203a;           /* deep navy text (replaces black) */
  --ink-2: #4a5470;
  --ink-3: #8089a0;
  --blue: #2f6fde;          /* azure */
  --indigo: #5b5bea;        /* indigo */
  --violet: #8b6cf6;
  --aqua: #38bdf8;
  --mint: #34c38f;
  --red: #d2453a;
  --brand: #4f5be3;         /* solid indigo: buttons, icons, active states */
  --brand-d: #3f49c9;
  --brand-tint: #eef0fd;
  --grad: var(--brand);     /* kept as an alias: most accents are now solid */
  --grad-text: linear-gradient(100deg, #2f6fde 0%, #5b5bea 50%, #8b6cf6 100%);
  --grad-soft: linear-gradient(135deg, #eafbf2 0%, #e7f1ff 45%, #efeaff 100%);     /* light sections */
  --grad-tint: linear-gradient(150deg, #dceaff 0%, #e8e4ff 50%, #dcf5ea 100%);     /* feature sections */
  --glass: rgba(255, 255, 255, .58);
  --glass-2: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .85);
  --line: rgba(22, 32, 58, .08);
  --soft: #f6f7f9;           /* light grey surfaces (cards, panels) */
  --line-2: rgba(22, 32, 58, .16);
  --r: 22px; --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: #fff;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.028em; margin: 0; font-weight: 500; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.tnum { font-variant-numeric: tabular-nums; }
::selection { background: rgba(91, 91, 234, .18); }

/* ---------- frame lines + corner marks ---------- */
main { max-width: 1360px; margin-inline: auto; border-inline: 1px solid var(--line); position: relative; }
.screen, .section, .page-hero, .story, .band { position: relative; border-top: 1px solid var(--line); }
.screen::after, .section::after, .page-hero::after, .story::after, .band::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 3; color: rgba(22,32,58,.45);
  --t: 14px; --w: 1.5px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / var(--t) var(--w),
    linear-gradient(currentColor, currentColor) 0 0 / var(--w) var(--t),
    linear-gradient(currentColor, currentColor) 100% 0 / var(--t) var(--w),
    linear-gradient(currentColor, currentColor) 100% 0 / var(--w) var(--t);
  background-repeat: no-repeat;
}
@media (max-width: 1400px) { main { border-inline: 0; } }

/* ---------- glass ---------- */
.glass { background: var(--glass); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border: 1px solid var(--glass-line); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.site-header.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 72px; width: min(1312px, 100% - 40px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.nav-links a { padding: 7px 15px; border-radius: 10px; font-size: 15px; color: var(--ink-3); transition: color .25s, background .25s; }
.nav-links a::before { content: "( "; }
.nav-links a::after { content: " )"; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: #fff; font-weight: 500; }
.nav-links .m-only { display: none; }
.nav-cta { justify-self: end; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; justify-self: end; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; width: 44px; height: 44px; color: inherit; }
@media (max-width: 1060px) { .nav-cta .btn.ghost { display: none; } }
@media (max-width: 880px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { position: fixed; inset: 80px 12px auto; border: 1px solid var(--line); flex-direction: column; background: rgba(255,255,255,.9); backdrop-filter: blur(24px); padding: 8px; border-radius: 20px; opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.98); transition: .35s var(--ease); }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 13px 16px; }
  .nav-links .m-only { display: block; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }
}

/* ---------- buttons: liquid gradient, no drop shadows ---------- */
.corner { display: inline-block; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; margin-left: 10px; transform: translateY(-2px); transition: transform .35s var(--ease); }
.btn {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px; padding: 5px 5px 5px 22px; min-height: 52px; border-radius: 16px;
  font-weight: 500; font-size: 15.5px; color: #fff; border: 0; white-space: nowrap;
  background: var(--grad); background-size: 180% 180%; background-position: 0% 50%;
  transition: background-position .8s var(--ease), transform .35s var(--ease);
}
.btn::before { /* liquid highlight that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 60%);
}
.btn::after { /* sheen sweep */
  content: none;
}
.btn:hover { background: var(--brand-d); }
.btn:hover::before { opacity: 1; }
.btn:hover::after { left: 130%; }
.btn .chip { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.95); display: grid; place-items: center; transition: transform .45s var(--ease); }
.btn .chip::after { content: ""; width: 9px; height: 9px; border-right: 1.7px solid var(--indigo); border-bottom: 1.7px solid var(--indigo); transform: translate(-1px, -1px); transition: transform .35s var(--ease); }
.btn:hover .chip { transform: rotate(-90deg); }
.btn:hover .corner { transform: translate(2px, -1px); }
.btn.ghost { color: var(--ink); background: #fff; border: 1px solid var(--line-2); padding: 5px 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn.ghost::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(91,91,234,.14), transparent 60%); }
.btn.ghost:hover { background: var(--soft); }
.btn.light { color: var(--indigo); background: #fff; }
.btn.light .chip { background: var(--brand); }
.btn.light:hover { background: var(--brand-tint); }
.btn.light .chip::after { border-color: #fff; }
.btn.sm { min-height: 46px; padding: 4px 4px 4px 18px; font-size: 15px; border-radius: 14px; }
.btn.sm.ghost { padding: 4px 18px; }
.btn.sm .chip { width: 38px; height: 38px; border-radius: 10px; }

/* ---------- labels ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; border: 1px dashed rgba(91,91,234,.45); background: rgba(255,255,255,.55); backdrop-filter: blur(10px); font-size: 14.5px; }
.pill b { background: var(--grad); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 999px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill .corner { margin-left: 2px; color: var(--indigo); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--brand); }

/* ---------- sections ---------- */
.screen { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
.section { padding: 120px 0; }
.page-hero { background: #fff; }
.sky { background: radial-gradient(60% 55% at 50% 0%, rgba(206,222,255,.75), transparent 70%), radial-gradient(35% 40% at 8% 12%, rgba(206,244,226,.7), transparent 70%), radial-gradient(35% 40% at 94% 18%, rgba(228,219,255,.7), transparent 70%), #fff; }
.tint { background: linear-gradient(180deg, #fff 0%, #f6f8fc 100%); overflow: clip; } /* clip, not hidden: hidden would break the sticky story panel */
.tint.alt { background: linear-gradient(180deg, #f7f8fd 0%, #fff 100%); }
.paper { background: var(--soft); }
.h-xl { font-size: clamp(44px, 6.8vw, 96px); }
.h-lg { font-size: clamp(36px, 4.8vw, 66px); }
.h-md { font-size: clamp(28px, 3.3vw, 44px); }
.lead { font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; max-width: 620px; }
.grad-text { color: var(--brand); }
.sky h1 .grad-text { background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 980px) { .split, .split.rev { grid-template-columns: 1fr; gap: 40px; } .split.rev > :first-child { order: 0; } }
.stack > * + * { margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; margin-top: 3px; width: 20px; height: 20px; border-radius: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center/12px no-repeat, var(--grad); }

/* ---------- liquid blobs ---------- */
.liquid { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; width: var(--s, 480px); height: var(--s, 480px); filter: blur(70px); opacity: .45; mix-blend-mode: multiply;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 16s ease-in-out infinite alternate, float 22s ease-in-out infinite alternate; }
.blob.b1 { background: #bff0d8; top: -12%; left: -8%; }
.blob.b2 { background: #c4d8ff; top: 10%; right: -10%; --s: 560px; animation-delay: -5s, -8s; }
.blob.b3 { background: #ddd2ff; bottom: -18%; left: 30%; --s: 520px; animation-delay: -9s, -3s; }
.blob.b4 { background: #b9e6ff; bottom: 5%; left: -10%; --s: 380px; animation-delay: -2s, -12s; }
@keyframes morph {
  0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  50% { border-radius: 63% 37% 35% 65% / 55% 62% 38% 45%; }
  100% { border-radius: 35% 65% 52% 48% / 38% 46% 54% 62%; }
}
@keyframes float { to { transform: translate(60px, 40px) rotate(25deg) scale(1.08); } }
.glow { display: none; }
.z1 { position: relative; z-index: 1; }

/* ---------- reveal + split words ---------- */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.zoom { transform: translateY(50px) scale(.94); }
.reveal.zoom.in { transform: none; }
[data-split].reveal { opacity: 1; transform: none; filter: none; }
[data-split] .w { display: inline-block; opacity: 0; transform: translateY(45%) rotate(3deg); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi) * 55ms); }
[data-split].in .w { opacity: 1; transform: none; filter: none; }

/* ---------- app window mock (glass frame) ---------- */
.window { background: #fff; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; color: var(--ink); text-align: left; outline: 8px solid #f1f3f7; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(250,251,253,.8); font-size: 12px; color: var(--ink-3); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dde2ea; }
.win-bar span { margin-left: 10px; }
.app { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; font-size: 13px; background: rgba(248,250,253,.7); }
.app-side .logo-row { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 500; font-family: var(--font-display); font-size: 15px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); }
.app-side a.on { background: var(--brand-tint); color: var(--brand); font-weight: 600; }
.app-side a i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .3; }
.app-side .grp { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px 4px; }
.app-main { padding: 20px 22px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.app-head h4 { font-size: 20px; letter-spacing: -.02em; }
.app-head small { color: var(--ink-3); font-size: 12.5px; display: block; font-family: var(--font); letter-spacing: 0; font-weight: 400; margin-top: 4px; }
.mini-btn { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 9px; background: var(--grad); color: #fff; white-space: nowrap; }
.mini-btn.alt { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
@media (max-width: 720px) { .app { grid-template-columns: 1fr; } .app-side { display: none; } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 720px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.kpi label { font-size: 11.5px; color: var(--ink-3); display: block; }
.kpi strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; display: block; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: #1d8a62; background: rgba(52,195,143,.14); padding: 1px 7px; border-radius: 999px; }
.kpi em.down { color: var(--red); background: rgba(210,69,58,.1); }
.panels { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-top: 10px; }
@media (max-width: 720px) { .panels { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; min-width: 0; }
.panel h5 { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; display: flex; justify-content: space-between; color: var(--ink-2); }

/* bars */
.bars { display: flex; align-items: flex-end; gap: 7px; height: 150px; padding-top: 18px; position: relative; }
.bars .b { flex: 1; border-radius: 6px 6px 2px 2px; background: #e6ebf3; height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 60ms); position: relative; }
.bars .b.hi { background: var(--grad); }
.bars .b.t { background: #c9cff8; }
.in .bars .b, .bars.in .b { transform: scaleY(1); }
.bars .tip { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 10.5px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; transition: opacity .4s 1.2s; }
.in .bars .tip { opacity: 1; }
.axis { display: flex; gap: 7px; font-size: 10px; color: var(--ink-3); margin-top: 6px; }
.axis span { flex: 1; text-align: center; }

/* donut */
.donut { width: 120px; height: 120px; margin: 4px auto 10px; }
.donut circle { fill: none; stroke-width: 14; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 0 400; transition: stroke-dasharray 1.4s var(--ease); }
.legend { display: grid; gap: 6px; font-size: 12px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; }
.legend b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }

/* line chart */
.line path.stroke { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease); }
.line path.area { opacity: 0; transition: opacity 1s 1s; }
.in .line path.stroke { stroke-dashoffset: 0; }
.in .line path.area { opacity: 1; }

/* table */
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 11.5px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.tag.g { background: rgba(52,195,143,.14); color: #1d8a62; }
.tag.o { background: rgba(232,170,40,.16); color: #8a5a00; }
.tag.r { background: rgba(210,69,58,.1); color: var(--red); }
.tag.b { background: rgba(47,111,222,.1); color: var(--blue); }
.tag.n { background: rgba(22,32,58,.06); color: var(--ink-2); }
.scroll-x { overflow-x: auto; }

/* ---------- module strip ---------- */
.band { padding: 0; background: #fff; }
.band-label { text-align: center; font-size: 13.5px; color: var(--ink-3); padding: 22px 0 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; padding: 26px 40px; font-family: var(--font-display); font-weight: 500; font-size: 19px; color: #8a93a8; white-space: nowrap; border-right: 1px solid var(--line); transition: color .3s; }
.marquee-item:hover { color: var(--indigo); }
.marquee-item i { width: 18px; height: 18px; border-radius: 6px; background: currentColor; opacity: .35; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards: glass, spotlight, gradient edge on hover, no shadow ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; padding: 28px; border-radius: var(--r);
  background: var(--soft); border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s;
}
.card::before { /* spotlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(79,91,227,.06), transparent 65%);
}
.card::after { /* gradient edge */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(91,91,234,.7), rgba(47,111,222,.25) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); background: #fff; border-color: rgba(79,91,227,.28); }
.card::after { display: none; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { font-size: 21px; letter-spacing: -.02em; margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .num { position: absolute; top: 24px; right: 24px; font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: var(--brand-tint); }
.ico svg { width: 22px; height: 22px; }
.card.solid { background: var(--grad); color: #fff; border-color: transparent; }
.card.solid p { color: rgba(255,255,255,.82); }
.card.solid .ico { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- side dots (home) ---------- */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; padding: 10px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.dots a { width: 8px; height: 8px; border-radius: 999px; background: rgba(22,32,58,.2); transition: .5s var(--ease); position: relative; }
.dots a.on { background: var(--grad); height: 24px; }
.dots a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .25s; }
.dots a:hover span { opacity: 1; }
@media (max-width: 880px) { .dots { display: none; } }

/* ---------- pinned story ---------- */
.story { height: 520vh; }
.story-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-steps { display: grid; gap: 6px; margin-top: 30px; }
.story-step { display: flex; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 16px; opacity: .45; transition: .6s var(--ease); border: 1px solid transparent; cursor: pointer; }
.story-step b { width: 32px; height: 32px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.6); transition: .5s var(--ease); }
.story-step.on { opacity: 1; background: #fff; border-color: var(--line); }
.story-step.on b { background: var(--grad); border-color: transparent; color: #fff; }
.story-step.done { opacity: .8; }
.story-step.done b { background: rgba(52,195,143,.18); color: #1d8a62; border-color: transparent; }
.story-stage { position: relative; height: 470px; }
.story-card { position: absolute; inset: 0; opacity: 0; transform: translateY(46px) scale(.95); filter: blur(8px); transition: .8s var(--ease); pointer-events: none; }
.story-card.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.story-bar { height: 4px; border-radius: 4px; background: rgba(22,32,58,.08); margin-top: 26px; overflow: hidden; }
.story-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--grad); }
@media (max-width: 980px) { .story-stage { height: 430px; } .story-steps { grid-template-columns: repeat(3, 1fr); } .story-step span { display: none; } .story-step { justify-content: center; } }

/* ---------- mock parts ---------- */
.kan { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }
.kan-col { background: #f3f5fa; border-radius: 12px; padding: 10px; }
.kan-col h6 { margin: 0 0 8px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; display: flex; justify-content: space-between; }
.kan-card { background: #fff; border-radius: 10px; padding: 10px; font-size: 12px; border: 1px solid var(--line); margin-bottom: 8px; }
.kan-card b { display: block; font-size: 12.5px; margin-bottom: 3px; }
.kan-card small { color: var(--ink-3); }
.field { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 12.5px; background: #fff; }
.field label { display: block; font-size: 10.5px; color: var(--ink-3); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; font-weight: 700; font-size: 15px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--c, var(--blue)); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; overflow: hidden; padding: 38px; border-radius: 26px; background: #fff; border: 1px solid var(--line); outline: 8px solid #f3f5f9; }
.price-card.feature { background: var(--grad); color: #fff; border-color: transparent; }
.price-card.feature .muted { color: rgba(255,255,255,.82); }
.price-card.feature .ticks li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5bea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center/12px no-repeat, #fff; }
.price-card.feature .pill { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: #fff; }
.price-card.feature .pill b { background: #fff; color: var(--indigo); }
.price-card.feature .blob { mix-blend-mode: soft-light; opacity: .55; }
.price { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); letter-spacing: -.035em; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 18px; font-family: var(--font); letter-spacing: 0; font-weight: 400; opacity: .7; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: rgba(22,32,58,.1); }
.timeline .fill { position: absolute; left: 0; top: 21px; height: 2px; width: 0; border-radius: 2px; background: var(--grad); transition: width 2.2s var(--ease); }
.in .timeline .fill, .timeline.in .fill { width: 100%; }
.tl-step { position: relative; padding-right: 18px; }
.tl-step .dot { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 500; font-size: 13.5px; position: relative; z-index: 1; transition: .6s var(--ease); transition-delay: var(--d); }
.in .tl-step .dot { background: var(--grad); color: #fff; border-color: transparent; }
.tl-step h4 { font-size: 19px; margin: 18px 0 4px; letter-spacing: -.02em; }
.tl-step .amt { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tl-step p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; gap: 28px 0; } .timeline::before, .timeline .fill { display: none; } }
input[type=range] { accent-color: var(--indigo); }

.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; font-weight: 300; color: var(--indigo); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin-top: 12px; max-width: 760px; animation: panelIn .5s var(--ease); }

/* ---------- tabs ---------- */
.tabs-wrap { text-align: center; }
.tabs { display: inline-flex; gap: 2px; flex-wrap: wrap; justify-content: center; padding: 5px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 9px 16px; border-radius: 11px; font-weight: 500; font-size: 14px; color: var(--ink-3); transition: .35s var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--grad); color: #fff; }
.tab-panel { display: none; animation: panelIn .7s var(--ease); }
.tab-panel.on { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-size: 13.5px; font-weight: 500; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.8); color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(91,91,234,.14); }

/* ---------- booking widget ---------- */
.booker { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line); outline: 8px solid #f1f3f7; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 22px; }
.steps-bar span { flex: 1; height: 4px; border-radius: 4px; background: rgba(22,32,58,.08); overflow: hidden; position: relative; }
.steps-bar span::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.steps-bar span.on::after { transform: none; }
.bk-step { display: none; animation: panelIn .6s var(--ease); }
.bk-step.on { display: block; }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bk-head h3 { font-size: 22px; }
.icon-btn { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.7); display: grid; place-items: center; color: var(--ink); transition: .25s; }
.icon-btn:hover:not(:disabled) { border-color: var(--indigo); color: var(--indigo); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .dow { font-size: 11.5px; color: var(--ink-3); padding-bottom: 4px; letter-spacing: .06em; text-transform: uppercase; }
.cal button { aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: var(--soft); font-weight: 500; font-size: 14.5px; color: var(--ink); transition: .3s var(--ease); position: relative; }
.cal button:hover:not(:disabled) { border-color: var(--indigo); transform: translateY(-2px); }
.cal button:disabled { background: transparent; color: #b7bdca; cursor: default; }
.cal button.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--indigo); transform: translateX(-50%); }
.cal button.sel { background: var(--grad); color: #fff; }
.cal .pad { visibility: hidden; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 300px; overflow: auto; padding-right: 2px; }
.slots button { padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 500; font-size: 14.5px; color: var(--ink); transition: .3s var(--ease); }
.slots button:hover { border-color: var(--indigo); color: var(--indigo); }
.slots button.sel { background: var(--grad); color: #fff; border-color: transparent; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: rgba(22,32,58,.05); }
.seg label { display: grid; place-items: center; gap: 2px; padding: 10px 6px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; text-align: center; transition: .3s var(--ease); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--indigo); }
.summary-chip { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(91,91,234,.08); font-size: 14px; margin-bottom: 16px; }
.summary-chip b { font-weight: 600; }
.link-btn { background: none; border: 0; color: var(--indigo); font-weight: 500; padding: 0; margin-left: auto; }
.booker.live { padding: 10px; }
.cal-embed { min-height: 560px; width: 100%; border-radius: 20px; overflow: auto; }
.cal-loading { padding: 40px; text-align: center; }
.done-badge { width: 76px; height: 76px; border-radius: 24px; background: var(--grad); display: grid; place-items: center; color: #fff; margin: 6px auto 0; animation: pop .8s var(--ease); }
@keyframes pop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; color: var(--ink-2); padding: 80px 0 40px; background: var(--soft); border-top: 1px solid var(--line); }
.site-footer .liquid { display: none; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.foot-grid h6 { color: var(--ink); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
.foot-grid a { display: block; padding: 4px 0; font-size: 14.5px; transition: color .25s; }
.foot-grid a:hover { color: var(--indigo); }
.foot-base { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 60px; padding-top: 24px; font-size: 13.5px; flex-wrap: wrap; }
.site-footer .brand { color: var(--ink); display: flex; padding: 0; }
.foot-big { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 500; font-size: clamp(80px, 18vw, 260px); letter-spacing: -.05em; line-height: .8; margin-top: 50px; user-select: none; color: rgba(22,32,58,.05); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* inner pages */
.page-hero { padding: 180px 0 100px; overflow: hidden; text-align: center; }
.page-hero .lead { margin-inline: auto; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.subnav { position: sticky; top: 72px; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; width: max-content; max-width: calc(100% - 32px); }
.subnav a { padding: 7px 14px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: .3s var(--ease); }
.subnav a:hover { color: var(--ink); }
.subnav a.on { background: var(--grad); color: #fff; }
.feature-block { padding: 100px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-split] .w { opacity: 1; transform: none; filter: none; }
}

/* =========================================================================
   v5 building blocks (cal.com-style product pages)
   ========================================================================= */
.page-hero.left { text-align: left; padding: 160px 0 60px; }
.page-hero.left .lead { margin-inline: 0; }
.tag { display: inline-block; }
.chip-label { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; transition: border-color .25s, color .25s; }
.more:hover { border-color: var(--brand); color: var(--brand); }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(3px); }

/* framed screenshot: grey stage, window cut off at the bottom */
.shot { background: var(--soft); border: 1px solid var(--line); border-radius: 28px; padding: 48px 48px 0; overflow: hidden; }
.shot .window { outline: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
@media (max-width: 720px) { .shot { padding: 18px 18px 0; border-radius: 20px; } }

/* grid-paper stage (agent style) */
.grid-stage { position: relative; border-radius: 28px; border: 1px solid var(--line); background-color: #f7f8fa;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px; overflow: hidden; }

/* section heading block */
.sec-head { max-width: 720px; }
.sec-head h2 { margin-bottom: 14px; }

/* stepper (scheduling style): step list left, screen right */
.stepper { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; margin-top: 44px; }
@media (max-width: 980px) { .stepper { grid-template-columns: 1fr; } }
.st-list { display: grid; gap: 8px; }
.st-item { text-align: left; border: 1px solid var(--line); background: var(--soft); border-radius: 18px; padding: 16px 18px; cursor: pointer; transition: background .35s, border-color .35s; position: relative; overflow: hidden; font: inherit; color: inherit; }
.st-item small { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.st-item b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -.015em; }
.st-item p { font-size: 14px; color: var(--ink-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.st-item.on { background: #fff; border-color: var(--line-2); }
.st-item.on p { max-height: 90px; opacity: 1; margin-top: 6px; }
.st-item .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); }
.st-item.on .prog { animation: prog var(--dur, 6s) linear forwards; }
.stepper.paused .st-item.on .prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
.st-stage { position: relative; min-height: 440px; }
.st-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.st-panel.on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 980px) { .st-stage { min-height: 400px; } }

/* alternating feature rows */
.frow { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.frow:first-of-type { border-top: 0; }
.frow.rev > :first-child { order: 2; }
.frow h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 14px 0 12px; }
.frow .ticks { margin-top: 18px; font-size: 15px; }
.frow .more { margin-top: 22px; }
.fstage { background: var(--soft); border: 1px solid var(--line); border-radius: 26px; padding: 36px; }
.fstage .window { outline: 0; }
@media (max-width: 980px) { .frow, .frow.rev { grid-template-columns: 1fr; gap: 30px; padding: 50px 0; } .frow.rev > :first-child { order: 0; } .fstage { padding: 16px; border-radius: 20px; } }

/* pinned scroll, agent style: text bottom-left, screen on grid stage right */
.story.agent { height: 480vh; border-top: 1px solid var(--line); }
.agent .story-pin { align-items: stretch; padding: 110px 0 50px; }
.agent .ag { display: grid; grid-template-columns: 340px 1fr; gap: 48px; height: 100%; }
.agent .ag-text { position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.agent .ag-steps { position: relative; flex: 1; }
.agent .story-step { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 0; border: 0; background: none !important; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; cursor: default; }
.agent .story-step.on { opacity: 1; transform: none; pointer-events: auto; }
.agent .story-step h3 { font-size: 30px; margin: 14px 0 10px; }
.agent .story-step p { color: var(--ink-2); font-size: 15.5px; }
.agent .story-step .more { margin-top: 18px; }
.agent .ag-dots { display: flex; gap: 6px; margin-top: 26px; }
.agent .ag-dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .4s, width .4s var(--ease); }
.agent .ag-dots i.on { background: var(--brand); width: 40px; }
.agent .story-stage { height: auto; }
.agent .grid-stage { height: 100%; }
.agent .story-card { inset: 0; display: grid; place-items: center; padding: 40px; }
.agent .story-card > * { width: min(560px, 100%); }
@media (max-width: 980px) {
  .story.agent { height: auto; }
  .agent .story-pin { position: static; height: auto; padding: 60px 0; }
  .agent .ag { grid-template-columns: 1fr; gap: 0; }
  .agent .ag-text, .agent .ag-dots { display: none; }
  .agent .grid-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 18px; background-image: none; }
  .agent .story-card { position: static; display: block; opacity: 1; transform: none; filter: none; padding: 0; min-width: 0; }
  .agent .story-card > * { width: 100%; min-width: 0; }
  .agent .story-card .m-text { display: block; }
}
.m-text { display: none; margin-bottom: 14px; }
.m-text h3 { font-size: 24px; margin: 10px 0 6px; }
.m-text p { color: var(--ink-2); font-size: 15px; }

/* floating mini cards on a stage */
.float-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; max-width: 100%; }
.chat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.chat .q { justify-self: end; background: var(--brand-tint); color: var(--ink); padding: 9px 13px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
.chat .a { background: var(--soft); padding: 9px 13px; border-radius: 14px 14px 14px 4px; max-width: 90%; }

/* typed headline caret */
.caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: var(--brand); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* stat strip (insights) */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 720px) { .statrow { grid-template-columns: repeat(2, 1fr); } }
.fstage.st-stage { padding: 0; min-height: 500px; }
.fstage.st-stage .st-panel { inset: 28px; }
@media (max-width: 720px) { .fstage.st-stage { min-height: 440px; } .fstage.st-stage .st-panel { inset: 12px; } }
.seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.seats i { aspect-ratio: 1; border-radius: 5px; background: #e6e9f0; }
.seats i.c { background: var(--brand); }
.seats i.h { background: #c9cff8; }
.tg { width: 30px; height: 18px; border-radius: 999px; background: #dfe3ea; position: relative; display: inline-block; vertical-align: middle; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: .3s; }
.tg.on { background: var(--brand); }
.tg.on::after { left: 14px; }

/* ---------- home story: every step screen is the same size ---------- */
.story:not(.agent) .story-stage { height: 440px; }
.story:not(.agent) .story-card > .window { height: 100%; display: flex; flex-direction: column; }
.story:not(.agent) .story-card > .window > .app-main { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.story:not(.agent) .story-card > .window > .app-main > .kan { align-self: stretch; }
@media (max-width: 980px) { .story:not(.agent) .story-stage { height: 420px; } }

/* ---------- dashboard content animates in: rows, cards, fields, seats ---------- */
.window :is(.tbl tr, .kan-card, .field, .kpi, .seats i, .sum-row) { opacity: 0; }
:is(.in, .on) .window :is(.tbl tr, .kan-card, .field, .kpi, .sum-row), .in.window :is(.tbl tr, .kan-card, .field, .kpi, .sum-row) { animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--ri, 0) * 70ms + .15s); }
:is(.in, .on) .window .seats i { animation: seatIn .4s var(--ease) both; animation-delay: calc(var(--ri, 0) * 22ms + .2s); }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes seatIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) { .agent .window :is(.tbl tr, .kan-card, .field, .kpi, .seats i, .sum-row) { opacity: 1; animation: none; } }
@media (prefers-reduced-motion: reduce) { .window :is(.tbl tr, .kan-card, .field, .kpi, .seats i, .sum-row) { opacity: 1; } }

/* ---------- phone mockup (customer portal) ---------- */
.phone { position: relative; width: 300px; height: 620px; border-radius: 52px; padding: 11px; flex: none; margin-inline: auto;
  background: linear-gradient(150deg, #f4f6fa 0%, #d9dee7 55%, #eef1f6 100%); border: 1px solid rgba(22,32,58,.14); }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #cfd5df; }
.phone::before { right: -4px; top: 150px; height: 70px; }
.phone::after { left: -4px; top: 120px; height: 44px; box-shadow: 0 64px 0 #cfd5df; }
.phone-screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #f6f7f9; display: flex; flex-direction: column; border: 1px solid rgba(22,32,58,.1); }
.phone-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 16px; background: #16203a; z-index: 3; }
.phone-status { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 4px 26px 0; font-size: 13px; font-weight: 600; color: #fff; position: relative; z-index: 2; }
.phone-status svg { height: 11px; width: auto; }
.phone-top { background: var(--brand); color: #fff; margin-top: -48px; padding: 56px 18px 18px; }
.phone-agency { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; opacity: .92; }
.phone-agency i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }
.phone-top h4 { font-size: 22px; margin-top: 14px; letter-spacing: -.02em; }
.phone-top small { opacity: .8; font-size: 12.5px; }
.phone-chips { display: flex; gap: 6px; margin-top: 10px; }
.phone-chips span { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.2); }
.phone-body { flex: 1; min-height: 0; padding: 12px; display: grid; gap: 8px; align-content: start; overflow: hidden; }
.phone-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; }
.phone-row .ico { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.phone-row .ico svg { width: 17px; height: 17px; }
.phone-row b { display: block; font-size: 13px; }
.phone-row small { color: var(--ink-3); }
.phone-row .tag { margin-left: auto; }
.phone-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 8px 6px 20px; position: relative; }
.phone-tabs span { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; color: var(--ink-3); }
.phone-tabs span svg { width: 19px; height: 19px; }
.phone-tabs span.on { color: var(--brand); font-weight: 600; }
.phone-tabs::after { content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 4px; background: #16203a; opacity: .85; }
.phone .phone-row { opacity: 0; }
:is(.in, .on) .phone .phone-row { animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--ri, 0) * 90ms + .3s); }
@media (max-width: 400px) { .phone { width: 270px; height: 560px; } }
@media (prefers-reduced-motion: reduce) { .phone .phone-row { opacity: 1; } }

/* =========================================================================
   v6 Airverse: soft aqua glass gradient (from the reference cards)
   ========================================================================= */
:root {
  --brand: #0e8fa6;          /* teal-cyan accent: active states, charts, links */
  --brand-d: #0b7387;
  --brand-tint: #e2f6f9;
  --grad-text: linear-gradient(95deg, #0e8fa6 0%, #4e8fe6 55%, #8b7cf2 100%);
  --aqua: linear-gradient(180deg, #f4f5f8 0%, #ebeff4 42%, #d3eff5 78%, #c6eef4 100%);   /* the site gradient */
  --aqua-soft: linear-gradient(180deg, #ffffff 0%, #f3f6f9 55%, #e3f4f7 100%);
  --glass-edge: inset 0 0 0 1.5px rgba(255,255,255,.9);
}

/* highlight words: one gradient highlight per headline */
.grad-text, .sky h1 .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; animation: none; }

/* header: full width, plain links (no brackets, no box) */
.nav { width: calc(100% - 48px); }
.nav-links { background: transparent; border: 0; padding: 0; gap: 6px; }
.nav-links a::before, .nav-links a::after { content: none; }
.nav-links a { color: var(--ink-2); font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-links a[aria-current="page"] { color: var(--brand-d); background: var(--brand-tint); }
@media (max-width: 880px) { .nav-links { background: #fff; border: 1px solid var(--line); padding: 8px; } }

/* buttons: aqua glass pill + white round chip */
.btn { color: var(--ink); border-radius: 999px; padding: 5px 5px 5px 24px; background: linear-gradient(180deg, #f0fcfe 0%, #cdeff5 100%); border: 1.5px solid #fff; outline: 1px solid rgba(14,143,166,.18); outline-offset: 0; }
.btn:hover { background: linear-gradient(180deg, #e4f9fc 0%, #bde8f0 100%); }
.btn::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255,255,255,.6), transparent 60%); }
.btn .chip { width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.btn .chip::after { border-color: var(--ink); }
.btn:hover .chip { transform: rotate(-45deg); }
.btn.ghost, .btn.light { color: var(--ink); background: #fff; border: 1px solid var(--line-2); outline: 0; padding: 5px 24px; }
.btn.light { padding: 5px 5px 5px 24px; }
.btn.light .chip { background: var(--brand-tint); }
.btn.light .chip::after { border-color: var(--ink); }
.btn.ghost:hover, .btn.light:hover { background: var(--soft); }
.btn.sm { padding: 4px 4px 4px 18px; }
.btn.sm.ghost { padding: 4px 18px; }
.btn.sm .chip { width: 36px; height: 36px; border-radius: 50%; }
.mini-btn { border-radius: 999px; background: var(--brand); }
.pill { border-color: rgba(14,143,166,.4); }
.pill b { background: var(--brand); }

/* cards: glass with the aqua gradient and a white inner edge */
.card { background: var(--aqua); border: 1px solid rgba(22,32,58,.07); box-shadow: var(--glass-edge); border-radius: 28px; }
.card:hover { background: linear-gradient(180deg, #f7f8fa 0%, #eef3f7 40%, #d9f2f7 75%, #c2ecf3 100%); border-color: rgba(14,143,166,.25); }
.ico { background: #fff; color: var(--ink); border-radius: 50%; box-shadow: var(--glass-edge); }
.card.solid { background: var(--aqua); color: var(--ink); }
.card.solid p { color: var(--ink-2); }
.card.solid .ico { background: #fff; color: var(--ink); }

/* one stage style for every dashboard (features + how it works): aqua gradient + small, light grid */
.shot, .fstage, .grid-stage, .booker {
  border: 1px solid rgba(22,32,58,.07); box-shadow: var(--glass-edge); border-radius: 32px; outline: 0;
  background-color: #eef2f6;
  background-image:
    linear-gradient(rgba(22,32,58,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,32,58,.035) 1px, transparent 1px),
    var(--aqua);
  background-size: 14px 14px, 14px 14px, 100% 100%;
  background-position: -1px -1px, -1px -1px, 0 0;
}
.booker .cal button { background: rgba(255,255,255,.8); }
.window { border-radius: 18px; }

/* sections */
.sky { background: radial-gradient(60% 55% at 50% 0%, rgba(198,238,244,.8), transparent 70%), radial-gradient(35% 40% at 8% 14%, rgba(222,244,248,.9), transparent 70%), radial-gradient(35% 40% at 94% 18%, rgba(230,224,252,.75), transparent 70%), #fff; }
.blob.b1 { background: #c9eff5; } .blob.b2 { background: #d6e4fb; } .blob.b3 { background: #e3dcfb; } .blob.b4 { background: #cdf1f6; }
.page-hero { background: var(--aqua-soft); }
.price-card { box-shadow: var(--glass-edge); border-radius: 32px; outline: 0; background: #fff; }
.price-card.feature { background: var(--aqua); color: var(--ink); border: 1px solid rgba(22,32,58,.07); }
.price-card.feature .muted { color: var(--ink-2); }
.price-card.feature .ticks li::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 7.5'/%3E%3C/svg%3E") center/12px no-repeat, var(--brand); }
.price-card.feature .pill { background: #fff; border-color: rgba(14,143,166,.4); color: var(--ink); }
.price-card.feature .pill b { background: var(--brand); color: #fff; }

/* chart and mock colours */
.bars .b.t { background: #bfe8ef; }
.seats i.h { background: #bfe8ef; }
.chip-label { border-radius: 999px; box-shadow: var(--glass-edge); }
.st-item { border-radius: 22px; background: var(--aqua); box-shadow: var(--glass-edge); }
.st-item.on { background: #fff; }
.frow h3 { letter-spacing: -.02em; }

/* =========================================================================
   v7: gradient only at the top of pages; simple, light surfaces elsewhere
   ========================================================================= */
/* surfaces: back to light grey, no glass edge */
.card { background: var(--soft); border: 1px solid var(--line); box-shadow: none; border-radius: 22px; }
.card:hover { background: #fff; border-color: rgba(14,143,166,.28); }
.card.solid { background: var(--soft); }
.ico { background: var(--brand-tint); color: var(--brand); border-radius: 14px; box-shadow: none; }
.card.solid .ico { background: var(--brand-tint); color: var(--brand); }
.chip-label { box-shadow: none; }
.st-item { background: var(--soft); box-shadow: none; border-radius: 18px; }
.st-item.on { background: #fff; }

/* dashboard stages: plain light grey with the small faint grid */
.shot, .fstage, .grid-stage {
  box-shadow: none; border: 1px solid var(--line); border-radius: 28px;
  background-color: var(--soft);
  background-image: linear-gradient(rgba(22,32,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(22,32,58,.035) 1px, transparent 1px);
  background-size: 14px 14px, 14px 14px; background-position: -1px -1px, -1px -1px;
}
.booker { box-shadow: none; border: 1px solid var(--line); border-radius: 28px; background: #fff; background-image: none; outline: 8px solid #f1f3f7; }
.booker .cal button { background: var(--soft); }
.price-card { box-shadow: none; outline: 8px solid #f3f5f9; background: #fff; border-radius: 26px; }
.price-card.feature { background: var(--soft); border: 1px solid var(--line); }

/* buttons in the page: simple and light (solid teal primary, white secondary) */
.btn { color: #fff; background: var(--brand); border: 0; outline: 0; border-radius: 14px; padding: 5px 5px 5px 22px; }
.btn:hover { background: var(--brand-d); }
.btn::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255,255,255,.2), transparent 60%); }
.btn .chip { border-radius: 10px; background: #fff; }
.btn .chip::after { border-color: var(--brand); }
.btn:hover .chip { transform: none; }
.btn.ghost, .btn.light { color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; }
.btn.light .chip { background: var(--brand-tint); }
.btn.light .chip::after { border-color: var(--brand); }

/* highlight words: solid teal; the gradient highlight stays only in page-top headlines */
.grad-text { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--brand); }
:is(.sky, .page-hero) h1 .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header: plain text links and buttons, no shapes */
@media (max-width: 880px) { .site-header .nav-links { background: #fff; } .nav-toggle { border-radius: 10px; } }

/* =========================================================================
   v8: lighter grid, header link underline, header buttons back,
   space above the footer, boarding-pass booking, trial pass, fare chart
   ========================================================================= */
/* dashboard stages: an even fainter grid on near-white */
.shot, .fstage, .grid-stage {
  background-color: #fbfcfd;
  background-image: linear-gradient(rgba(22,32,58,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(22,32,58,.02) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px;
}

/* header links: a teal underline grows from the centre */
.site-header .nav-links a, .site-header .nav-links a:hover, .site-header .nav-links a[aria-current="page"] {
  background: linear-gradient(var(--brand), var(--brand)) 50% calc(100% - 3px) / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease), color .25s;
}
.site-header .nav-links a:hover { color: var(--ink); background-size: calc(100% - 24px) 1.5px; }
.site-header .nav-links a[aria-current="page"] { color: var(--brand-d); background-size: calc(100% - 24px) 1.5px; }
.site-header .nav-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* header actions: real buttons again */
.site-header .nav-cta { gap: 8px; }
.site-header .nav-cta .btn { min-height: 42px; padding: 4px 4px 4px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; gap: 12px; background: var(--brand); color: #fff; border: 0; }
.site-header .nav-cta .btn:hover { background: var(--brand-d); color: #fff; }
.site-header .nav-cta .btn.ghost { padding: 4px 16px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.site-header .nav-cta .btn.ghost:hover { background: var(--soft); color: var(--ink); }
.site-header .nav-cta .btn .chip { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.site-header .nav-cta .btn .chip::after { border-color: var(--brand); }

/* breathing room between the last section and the footer */
.site-footer { margin-top: clamp(80px, 10vw, 140px); }

/* ---------- book a demo: the scheduler is a boarding pass ---------- */
.pass { --tear: 230px; --p: 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px;
  -webkit-mask: radial-gradient(circle 13px at 0 var(--tear), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--tear), #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 var(--tear), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--tear), #0000 97%, #000) right / 51% 100% no-repeat; }
.pass-top { padding: 26px 30px 24px; }
.pass-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.pass-head .brand-sm { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.pass-head .brand-sm [data-logo] { width: 22px; display: inline-flex; }
.pass-no { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 22px; }
.pass-route .end small { display: block; font-size: 12px; color: var(--ink-3); }
.pass-route .end b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 38px; letter-spacing: -.03em; line-height: 1.05; }
.pass-route .end span { font-size: 13px; color: var(--ink-2); }
.pass-route .end:last-child { text-align: right; }
.pass-line { position: relative; height: 26px; }
.pass-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--line-2); }
.pass-line::after { content: ""; position: absolute; left: 0; top: calc(50% - .75px); height: 1.5px; width: calc(var(--p) * 100%); background: var(--brand); transition: width .9s var(--ease); }
.pass-plane { position: absolute; top: 0; left: calc(var(--p) * (100% - 26px)); width: 26px; height: 26px; color: var(--brand); background: #fff; display: grid; place-items: center; transition: left .9s var(--ease); z-index: 1; }
.pass-plane svg { width: 20px; height: 20px; transform: rotate(45deg); }
.pass-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 14px; margin-top: 22px; }
.pass-fields small { display: block; font-size: 12px; color: var(--ink-3); }
.pass-fields b { display: block; font-weight: 600; font-size: 14.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.pass-fields b.empty { color: #b7bdca; font-weight: 500; }
.pass-tear { border-top: 1.5px dashed var(--line-2); margin: 0 22px; }
.pass .booker { border: 0; outline: 0; border-radius: 0; background: none; box-shadow: none; padding: 26px 30px 8px; }
.pass-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 30px 26px; font-size: 13px; color: var(--ink-3); }
.barcode { width: 150px; height: 30px; opacity: .55; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px); }
.pass-stamp { position: absolute; right: 26px; top: 64px; padding: 6px 12px; border: 2px solid var(--brand); border-radius: 10px; color: var(--brand); font-weight: 600; font-size: 13px; transform: rotate(-9deg) scale(1.5); opacity: 0; transition: transform .5s var(--ease), opacity .3s; pointer-events: none; background: rgba(255,255,255,.85); }
.pass.done .pass-stamp { opacity: 1; transform: rotate(-9deg) scale(1); }
.pass .booker.live + * { display: none; }
@media (max-width: 560px) {
  .pass-top, .pass .booker { padding-inline: 20px; } .pass-foot { padding-inline: 20px; }
  .pass-fields { grid-template-columns: 1fr 1fr; }
  .pass-route .end b { font-size: 30px; }
}

/* ways to meet: one quiet list instead of three cards */
.ways { border-top: 1px solid var(--line); }
.ways > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ways .ico { width: 40px; height: 40px; border-radius: 12px; }
.ways b { font-weight: 600; display: block; }
.ways span { font-size: 14px; color: var(--ink-2); }

/* the 30 minutes as a departures board */
.board { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.board-row { display: grid; grid-template-columns: 110px 1fr 180px; gap: 20px; align-items: center; padding: 18px 28px; border-top: 1px solid var(--line); }
.board-row:first-child { border-top: 0; background: var(--soft); padding-block: 12px; font-size: 13px; color: var(--ink-3); }
.board-row .t { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.board-row .w { font-size: 16.5px; color: var(--ink); }
.board-row .g { justify-self: start; font-size: 13px; padding: 5px 11px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-d); font-weight: 500; }
.board-row:first-child .g { background: none; padding: 0; color: inherit; font-weight: 400; }
@media (max-width: 700px) { .board-row { grid-template-columns: 70px 1fr; padding: 16px 18px; } .board-row .g { grid-column: 2; } .board-row:first-child .g { display: none; } .board-row .t { font-size: 20px; } }

/* ---------- free trial: a live trial pass ---------- */
.tpass { position: relative; max-width: 460px; aspect-ratio: 1.6; padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transform: rotate(-2.5deg); transition: transform .6s var(--ease); }
.tpass:hover { transform: rotate(0); }
.tpass::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(14,143,166,.16) 1px, transparent 1.4px) 0 0 / 12px 12px; -webkit-mask: linear-gradient(115deg, transparent 45%, #000); mask: linear-gradient(115deg, transparent 45%, #000); pointer-events: none; }
.tpass > * { position: relative; }
.tpass-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.tpass-head .brand-sm { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 15px; }
.tpass-head .brand-sm [data-logo] { width: 22px; display: inline-flex; }
.tpass-tag { padding: 4px 10px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-d); font-weight: 600; font-size: 12.5px; }
.tpass-name { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpass-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-top: 14px; }
.tpass-meta small { display: block; font-size: 11.5px; color: var(--ink-3); }
.tpass-meta b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpass .empty { color: #b7bdca; }
.tpass-days { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin-top: 16px; }
.tpass-days i { height: 6px; border-radius: 2px; background: rgba(22,32,58,.08); }
.tpass-days i:first-child { background: var(--brand); }
.tpass-valid { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 480px) { .tpass { aspect-ratio: auto; min-height: 240px; padding: 22px; } .tpass-meta { grid-template-columns: 1fr 1fr; } }

/* the 30 days as a route */
.route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 64px; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; border-top: 1.5px dashed var(--line-2); }
.route-fill { position: absolute; left: 0; top: 20.25px; height: 1.5px; width: calc(var(--rp, 0) * 100%); background: var(--brand); }
.route-plane { position: absolute; top: 8px; left: calc(var(--rp, 0) * (100% - 28px)); width: 28px; height: 28px; display: grid; place-items: center; color: var(--brand); background: #fff; }
.route-plane svg { width: 22px; height: 22px; transform: rotate(45deg); }
.stop { position: relative; }
.stop::before { content: ""; position: absolute; top: -50px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); transition: background .4s, border-color .4s; }
.stop.on::before { background: var(--brand); border-color: var(--brand); }
.stop .day { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -.03em; color: #b7bdca; transition: color .4s; }
.stop.on .day { color: var(--brand); }
.stop h3 { font-size: 18px; margin-top: 6px; }
.stop p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 900px) {
  .route { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 34px; }
  .route::before { left: 6px; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 1.5px dashed var(--line-2); }
  .route-fill, .route-plane { display: none; }
  .stop::before { top: 10px; left: -34px; }
}
.after-strip { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding: 26px 30px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); }
.after-strip p { margin: 0; font-size: 17px; color: var(--ink); }
.after-strip p b { font-weight: 600; }

/* ---------- pricing: one plan switch drives the fare card, the receipt and the chart ---------- */
.plan-switch { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.plan-switch button { border: 0; background: none; padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 500; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s; }
.plan-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.plan-switch button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fare { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 26px; }
@media (max-width: 900px) { .fare { grid-template-columns: 1fr; } }
.fare-card { padding: 38px; border-radius: 26px; border: 1px solid var(--line); background: #fff; }
.fare-card .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.045em; line-height: 1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.fare-card .big small { font-size: .38em; letter-spacing: -.01em; color: var(--ink-3); }
.fare-card .ticks { margin-top: 26px; }
.receipt { position: relative; padding: 34px 32px; border-radius: 26px; background: var(--soft); border: 1px solid var(--line); }
.receipt h3 { font-size: 20px; }
.receipt .line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.receipt .line span { color: var(--ink-2); }
.receipt .line b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.receipt .line.total { border-bottom: 0; padding-top: 18px; font-size: 18px; }
.receipt .line.total span { color: var(--ink); font-weight: 600; }
.receipt .note { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }
[data-show][hidden] { display: none !important; }

.fchart-wrap { padding: 34px; border-radius: 26px; border: 1px solid var(--line); background: #fff; }
.fchart-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: end; }
.fchart-top input[type=range] { width: min(420px, 100%); accent-color: var(--brand); }
.fchart { display: grid; grid-template-columns: repeat(25, 1fr); gap: 5px; align-items: end; height: 220px; margin-top: 34px; }
.fchart i { display: block; height: var(--h); min-height: 4px; border-radius: 5px 5px 2px 2px; background: var(--brand); transition: height .7s var(--ease), background .3s, opacity .3s; cursor: default; }
.fchart i.lic { background: #4e8fe6; }
.fchart i.trial { background: none; border: 1.5px dashed var(--line-2); }
.fchart i.off { opacity: .18; }
.fchart i:hover { opacity: 1; filter: brightness(1.08); }
.fchart-axis { display: grid; grid-template-columns: repeat(25, 1fr); gap: 5px; font-size: 11.5px; color: var(--ink-3); margin-top: 8px; text-align: center; }
.fchart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-2); margin-top: 18px; }
.fchart-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: var(--c); vertical-align: -1px; }
.fchart-legend .t::before { background: none; border: 1.5px dashed var(--line-2); }
.fchart-read { font-size: 14px; color: var(--ink-2); min-height: 1.5em; margin-top: 6px; }
.fsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.fsum div { padding: 18px 0 0; }
.fsum div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.fsum small { display: block; font-size: 13px; color: var(--ink-3); }
.fsum b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .fchart { gap: 2px; height: 170px; } .fchart-axis { gap: 2px; } .fchart-axis span:nth-child(even) { visibility: hidden; } .fsum { grid-template-columns: 1fr; } .fsum div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; } .fchart-wrap, .fare-card, .receipt { padding: 24px; } }

.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .covers { grid-template-columns: 1fr; } }
.covers > div { padding: 34px; border-radius: 26px; border: 1px solid var(--line); background: var(--soft); }
.covers h3 { font-size: 22px; }
.covers .sub { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.covers ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.covers li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.covers li .ico { width: 34px; height: 34px; border-radius: 10px; flex: none; }
@media (max-width: 480px) { .covers ul { grid-template-columns: 1fr; } }
.ways p { margin: 0; }
.site-header .nav-cta .btn:not(.ghost), .site-header .nav-cta .btn:not(.ghost):hover { color: #fff; font-weight: 500; }
.summary-chip { background: var(--brand-tint); } .summary-chip [data-icon] { color: var(--brand) !important; } .seg label:has(input:checked) { color: var(--brand-d); }
.fchart i.zero { height: 2px !important; min-height: 2px; background: var(--line-2); }
.fchart, .fchart-axis { grid-template-columns: repeat(25, minmax(0, 1fr)); } .fchart-axis span { min-width: 0; white-space: nowrap; }

/* v9: on every inner page the top wash spreads past the hero and fades into white, no hard edge */
main:has(> .page-hero) {
  background:
    radial-gradient(70% 640px at 50% 0, rgba(198,238,244,.7), transparent 75%),
    radial-gradient(40% 520px at 4% 60px, rgba(222,244,248,.85), transparent 70%),
    radial-gradient(40% 560px at 97% 140px, rgba(230,224,252,.5), transparent 70%),
    #fff;
  background-repeat: no-repeat;
}
.page-hero { background: transparent; }
[data-fare] { padding-top: clamp(40px, 5vw, 64px); }
/* book a demo + contact: headline on top, content below */
.hero-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 56px; }
@media (max-width: 980px) { .hero-body { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.site-header .nav-links a { padding: 8px 12px; }
.site-header .nav-cta .btn::before { display: none; }
/* features sub-navigation: plain text, teal underline for the current section (no pill) */
.subnav a, .subnav a:hover, .subnav a.on { border-radius: 0; background: linear-gradient(var(--brand), var(--brand)) 50% calc(100% - 2px) / 0 1.5px no-repeat; transition: background-size .4s var(--ease), color .25s; }
.subnav a:hover { color: var(--ink); background-size: calc(100% - 28px) 1.5px; }
.subnav a.on { color: var(--brand-d); background-size: calc(100% - 28px) 1.5px; }
.gds { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font: 12px/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-2); white-space: pre; overflow-x: auto; }
/* spacing pass: content never sits on a section line */
.page-hero.left { padding-bottom: clamp(80px, 9vw, 120px); }
[data-fare] { padding-bottom: clamp(80px, 9vw, 120px); }
@media (max-width: 700px) { [data-tilt] { transform: none !important; } }

/* ticks: a small thin outline check instead of a filled box */
.ticks li::before, .price-card.feature .ticks li::before {
  width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; box-sizing: border-box;
  border: 1.5px solid rgba(14,143,166,.45);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8fa6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks li { gap: 12px; }
/* text rhythm: a list or card group never sits right under its paragraph */
.stack > .ticks, .stack > :is(.grid-2, .grid-3, .grid-4, .btn-row), :is(p, .lead) + .ticks { margin-top: 26px; }
.frow .ticks, .fare-card .ticks { margin-top: 26px; }

/* portals: a sign-in email instead of three stat boxes */
.portal-mail { max-width: 460px; padding: 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pm-head { display: flex; align-items: center; gap: 12px; }
.pm-logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-d); font-weight: 600; font-size: 14px; flex: none; }
.pm-head b { display: block; font-size: 15px; }
.pm-head small { display: block; font-size: 13px; color: var(--ink-3); }
.pm-time { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.pm-subj { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin: 16px 0 0; }
.pm-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 18px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 500; font-size: 14.5px; position: relative; }
.pm-btn::after { content: ""; position: absolute; inset: -5px; border-radius: 16px; border: 1.5px solid rgba(14,143,166,.35); animation: pmPulse 2.4s var(--ease) infinite; }
@keyframes pmPulse { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .pm-btn::after { animation: none; opacity: 0; } }
.pm-note { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.pm-note::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8fa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E") center / contain no-repeat; }
.pfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 520px; }
.pfacts > div { padding: 4px 18px; border-left: 1px solid var(--line-2); }
.pfacts > div:first-child { padding-left: 0; border-left: 0; }
.pfacts b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; color: var(--brand-d); white-space: nowrap; }
.pfacts span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
@media (max-width: 420px) { .pfacts > div { padding: 4px 10px; } }

/* =========================================================================
   v10: custom dropdowns, date picker and slider in the brand teal
   ========================================================================= */
:root { --indigo: #0b7387; } /* the old purple accent is retired: everything that used it is teal now */
.form input:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,143,166,.12); }
.form input, .form textarea { background: #fff; }

/* dropdown */
.dd { position: relative; }
.dd-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: inherit; font-weight: 400; font-size: 15px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.dd-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 3px 0 0; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg); transition: transform .3s var(--ease), border-color .2s; }
.dd-btn:hover { border-color: rgba(14,143,166,.45); }
.dd.open .dd-btn, .dd-btn:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,143,166,.12); }
.dd.open .dd-btn::after { transform: translateY(4px) rotate(225deg); border-color: var(--brand); }
.dd-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; outline: 6px solid rgba(241,243,247,.95); max-height: 264px; overflow: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .25s var(--ease), visibility 0s .25s; }
.dd.up .dd-list { top: auto; bottom: calc(100% + 8px); transform: translateY(6px); }
.dd.open .dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .25s var(--ease), visibility 0s; }
.dd-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 400; color: var(--ink); cursor: pointer; }
.dd-list li.active { background: var(--soft); }
.dd-list li[aria-selected="true"] { color: var(--brand-d); font-weight: 500; }
.dd-list li[aria-selected="true"]::after { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8fa6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* date picker (booking calendar) and time slots */
.cal { gap: 5px; }
.cal button { border-radius: 12px; background: var(--soft); border: 1px solid transparent; }
.booker .cal button { background: var(--soft); }
.cal button:hover:not(:disabled) { border-color: rgba(14,143,166,.5); background: #fff; color: var(--brand-d); transform: none; }
.cal button:focus-visible, .slots button:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cal button:disabled { background: transparent; color: #c3c8d3; text-decoration: line-through; text-decoration-color: rgba(22,32,58,.18); }
.cal button.today { color: var(--brand-d); font-weight: 600; }
.cal button.today::after { background: var(--brand); }
.booker .cal button.sel, .cal button.sel { background: var(--brand); color: #fff; border-color: var(--brand); }
.cal button.sel::after { background: #fff; }
.cal .dow { font-size: 11.5px; letter-spacing: .02em; text-transform: none; color: var(--ink-3); }
.slots button { border-radius: 12px; border-color: var(--line-2); }
.slots button:hover { border-color: var(--brand); color: var(--brand-d); }
.slots button.sel { background: var(--brand); color: #fff; border-color: var(--brand); }
.steps-bar span::after { background: var(--brand); }
.done-badge { background: var(--brand); }
.seg { background: var(--soft); border: 1px solid var(--line); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }

/* slider (pricing) */
input[type=range].rng { -webkit-appearance: none; appearance: none; height: 22px; background: transparent; cursor: pointer; }
input[type=range].rng::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--brand), var(--brand)) 0 0 / var(--fill, 50%) 100% no-repeat, rgba(22,32,58,.1); }
input[type=range].rng::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(22,32,58,.1); }
input[type=range].rng::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--brand); }
input[type=range].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); transition: transform .2s var(--ease); }
input[type=range].rng::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
input[type=range].rng:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type=range].rng:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.price-card:has(form), .hero-body .price-card { overflow: visible; }
.dd.open { z-index: 60; }
