/* Meridia360 marketing site.
   Layout (after invicti.com): a dark page throughout, a bright announcement bar, a split hero with a
   data graphic, purple bands for the logo strip and the feature cards, pill tabs over glowing product
   screenshots. Brand colours from the app's branding.ts; teal plays the call-to-action role. */
:root {
  --bg: #0d0b1a;
  --bg-2: #15122b;
  --bg-3: #1d1938;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --ink: #f3f2fb;
  --ink-2: #bdb9dc;
  --ink-3: #8a86ad;
  --brand: #6152e4;
  --brand-hi: #8b7ff5;
  --purple-1: #3c2fb0;
  --purple-2: #6152e4;
  --go: #14c3a2;
  --go-hi: #2fe0bf;
  --go-ink: #04261f;
  --soon: #f2b33d;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 480px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font: 600 14px/1.4 var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-hi); margin-bottom: 16px; }
.eyebrow-light { color: #d9d4ff; }
.soon { font: 600 11px/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; color: #2a1a00; background: var(--soon); padding: 3px 6px; border-radius: 5px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 48px; padding: 0 24px; border-radius: 8px; font: 700 16px/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-go { background: var(--go); color: var(--go-ink); }
.btn-go:hover { background: var(--go-hi); }
.btn-line { color: var(--ink); border-color: var(--go); }
.btn-line:hover { background: rgb(20 195 162 / 0.1); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- announcement + header ---------- */
.announce { position: relative; background: var(--go); color: var(--go-ink); text-align: center; font-weight: 600; font-size: 15px; padding: 10px 48px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.announce a { color: inherit; font-weight: 700; }
.announce-close { position: absolute; right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.announce-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.top { position: sticky; top: 0; z-index: 20; background: rgb(13 11 26 / 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgb(97 82 228 / 0.7); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 150px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgb(255 255 255 / 0.06); }
.top-cta { display: flex; align-items: center; gap: 8px; }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 0; position: relative; }
.menu span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.menu span:first-child { top: 17px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu { display: block; }
  .top-cta { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: var(--bg); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); }
  .nav:not(.open) { display: none; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .brand img { width: 124px; } .top-cta .btn-sm { padding: 0 12px; font-size: 14px; } .announce { font-size: 13px; padding-inline: 16px 44px; } }

/* ---------- hero ---------- */
.hero { padding-block: 88px 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-viz { margin: 0; position: relative; }
.orbit { width: 100%; max-width: 520px; margin-inline: auto; display: block; overflow: visible; }
.orbit-rings circle { stroke: rgb(185 180 227 / 0.35); stroke-width: 1.2; }
.orbit-rings circle:nth-child(2) { stroke: rgb(242 179 61 / 0.45); }
.orbit-rings circle:nth-child(3) { stroke: rgb(20 195 162 / 0.5); }
.chain { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: -8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; position: relative; }
.chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.chip b { font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip small { color: var(--ink-3); font-size: 12px; }
.chip-out { border-color: var(--go); box-shadow: 0 0 0 1px var(--go) inset, 0 0 24px -6px var(--go); }
.chip-out b { color: var(--go); }
.viz-note { text-align: center; margin-top: 10px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
@media (max-width: 960px) { .hero { padding-block: 56px 48px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } .orbit { max-width: 380px; } }

/* ---------- purple band ---------- */
.band { background: linear-gradient(90deg, var(--purple-1), var(--purple-2)); }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 26px; }
.band-title { font-weight: 700; font-size: 19px; }
.band-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.band-logos li { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: #fff; color: #17152b; border-radius: 10px; font-weight: 700; font-size: 15px; }
.band-logos img { height: 24px; width: auto; }
.band-logos img.sq { height: 30px; }
.band-logos .band-text { background: rgb(255 255 255 / 0.12); color: #fff; border: 1px dashed rgb(255 255 255 / 0.4); }

/* ---------- sections ---------- */
.section { padding-block: 110px; }
.section-tight { padding-block: 88px; }
.section-purple { background: radial-gradient(70rem 30rem at 15% 0%, rgb(139 127 245 / 0.35), transparent 70%), linear-gradient(180deg, var(--purple-1), #2a2085); }
.head { max-width: 760px; margin-bottom: 52px; }
.head-center { margin-inline: auto; text-align: center; }
.head h2, .head-left, .proof-title, .mobile-text h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.head > p:last-child { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; }
.head-left { margin-bottom: 44px; max-width: 18em; }
@media (max-width: 720px) { .section { padding-block: 72px; } .section-tight { padding-block: 64px; } }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 16px; height: 10px; border-left: 2.5px solid var(--go); border-bottom: 2.5px solid var(--go); transform: rotate(-45deg); transform-origin: center; }

/* ---------- tabs ---------- */
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 56px; }
.tabs [role="tab"] { min-height: 46px; padding: 0 10px; border-radius: 8px; border: 1.5px solid var(--go); background: var(--bg-3); color: var(--ink); font: 600 15px/1.2 var(--font); cursor: pointer; transition: background-color .15s ease; }
.tabs [role="tab"]:hover { background: rgb(20 195 162 / 0.12); }
.tabs [role="tab"][aria-selected="true"] { background: var(--brand); border-color: var(--brand-hi); color: #fff; }
@media (max-width: 960px) { .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tabs [role="tab"] { font-size: 14px; } }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.panel-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.panel-text > p:not(.tier) { margin-top: 18px; color: var(--ink-2); }
.tier { font-weight: 600; color: var(--ink-3); margin-bottom: 12px; font-size: 15px; }
.panel-shot { position: relative; }
.panel-shot::before { content: ""; position: absolute; inset: 8% -4% -6% 10%; background: radial-gradient(closest-side, rgb(97 82 228 / 0.55), transparent); filter: blur(30px); z-index: 0; }
.shot { position: relative; z-index: 1; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8); }
@media (prefers-reduced-motion: no-preference) { .panel:not([hidden]) { animation: rise .35s ease both; } @keyframes rise { from { opacity: 0; translate: 0 10px; } } }
@media (max-width: 960px) { .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- proof stats ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset; }
.stat-big { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-big small { font-size: 1rem; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.stat p:last-child { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 960px) { .proof { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- purple cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: rgb(21 18 43 / 0.92); border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px; }
.card h3 { font-size: 1.6rem; }
.card .ticks { margin-bottom: 28px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.more::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6M8.5 5.5L11 8l-2.5 2.5' fill='none' stroke='%2304261f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .15s ease; }
.more:hover::after { transform: translateX(3px); }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- integrations hub ---------- */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 72px; align-items: start; }
.hub-col { display: grid; gap: 12px; }
.hub-label { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 4px; }
.hub-card { position: relative; display: flex; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px 12px; }
.hub-card strong { display: block; font-size: 15px; font-weight: 700; }
.hub-card small { display: block; color: var(--ink-3); font-size: 13px; }
.hub-logo { flex: none; display: grid; place-items: center; width: 96px; height: 44px; border-radius: 10px; background: #fff; }
.hub-logo img { max-width: 78px; height: auto; }
.hub-logo-sq { width: 44px; }
.hub-logo-sq img { max-width: 30px; max-height: 28px; width: auto; }
.hub-icon { background: color-mix(in oklab, var(--c) 22%, var(--bg-2)); }
.hub-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-card::after { content: ""; position: absolute; top: 50%; width: 72px; height: 2px; background: repeating-linear-gradient(90deg, rgb(139 127 245 / 0.6) 0 6px, transparent 6px 11px); background-size: 11px 2px; }
.hub-in .hub-card::after { left: 100%; }
.hub-out .hub-card::after { right: 100%; }
.hub-core { position: relative; align-self: center; display: grid; justify-items: center; gap: 12px; padding: 40px 8px; }
.hub-core img { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 0 70px -6px rgb(97 82 228 / 0.9); position: relative; z-index: 1; }
.hub-core p { font-weight: 700; }
.hub-ring { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin: -118px 0 0 -100px; border-radius: 50%; border: 1px solid rgb(139 127 245 / 0.4); }
.hub-ring-2 { width: 280px; height: 280px; margin: -158px 0 0 -140px; border-style: dashed; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .hub-card::after { animation: flow 1.2s linear infinite; }
  .hub-out .hub-card::after { animation-direction: reverse; }
  .hub-ring { animation: pulse 3.6s ease-in-out infinite; }
  @keyframes flow { to { background-position: 11px 0; } }
  @keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .5; } }
}
@media (max-width: 960px) {
  .hub { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hub-core { order: -1; padding: 24px 0; }
  .hub-card::after { display: none; }
  .hub-col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
  .hub-label { grid-column: 1 / -1; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 34px 28px; }
.plan-main { border: 1.5px solid var(--go); box-shadow: 0 0 60px -24px var(--go); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--go); color: var(--go-ink); font: 700 12px/1 var(--font); padding: 7px 12px; border-radius: 6px; }
.plan h3 { font-size: 1.5rem; }
.plan-desc { color: var(--ink-2); margin-top: 6px; }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; min-height: 58px; }
.plan-price strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-3); }
.plan-price-talk strong { font-size: 2rem; }
.plan-fee { color: var(--go); font-weight: 700; font-size: 15px; margin: 8px 0 24px; }
.plan .ticks { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 28px; } }

/* ---------- mobile ---------- */
.mobile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.mobile-text > p:last-child { margin-top: 18px; color: var(--ink-2); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.phone { margin: 0; aspect-ratio: 9 / 19; border-radius: 30px; padding: 8px; background: #000; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -24px rgb(97 82 228 / 0.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.phone-raised { transform: translateY(-28px); }
@media (max-width: 960px) { .mobile { grid-template-columns: minmax(0, 1fr); gap: 40px; } .phones { gap: 12px; } .phone { border-radius: 22px; padding: 5px; } .phone img { border-radius: 18px; } .phone-raised { transform: translateY(-14px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.faq .head-left { margin-bottom: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.contact-copy p:not(.eyebrow) { margin-top: 14px; color: #d9d4ff; max-width: 46ch; }
.contact-mail a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-mail a:hover { text-decoration-thickness: 2px; }
.contact-form { background: #fff; color: #17152b; border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.6); display: grid; gap: 16px; color-scheme: light; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: #8a889f; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: #17152b; background: #f5f5fa; border: 1px solid #e3e2ee; border-radius: 10px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(97 82 228 / 0.2); background: #fff; }
.field [aria-invalid="true"] { border-color: #dc2e4e; }
.field-error { font-size: 13px; color: #b4233e; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status[data-tone="ok"] { color: #0a6f5d; font-weight: 600; }
.form-status[data-tone="error"] { color: #b4233e; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } .contact-form { padding: 20px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }

/* ────────────────────────────────────────────────────────────────────────────────────────────────
   Meridia360's own touches over the base layout: pill buttons like the app, a badge instead of an
   announcement bar, a live-bookings feed, a quiet logo strip, a single tab switcher, a light
   section for the feature cards, a stat row and a glowing contact section.
   ──────────────────────────────────────────────────────────────────────────────────────────────── */
.btn { border-radius: 999px; }
.btn-go { box-shadow: 0 8px 24px -10px rgb(20 195 162 / 0.8); }

/* hero badge + headline */
.hero-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 26px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .15s ease; }
.hero-pill:hover { border-color: var(--brand-hi); color: var(--ink); }
.hero-pill-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: rgb(20 195 162 / 0.16); color: var(--go); font-weight: 700; }
.hero-pill > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-pill svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; letter-spacing: -0.04em; }
.hero h1::first-line { color: var(--ink); }
.hero { background: radial-gradient(48rem 32rem at 82% 40%, rgb(97 82 228 / 0.22), transparent 70%); }

/* live bookings feed laid over the orbit */
.hero-viz { display: grid; }
.orbit { grid-area: 1 / 1; }
.feed { grid-area: 1 / 1; align-self: end; justify-self: start; width: min(330px, 92%); margin: 0 0 4% -2%; background: rgb(21 18 43 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.7); position: relative; z-index: 2; }
.feed-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 2px 4px 10px; }
.feed-head small { margin-left: auto; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgb(20 195 162 / 0.2); }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / 0.04); font-size: 13px; }
.feed li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 12px/1 var(--font); font-style: normal; color: #fff; background: var(--c); }
.feed li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.feed li b { color: var(--ink); font-weight: 600; }
.feed li em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.feed-foot { margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: rgb(20 195 162 / 0.12); color: var(--go); font-size: 12.5px; font-weight: 600; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .feed li { animation: slide-in .5s ease both; }
  .feed li:nth-child(2) { animation-delay: .15s; } .feed li:nth-child(3) { animation-delay: .3s; } .feed li:nth-child(4) { animation-delay: .45s; }
  @keyframes slide-in { from { opacity: 0; translate: -10px 0; } }
}
@media (max-width: 960px) { .feed { justify-self: center; margin: -40px 0 0; width: min(360px, 100%); align-self: start; grid-area: 2 / 1; } }

/* quiet logo strip */
.band { background: transparent; border-block: 1px solid var(--line); }
.band-row { justify-content: center; padding-block: 22px; gap: 14px 28px; }
.band-title { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.band-logos li { height: 44px; border-radius: 999px; background: rgb(255 255 255 / 0.96); }
.band-logos .band-text { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); border-style: solid; }

/* one rounded tab switcher */
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 56px; padding: 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); }
.tabs [role="tab"]:hover { background: rgb(255 255 255 / 0.06); color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tabs [role="tab"][aria-selected="true"] .soon { background: var(--soon); }
@media (max-width: 960px) { .tabs { display: flex; width: 100%; justify-content: flex-start; } }
.shot { border-radius: 18px; }
.panel-shot::before { background: radial-gradient(closest-side, rgb(20 195 162 / 0.28), transparent); }

/* stats as one row of numbers */
.proof { display: block; }
.proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.stat { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 34px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-big { font-size: clamp(2.2rem, 4vw, 3rem); background: linear-gradient(90deg, #fff, #c9c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-big small { -webkit-text-fill-color: var(--ink-3); }
@media (max-width: 960px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:first-child { padding: 24px 20px; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* light section for the feature cards */
.section-light { background: #f4f3fb; color: #17152b; }
.section-light .head-left { color: #17152b; }
.section-light .card { background: #fff; border: 1px solid #e6e4f2; box-shadow: 0 1px 2px rgb(23 21 43 / 0.05), 0 20px 40px -28px rgb(28 20 70 / 0.35); position: relative; overflow: hidden; }
.section-light .card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), var(--go)); }
.section-light .ticks li { color: #2c2a44; }
.section-light .ticks li::before { border-color: #0e9f86; }
.section-light .more { color: #17152b; }
.section-light .card h3 { color: #17152b; }

/* contact on a dark glow */
.section-glow { background: radial-gradient(60rem 26rem at 20% 10%, rgb(97 82 228 / 0.35), transparent 70%), radial-gradient(40rem 20rem at 90% 100%, rgb(20 195 162 / 0.16), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.section-glow .contact-copy p:not(.eyebrow) { color: var(--ink-2); }
.section-glow .eyebrow-light { color: var(--brand-hi); }
@media (min-width: 961px) { .feed { width: min(280px, 56%); justify-self: end; margin: 0 -2% -3% 0; } }
@media (min-width: 961px) { .orbit { max-width: 460px; margin: 0; justify-self: start; } }

.tier-tag { font: 600 11px/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: var(--brand); padding: 3px 6px; border-radius: 5px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }

/* ---------- our story ---------- */
.story-section { border-top: 1px solid var(--line); background: radial-gradient(44rem 26rem at 85% 50%, rgb(20 195 162 / 0.08), transparent 70%); }
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.story-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 8px; }
.story-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); max-width: 60ch; }
.timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--go)); opacity: .7; }
.timeline li { position: relative; padding-top: 44px; padding-right: 16px; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand-hi); }
.timeline li:last-child::before { border-color: var(--go); box-shadow: 0 0 0 5px rgb(20 195 162 / 0.18); }
.timeline-mark { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.timeline li:last-child .timeline-mark { color: var(--go); }
.timeline p { margin-top: 4px; color: var(--ink-3); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 30px; }
  .timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand), var(--go)); }
  .timeline li { padding: 0; }
  .timeline li::before { left: -30px; top: 4px; }
}

.stack { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 22px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.stack-title { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.stack-row { display: grid; gap: 10px; }
.stack-label { font-weight: 700; }
.stack-bar { display: flex; height: 48px; border-radius: 12px; overflow: hidden; font-size: 13px; font-weight: 700; }
.seg { display: flex; align-items: center; justify-content: center; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.seg-keep { flex: 62; background: #2b2650; color: var(--ink-2); justify-content: flex-start; }
.seg-keep-more { flex: 78; background: linear-gradient(90deg, rgb(20 195 162 / 0.25), rgb(20 195 162 / 0.45)); color: var(--go); }
.seg-platform { flex: 22; background: #4b4478; color: #e0ddf7; }
.seg-system { flex: 16; background: repeating-linear-gradient(135deg, #c2416a 0 8px, #a8355a 8px 16px); color: #fff; }
.stack-note { font-size: 13.5px; color: var(--ink-3); }
.stack-row:not(.stack-row-us) .stack-note { color: #f08aa8; }
.stack-row-us .stack-note { color: var(--go); font-weight: 600; }
.stack-foot { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .seg { animation: seg-in .7s cubic-bezier(.2,.7,.2,1) both; transform-origin: left; }
  .seg-platform { animation-delay: .1s; } .seg-system { animation-delay: .2s; }
  @keyframes seg-in { from { transform: scaleX(0); } }
}
@media (max-width: 960px) { .story { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- footer links ---------- */
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.foot-nav a:hover { color: var(--ink); }
.head .more { display: inline-flex; margin-top: 12px; color: var(--ink); }
.faq-list details p a { color: var(--go); }

/* ---------- topic pages: channel manager and comparisons ---------- */
.page-hero { padding-block: 88px 56px; }
.page-hero .wrap { max-width: calc(760px + 48px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; max-width: 18em; }
.page-hero .lede { max-width: 44em; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.prose p { color: var(--ink-2); margin-top: 14px; }
.prose p a, .prose li a { color: var(--go); }
.prose ul:not(.ticks) { color: var(--ink-2); padding-left: 1.2em; margin: 14px 0 0; display: grid; gap: 8px; }
.compare-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.compare thead th.us { color: var(--go); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.compare td { color: var(--ink-2); }
.compare tr:last-child > * { border-bottom: 0; }
.fineprint { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.fineprint a { color: var(--ink-2); }
.cta-band { margin-top: 64px; padding: 36px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(40rem 16rem at 10% 0%, rgb(97 82 228 / 0.35), transparent 70%), var(--bg-2); }
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 720px) { .page-hero { padding-block: 56px 32px; } .cta-band { padding: 24px; } }

/* channel logos in the bookings feed */
.feed li i.feed-logo { width: 48px; height: 28px; border-radius: 8px; background: #fff; }
.feed li i.feed-logo img { max-width: 40px; max-height: 20px; width: auto; height: auto; }
.feed li i.feed-icon { background: color-mix(in oklab, var(--c) 22%, var(--bg-2)); }
.feed li i.feed-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* phones: logo strip centred, tabs wrap instead of scrolling off the edge */
@media (max-width: 720px) {
  .band-row { flex-direction: column; text-align: center; }
  .band-logos { justify-content: center; }
  .tabs { flex-wrap: wrap; justify-content: center; width: 100%; border-radius: 24px; overflow: visible; }
  .tabs [role="tab"] { padding: 0 14px; min-height: 40px; }
}
