/* GEOwatch — дизайн-система. Светлая тема, индиго-акцент, системный шрифт (SF на iPhone). */
:root {
  --ink: #0d0f17; --ink-2: #394050; --muted: #6a7182; --faint: #9aa1b1;
  --line: #e6e8ef; --line-2: #d8dbe5; --bg: #f5f6f9; --card: #fff; --soft: #f0f1f6;
  --brand: #4338ca; --brand-600: #4f46e5; --brand-50: #eef0ff; --brand-100: #e0e3ff;
  --good: #11875a; --good-50: #e5f6ee; --bad: #d63d42; --bad-50: #fdecec; --warn: #b86e00; --warn-50: #fff4e0;
  --r: 16px; --r-sm: 10px; --r-xs: 7px;
  --sh: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --sh-lg: 0 12px 32px -8px rgba(16,24,40,.14), 0 4px 8px -4px rgba(16,24,40,.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 750; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 .8em; }
.num, .tab-num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .86rem; }
.xs { font-size: .78rem; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-size: .85em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 6px; }

/* ---------- topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; font-size: 1.08rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 210deg, #4338ca, #7c3aed, #0ea5e9, #4338ca);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.logo-mark::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.topnav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.topnav a.navlink { color: var(--ink-2); padding: 7px 10px; border-radius: 8px; font-weight: 500; font-size: .93rem; }
.topnav a.navlink:hover { background: var(--soft); text-decoration: none; }
.dark .topbar { background: rgba(11,12,20,.72); border-color: rgba(255,255,255,.08); }
.dark .logo { color: #fff; }
.dark .topnav a.navlink { color: #c9cce0; }
.dark .topnav a.navlink:hover { background: rgba(255,255,255,.08); }
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-50);
  color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu .menu { position: absolute; right: 0; top: 42px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--sh-lg); padding: 6px; min-width: 220px; }
.usermenu .menu .who { padding: 8px 10px; color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); margin-bottom: 4px;
  overflow: hidden; text-overflow: ellipsis; }
.usermenu .menu a, .usermenu .menu button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px;
  background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; }
.usermenu .menu a:hover, .usermenu .menu button:hover { background: var(--soft); text-decoration: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-sm);
  font: 600 .93rem/1 var(--font); border: 1px solid transparent; cursor: pointer; background: var(--brand); color: #fff;
  transition: background .15s, box-shadow .15s, transform .05s; white-space: nowrap; text-decoration: none !important; }
.btn:hover { background: #3730a3; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: .85rem; border-radius: 8px; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh); }
.btn-ghost:hover { background: var(--soft); }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--soft); }
.btn-good { background: var(--good); }
.btn-good:hover { background: #0b6e49; }
.btn-danger { background: #fff; color: var(--bad); border-color: #f3c5c7; }
.btn-danger:hover { background: var(--bad-50); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #eef0ff; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inline { display: inline; }
.linklike { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 0; }

/* ---------- surfaces ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
.card + .card { margin-top: 16px; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head .sub { color: var(--muted); font-size: .86rem; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.stack > * + * { margin-top: 16px; }
.section { margin-top: 20px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: .78rem;
  font-weight: 600; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.pill.good { background: var(--good-50); color: var(--good); }
.pill.bad { background: var(--bad-50); color: var(--bad); }
.pill.warn { background: var(--warn-50); color: var(--warn); }
.pill.brand { background: var(--brand-50); color: var(--brand); }
.pill.off { background: var(--soft); color: var(--faint); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--faint); }
.dot.on { background: #16a36a; box-shadow: 0 0 0 3px rgba(22,163,106,.15); }
.dot.down { background: var(--bad); }
.dot.off { background: #c9cdd7; }

.notice { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--brand-50);
  color: #312e81; border: 1px solid var(--brand-100); margin: 0 0 16px; font-size: .92rem; }
.notice.bad { background: var(--bad-50); color: #8c1d21; border-color: #f6caca; }
.notice.warn { background: var(--warn-50); color: #7a4a00; border-color: #f6dfb5; }
.notice.good { background: var(--good-50); color: #0b5e3f; border-color: #bfe7d3; }
.notice .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }

/* ---------- forms ---------- */
label.field { display: block; margin: 0 0 14px; }
label.field > span { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
label.field > small, .help { display: block; color: var(--muted); font-size: .8rem; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=url], input:not([type]), textarea, select {
  width: 100%; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  font: 16px/1.45 var(--font); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; }
textarea.code { font-family: var(--mono); font-size: 13px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; background: #fff; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.check.is-off { opacity: .6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2); font: 500 .86rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--brand-600); color: var(--brand); }
.error { color: var(--bad); }

/* ---------- auth ---------- */
.authbox { max-width: 420px; margin: 56px auto; padding: 28px; }
.authbox h1 { font-size: 1.6rem; }
.authbox .btn { width: 100%; margin-top: 6px; }

/* ---------- project header & tabs ---------- */
.phead { background: #fff; border-bottom: 1px solid var(--line); }
.phead .wrap { padding-top: 18px; }
.phead-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.phead h1 { font-size: 1.45rem; margin: 0; }
.ptitle { flex: 1 1 0; min-width: 0; }
.phead .brandline { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.phead .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; display: grid;
  place-items: center; font-weight: 750; font-size: 1.05rem; flex: none; letter-spacing: -.02em; }
.tabs { display: flex; gap: 2px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 12px; color: var(--muted); font-weight: 550; font-size: .92rem;
  border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--brand); }
.tabs .cnt { font-size: .72rem; background: var(--soft); color: var(--ink-2); border-radius: 999px; padding: 1px 7px; font-weight: 650; }
.demo-bar { background: #0d0f17; color: #d9dcf0; font-size: .86rem; }
.demo-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 42px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.demo-bar a { color: #fff; font-weight: 600; }
.page { padding-top: 22px; padding-bottom: 64px; }

/* ---------- overview ---------- */
.hero-metric { display: flex; gap: 22px; align-items: center; }
.ringbox { position: relative; flex: none; }
.ringbox .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ringbox .val b { display: block; font-size: 2.1rem; font-weight: 780; letter-spacing: -.04em; line-height: 1; }
.ringbox .val span { display: block; font-size: .72rem; color: var(--muted); margin-top: 3px; }
.ring { color: var(--ink); display: block; }
.hero-metric h2 { font-size: 1.1rem; margin-bottom: 4px; }
.delta { font-weight: 700; font-size: .88rem; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.kpi { background: var(--soft); border-radius: 12px; padding: 11px 12px; }
.kpi b { display: block; font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .76rem; line-height: 1.3; display: block; }

.engines { display: grid; gap: 8px; }
.eng-row { display: grid; grid-template-columns: 136px 1fr 44px; gap: 12px; align-items: center; font-size: .9rem; }
.eng-row .nm { display: flex; align-items: center; gap: 7px; min-width: 0; }
.eng-row .nm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eng-row .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.eng-row.is-off { color: var(--faint); }
.bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--brand); min-width: 2px; }
.bar.good i { background: var(--good); } .bar.bad i { background: #e58a8d; } .bar.gray i { background: #b9bfcc; }

.chart { width: 100%; height: 220px; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .ax { fill: var(--faint); font-size: 11px; font-family: var(--font); }
.chart .mark { stroke: #a78bfa; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.chart .markdot { fill: #7c3aed; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--ink-2); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

.rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rank li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 90px 40px; gap: 10px; align-items: center; font-size: .92rem; }
.rank li .n { color: var(--faint); font-weight: 600; font-size: .8rem; }
.rank li .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.rank li .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; }
.rank li.you .nm { color: var(--brand); }

.qlist { list-style: none; margin: 0; padding: 0; }
.qlist li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
.qlist li:first-child { border-top: 0; padding-top: 2px; }
.qlist .q { font-weight: 560; }
.qlist .who { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; }
.qlist .who b { color: var(--ink-2); font-weight: 600; }

.empty { text-align: center; padding: 44px 20px; }
.empty .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center;
  margin: 0 auto 14px; font-size: 1.5rem; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 16px; }

/* ---------- matrix / tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #fafbfd; }
.tbl .c { text-align: center; }
.tbl .r { text-align: right; }
.cell { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-weight: 700; font-size: .85rem; }
.cell.hit { background: var(--good-50); color: var(--good); }
.cell.miss { background: var(--bad-50); color: var(--bad); }
.cell.none { background: var(--soft); color: var(--faint); }
a.cell:hover { text-decoration: none; filter: brightness(.96); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.qcards { display: none; }
.qcard { padding: 14px 0; border-top: 1px solid var(--line); }
.qcard:first-child { border-top: 0; }
.qcard .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.qcard .eng { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.qcard .eng a { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; padding: 4px 9px; border-radius: 8px; font-weight: 600; }
.qcard .eng a.hit { background: var(--good-50); color: var(--good); }
.qcard .eng a.miss { background: var(--bad-50); color: var(--bad); }

/* ---------- sources ---------- */
.src { display: grid; grid-template-columns: minmax(0, 1.2fr) 130px minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
.src:first-child { border-top: 0; }
.src .dom { font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.src .dom .fav { width: 20px; height: 20px; border-radius: 6px; background: var(--soft); color: var(--ink-2); display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700; flex: none; }
.src .urls { margin-top: 5px; font-size: .8rem; }
.src .urls a { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src .split { font-size: .8rem; color: var(--muted); }
.src .split .bar { margin: 5px 0 4px; }
.tagline { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: .75rem; padding: 2px 8px; border-radius: 6px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.tag.brand { background: var(--brand-50); color: var(--brand); }
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--sh); }
.stat b { display: block; font-size: 1.55rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .8rem; }

/* ---------- plan ---------- */
.plan-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh); }
.plan-item + .plan-item { margin-top: 12px; }
.plan-item summary { list-style: none; cursor: pointer; padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.plan-item summary::-webkit-details-marker { display: none; }
.plan-item .prio { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 750; font-size: .82rem; }
.prio.p1 { background: #fde8e8; color: #b42318; } .prio.p2 { background: var(--warn-50); color: var(--warn); } .prio.p3 { background: var(--soft); color: var(--muted); }
.plan-item .t { font-weight: 640; font-size: 1rem; letter-spacing: -.01em; }
.plan-item .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.plan-item .body { padding: 0 18px 18px 66px; }
.plan-item .how { white-space: pre-line; color: var(--ink-2); font-size: .92rem; background: var(--soft); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.plan-item .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.plan-item.is-done { background: #fbfcfd; }
.plan-item.is-done .t { color: var(--muted); }
.plan-item .chev { transition: transform .2s; color: var(--faint); margin-top: 6px; }
.plan-item[open] .chev { transform: rotate(180deg); }
.exp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: center; }
.exp:first-child { border-top: 0; }
.exp .ba { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; font-weight: 700; }
.exp .ba .arrow { color: var(--faint); font-weight: 400; }
.exp .ba .big { font-size: 1.2rem; }

/* ---------- content ---------- */
.asset { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh); overflow: hidden; }
.asset + .asset { margin-top: 12px; }
.asset summary { list-style: none; cursor: pointer; padding: 15px 18px; display: flex; align-items: center; gap: 12px; }
.asset summary::-webkit-details-marker { display: none; }
.asset .kind-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand);
  font-weight: 700; font-size: .78rem; flex: none; }
.asset .body { border-top: 1px solid var(--line); padding: 16px 18px; }
.asset .tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.asset pre { background: #0d0f17; color: #e5e7f0; padding: 14px; border-radius: 10px; overflow: auto; font-size: 12.5px; max-height: 420px; margin: 0; }
.prose { font-size: .95rem; color: var(--ink-2); }
.prose h1 { font-size: 1.5rem; } .prose h2 { font-size: 1.2rem; margin-top: 1.3em; } .prose h3 { font-size: 1.02rem; margin-top: 1.1em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .88rem; margin: 12px 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose blockquote { margin: 0; padding: 4px 14px; border-left: 3px solid var(--line-2); color: var(--muted); }
.prose code { background: var(--soft); padding: 1px 5px; border-radius: 5px; font-size: .88em; }
.answer-box { max-height: none; }

/* ---------- landing ---------- */
.dark { background: #0b0c14; color: #e9ebf5; }
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: radial-gradient(1200px 500px at 70% -10%, rgba(99,102,241,.35), transparent 60%),
  radial-gradient(800px 400px at 0% 20%, rgba(14,165,233,.16), transparent 60%), #0b0c14; color: #fff; }
.lp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 780; margin-bottom: 18px; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero .lead { color: #b8bdd6; font-size: 1.13rem; max-width: 560px; }
.lp-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.lp-hero .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); box-shadow: none; }
.lp-hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: #c7d2fe; background: rgba(99,102,241,.16);
  border: 1px solid rgba(165,180,252,.25); padding: 5px 11px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow.light { color: var(--brand); background: var(--brand-50); border-color: var(--brand-100); }
.chat { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.chat-top .dots { display: flex; gap: 5px; margin-right: 6px; } .chat-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #e3e5ec; }
.chat-q { margin: 16px 16px 0 auto; background: var(--soft); border-radius: 16px 16px 4px 16px; padding: 10px 14px; max-width: 82%; width: fit-content; font-weight: 550; font-size: .93rem; }
.chat-a { padding: 14px 18px 4px; font-size: .88rem; color: var(--ink-2); max-height: 250px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.chat-a p { margin: 0 0 .6em; } .chat-a ul, .chat-a ol { padding-left: 1.2em; margin: 0 0 .6em; } .chat-a h2, .chat-a h3 { font-size: .95rem; margin: .4em 0; }
.chat-a mark { background: #fff1c2; color: inherit; padding: 0 2px; border-radius: 3px; }
.chat-verdict { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fcfcfd; font-size: .84rem; flex-wrap: wrap; }
.lp-sec { padding: 76px 0; }
.lp-sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-sec h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.03em; margin-bottom: 12px; }
.lp-sec .lead { color: var(--muted); font-size: 1.06rem; max-width: 680px; }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.feat .card { padding: 22px; }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.feat h3 { font-size: 1.05rem; }
.feat p { color: var(--muted); font-size: .93rem; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 34px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: relative; box-shadow: var(--sh); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem; margin-bottom: 12px; }
.step h3 { font-size: .98rem; } .step p { color: var(--muted); font-size: .87rem; margin: 0; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; margin-top: 30px; align-items: stretch; }
.bigstat { font-size: clamp(3rem, 8vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.enggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.engcard { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.engcard .nm { font-weight: 620; }
.engcard .st { font-size: .8rem; color: var(--muted); }
.cta-band { background: linear-gradient(135deg, #312e81, #4338ca 50%, #0e7490); color: #fff; border-radius: 24px; padding: 44px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; } .cta-band p { color: #c7d2fe; margin: 0; }
.faqlist details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faqlist summary { cursor: pointer; font-weight: 620; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faqlist summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faqlist details[open] summary::after { content: "–"; }
.faqlist details p { color: var(--ink-2); margin: 10px 0 0; }
footer.site { padding: 36px 0 44px; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); background: #fff; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .g-main, .g3 { grid-template-columns: 1fr; }
  .lp-hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .feat { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; }
  .enggrid { grid-template-columns: 1fr 1fr; }
  .statrow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap, .wrap-narrow { padding-left: 16px; padding-right: 16px; }
  .g2 { grid-template-columns: 1fr; }
  .card { padding: 16px; border-radius: 14px; }
  .topbar .wrap { height: 54px; }
  .topnav a.navlink.hide-sm { display: none; }
  .phead .wrap { padding-top: 14px; }
  .phead h1 { font-size: 1.2rem; }
  .avatar { width: 38px; height: 38px; border-radius: 11px; font-size: .95rem; }
  .phead .actions { margin-left: 0; width: 100%; }
  .phead .actions .btn { flex: 1; }
  .tabs { margin-left: -16px; margin-right: -16px; padding: 0 8px; }
  .hero-metric { gap: 16px; }
  .hero-metric h2 { font-size: 1rem; }
  .ringbox .ring { width: 104px; height: 104px; }
  .ringbox .val b { font-size: 1.6rem; }
  .kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi { padding: 9px 10px; }
  .kpi b { font-size: 1.08rem; }
  .eng-row { grid-template-columns: 124px 1fr 40px; gap: 10px; font-size: .86rem; }
  .rank li { grid-template-columns: 18px minmax(0, 1fr) 64px 36px; }
  .chart { height: 180px; }
  .qtable { display: none; }
  .qcards { display: block; }
  .src { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .plan-item summary { padding: 14px; gap: 12px; }
  .plan-item .body { padding: 0 14px 16px; }
  .lp-hero { padding: 44px 0 56px; }
  .lp-sec { padding: 52px 0; }
  .feat, .steps, .enggrid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px 22px; border-radius: 18px; }
  .statrow { gap: 8px; }
  .stat { padding: 12px; }
  .stat b { font-size: 1.3rem; }
  .exp { grid-template-columns: 1fr; }
}
.stack.tight > * + * { margin-top: 8px; }
.grid.top { align-items: start; }
