:root {
  --bg: #f6f7fc;
  --surface: #ffffff;
  --surface-2: #eef0f8;
  --surface-3: #e4e7f4;
  --text: #0f1222;
  --muted: #4a5068;
  --subtle: #646a85;
  --border: #e0e3ef;
  --primary: #5867dd;
  --primary-hover: #4855c9;
  --primary-ink: #4451c4;
  --primary-soft: #e9ebfc;
  --accent: #0b7f7b;
  --accent-soft: #dcf4f2;
  --success: #15803d;
  --success-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --danger: #c2410c;
  --danger-soft: #ffedd5;
  --bubble-in: #ffffff;
  --bubble-out: #e9ebfc;
  --shadow: 0 1px 2px rgba(15,18,34,.04), 0 8px 24px rgba(15,18,34,.06);
  --shadow-lg: 0 2px 4px rgba(15,18,34,.04), 0 24px 60px rgba(40,48,110,.14);
  --dot: rgba(88,103,221,.16);
  --radius: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0c16;
  --surface: #121527;
  --surface-2: #181c33;
  --surface-3: #212642;
  --text: #eef0fa;
  --muted: #b0b5cf;
  --subtle: #959bba;
  --border: #252a47;
  --primary: #5867dd;
  --primary-hover: #6b79e8;
  --primary-ink: #a3acff;
  --primary-soft: #1f2450;
  --accent: #4fd1c5;
  --accent-soft: #10302f;
  --success: #4ade80;
  --success-soft: #11301d;
  --warn: #fbbf24;
  --warn-soft: #33270b;
  --danger: #fb923c;
  --danger-soft: #3a1f0c;
  --bubble-in: #1c2140;
  --bubble-out: #283070;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 60px rgba(0,0,0,.5);
  --dot: rgba(163,172,255,.10);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
p { margin: 0; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { color: var(--primary-hover); }
button { font: inherit; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(88,103,221,.35); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--primary); transform: translateY(-1px); }
.btn .i { transition: transform .2s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-ink); font-size: 13px; font-weight: 600;
}
.eyebrow svg.i { width: 16px; height: 16px; }
.section { padding: 112px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -0.02em; }
.logo:hover { color: var(--text); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; color: #fff; }
.logo-mark svg { width: 20px; height: 20px; }
.logo b { color: var(--primary-ink); }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--primary); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.login { color: var(--text); font-weight: 600; font-size: 15px; padding: 10px 12px; }
.login:hover { color: var(--primary-ink); }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* Hero */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.release { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; color: var(--muted); font-weight: 500; }
.release:hover { color: var(--text); border-color: var(--primary); }
.release .tag { background: var(--primary); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--primary-ink); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; overflow: visible; }
.hero h1 .hl path { stroke: var(--primary); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .7s ease forwards; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg.i { width: 18px; height: 18px; color: var(--success); }

/* Hero app mock */
.mock-stage { position: relative; padding: 24px 0; }
.mock {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 440px;
}
.mock-side { border-right: 1px solid var(--border); background: var(--surface-2); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.mock-side .ttl { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); padding: 4px 8px 6px; }
.convo { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; font-size: 13px; }
.convo.active { background: var(--surface); box-shadow: var(--shadow); }
.convo .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; position: relative; }
.convo .ch { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--surface-2); }
.convo .ch svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.4; fill: none; }
.convo .meta { min-width: 0; line-height: 1.3; }
.convo .meta b { display: block; font-weight: 600; color: var(--text); font-size: 13px; }
.convo .meta span { display: block; color: var(--subtle); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mock-top .who { font-weight: 600; font-size: 14px; }
.mock-top .who small { display: block; font-weight: 500; color: var(--success); font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill svg.i { width: 14px; height: 14px; }
.pill-ai { background: var(--accent-soft); color: var(--accent); margin-left: auto; }
.chat { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s ease, transform .45s ease; }
.msg.show { opacity: 1; transform: none; }
.msg.in { background: var(--bubble-in); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--bubble-out); color: var(--text); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .by { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 3px; }
.msg .by svg.i { width: 12px; height: 12px; }
.prod { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.prod .ph { width: 40px; height: 40px; border-radius: 8px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; }
.prod b { display: block; font-size: 13px; }
.prod span { font-size: 12px; color: var(--muted); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--bubble-in); border: 1px solid var(--border); opacity: 0; transition: opacity .3s; }
.typing.show { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--subtle); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.composer { margin: 0 16px 16px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border: 1px solid var(--border); border-radius: 12px; color: var(--subtle); font-size: 13px; }
.composer .send { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.composer .send svg.i { width: 16px; height: 16px; }

.float {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 13px;
  animation: bob 6s ease-in-out infinite;
}
.float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float b { display: block; font-size: 13px; color: var(--text); }
.float span { color: var(--muted); font-size: 12px; }
.f1 { top: -6px; right: -18px; animation-delay: -1s; }
.f2 { bottom: 38px; left: -34px; animation-delay: -3s; }
.f3 { bottom: -10px; right: 24px; animation-delay: -4.5s; }
.ic-green { background: var(--success-soft); color: var(--success); }
.ic-indigo { background: var(--primary-soft); color: var(--primary-ink); }
.ic-teal { background: var(--accent-soft); color: var(--accent); }
.ic-amber { background: var(--warn-soft); color: var(--warn); }
.ic-orange { background: var(--danger-soft); color: var(--danger); }

/* Logos marquee */
.strip { padding: 28px 0 8px; }
.strip p { text-align: center; color: var(--subtle); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--text); white-space: nowrap; }
.chip svg.i { width: 18px; height: 18px; color: var(--primary-ink); }

/* Stats */
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { --tone: var(--primary-ink); --tone-soft: var(--primary-soft); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; }
.stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 45%, var(--border)); }
.tone-indigo { --tone: var(--primary-ink); --tone-soft: var(--primary-soft); }
.tone-teal { --tone: var(--accent); --tone-soft: var(--accent-soft); }
.tone-green { --tone: var(--success); --tone-soft: var(--success-soft); }
.tone-amber { --tone: var(--warn); --tone-soft: var(--warn-soft); }
.stat-head { display: flex; align-items: center; gap: 10px; }
.stat-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--tone-soft); color: var(--tone); display: grid; place-items: center; flex: none; }
.stat-ic svg.i { width: 18px; height: 18px; }
.stat-label { color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.3; }
.stat-num { display: flex; align-items: baseline; gap: 2px; font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-suf { color: var(--tone); font-size: 30px; font-weight: 800; }
.stat .spark { color: var(--tone); margin-top: 4px; }

/* Platform explorer */
.explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
.tab {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; min-height: 52px;
  border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab .ti { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); transition: background .2s, color .2s; }
.tab:hover { color: var(--text); background: var(--surface); }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .ti { background: var(--primary); color: #fff; }
.tab .cnt { margin-left: auto; font-size: 12px; color: var(--subtle); font-weight: 600; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); min-height: 100%; }
.panel[hidden] { display: none; }
.panel.anim { animation: panelIn .45s ease both; }
.panel-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.panel-head .big { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; flex: none; }
.panel-head .big svg.i { width: 28px; height: 28px; }
.panel h3 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.panel-head p { color: var(--muted); font-size: 16px; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.outcome { padding: 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; color: var(--text); font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.outcome svg.i { color: var(--success); width: 18px; height: 18px; margin-top: 2px; }
.mods-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 12px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mod { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text); transition: border-color .2s, transform .2s; }
.mod:hover { border-color: var(--primary); transform: translateY(-2px); }
.mod svg.i { color: var(--primary-ink); width: 18px; height: 18px; }

/* Flow */
.flow-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 48px 32px; box-shadow: var(--shadow); }
.flow { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.node { flex: 1 1 0; min-width: 0; max-width: 200px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.node .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.node .ni { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.node .txt { display: flex; flex-direction: column; gap: 4px; }
.node b { font-size: 15px; color: var(--text); line-height: 1.3; }
.node span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.node.pulse { animation: glow 6s ease-in-out infinite; }
.link { flex: 0 0 40px; align-self: center; height: 2px; position: relative; background-image: linear-gradient(90deg, var(--primary) 50%, transparent 50%); background-size: 10px 2px; animation: dash .8s linear infinite; }
.link::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--primary); border-right: 0; }
.flow-note { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Spotlight rows */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.spot + .spot { margin-top: 112px; }
.spot.rev .spot-copy { order: 2; }
.spot-copy { display: flex; flex-direction: column; gap: 18px; }
.spot-copy h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.spot-copy > p { font-size: 17px; color: var(--muted); }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.ticks .tk { width: 24px; height: 24px; border-radius: 7px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; flex: none; margin-top: 1px; }
.ticks .tk svg.i { width: 14px; height: 14px; stroke-width: 2.6; }
.visual { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); position: relative; }
.v-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.v-title .pill { margin-left: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(21,128,61,.5); animation: ping 1.8s infinite; }

.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 84px; padding: 0 8px; background: var(--surface-2); border-radius: 14px; }
.wave i { width: 5px; border-radius: 3px; background: var(--primary); animation: wave 1.1s ease-in-out infinite; }
.transcript { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.line { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.line .who { flex: none; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-top: 1px; }
.line .who.ai { background: var(--accent-soft); color: var(--accent); }
.line .who.c { background: var(--surface-3); color: var(--text); }
.booked { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--success-soft); color: var(--success); font-weight: 600; font-size: 14px; }

.cart-msg { background: var(--surface-2); border-radius: 14px; padding: 14px; font-size: 14px; }
.cart-items { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.ci { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.ci .ph { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.ci b { font-weight: 600; }
.ci .pr { margin-left: auto; font-weight: 700; }
.cart-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; }
.timeline { display: flex; gap: 0; margin-top: 18px; }
.ts { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; position: relative; }
.ts::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.ts:first-child::before { display: none; }
.ts.done::before { background: var(--success); }
.ts .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); position: relative; z-index: 1; }
.ts.done .dot { background: var(--success); color: #fff; }
.ts.now .dot { background: var(--primary); color: #fff; animation: ringp 2s infinite; }
.ts .dot svg.i { width: 15px; height: 15px; stroke-width: 2.4; }

.tasks { display: flex; flex-direction: column; gap: 8px; }
.task { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; background: var(--surface); }
.task .cb { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border); display: grid; place-items: center; }
.task.done .cb { background: var(--success); border-color: var(--success); color: #fff; }
.task.done .cb svg.i { width: 12px; height: 12px; stroke-width: 3; }
.task.done .tt { text-decoration: line-through; color: var(--subtle); }
.task .tt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.task .tt small { display: block; color: var(--subtle); font-size: 12px; font-weight: 500; text-decoration: none; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.b-over { background: var(--danger-soft); color: var(--danger); }
.b-prog { background: var(--primary-soft); color: var(--primary-ink); }
.b-done { background: var(--success-soft); color: var(--success); }
.b-todo { background: var(--warn-soft); color: var(--warn); }
.avs { display: flex; }
.avs i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -8px; display: grid; place-items: center; font-size: 10px; font-weight: 700; font-style: normal; color: #fff; }
.avs i:first-child { margin-left: 0; }
.task.over { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); animation: nudge 5s ease-in-out infinite; }
.org-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.org { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--muted); }
.org.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Pricing */
.bill { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); gap: 4px; }
.bill button { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.bill button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.bill .save { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.bill button[aria-pressed="true"] .save { background: rgba(255,255,255,.22); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.plan.pop { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 26px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-ink); }
.plan .tag { font-size: 14px; color: var(--muted); min-height: 44px; line-height: 1.5; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.price > span { color: var(--muted); font-size: 14px; }
.price-note { font-size: 12px; color: var(--subtle); margin-top: -10px; min-height: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text); }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg.i { width: 17px; height: 17px; color: var(--success); margin-top: 2px; }
.plan .btn { margin-top: 0; width: 100%; }
.plan ul { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.plan.wide { grid-column: span 2; }
.plans-foot { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.plans-foot span { display: inline-flex; gap: 6px; align-items: center; }
.plans-foot svg.i { width: 16px; height: 16px; color: var(--success); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; transition: transform .3s; flex: none; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* CTA */
.cta { background: #1b1f45; border-radius: 28px; padding: 72px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
:root[data-theme="dark"] .cta { background: #1a1f48; border: 1px solid #2c3370; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; max-width: 760px; margin: 0 auto 16px; }
.cta p { color: #c9cdf0; font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.orbit { position: absolute; border: 1px dashed rgba(255,255,255,.14); border-radius: 50%; animation: spin 60s linear infinite; }

/* Footer */
footer { padding: 72px 0 32px; border-top: 1px solid var(--border); margin-top: 112px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.foot-grid h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid ul a { color: var(--muted); font-size: 14px; }
.foot-grid ul a:hover { color: var(--text); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--subtle); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.hero .rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .rise:nth-child(2) { animation-delay: .08s; }
.hero .rise:nth-child(3) { animation-delay: .16s; }
.hero .rise:nth-child(4) { animation-delay: .24s; }
.hero .rise:nth-child(5) { animation-delay: .32s; }
.mock-stage { animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { background-position: 10px 0; } }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(88,103,221,0); } 50% { box-shadow: 0 0 0 6px rgba(88,103,221,.18); } }
@keyframes wave { 0%,100% { height: 14%; } 50% { height: 90%; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(21,128,61,.5); } 80%,100% { box-shadow: 0 0 0 10px rgba(21,128,61,0); } }
@keyframes ringp { 0% { box-shadow: 0 0 0 0 rgba(88,103,221,.5); } 80%,100% { box-shadow: 0 0 0 10px rgba(88,103,221,0); } }
@keyframes nudge { 0%,88%,100% { transform: translateX(0); } 91% { transform: translateX(-3px); } 94% { transform: translateX(3px); } 97% { transform: translateX(-2px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stat sparklines */
.stat { position: relative; overflow: hidden; }
.spark { display: block; width: 100%; height: auto; margin-top: 14px; }
.spark .ln { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s .3s ease forwards; }
.spark .ar { fill: currentColor; opacity: 0; animation: fadeA 1s 1.2s ease forwards; }
@keyframes fadeA { to { opacity: .14; } }

/* Channel hub */
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hub { --r: 180px; --s: 54px; position: relative; width: 460px; height: 460px; margin: 0 auto; max-width: 100%; }
.hub .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed var(--border); transform: translate(-50%, -50%); }
.hub .r1 { width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-style: solid; border-color: color-mix(in srgb, var(--primary) 28%, var(--border)); }
.hub .r2 { width: calc(var(--r) * 1.25); height: calc(var(--r) * 1.25); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); animation: spin 30s linear infinite reverse; }
.hub .r3 { width: calc(var(--r) * 2.5); height: calc(var(--r) * 2.5); opacity: .7; }
.sats { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin 48s linear infinite; }
.spoke { position: absolute; left: 0; top: 0; width: 0; height: 0; }
#hub { overflow: hidden; }
.spoke::before { content: ""; position: absolute; left: 60px; top: 0; width: calc(var(--r) - 60px); height: 1px; background: color-mix(in srgb, var(--primary) 30%, transparent); }
.o1 { transform: rotate(45deg); } .o2 { transform: rotate(90deg); } .o3 { transform: rotate(135deg); }
.o4 { transform: rotate(180deg); } .o5 { transform: rotate(225deg); } .o6 { transform: rotate(270deg); } .o7 { transform: rotate(315deg); }
.sat { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); transform: translateX(var(--r)); }
.o1 .sat { transform: translateX(var(--r)) rotate(-45deg); } .o2 .sat { transform: translateX(var(--r)) rotate(-90deg); }
.o3 .sat { transform: translateX(var(--r)) rotate(-135deg); } .o4 .sat { transform: translateX(var(--r)) rotate(-180deg); }
.o5 .sat { transform: translateX(var(--r)) rotate(-225deg); } .o6 .sat { transform: translateX(var(--r)) rotate(-270deg); }
.o7 .sat { transform: translateX(var(--r)) rotate(-315deg); }
.sat-in { width: 100%; height: 100%; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; animation: spin 48s linear infinite reverse; }
.sat-in svg.i { width: 24px; height: 24px; }
.packet { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); opacity: 0; animation: inbound 3.2s ease-in infinite; }
.o1 .packet { animation-delay: .4s; } .o2 .packet { animation-delay: .8s; } .o3 .packet { animation-delay: 1.2s; } .o4 .packet { animation-delay: 1.6s; }
.o5 .packet { animation-delay: 2s; } .o6 .packet { animation-delay: 2.4s; } .o7 .packet { animation-delay: 2.8s; }
.core { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 32px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(88,103,221,.45); z-index: 3; }
.core svg.i { width: 50px; height: 50px; stroke: #fff; }
.core::before, .core::after { content: ""; position: absolute; inset: 0; border-radius: 32px; border: 2px solid var(--primary); animation: ripple 3s ease-out infinite; }
.core::after { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
@keyframes inbound { 0% { transform: translateX(var(--r)); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(70px); opacity: 0; } }

/* Module and outcome stagger */
.panel .mod, .panel .outcome { animation: modIn .45s cubic-bezier(.2,.7,.2,1) backwards; }
.panel .mod:nth-child(2), .panel .outcome:nth-child(2) { animation-delay: .05s; }
.panel .mod:nth-child(3), .panel .outcome:nth-child(3) { animation-delay: .1s; }
.panel .mod:nth-child(4) { animation-delay: .15s; } .panel .mod:nth-child(5) { animation-delay: .2s; }
.panel .mod:nth-child(6) { animation-delay: .25s; } .panel .mod:nth-child(7) { animation-delay: .3s; }
.panel .mod:nth-child(8) { animation-delay: .35s; } .panel .mod:nth-child(9) { animation-delay: .4s; }
.panel .mod:nth-child(10) { animation-delay: .45s; }
@keyframes modIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* Analytics chart */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 12px; border-radius: 12px; background: var(--surface-2); }
.kpi span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.kpi em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--success); }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-svg .gl { stroke: var(--border); stroke-width: 1; }
.chart-svg .bar { fill: var(--primary); opacity: .28; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: grow .8s cubic-bezier(.2,.7,.2,1) forwards; }
.chart-svg .bar.hi { opacity: .9; }
.chart-svg .ln { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.8s .6s ease forwards; }
.chart-svg .pt { fill: var(--accent); opacity: 0; animation: fadeIn .3s 2.3s forwards; }
.chart-svg .halo { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 1.8s 2.4s ease-out infinite; }
.chart-svg .tip { opacity: 0; animation: fadeIn .4s 2.4s forwards; }
.chart-svg .tip rect { fill: var(--text); }
.chart-svg .tip text { fill: var(--bg); font-size: 11px; font-weight: 700; font-family: inherit; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); font-weight: 500; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes halo { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* Start view-based animations only once the block is on screen */
.reveal:not(.in) .spark *, .reveal:not(.in) .chart-svg * { animation-play-state: paused; }

/* Popular plan glow */
.plan.pop { animation: popglow 3.5s ease-in-out infinite; }
@keyframes popglow { 0%, 100% { box-shadow: var(--shadow-lg); } 50% { box-shadow: 0 0 0 6px rgba(88,103,221,.16), var(--shadow-lg); } }

/* CTA floating icons */
.bub { position: absolute; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #c9cdf0; animation: floaty 7s ease-in-out infinite; }
.bub svg.i { width: 22px; height: 22px; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

@media (max-width: 960px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bub { display: none; }
}
@media (max-width: 640px) {
  .hub { --r: 128px; --s: 44px; width: 320px; height: 320px; }
  .core { width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 26px; }
  .core::before, .core::after { border-radius: 26px; }
  .core svg.i { width: 38px; height: 38px; }
  .spoke::before { left: 46px; width: calc(var(--r) - 46px); }
  .sat-in svg.i { width: 20px; height: 20px; }
  .kpi { padding: 10px; }
  .kpi b { font-size: 16px; }
}

/* Responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .outcomes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-actions .login, .nav-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-top: 1px solid var(--border); background: var(--bg); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 12px 8px; color: var(--text); font-weight: 600; border-radius: 10px; }
  .mobile-menu a:hover { background: var(--surface-2); }
  .mobile-menu .btn { margin-top: 8px; color: #fff; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 40px; }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tab { width: auto; flex: none; }
  .tab .cnt { display: none; }
  .spot { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .spot.rev .spot-copy { order: 0; }
  .flow { flex-direction: column; align-items: stretch; }
  .node { max-width: none; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .node .txt { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
  .link { flex: 0 0 28px; width: 2px; height: 28px; align-self: center; background-image: linear-gradient(180deg, var(--primary) 50%, transparent 50%); background-size: 2px 10px; animation-name: dashv; }
  .link::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top-color: var(--primary); border-bottom: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 80px 0; }
}
@keyframes dashv { to { background-position: 0 10px; } }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .mock { grid-template-columns: minmax(0, 1fr); min-height: 400px; }
  .mock-side { display: none; }
  .f1 { right: -4px; top: -14px; }
  .f2 { left: -4px; bottom: 70px; }
  .f3 { display: none; }
  .float { padding: 10px 12px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan.wide { grid-column: auto; }
  .plan .ptag { min-height: 0; }
  .panel { padding: 22px; }
  .panel-head { flex-direction: column; }
  .flow-wrap { padding: 28px 16px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 56px 20px; border-radius: 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .task { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .task .avs { display: none; }
  .stat { padding: 18px 16px 14px; }
  .stat-num { font-size: 34px; }
  .stat-suf { font-size: 22px; }
  .stat-label { font-size: 13px; }
  .stat-ic { width: 32px; height: 32px; }
  .visual { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .msg, .typing { opacity: 1; transform: none; }
}

/* ===== Integration additions (live data, language menu, socials, changelog) ===== */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg.i { width: 18px; height: 18px; }
.lang summary .chev { width: 14px; height: 14px; transition: transform .2s; }
.lang[open] summary .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; z-index: 60; }
.lang-menu a { padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 500; }
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a.on { color: var(--primary-ink); font-weight: 700; }
.mobile-menu .lang-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; }
.mobile-menu .lang-row a { padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; }

.plan .more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--primary-ink); }
.plan .more:hover { color: var(--primary-hover); }
.plan .ptag p { margin: 0; }
/* Same height for every description so prices and buttons line up across cards */
.plan .ptag { font-size: 14px; color: var(--muted); line-height: 1.5; min-height: 4.5em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.changelog { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.log { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
.log.latest { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.log-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.log-ver { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); }
.log-date { font-size: 13px; color: var(--subtle); font-weight: 500; }
.log-new { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--success-soft); color: var(--success); }
.log h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.log-body { color: var(--muted); font-size: 15px; }
.log-body p { margin: 0 0 8px; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: grid; place-items: center; transition: border-color .2s, color .2s, transform .2s; }
.socials a:hover { border-color: var(--primary); color: var(--primary-ink); transform: translateY(-2px); }
.foot-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-top: 12px; }
.foot-contact svg.i { width: 16px; height: 16px; }

/* Google Translate keeps a top offset on body; reset it. */
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate, #goog-logo-link { display: none !important; }

@media (max-width: 960px) {
  .nav-actions .lang { display: none; }
}
@media (max-width: 640px) {
  .log { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .log-meta { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
