/* Growdar – enterprise, trust-blue, motion on scroll. No build step. */
:root {
  --navy: #071a3d;
  --navy-2: #0b2359;
  --ink: #0b1633;
  --ink-2: #1e2a4a;
  --ink-3: #46536f;
  --muted: #66718c;
  --line: #e3e8f2;
  --line-2: #cfd7e6;
  --bg: #f5f8fd;
  --card: #ffffff;
  --accent: #1d4ed8;
  --accent-2: #1e40af;
  --accent-3: #3b82f6;
  --accent-soft: #e7eefe;
  --accent-glow: rgba(37, 99, 235, .35);
  --teal: #0e9f6e;
  --teal-soft: #e1f7ee;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --red: #b91c1c;
  --red-soft: #fee2e2;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(11, 22, 51, .05), 0 10px 30px -14px rgba(11, 22, 51, .22);
  --shadow-lg: 0 2px 4px rgba(11, 22, 51, .05), 0 30px 70px -28px rgba(11, 22, 51, .45);
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
html, body { max-width: 100%; overflow-x: clip; }
* { min-width: 0; }
img, svg, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--ink-3); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--accent); margin-bottom: .7em; }
.mono { font-family: var(--mono); }
::selection { background: var(--accent-soft); }

/* ---------------------------------------------------------------- motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.left { transform: translateX(-30px); }
.reveal.right { transform: translateX(30px); }
.reveal.scale { transform: scale(.94); }
@media (max-width: 760px) { .reveal.left, .reveal.right { transform: translateY(26px); } } /* no sideways slide on phones – it would poke past the screen edge */
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .13s; }
.stagger.in > *:nth-child(3) { transition-delay: .21s; }
.stagger.in > *:nth-child(4) { transition-delay: .29s; }
.stagger.in > *:nth-child(5) { transition-delay: .37s; }
.stagger.in > *:nth-child(6) { transition-delay: .45s; }
.stagger.in > *:nth-child(7) { transition-delay: .53s; }
.stagger.in > *:nth-child(8) { transition-delay: .61s; }
.stagger.in > *:nth-child(9) { transition-delay: .69s; }
.stagger.in > *:nth-child(10) { transition-delay: .77s; }
.lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #b9c7ea; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .74em 1.3em; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 600; border: 1px solid var(--ink); cursor: pointer; font-size: .98rem; transition: transform .15s var(--ease), background .2s ease, box-shadow .2s ease; white-space: nowrap; font-family: var(--font); }
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, #2563eb, var(--accent)); border-color: var(--accent-2); box-shadow: 0 8px 20px -10px var(--accent-glow); }
.btn.primary:hover { background: linear-gradient(180deg, #2a67ee, var(--accent-2)); box-shadow: 0 12px 26px -10px var(--accent-glow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: #fff; }
.btn.light { background: #fff; color: var(--accent-2); border-color: #fff; }
.btn.light:hover { background: #eef3ff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.outline-light:hover { background: rgba(255,255,255,.08); }
.btn.big { padding: 1em 1.7em; font-size: 1.08rem; border-radius: 13px; }
.btn.block { width: 100%; }
.btn.google { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.google:hover { background: #f8fafc; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn.sm { padding: .45em .85em; font-size: .85rem; border-radius: 8px; }
.btn.danger { background: #fff; color: var(--red); border-color: var(--line-2); }
.btn.danger:hover { background: var(--red-soft); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(245, 248, 253, .82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 22, 51, .25); }
.nav.on-dark:not(.scrolled) { background: transparent; color: #fff; }
.nav.on-dark:not(.scrolled) .brand, .nav.on-dark:not(.scrolled) .links a { color: #fff; }
.nav.on-dark:not(.scrolled) .links a { opacity: .8; }
.nav.on-dark:not(.scrolled) .links a:hover { opacity: 1; }
.nav.on-dark:not(.scrolled) .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.nav.on-dark:not(.scrolled) .btn.ghost:hover { background: rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; color: var(--accent-3); }
.brand.small { font-size: 1.1rem; }
.links { display: flex; gap: 28px; font-weight: 500; color: var(--ink-3); font-size: .95rem; }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent-3); transition: right .25s var(--ease); }
.links a:hover::after { right: 0; }
.nav-cta { display: flex; gap: 10px; }
@media (max-width: 900px) { .links { display: none; } }
/* phones: logo + one compact button, nothing may push the page wider than the screen */
@media (max-width: 560px) {
  .nav-inner { height: 60px; gap: 12px; }
  .nav-cta .btn { padding: .55em .95em; font-size: .9rem; }
  .nav-cta .btn.primary { display: none; } /* the hero form right below is the CTA */
  .brand { font-size: 1.18rem; }
  .brand .mark { width: 26px; height: 26px; }
  .hero { margin-top: -60px; padding: 100px 0 60px; }
  .hero h1 { font-size: 2.1rem; max-width: none; }
  .hero .lead { font-size: 1.04rem; }
  .hero .fine { gap: 8px 16px; font-size: .86rem; }
  .wrap { width: calc(100% - 32px); }
}

/* ---------------------------------------------------------------- hero (dark navy) */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(90% 70% at 70% 0%, #1e40af 0%, transparent 60%), radial-gradient(60% 60% at 10% 100%, #1d4ed8 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); margin-top: -70px; padding: 150px 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 120px 0 80px; } }
.hero .eyebrow { color: #93c5fd; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #93c5fd, #60a5fa 50%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.78); max-width: 52ch; font-size: 1.18rem; }
.urlform { display: flex; gap: 8px; max-width: 620px; background: #fff; padding: 8px; border-radius: 16px; border: 1px solid rgba(255,255,255,.4); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.06); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.urlform:focus-within { box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 6px rgba(96,165,250,.35); transform: translateY(-1px); }
.urlform input { flex: 1; border: 0; background: transparent; font-size: 1.12rem; padding: .7em 1em; outline: none; font-family: var(--font); color: var(--ink); min-width: 0; }
.urlform input::placeholder { color: #94a3b8; }
.urlform .btn { border-radius: 11px; }
.urlform { position: relative; }
/* Turnstile container: invisible mode renders nothing; if Cloudflare does need an interaction it floats under the form */
.urlform .cf-turnstile { position: absolute; left: 8px; top: calc(100% + 8px); z-index: 5; line-height: 0; }
.urlform-hint { max-width: 620px; margin: 10px 0 0; color: #fecaca; font-weight: 500; }
.urlform-hint[data-tone="info"] { color: rgba(255,255,255,.75); }
.urlform button[disabled] { opacity: .7; cursor: progress; }
.hero .fine { margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.62); display: flex; gap: 18px; flex-wrap: wrap; }
.hero .fine span::before { content: "✓"; color: #6ee7b7; margin-right: 6px; font-weight: 700; }
.hero .reveal.in, .cta-band .reveal.in { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@media (max-width: 560px) { .urlform { flex-direction: column; } .urlform .btn { justify-content: center; } }
.hero-visual { position: relative; min-height: 600px; }
.hero-grid > :first-child { position: relative; z-index: 1; }
.radar { position: absolute; right: -40px; top: -20px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(147,197,253,.25); background: radial-gradient(circle, rgba(59,130,246,.18), rgba(59,130,246,0) 70%); }
.radar::before, .radar::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(147,197,253,.22); }
.radar::after { inset: 44%; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(96,165,250,.55), rgba(96,165,250,0) 28%); animation: sweep 5.5s linear infinite; mask-image: radial-gradient(circle, #000 0 49%, transparent 50%); }
.radar .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #93c5fd; box-shadow: 0 0 12px #60a5fa; }
.radar .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #93c5fd; animation: ping 2.4s var(--ease) infinite; }
.radar .dot:nth-child(2) { left: 62%; top: 26%; }
.radar .dot:nth-child(3) { left: 28%; top: 58%; animation-delay: .7s; }
.radar .dot:nth-child(3)::after { animation-delay: .7s; }
.radar .dot:nth-child(4) { left: 70%; top: 66%; }
.radar .dot:nth-child(4)::after { animation-delay: 1.4s; }
.fcard { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); width: 300px; animation: float 7s ease-in-out infinite; }
.fcard .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 6px; display: flex; justify-content: space-between; }
.fcard .lbl .live { color: var(--teal); }
.fcard .lbl .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 5px; animation: pulse 1.4s infinite; }
.fcard b { display: block; font-size: 1rem; }
.fcard p { margin: 4px 0 0; color: var(--ink-3); font-size: .9rem; }
.fcard .ev { margin-top: 8px; font-family: var(--mono); font-size: .72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard.a { left: 0; top: 20px; z-index: 1; animation-delay: 0s; }
.fcard.b { left: 60px; top: 205px; width: 320px; z-index: 2; animation-delay: -2.4s; }
.fcard.c { left: 200px; top: 425px; width: 280px; z-index: 3; animation-delay: -4.6s; }
/* the hovered / focused card comes to the front so its dots are always clickable even where the cards overlap */
.fcard:hover, .fcard.paused, .fcard:focus-within { z-index: 10; }
.fcard .bars { margin-top: 10px; display: grid; gap: 6px; }
.fcard .bar { display: grid; grid-template-columns: 1fr auto; font-size: .82rem; gap: 8px; }
.fcard .bar .track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.fcard .bar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-3)); border-radius: 999px; transform-origin: left; animation: grow 1.2s var(--ease) both; }
.fcard .bar .fill.warn { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
/* rotating use-cases inside the hero cards: one slide on, the rest stacked underneath; dots switch, active dot fills over the cycle */
.fcard .slides { position: relative; }
.fcard .slide { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.fcard .slide.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.fcard .slide.out { opacity: 0; transform: translateY(-10px); }
.fcard .slide:not(.on) .fill { animation: none; }
.fcard .slide.on .fill { animation: grow 1.2s var(--ease) both; }
.fcard .dots { display: flex; gap: 6px; margin-top: 12px; }
.fcard .dots button { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 999px; background: #e2e8f0; cursor: pointer; position: relative; overflow: hidden; transition: background .25s; }
.fcard .dots button:hover { background: #cbd5e1; }
.fcard .dots button.on { background: #dbeafe; }
.fcard .dots button.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-3)); transform-origin: left; transform: scaleX(0); animation: dotfill var(--cycle, 5s) linear forwards; }
.fcard.paused .dots button.on::after { animation-play-state: paused; }
.fcard .dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@keyframes dotfill { to { transform: scaleX(1); } }
.fcard.paused { animation-play-state: paused; }
.fcard:hover { box-shadow: 0 34px 70px -24px rgba(0,0,0,.65); }
.radar.flash .sweep { filter: brightness(1.7) saturate(1.2); transition: filter .15s; }
.radar .sweep { transition: filter .6s; }
/* single-column hero (tablets): radar sits top-right behind the headline, cards flow in a grid below the form */
@media (max-width: 980px) {
  .hero-visual { position: static; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
  .fcard, .fcard.a, .fcard.b, .fcard.c { position: relative; left: auto; top: auto; width: auto; animation: none; z-index: auto; display: flex; flex-direction: column; }
  .fcard .dots { margin-top: auto; padding-top: 12px; } /* dots sit on the bottom edge even when the neighbour card is taller */
  .fcard.c { grid-column: 1 / -1; }
  .radar { top: -70px; right: -120px; width: 340px; height: 340px; z-index: 0; opacity: .9; }
}
@media (max-width: 700px) { .hero-visual { grid-template-columns: 1fr; } .fcard.c { grid-column: auto; } .radar { top: -80px; right: -150px; width: 300px; height: 300px; opacity: .7; } }
@media (max-width: 560px) { .hero-visual { display: none; } .radar { top: -80px; right: -150px; width: 260px; height: 260px; opacity: .6; } }

/* ---------------------------------------------------------------- trust strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.strip-inner > div { display: flex; flex-direction: column; padding-left: 18px; border-left: 3px solid var(--accent-soft); }
.strip-inner b { font-size: 1.6rem; letter-spacing: -.03em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.strip-inner span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- sections */
section.block { padding: 96px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.block.dark { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
section.block.dark .eyebrow { color: #93c5fd; }
section.block.dark h2 { color: #fff; }
section.block.dark .lead { color: rgba(255,255,255,.75); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-3); margin: 0; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-soft), #dbe7ff); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.card .ico svg { width: 20px; height: 20px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .22em .65em; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); text-transform: uppercase; letter-spacing: .06em; }
.tag.teal { background: var(--teal-soft); color: var(--teal); }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.grey { background: #eef2f7; color: var(--ink-3); }
.tag.navy { background: var(--navy); color: #fff; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.split h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.split ul.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.split ul.checks li { padding-left: 30px; position: relative; }
.split ul.checks li::before { content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.split ul.checks li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock .bar-top { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.mock .bar-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.mock .body { padding: 18px; display: grid; gap: 12px; }
.mock .row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; }
.mock .row b { font-size: .92rem; }
.mock .row .meta { color: var(--muted); font-size: .8rem; font-family: var(--mono); }
.mock .row .pill-s { font-size: .72rem; font-weight: 700; padding: .2em .6em; border-radius: 999px; }
.mock .row .pill-s.up { background: var(--teal-soft); color: var(--teal); }
.mock .row .pill-s.down { background: var(--red-soft); color: var(--red); }
.mock .row .pill-s.new { background: var(--accent-soft); color: var(--accent-2); }
.mock .sev { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-3); }
.mock .sev.hot { background: var(--red); }
.mock .sev.warm { background: var(--amber); }
.mock.dark { background: var(--navy); border-color: rgba(255,255,255,.12); color: #fff; }
.mock.dark .bar-top { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.mock.dark .row { border-color: rgba(255,255,255,.12); }
.mock.dark .row .meta { color: rgba(255,255,255,.55); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 26px 22px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--ink-3); margin: 0; }
.step::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent), var(--accent-3)); opacity: 0; transition: opacity .3s; }
.step:hover::after { opacity: 1; }

/* evidence band (dark) */
.evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .evidence { grid-template-columns: 1fr; } }
.ev-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.ev-card h3 { color: #fff; }
.ev-card p { color: rgba(255,255,255,.72); margin: 0; }
.ev-card .mono { color: #93c5fd; font-size: .8rem; display: block; margin-top: 12px; word-break: break-all; }

/* ---------------------------------------------------------------- pricing */
.billing-toggle { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin: 0 auto 40px; box-shadow: var(--shadow); }
.billing-toggle button { border: 0; background: transparent; padding: .58em 1.2em; border-radius: 999px; font-weight: 600; cursor: pointer; font-family: var(--font); color: var(--ink-3); transition: background .2s, color .2s; }
.billing-toggle button.active { background: var(--navy); color: #fff; }
.billing-toggle .save { font-size: .78rem; color: var(--teal); font-weight: 700; padding-right: 10px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; }
.plan h3 { font-size: 1.3rem; }
.plan .tagline { color: var(--muted); font-size: .92rem; min-height: 2.4em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.plan .price b { font-size: 2.6rem; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); }
.plan .price-note { color: var(--muted); font-size: .85rem; min-height: 1.3em; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: .95rem; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: 24px; }
.plan .seats { margin-top: 14px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.plan .seats i { display: inline-flex; gap: 2px; }
.plan .seats i b { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-3); display: block; }
.addons { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; color: var(--ink-3); font-size: .92rem; }
.addons span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; }
.trial-note { margin: 36px auto 0; max-width: 720px; text-align: center; color: var(--ink-3); font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; display: flex; gap: 14px; align-items: center; justify-content: center; }
.trial-note svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* compare */
.compare-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
@media (max-width: 760px) {
  .compare th, .compare td { padding: 10px 10px; font-size: .84rem; white-space: nowrap; }
  /* first column stays put while the plan columns scroll sideways */
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 var(--line); }
  .compare thead th:first-child { background: #f8fafc; }
}
.compare th, .compare td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; font-size: .93rem; }
.compare tr:last-child td { border-bottom: 0; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { background: #f8fafc; font-weight: 700; }
.compare thead th.popular { color: var(--accent-2); }
.compare td .yes { color: var(--accent); font-weight: 800; }
.compare td .no { color: #cbd5e1; }

/* ---------------------------------------------------------------- faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 22px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #b9c7ea; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; padding: 19px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-3); padding-bottom: 20px; margin: 0; animation: rise .35s var(--ease) both; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea, .form select { font: inherit; padding: .72em .95em; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input { font: inherit; padding: .6em .85em; border: 1px solid var(--line-2); border-radius: 9px; min-width: min(240px, 100%); }
.notice { padding: 12px 16px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); font-weight: 600; }
.notice.error { background: var(--red-soft); color: var(--red); }
.notice.info { background: var(--accent-soft); color: var(--accent-2); }
.notice.warn { background: var(--amber-soft); color: var(--amber); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------------------------------------------------------------- CTA band + footer */
.cta-band { padding: 90px 0; text-align: center; color: #fff; background: radial-gradient(70% 90% at 50% 0%, #2563eb 0%, transparent 60%), linear-gradient(180deg, var(--navy-2), var(--navy)); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 20ch; margin: 0 auto .5em; }
.cta-band .lead { color: rgba(255,255,255,.75); }
.cta-band .urlform { margin: 28px auto 0; }
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 28px; }
.footer .brand { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols div { display: grid; gap: 9px; align-content: start; font-size: .95rem; }
.footer-cols a:hover { color: #fff; }
.footer-cols b { color: #fff; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- auth pages */
.auth { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 0; background: radial-gradient(60% 50% at 50% 0%, var(--accent-soft), transparent 70%); }
.auth .card { width: min(460px, calc(100% - 40px)); padding: 34px; animation: rise .5s var(--ease) both; }
.auth .card h1 { font-size: 1.6rem; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------------------------------------- first look */
.fl-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 40px 0 22px; flex-wrap: wrap; }
.fl-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.fl-host { font-family: var(--mono); color: var(--accent-2); }
.progress { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.progress .pill { display: inline-flex; align-items: center; gap: 6px; padding: .35em .75em; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, color .3s; }
.progress .pill.done { border-color: var(--teal); color: var(--teal); }
.progress .pill.failed { border-color: var(--red); color: var(--red); }
.progress .pill.running .dot, .progress .pill.pending .dot { animation: pulse 1s infinite; background: var(--accent); }
.progress .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.progress .pill.done .dot { background: var(--teal); }
.progress .pill.failed .dot { background: var(--red); }
.fl-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .fl-grid { grid-template-columns: 1fr; } }
.fl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-height: 90px; }
.fl-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fl-card .pending { color: var(--muted); font-style: italic; }
.fl-card .skeleton { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef2f8 0%, #f7f9fc 50%, #eef2f8 100%); background-size: 800px 100%; animation: shimmer 1.4s linear infinite; margin: 10px 0; }
.fl-card .skeleton.w60 { width: 60%; }
.fl-card .skeleton.w80 { width: 80%; }
.fl-card.enter { animation: rise .45s var(--ease) both; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 14px; }
.kpi b { display: block; font-size: 1.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--accent-2); }
.kpi span { color: var(--muted); font-size: .85rem; }
.bars { display: grid; gap: 8px; margin-top: 14px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.bar .track { grid-column: 1 / -1; height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-3)); border-radius: 999px; transform-origin: left; animation: grow 1s var(--ease) both; }
.bar .lbl { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .val { color: var(--muted); font-variant-numeric: tabular-nums; }
.comp-list { display: grid; gap: 10px; }
.comp { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, background .2s; }
.comp:hover { border-color: #b9c7ea; }
.comp b { display: block; }
.comp .why { color: var(--ink-3); font-size: .9rem; }
.comp .host { color: var(--muted); font-size: .85rem; font-family: var(--mono); }
.comp .acts { display: flex; gap: 6px; }
.blur { position: relative; }
.blur .veil { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.96) 60%); border-radius: var(--radius); }
.blur .content { filter: blur(6px); user-select: none; pointer-events: none; }
.gate { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(7, 26, 61, .55); backdrop-filter: blur(4px); animation: rise .3s var(--ease) both; }
.gate .card { width: min(470px, calc(100% - 32px)); padding: 32px; box-shadow: var(--shadow-lg); animation: rise .4s var(--ease) both; }
.gate h2 { font-size: 1.5rem; }

/* ---------------------------------------------------------------- app shell */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: rgba(255,255,255,.8); padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side .brand { padding: 6px 10px 18px; color: #fff; }
.side .group { margin-top: 14px; }
.side .group > b { display: block; padding: 6px 10px; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.side a.item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; color: rgba(255,255,255,.8); font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.side a.item:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.item.active { background: rgba(59,130,246,.22); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--accent-3); }
.side a.item .lock { font-size: .66rem; font-weight: 700; padding: .18em .55em; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .05em; }
.side a.item .crown { color: #fbbf24; font-size: .8rem; }
.side .account { margin-top: 24px; padding: 12px 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: rgba(255,255,255,.65); }
.side .account a { color: #fff; }
.side .plan-chip { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 700; padding: .2em .6em; border-radius: 999px; background: rgba(59,130,246,.25); color: #bfdbfe; text-transform: uppercase; letter-spacing: .06em; }
.mainpane { padding: 30px 36px; animation: rise .35s var(--ease) both; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.topbar h1 { font-size: 1.75rem; margin: 0; }
.topbar .sub { color: var(--muted); }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .side { position: static; height: auto; } .mainpane { padding: 22px 18px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.panel h2 { font-size: .82rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.panel + .panel, .grid + .panel { margin-top: 20px; }
.list { display: grid; gap: 10px; }
.item-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.item-row:first-child { border-top: 0; padding-top: 0; }
.item-row .sev { width: 10px; height: 10px; border-radius: 50%; margin-top: .45em; background: var(--line-2); }
.item-row .sev.important { background: var(--red); }
.item-row .sev.notable { background: var(--amber); }
.item-row .meta { color: var(--muted); font-size: .85rem; }
/* Free plan teaser: real rows, blurred, veil with the upgrade CTA */
.tease { position: relative; overflow: hidden; min-height: 150px; border-radius: 12px; }
.tease .tease-items { filter: blur(5px); pointer-events: none; user-select: none; opacity: .9; }
.tease .tease-items a { pointer-events: none; }
.tease .veil { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.94) 55%); }
.tease .veil .eyebrow { color: var(--accent); }
.free-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.free-bar .btn { flex: none; }
.locked-panel { position: relative; overflow: hidden; }
.locked-panel .content { filter: blur(5px); pointer-events: none; user-select: none; }
.locked-panel .veil { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.96) 55%); padding: 24px; }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.data th, table.data td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.budget-bar { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; margin: 8px 0; }
.budget-bar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-3)); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 48px; }
.spark i { display: block; width: 8px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
.empty { color: var(--muted); padding: 26px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-s); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.9rem; letter-spacing: -.04em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .88rem; }
.team { display: grid; gap: 8px; }
.team .member { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.team .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; text-transform: uppercase; }
.team .member .meta { color: var(--muted); font-size: .85rem; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .plan-pick { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sales assistant (chat widget, bottom-right) */
.ga { position: fixed; right: 22px; bottom: 22px; z-index: 60; font-family: var(--font); }
.ga-launch { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 16px; border: 0; border-radius: 999px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3)); box-shadow: 0 18px 40px -14px var(--accent-glow), 0 2px 6px rgba(7,26,61,.25); font: inherit; font-weight: 700; font-size: .96rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ga-launch:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px var(--accent-glow), 0 4px 10px rgba(7,26,61,.3); }
.ga-launch svg { animation: ga-twinkle 3.2s ease-in-out infinite; }
@keyframes ga-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.12) rotate(8deg); opacity: .9; } }
.ga-launch-close { display: none; font-size: 1rem; }
/* "we're online" – green dot with a soft pulsing ring; on the launcher, on the avatar and in the header status */
.ga-online { position: relative; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px rgba(255,255,255,.9); flex: none; }
.ga-online::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #22c55e; animation: ga-online 1.8s ease-out infinite; }
@keyframes ga-online { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.ga-launch .ga-online { margin-left: -2px; }
.ga-avatar { position: relative; }
.ga-online.small { width: 7px; height: 7px; margin-right: 5px; vertical-align: 1px; box-shadow: none; }
.ga-online.small::after { inset: -2px; border-width: 1.5px; }
.ga-status { color: #86efac; font-weight: 600; }
.ga.open .ga-launch-label, .ga.open .ga-launch svg, .ga.open .ga-launch .ga-online { display: none; }
.ga.open .ga-launch-close { display: inline; }
.ga.open .ga-launch { width: 52px; padding: 0; justify-content: center; }
.ga-panel { position: absolute; right: 0; bottom: 66px; width: 390px; max-width: calc(100vw - 32px); height: 620px; max-height: calc(100vh - 110px); display: flex; flex-direction: column;
  background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(7,26,61,.5), 0 6px 20px -8px rgba(7,26,61,.2); overflow: hidden;
  transform-origin: bottom right; animation: ga-pop .28s var(--ease) both; }
.ga-panel[hidden] { display: none; }
@keyframes ga-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.ga-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--accent-2)); }
.ga-head b { display: block; font-size: .98rem; }
.ga-head small { display: block; color: rgba(255,255,255,.7); font-size: .78rem; }
.ga-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #bfdbfe; }
.ga-x { margin-left: auto; border: 0; background: transparent; color: rgba(255,255,255,.75); font-size: 1rem; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.ga-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.ga-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: #f7f9fd; scroll-behavior: smooth; }
.ga-msg { display: flex; }
.ga-msg.me { justify-content: flex-end; }
.ga-bubble { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.ga-msg.bot .ga-bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.ga-msg.me .ga-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.ga-bubble p { margin: 0; }
.ga-bubble p + p, .ga-bubble ul + p, .ga-bubble p + ul { margin-top: .55em; }
.ga-bubble ul { margin: 0; padding-left: 1.2em; }
.ga-bubble li + li { margin-top: .2em; }
.ga-bubble a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ga-msg.me .ga-bubble a { color: #fff; }
.ga-bubble.err { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }
.ga-typing { display: inline-flex; gap: 4px; padding: 6px 2px; }
.ga-typing i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: ga-dot 1.2s infinite; }
.ga-typing i:nth-child(2) { animation-delay: .15s; } .ga-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ga-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.ga-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 6px; }
.ga-chip { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 6px 11px; font: inherit; font-size: .82rem; cursor: pointer; transition: border-color .2s, background .2s, transform .15s var(--ease); }
.ga-chip:hover { border-color: var(--accent-3); background: var(--accent-soft); transform: translateY(-1px); }
.ga-rate { display: flex; gap: 6px; margin: -4px 0 0 4px; }
.ga-rate button { border: 0; background: transparent; cursor: pointer; font-size: .85rem; color: #94a3b8; padding: 2px 4px; border-radius: 6px; }
.ga-rate button:hover, .ga-rate button.on { color: var(--accent); background: var(--accent-soft); }
.ga-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; }
.ga-form textarea { flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .93rem; line-height: 1.4; max-height: 120px; outline: none; color: var(--ink); background: #fff; }
.ga-form textarea:focus { border-color: var(--accent-3); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.ga-send { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .15s var(--ease); flex: none; }
.ga-send:hover { background: var(--accent-2); transform: translateY(-1px); }
.ga-send:disabled { background: #cbd5e1; cursor: default; transform: none; }
.ga-foot { padding: 6px 14px 10px; font-size: .72rem; color: var(--muted); background: #fff; text-align: center; }
.ga-foot a { color: var(--accent); }
@media (max-width: 560px) {
  .ga { right: 12px; bottom: 12px; }
  .ga-launch { height: 48px; }
  .ga.open .ga-launch { display: none; } /* full-screen panel has its own × in the header */
  .ga-panel { position: fixed; inset: 0; width: auto; max-width: none; height: auto; max-height: none; border-radius: 0; border: 0; bottom: 0; }
  .ga-foot { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}
.ga-chip { text-align: left; }
@media (prefers-reduced-motion: reduce) { .ga-launch svg, .ga-panel { animation: none; } }
