/* SourceSEO theme — main stylesheet */
:root {
  --bg: #F7F9FC; --surface: #FFFFFF; --surface-2: #EEF2F8; --tint: #EEF3FF;
  --ink: #08111F; --ink-2: #40506A; --muted: #66738B; --faint: #9AA6B8;
  --line: #DFE6F0; --line-2: #CBD5E3;
  --brand: #5267FF; --brand-btn: #4257EE; --brand-dark: #2F43D0; --brand-wash: #EEF1FF;
  --cyan: #35D8FF; --cyan-ink: #0B84AD;
  --ok: #18B67A; --ok-ink: #0B7A51; --ok-wash: #E4F6EE;
  --warn: #F0A51A; --warn-ink: #8A5A00; --warn-wash: #FDF3DE;
  --err: #EF5B68; --err-ink: #B42633; --err-wash: #FDECEE;
  --night: #07101F; --night-2: #0C1728; --night-3: #122036; --night-line: rgba(255,255,255,.09);
  --night-ink: #E8EEF8; --night-muted: #93A2BA;
  --display: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r-xs: 6px; --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(8,17,31,.06);
  --shadow: 0 1px 2px rgba(8,17,31,.05), 0 14px 34px -16px rgba(8,17,31,.2);
  --shadow-lg: 0 2px 6px rgba(8,17,31,.04), 0 40px 80px -32px rgba(20,34,90,.42);
  --wrap: 1240px; --pad: clamp(20px, 4vw, 44px); --sec: clamp(84px, 10vw, 140px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; color: inherit; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.75rem); line-height: .96; letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.038em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.018em; font-weight: 600; }
h4 { font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; } ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-dark); } img, svg { max-width: 100%; } button, input, select, textarea { font: inherit; color: inherit; }
img { height: auto; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--cyan); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); position: relative; }
.white { background: var(--surface); }
.ruled { border-top: 1px solid var(--line); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); }
.kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.dark .kicker { color: var(--cyan); }
.lead { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.dark .lead { color: var(--night-muted); }
.sec-intro { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-intro.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 64px; align-items: end; }
.sec-intro.split .kicker { grid-column: 1 / -1; }
@media (max-width: 900px) { .sec-intro.split { grid-template-columns: 1fr; } }
.sample { display: inline-flex; align-items: center; gap: 6px; font: 600 .6875rem/1 var(--body); letter-spacing: .02em; color: var(--warn-ink); background: var(--warn-wash); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.sample::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .9688rem/1 var(--body); letter-spacing: -.005em; min-height: 50px; padding: 0 24px; border-radius: 11px; border: 1px solid transparent; background: var(--brand-btn); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 1px 2px rgba(20,34,120,.25), 0 10px 24px -12px rgba(66,87,238,.75); transition: background-color .18s, transform .18s, box-shadow .18s, border-color .18s, color .18s; }
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 2px 4px rgba(20,34,120,.25), 0 16px 30px -14px rgba(66,87,238,.85); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .18s; } .btn:hover .arr { transform: translateX(3px); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9063rem; border-radius: 10px; }
.btn.line { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.line:hover { border-color: var(--ink); background: rgba(255,255,255,.6); color: var(--ink); }
.btn.white { background: #fff; color: var(--night); box-shadow: 0 12px 34px -14px rgba(53,216,255,.5); }
.btn.white:hover { background: #E6EDFF; color: var(--night); }
.btn.ghost-d { background: transparent; color: var(--night-ink); border-color: rgba(255,255,255,.22); box-shadow: none; }
.btn.ghost-d:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); color: var(--night-ink); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-size: .9063rem; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.dark .ticks { color: var(--night-muted); } .dark .ticks svg { color: var(--cyan); }

/* nav */
.nav { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; background: rgba(247,249,252,.6); backdrop-filter: saturate(170%) blur(14px); -webkit-backdrop-filter: saturate(170%) blur(14px); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
.nav.scrolled { background: rgba(255,255,255,.93); border-bottom-color: var(--line); box-shadow: 0 8px 28px -22px rgba(8,17,31,.4); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.1875rem/1 var(--display); letter-spacing: -.035em; flex: none; }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo img, .logo .custom-logo { height:auto !important; width: auto; max-width: 200px; display: block; }
.nav-links { display: flex; gap: 2px; list-style: none; margin-inline: auto; }
.nav-links li { position: relative; }
.nav-links a { position: relative; display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9063rem; font-weight: 500; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(8,17,31,.04); }
.nav-links a[aria-current="true"], .nav-links .current-menu-item > a:not([href*="#"]) { color: var(--ink); }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-links .sub-menu { list-style: none; position: absolute; left: 0; top: 100%; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; display: none; z-index: 5; }
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display: block; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; place-items: center; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.75px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
.menu-btn .sr-only { position: absolute; }
@media (max-width: 1060px) {
  .nav .wrap { gap: 10px; position: static; }
  .nav .btn { margin-left: auto; }
  .menu-btn { display: grid; }
  .nav-links { position: absolute; left: 0; right: 0; top: 64px; margin: 0; flex-direction: column; gap: 0; padding: 6px var(--pad) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 34px -24px rgba(8,17,31,.35); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a[aria-current="true"]::after { display: none; }
  .nav-links a[aria-current="true"] { color: var(--brand-dark); }
  .nav-links .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
}
@media (max-width: 400px) { .nav .btn .arr { display: none; } .nav .btn { padding: 0 13px; } .logo { font-size: 1.0625rem; gap: 8px; } }

/* hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 112px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(82,103,255,.55) 1px, transparent 1.4px), linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 64px 64px; background-position: -0.5px -0.5px, 0 0, 0 0; opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 38%, #000 5%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 72% 38%, #000 5%, transparent 72%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 700px; right: -220px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(82,103,255,.16), rgba(53,216,255,.08) 55%, transparent); animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); gap: clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.hero-grid.no-visual { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.85); font: 600 .7188rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: inherit; opacity: .25; animation: ping 2.4s ease-out infinite; }
.dot.ok { background: var(--ok); }
@keyframes ping { 0% { transform: scale(.6); opacity: .45; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.hero h1 { margin-top: 24px; max-width: 12.5em; }
.hero h1 .l2 { display: block; color: var(--brand-dark); }
.hero .sub { margin-top: 4px; font: 600 clamp(1.1rem, 1.6vw, 1.35rem)/1.35 var(--display); letter-spacing: -.02em; max-width: 30ch; }
.hero .lead { margin-top: 14px; max-width: 50ch; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero .ticks { margin-top: 22px; }

/* hero visual */
.hv { position: relative; padding: 0 0 36px; }
.win { margin-right: 150px; }
.win { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; font-size: .8125rem; }
.win-bar .brandm { display: inline-flex; align-items: center; gap: 8px; font: 600 .8438rem var(--display); letter-spacing: -.01em; }
.win-bar .brandm svg { width: 18px; height: 18px; }
.crumb { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.crumb::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.win-bar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.dom { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-weight: 500; }
.dom svg { width: 11px; height: 11px; color: var(--ok-ink); }
.ov { padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 24px; }
.gauge { position: relative; width: 132px; height: 132px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; }
.gauge .trk { stroke: var(--surface-2); }
.gauge .val { stroke: url(#gGrad); stroke-linecap: round; stroke-dasharray: 295.3; stroke-dashoffset: 295.3; }
.gauge.run .val { animation: gfill 1.5s cubic-bezier(.2,.7,.2,1) .3s forwards; }
@keyframes gfill { to { stroke-dashoffset: calc(295.3 * (1 - var(--s) / 100)); } }
.gauge .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge b { font: 700 2.4rem/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.gauge small { display: block; margin-top: 5px; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; align-self: center; margin: 0; }
.kpis div { padding: 11px 14px; }
.kpis div:nth-child(2n) { border-left: 1px solid var(--line); }
.kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
.kpis dt { font-size: .7188rem; color: var(--muted); font-weight: 500; }
.kpis dd { margin: 3px 0 0; font: 600 1.1875rem/1.1 var(--display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.kpis dd small { font: 500 .75rem var(--body); color: var(--muted); letter-spacing: 0; }
.kpis dd em { font: 600 .6875rem var(--body); font-style: normal; color: var(--ok-ink); margin-left: 4px; }
.ov-bars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.ov-bars div { display: grid; gap: 7px; font-size: .75rem; color: var(--ink-2); }
.ov-bars span { display: flex; justify-content: space-between; }
.ov-bars b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mbar { height: 5px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.mbar i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--ok); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.mbar i.w { background: var(--warn); } .mbar i.f { background: var(--err); } .mbar i.b { background: var(--brand); }
.run .mbar i, .mbar.on i { width: var(--w); }
.ov-chart { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px 8px; }
.ov-chart-h { display: flex; justify-content: space-between; align-items: baseline; font-size: .75rem; color: var(--muted); }
.ov-chart-h b { font: 600 .8125rem var(--display); color: var(--ink); letter-spacing: -.01em; }
.ov-chart svg { display: block; width: 100%; height: 70px; margin-top: 6px; }
.spark-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; }
.run .spark-line { animation: draw 1.8s cubic-bezier(.3,.6,.2,1) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); font-size: .8125rem; z-index: 2; }
.float-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 600 .8125rem var(--display); letter-spacing: -.01em; }
.float ul { list-style: none; }
.float li { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); }
.float li:first-child { border-top: 0; }
.eng { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 700 .6875rem var(--display); color: #fff; flex: none; }
.st { margin-left: auto; font-size: .6875rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.st.ok { color: var(--ok-ink); background: var(--ok-wash); }
.st.b { color: var(--brand-dark); background: var(--brand-wash); }
.st.w { color: var(--warn-ink); background: var(--warn-wash); }
.st.e { color: var(--err-ink); background: var(--err-wash); }
.st.g { color: var(--ink-2); background: var(--surface-2); }
.f-vis { width: 236px; right: 20px; top: 318px; animation: float 10s ease-in-out -3s infinite; }
.f-fix { width: 240px; right: 0; top: 36px; animation: float 11s ease-in-out -6s infinite; }
.f-fix li { font-size: .8125rem; }
.f-fix .pr { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.f-fix .foot { padding: 9px 14px; border-top: 1px solid var(--line); background: #FBFCFE; color: var(--muted); font-size: .75rem; border-radius: 0 0 var(--r) var(--r); }
.toast { position: absolute; left: 24px; bottom: 6px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--night); color: #fff; font-size: .8125rem; box-shadow: 0 16px 34px -14px rgba(8,17,31,.55); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.toast.on { opacity: 1; transform: none; }
.toast .dot { background: var(--cyan); }
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hv { max-width: 760px; padding: 8px 0 48px; }
  .hero-ctas { max-width: 520px; }
}
@media (max-width: 640px) {
  .hv { padding: 0; }
  .win { animation: none; margin-right: 0; }
  .ov { grid-template-columns: 1fr; padding: 16px; }
  .gauge { width: 112px; height: 112px; justify-self: start; } .gauge b { font-size: 2rem; }
  .ov-bars { grid-template-columns: 1fr 1fr; }
  .crumb { display: none; }
  .f-fix, .toast { display: none; }
  .f-vis { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: 14px 0 0; animation: none; }
  .hero-ctas .btn { width: 100%; }
}

/* search has changed */
.statement { font: 700 clamp(2.2rem, 5.2vw, 4.6rem)/1.02 var(--display); letter-spacing: -.045em; max-width: 17ch; text-wrap: balance; }
.statement .soft { color: var(--faint); }
.changed-lead { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: start; }
.changed-lead b, .changed-lead strong { color: var(--ink); }
@media (max-width: 860px) { .changed-lead { grid-template-columns: 1fr; } }
.fan { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 220px minmax(120px, 1fr) minmax(260px, 340px); align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 36px; }
.fan-src { align-self: center; position: relative; }
.fan-src .site { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--night); color: #fff; font: 600 .9375rem var(--display); letter-spacing: -.01em; box-shadow: 0 16px 34px -18px rgba(8,17,31,.6); justify-self: start; }
.fan-src .site svg { width: 18px; height: 18px; color: var(--cyan); }
.fan-src small { position: absolute; left: 0; top: calc(100% + 8px); white-space: nowrap; color: var(--muted); font-size: .8125rem; }
.fan svg.wires { width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: var(--line-2); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.wires path.cov { stroke: var(--brand); stroke-dasharray: 4 6; animation: flow 2.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.surfaces { list-style: none; display: flex; flex-direction: column; justify-content: space-around; }
.surfaces li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); font: 500 1.0625rem var(--display); letter-spacing: -.015em; }
.surfaces li.cov { border-left-color: var(--brand); }
.surfaces li span { font: 600 .6875rem var(--body); letter-spacing: .02em; color: var(--brand-dark); background: var(--brand-wash); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.fan-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; color: var(--muted); }
.fan-note b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .fan { grid-template-columns: 1fr; padding-block: 28px; gap: 22px; }
  .fan svg.wires { display: none; }
  .fan-src small { position: static; display: block; margin-top: 8px; }
  .surfaces { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .surfaces li { font-size: .9688rem; flex-wrap: wrap; }
}
@media (max-width: 420px) { .surfaces { grid-template-columns: 1fr; } }

/* old vs modern */
.tracks { display: grid; gap: 14px; }
.track { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.track.modern { margin-top: 10px; border: 0; border-radius: var(--r-xl); background: var(--night); color: var(--night-ink); padding: 36px 34px; box-shadow: 0 34px 70px -40px rgba(8,17,31,.8); position: relative; overflow: hidden; }
.track.modern::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 70% 0%, rgba(82,103,255,.25), transparent 70%); pointer-events: none; }
.track.modern h3 { color: #fff; } .track.modern .track-h p { color: var(--night-muted); }
.track.modern .rail::before { background: rgba(255,255,255,.12); }
.track.modern .rail.new li { color: #fff; }
.track.modern .rail.new li::before { background: var(--night); }
.track.old-t { opacity: .85; padding-inline: 34px; }
@media (max-width: 960px) { .track.old-t { padding-inline: 0; } .track.modern { padding: 26px 22px; } }
.track-h h3 { font-size: 1.1875rem; }
.track-h p { margin-top: 6px; color: var(--muted); font-size: .875rem; }
.rail { position: relative; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.rail::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: var(--line-2); }
.rail li { position: relative; padding-top: 28px; padding-right: 10px; font: 500 .9688rem/1.3 var(--display); letter-spacing: -.012em; color: var(--ink-2); }
.rail li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); box-sizing: border-box; }
.rail.old { max-width: 560px; }
.rail.old li:last-child::after { content: attr(data-end); display: block; margin-top: 6px; font: 500 .75rem var(--body); color: var(--faint); }
.track.modern .rail.new::before, .rail.new::before { background: linear-gradient(90deg, var(--brand), var(--cyan)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.6s cubic-bezier(.3,.6,.2,1); }
.rail.new::after { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 3px, transparent 3px 16px); background-size: 16px 2px; animation: dash 1.2s linear infinite; opacity: var(--p, 0); }
@keyframes dash { to { background-position: 16px 0; } }
.rail.new li { color: var(--ink); }
.rail.new li::before { border-color: var(--brand); background: #fff; transition: background-color .3s, box-shadow .3s; transition-delay: calc(var(--i) * .15s); }
.rail.new.lit li::before { background: var(--brand) !important; box-shadow: 0 0 0 5px rgba(82,103,255,.22); }
.rail.new li:last-child::before { border-color: var(--cyan); }
.rail.new.lit li:last-child::before { background: var(--cyan) !important; box-shadow: 0 0 0 5px rgba(53,216,255,.2); }
.rail.new li:last-child span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 960px) {
  .track { grid-template-columns: 1fr; gap: 20px; }
  .rail { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
  .rail::before, .rail.new::after { left: 7px; right: auto; top: 7px; bottom: 7px; width: 2px; height: auto; }
  .rail.new::before { transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--brand), var(--cyan)); }
  .rail.new::after { background: none; }
  .rail li { padding: 0 0 0 30px; }
  .rail.old li:last-child::after { display: inline; margin-left: 10px; }
}

/* platform stack */
.plat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.instead { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.instead p { font-size: .8125rem; color: var(--muted); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.instead ul { list-style: none; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.instead li { font-size: .875rem; color: var(--faint); padding: 5px 11px; border: 1px dashed var(--line-2); border-radius: 999px; text-decoration: line-through; text-decoration-color: rgba(154,166,184,.7); }
.stack { position: relative; display: grid; gap: 8px; }
.layer { position: relative; border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; }
.layer .lbl { flex: none; width: 110px; font: 600 .6875rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.layer.you { background: var(--surface); border: 1px solid var(--line); margin-inline: 8%; }
.layer.you .lbl { color: var(--ok-ink); }
.layer.you .items { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.layer.you .chip { background: var(--ok-wash); color: var(--ok-ink); }
.layer.ai { background: var(--night); color: #fff; margin-inline: 4%; overflow: hidden; }
.layer.ai::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(53,216,255,.14) 50%, transparent 80%); transform: translateX(-100%); animation: sweep 5s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.layer.ai .lbl { color: var(--cyan); }
.layer.ai b { font: 700 1.75rem/1 var(--display); letter-spacing: -.04em; }
.layer.ai span { color: var(--night-muted); font-size: .9375rem; }
.layer.mods { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mod { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #FBFCFE; transition: border-color .2s, transform .2s, background-color .2s; }
.mod:hover { border-color: var(--brand); background: #fff; transform: translateY(-2px); }
.mod b { display: block; font: 600 .9688rem var(--display); letter-spacing: -.015em; }
.mod small { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.layer.base { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, #E8EDF5 10px 20px); border: 1px solid var(--line); margin-inline: -2%; }
.layer.base .lbl { color: var(--ink-2); }
.layer.base .items { display: flex; flex-wrap: wrap; gap: 8px; }
.layer.base .chip { background: #fff; border: 1px solid var(--line); }
@media (max-width: 1000px) { .plat { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .layer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .layer .lbl { width: auto; }
  .layer.you, .layer.ai, .layer.base { margin-inline: 0; }
  .layer.mods { grid-template-columns: 1fr 1fr; }
}

/* five stages */
.stages { position: relative; list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stages::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--cyan)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.stage { padding: 34px 24px 0 0; position: relative; }
.stage + .stage { padding-left: 24px; border-left: 1px solid var(--line); }
.stage .n { display: block; font: 700 clamp(3.2rem, 6vw, 5.2rem)/.9 var(--display); letter-spacing: -.06em; color: var(--line-2); transition: color .5s; }
.stage.on .n { color: var(--ink); }
.stage.on .n::after { content: "."; color: var(--brand); }
.stage h3 { margin-top: 20px; font-size: 1.375rem; }
.stage > p { margin-top: 10px; color: var(--ink-2); font-size: .9688rem; line-height: 1.55; }
.stage ul { list-style: none; margin-top: 18px; display: grid; gap: 7px; }
.stage li { font-size: .8438rem; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.stage li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--brand); flex: none; transform: translateY(-2px); }
@media (max-width: 1060px) {
  .stages { grid-template-columns: 1fr; border-top: 0; padding-left: 28px; }
  .stages::after { left: 0; top: 0; width: 2px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .stages::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
  .stage, .stage + .stage { padding: 0 0 36px; border-left: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; }
  .stage .n { grid-row: span 3; font-size: 3.4rem; }
  .stage h3 { margin-top: 4px; }
}
@media (max-width: 480px) { .stage, .stage + .stage { grid-template-columns: 1fr; } .stage .n { grid-row: auto; font-size: 2.8rem; } .stage h3 { margin-top: 10px; } }

/* dark + agents */
.dark { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate; }
.dark h2, .dark h3 { color: #fff; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 15%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, #000 15%, transparent 78%); opacity: .7; }
.dark::after { content: ""; position: absolute; z-index: -1; width: 820px; height: 820px; right: -200px; top: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(82,103,255,.26), rgba(53,216,255,.07) 60%, transparent); }
.agents-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.big52 { display: flex; align-items: baseline; gap: 14px; margin-top: 30px; }
.big52 b { font: 700 clamp(4rem, 8vw, 6.5rem)/.85 var(--display); letter-spacing: -.06em; background: linear-gradient(180deg, #fff 30%, #8FA0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big52 span { font: 600 1.0625rem/1.3 var(--display); color: var(--night-ink); max-width: 12ch; }
.tiers { margin-top: 12px; color: var(--night-muted); font-size: .875rem; }
.detail { margin-top: 28px; border-top: 1px solid var(--night-line); padding-top: 22px; min-height: 170px; }
.detail-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.detail h3 { font-size: 1.375rem; }
.pchip { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--cyan); background: rgba(53,216,255,.1); border: 1px solid rgba(53,216,255,.25); white-space: nowrap; }
.detail p { margin-top: 10px; color: var(--night-muted); max-width: 52ch; }
.orbit { position: relative; aspect-ratio: 1 / .94; width: 100%; max-width: 620px; margin-inline: auto; }
.orbit svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring-o { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit line { stroke: rgba(147,162,186,.28); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; animation: flow 3.5s linear infinite; transition: stroke .25s; }
.orbit line.on { stroke: var(--cyan); stroke-dasharray: none; stroke-width: 1.5; }
.core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 29%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 35% 30%, #2A3E9E, #121E4A 60%, #0B1433); border: 1px solid rgba(120,140,255,.45); box-shadow: 0 0 0 10px rgba(82,103,255,.07), 0 0 60px -6px rgba(82,103,255,.6); }
.core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(53,216,255,.35); animation: halo 3.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.92); opacity: .8; } 100% { transform: scale(1.22); opacity: 0; } }
.core svg { width: 34px; height: 34px; margin: 0 auto 6px; }
.core b { font: 700 .9375rem/1.1 var(--display); letter-spacing: .02em; color: #fff; }
.core span { display: block; margin-top: 3px; font-size: .6875rem; color: #B8C4FF; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.onode { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 10px; border-radius: 999px; background: #0F1B30; border: 1px solid rgba(255,255,255,.12); color: var(--night-ink); font: 500 .8438rem/1.1 var(--body); cursor: pointer; white-space: nowrap; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.onode i { width: 7px; height: 7px; border-radius: 50%; background: #5B6B86; flex: none; transition: background-color .2s, box-shadow .2s; }
.onode:hover { border-color: rgba(255,255,255,.3); }
.onode[aria-pressed="true"] { border-color: rgba(53,216,255,.6); background: #102640; box-shadow: 0 0 0 4px rgba(53,216,255,.08), 0 10px 30px -10px rgba(53,216,255,.5); transform: translate(-50%, -50%) scale(1.04); }
.onode[aria-pressed="true"] i { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: ping2 1.6s ease-out infinite; }
@keyframes ping2 { 50% { box-shadow: 0 0 0 5px rgba(53,216,255,.15), 0 0 8px var(--cyan); } }
.onode.free i { background: #7C8DFF; }
.agent-cols { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(var(--acols, 4), minmax(0, 1fr)); border-top: 1px solid var(--night-line); }
.agent-cols article { padding: 28px 24px 0 0; }
.agent-cols article + article { padding-left: 24px; border-left: 1px solid var(--night-line); }
.agent-cols .role { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.agent-cols h3 { margin-top: 12px; font-size: 1.1875rem; }
.agent-cols p { margin-top: 10px; color: var(--night-muted); font-size: .9375rem; }
.agent-cols .out { margin-top: 14px; font-size: .8438rem; color: var(--night-ink); padding-left: 12px; border-left: 2px solid var(--brand); }
@media (max-width: 1060px) { .agents-top { grid-template-columns: 1fr; } .agent-cols { grid-template-columns: 1fr 1fr; } .agent-cols article:nth-child(odd) { padding-left: 0; border-left: 0; } .agent-cols article:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--night-line); } }
@media (max-width: 640px) {
  .orbit { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .orbit svg.links { display: none; }
  .core { position: relative; left: auto; top: auto; transform: none; width: 148px; margin: 0 calc(50% - 74px) 20px; }
  .onode, .onode[aria-pressed="true"] { position: static; transform: none; }
  .agent-cols { grid-template-columns: 1fr; }
  .agent-cols article, .agent-cols article + article { padding: 24px 0 0; border-left: 0; margin-top: 24px; border-top: 1px solid var(--night-line); }
  .agent-cols article:first-child { margin-top: 0; border-top: 0; }
}

/* product UI */
.app { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FBFCFE; }
.ws { display: inline-flex; align-items: center; gap: 10px; font: 600 .875rem var(--display); letter-spacing: -.01em; }
.ws svg { width: 22px; height: 22px; }
.ws small { font: 500 .75rem var(--body); color: var(--muted); padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.app-search { flex: 1; max-width: 360px; margin-inline: auto; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--faint); font-size: .8125rem; }
.app-search svg { width: 14px; height: 14px; }
.app-search kbd { margin-left: auto; font: 500 .6875rem var(--body); padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.app-top .sample { margin-left: auto; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; display: grid; place-items: center; font: 600 .75rem var(--display); flex: none; }
.app-body { display: grid; grid-template-columns: 212px minmax(0, 1fr); min-height: 600px; }
.side { border-right: 1px solid var(--line); padding: 14px 10px; background: #FBFCFE; display: flex; flex-direction: column; gap: 2px; }
.side-h { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 12px 10px 6px; }
.tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: transparent; border-radius: 8px; color: var(--ink-2); font-size: .875rem; font-weight: 500; cursor: pointer; text-align: left; transition: background-color .15s, color .15s; }
.tab svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.tab:hover { background: var(--surface-2); color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(8,17,31,.08), 0 0 0 1px var(--line); }
.tab[aria-selected="true"] svg { color: var(--brand); }
.tab .cnt { margin-left: auto; font-size: .6875rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-wash); padding: 1px 7px; border-radius: 999px; }
.side-foot { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.side-foot .credit { margin-top: 8px; }
.main { padding: 22px 24px 26px; min-width: 0; }
.pnl[hidden] { display: none; }
.pnl { animation: pin .3s ease; }
@keyframes pin { from { opacity: 0; transform: translateY(4px); } }
.pnl-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pnl-h h3 { font-size: 1.25rem; }
.pnl-h p { margin-top: 3px; color: var(--muted); font-size: .8438rem; }
.pnl-h .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ui-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.ui-btn.p { background: var(--brand-btn); border-color: var(--brand-btn); color: #fff; }
.krow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.k { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.k dt { font-size: .75rem; color: var(--muted); font-weight: 500; }
.k dd { margin: 6px 0 0; font: 600 1.5rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.k dd small { font: 500 .8125rem var(--body); color: var(--muted); letter-spacing: 0; }
.k .delta { display: inline-block; margin-top: 8px; font-size: .75rem; font-weight: 600; color: var(--ok-ink); }
.k .delta.dn { color: var(--err-ink); }
.g2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.box { border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.box-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 600 .875rem var(--display); letter-spacing: -.01em; }
.box-h span { font: 500 .75rem var(--body); color: var(--muted); }
.chart { padding: 10px 14px 12px; }
.chart svg { display: block; width: 100%; height: 190px; }
.chart .gl { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .area { fill: url(#cArea); }
.chart .ln { fill: none; stroke: var(--brand); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .ln2 { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; }
.legend-s { display: flex; gap: 16px; padding: 0 16px 12px; font-size: .75rem; color: var(--muted); }
.legend-s i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.feed { list-style: none; }
.feed li { display: flex; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: .8125rem; align-items: flex-start; }
.feed li:first-child { border-top: 0; }
.feed .ag { width: 26px; height: 26px; border-radius: 8px; background: var(--night); color: var(--cyan); display: grid; place-items: center; flex: none; }
.feed .ag svg { width: 14px; height: 14px; }
.feed b { font-weight: 600; display: block; }
.feed small { color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .8438rem; min-width: 520px; }
.tbl th { text-align: left; font-weight: 500; font-size: .75rem; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; white-space: nowrap; }
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .url { color: var(--muted); font-size: .8125rem; }
.up { color: var(--ok-ink); font-weight: 600; } .dn { color: var(--err-ink); font-weight: 600; }
.catbars { list-style: none; padding: 14px 16px; display: grid; gap: 12px; }
.catbars li { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: .8438rem; }
.catbars li .mbar { grid-column: 1 / -1; }
.catbars b { font-variant-numeric: tabular-nums; }
.meter-s { padding: 14px 16px; }
.meter-s .bar2 { height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; display: flex; margin-top: 10px; }
.meter-s .bar2 i { height: 100%; }
.toggle { display: inline-block; width: 34px; height: 20px; border-radius: 999px; background: var(--ok); position: relative; vertical-align: middle; flex: none; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.toggle.off { background: var(--line-2); } .toggle.off::after { right: auto; left: 3px; }
.setrows { list-style: none; }
.setrows li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line); font-size: .875rem; }
.setrows li:first-child { border-top: 0; }
.setrows small { display: block; color: var(--muted); font-size: .8125rem; }
.app-note { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8438rem; color: var(--muted); }
@media (max-width: 1100px) { .krow { grid-template-columns: 1fr 1fr; } .g2 { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; gap: 4px; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side-h, .side-foot { display: none; }
  .tab { width: auto; white-space: nowrap; flex: none; }
  .tab .cnt { display: none; }
  .app-search { display: none; }
  .main { padding: 18px 16px 20px; }
}
@media (max-width: 480px) { .krow { grid-template-columns: 1fr 1fr; gap: 8px; } .k { padding: 12px; } .k dd { font-size: 1.25rem; } .ws small { display: none; } }

/* free audit */
.audit-sec { background: linear-gradient(180deg, var(--tint), var(--bg) 80%); border-top: 1px solid #DDE4FA; }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.audit-form { margin-top: 34px; max-width: 600px; }
.audit-form label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 8px; }
.field { display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); transition: border-color .18s, box-shadow .18s; }
.field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(82,103,255,.15), var(--shadow); }
.field svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--ink); font: 500 1.125rem var(--body); padding: 0 6px; outline: none; }
.field input::placeholder { color: #8994A8; }
.field .btn { min-height: 52px; }
.field .btn[disabled] { opacity: .7; cursor: progress; }
.form-note { margin-top: 10px; color: var(--muted); font-size: .875rem; min-height: 1.5em; }
.form-note.err { color: var(--err-ink); }
.form-note.ok { color: var(--ok-ink); }
.audit-form + .ticks { margin-top: 6px; }
.next { margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.next h3 { font-size: 1rem; }
.next ol { list-style: none; margin-top: 14px; display: grid; gap: 0; counter-reset: nx; }
.next li { counter-increment: nx; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px dashed var(--line-2); font-size: .9375rem; color: var(--ink-2); }
.next li:first-child { border-top: 0; }
.next li::before { content: counter(nx); font: 600 .8125rem var(--display); color: var(--brand-dark); }
.next li b { color: var(--ink); font-weight: 600; }
.tagp { font-size: .75rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tagp.free { color: var(--ok-ink); }
@media (max-width: 960px) { .audit-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .field { flex-wrap: wrap; padding: 6px; }
  .field svg { margin-left: 10px; }
  .field input { flex-basis: calc(100% - 40px); }
  .field .btn { width: 100%; }
  .next li { grid-template-columns: 24px minmax(0, 1fr); }
  .next li .tagp { grid-column: 2; }
}

.report { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.report.busy::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); backdrop-filter: blur(1px); }
.rep-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; font-size: .8125rem; }
.rep-bar .t { font: 600 .8438rem var(--display); display: inline-flex; align-items: center; gap: 8px; }
.rep-bar .t svg { width: 18px; height: 18px; }
.host-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 55%; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-weight: 500; }
.host-pill svg { width: 11px; height: 11px; flex: none; color: var(--ok-ink); }
.host-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-body { padding: 20px; }
.rep-top { display: flex; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .trk { stroke: var(--surface-2); }
.ring .val { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 295.3; stroke-dashoffset: 295.3; }
.report.run .ring .val { animation: fill 1.4s cubic-bezier(.2,.7,.2,1) .25s forwards; }
@keyframes fill { to { stroke-dashoffset: calc(295.3 * (1 - var(--score) / 100)); } }
.ring .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring b { font: 700 2.1rem/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring small { display: block; margin-top: 4px; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rep-meta { min-width: 0; display: grid; gap: 8px; }
.rep-meta .h { font: 600 1rem/1.3 var(--display); letter-spacing: -.01em; }
.rep-meta .ran { font-size: .8125rem; color: var(--muted); line-height: 1.45; }
.tag { justify-self: start; }
.cats { list-style: none; margin-top: 16px; display: grid; gap: 11px; }
.cats li { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: .875rem; color: var(--ink-2); }
.cats li span:nth-child(2) { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cats .bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.cats .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--ok); }
.cats .bar i.w { background: var(--warn); } .cats .bar i.f { background: var(--err); }
.report.run .cats .bar i { animation: grow 1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.4s + var(--i) * .1s); }
@keyframes grow { to { width: var(--w); } }
.fixes { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fixes-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #FBFCFE; border-bottom: 1px solid var(--line); font: 600 .8125rem var(--display); }
.fixes-h span { font: 500 .75rem var(--body); color: var(--muted); }
.fixes ol { list-style: none; }
.fixes li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: .875rem; border-top: 1px solid var(--line); }
.fixes li:first-child { border-top: 0; }
.prio { flex: none; font-size: .6875rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.prio.hi { color: var(--err-ink); background: var(--err-wash); } .prio.md { color: var(--warn-ink); background: var(--warn-wash); } .prio.lo { color: var(--ok-ink); background: var(--ok-wash); }
.rep-foot { margin-top: 12px; font-size: .75rem; color: var(--muted); }
@media (max-width: 560px) { .rep-top { gap: 14px; } .ring { width: 92px; height: 92px; } .ring b { font-size: 1.7rem; } .rep-body { padding: 16px; } .rep-bar .t span { display: none; } }

/* capabilities tree */
.tree { position: relative; }
.root { display: flex; justify-content: center; }
.root span { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 14px; background: var(--night); color: #fff; font: 600 1rem var(--display); letter-spacing: -.01em; box-shadow: 0 18px 36px -18px rgba(8,17,31,.6); }
.root svg { width: 22px; height: 22px; }
.wires-t { display: block; width: 100%; height: 84px; }
.wires-t path { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wires-t path.fl { stroke: var(--brand); stroke-dasharray: 4 7; animation: flow 2.6s linear infinite; }
.branches { display: grid; grid-template-columns: repeat(var(--bcols, 3), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.branch { padding: 28px 28px 30px; }
.branch + .branch { border-left: 1px solid var(--line); }
.branch-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.branch-h h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.branch-h small { font-size: .75rem; font-weight: 600; color: var(--muted); text-align: right; }
.branch > p { margin-top: 10px; color: var(--ink-2); font: 600 1.0625rem/1.35 var(--display); letter-spacing: -.015em; }
.branch ul { list-style: none; margin-top: 18px; display: grid; }
.branch li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .9063rem; color: var(--ink-2); }
.branch li:first-child { border-top: 0; }
.pl { font-size: .6875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pl.free { color: var(--ok-ink); }
.branch.geo { background: linear-gradient(180deg, var(--brand-wash), transparent 70%); }
.converge { display: grid; justify-items: center; gap: 6px; max-width: 680px; margin: 0 auto; }
.conv-node { width: 100%; text-align: center; }
.conv-node h3 { justify-content: center; }
.conv-arrow svg { transform: rotate(90deg); }
.conv-node { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.conv-node h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.conv-node h3 i { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.conv-node.mon h3 i { background: var(--cyan); }
.conv-node p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.conv-arrow { display: grid; place-items: center; color: var(--brand); }
.conv-arrow svg { width: 44px; height: 20px; }
@media (max-width: 900px) {
  .wires-t { display: none; }
  .root { justify-content: flex-start; margin-bottom: 18px; }
  .branches { grid-template-columns: 1fr; border-top: 0; border-bottom: 0; border-left: 2px solid var(--line); margin-left: 10px; }
  .branch, .branch + .branch { padding: 20px 0 20px 24px; border-left: 0; }
  .branch + .branch { border-top: 1px solid var(--line); }
  .converge { margin-top: 20px; max-width: none; }
  .conv-node { text-align: left; } .conv-node h3 { justify-content: flex-start; }
}

/* continuous loop */
.loop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.keeps { list-style: none; margin-top: 34px; border-top: 1px solid var(--night-line); }
.keeps li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--night-line); }
.keeps b { font: 600 .9375rem var(--display); color: #fff; }
.keeps span { color: var(--night-muted); font-size: .9375rem; }
@media (max-width: 900px) { .loop-grid { grid-template-columns: 1fr; } .loop { max-width: 420px; } }
@media (max-width: 480px) { .keeps li { grid-template-columns: 1fr; } }
.loop { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop .track-c { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.loop .arc { fill: none; stroke: url(#loopGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 150 857; }
.loop .spin { transform-origin: 200px 200px; animation: rot 12s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.loop .tick { fill: var(--night); stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.loop-c { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-content: center; text-align: center; }
.loop-c b { font: 700 clamp(1.1rem, 2vw, 1.4rem)/1.15 var(--display); letter-spacing: -.02em; color: #fff; }
.loop-c span { margin-top: 6px; font-size: .75rem; color: var(--night-muted); }
.lnode { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 999px; background: var(--night-3); border: 1px solid rgba(255,255,255,.14); font: 600 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink); white-space: nowrap; }
.lnode.hot { border-color: rgba(53,216,255,.6); color: var(--cyan); }
@media (max-width: 480px) { .loop { max-width: 330px; } .lnode { font-size: .625rem; padding: 5px 8px; letter-spacing: .06em; } .loop-c b { font-size: 1rem; } }

/* why */
.reasons { border-top: 1px solid var(--ink); }
.reason { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px 64px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.reason h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; }
.reason p { color: var(--ink-2); font-size: 1.0625rem; max-width: 52ch; }
@media (max-width: 800px) { .reason { grid-template-columns: 1fr; } }
.proof { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof div { display: grid; gap: 8px; }
.proof dt { font: 700 clamp(2.6rem, 5vw, 4rem)/.9 var(--display); letter-spacing: -.055em; }
.proof dd { margin: 0; color: var(--ink-2); font-size: .9375rem; max-width: 22ch; }
.proof-note { margin-top: 18px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* who */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.aud-list { list-style: none; border-top: 1px solid var(--line); }
.aud-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1.15 var(--display); letter-spacing: -.035em; color: var(--faint); transition: color .2s, padding-left .25s; }
.aud-list button:hover { color: var(--ink-2); }
.aud-list button[aria-selected="true"] { color: var(--ink); padding-left: 14px; }
.aud-list button svg { width: 22px; height: 22px; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; color: var(--brand); }
.aud-list button[aria-selected="true"] svg { opacity: 1; transform: none; }
.aud-detail { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.aud-detail .fitline { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aud-detail h3 { font-size: 1.5rem; }
.aud-detail .fit { font-size: .8125rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-wash); padding: 5px 11px; border-radius: 999px; }
.aud-detail p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; }
.aud-detail ul { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.aud-detail li { display: flex; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.aud-detail li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } .aud-detail { position: static; } }

/* pricing */
.period { display: inline-flex; padding: 4px; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; gap: 2px; }
.period button { border: 0; background: transparent; color: var(--ink-2); padding: 0 16px; min-height: 40px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: .875rem; transition: background-color .18s, color .18s; }
.period button:hover { color: var(--ink); }
.period button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(8,17,31,.08), 0 0 0 1px var(--line); }
.period button em { font-style: normal; color: var(--ok-ink); }
@media (max-width: 480px) { .period { width: 100%; } .period button { flex: 1; padding: 0 6px; font-size: .8125rem; } }
.price-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.price-top .sec-intro { margin-bottom: 0; }
.plans { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 22px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.plan.lead { background: var(--night); color: var(--night-ink); border-color: var(--night); box-shadow: 0 30px 60px -30px rgba(8,17,31,.7); }
.plan.lead h3 { color: #fff; }
@media (min-width: 1101px) { .plan.lead { transform: translateY(-10px); } .plan.lead:hover { transform: translateY(-13px); } }
.plan .rib { position: absolute; top: 22px; right: 20px; background: rgba(53,216,255,.12); color: var(--cyan); border: 1px solid rgba(53,216,255,.3); font-size: .6875rem; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.plan:not(.lead) .rib { background: var(--brand-wash); color: var(--brand-dark); border-color: #D5DBFF; }
.plan h3 { font-size: 1.25rem; }
.plan .who-p { margin-top: 6px; color: var(--muted); font-size: .875rem; min-height: 2.9em; line-height: 1.45; }
.plan.lead .who-p, .plan.lead .billing { color: var(--night-muted); }
.price { margin-top: 20px; font: 700 2.5rem/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price small { font: 500 .875rem var(--body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan.lead .price { color: #fff; } .plan.lead .price small { color: var(--night-muted); }
.billing { color: var(--muted); font-size: .8125rem; margin-top: 8px; min-height: 1.3em; }
.billing.save { color: var(--ok-ink); font-weight: 600; }
.plan.lead .billing.save { color: #5FE3AE; }
.quota { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.plan.lead .quota { border-color: var(--night-line); }
.quota div { padding: 10px 12px; }
.quota div + div { border-left: 1px solid var(--line); }
.plan.lead .quota div + div { border-color: var(--night-line); }
.quota dt { font-size: .6875rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan.lead .quota dt { color: var(--night-muted); }
.quota dd { margin: 3px 0 0; font: 600 1.0625rem var(--display); letter-spacing: -.02em; }
.plan ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; font-size: .9063rem; flex: 1; align-content: start; }
.plan li { padding-left: 24px; position: relative; color: var(--ink-2); line-height: 1.45; }
.plan.lead li { color: var(--night-muted); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--ok-wash); }
.plan li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 6px; height: 3.5px; border-left: 1.5px solid var(--ok-ink); border-bottom: 1.5px solid var(--ok-ink); transform: rotate(-45deg); }
.plan.lead li::before { background: rgba(53,216,255,.14); } .plan.lead li::after { border-color: var(--cyan); }
.plan li b { color: var(--ink); font-weight: 600; } .plan.lead li b { color: #fff; }
.plan .btn { width: 100%; margin-top: 22px; }
.fine { margin-top: 22px; color: var(--muted); font-size: .875rem; max-width: 84ch; }
.cmp { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-lg); }
.cmp summary::-webkit-details-marker { display: none; }
.cmp summary b { display: block; font: 600 1.0625rem var(--display); letter-spacing: -.01em; }
.cmp summary small { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; }
.cmp summary:hover b { color: var(--brand-dark); }
.pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background-color .25s, border-color .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
details[open] > summary .pm { background: var(--ink); border-color: var(--ink); }
details[open] > summary .pm::before, details[open] > summary .pm::after { background: #fff; }
details[open] > summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.scroller { overflow-x: auto; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .9375rem; }
.matrix th, .matrix td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th { font: 600 .8125rem var(--body); color: var(--ink-2); background: #FBFCFE; }
.matrix thead th.free { color: var(--brand-dark); background: var(--brand-wash); }
.matrix tbody th { text-align: left; font-weight: 500; width: 40%; }
.matrix tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.matrix tr.grp th { background: var(--bg); font: 600 .7188rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 10px; }
.matrix tr:last-child td, .matrix tr:last-child th { border-bottom: 0; }
.matrix td.free { background: rgba(238,241,255,.55); }
.y { color: var(--ok-ink); font-weight: 700; } .n { color: #B3BECF; font-weight: 700; }
.matrix td.v { font-size: .875rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* credits */
.credits { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.credits h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.035em; line-height: 1.1; }
.credits > div > p { margin-top: 12px; color: var(--ink-2); max-width: 52ch; }
.flows { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.flows li { display: grid; grid-template-columns: minmax(0, 1fr) 36px auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }
.flows li svg { width: 36px; height: 12px; color: var(--line-2); }
.flows .c { font: 600 .9375rem var(--display); letter-spacing: -.01em; white-space: nowrap; text-align: right; }
.flows .c.free { color: var(--ok-ink); }
.flows li.big { font: 600 1.125rem var(--display); letter-spacing: -.015em; }
.flows li.big .c { font-size: 1.5rem; }
.rules2 { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-size: .9063rem; color: var(--ink-2); }
.rules2 b { color: var(--ink); font-weight: 600; }
.planner { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 28px); position: sticky; top: 96px; }
.planner-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.planner-h h4 { font-size: 1.1875rem; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.seg button { border: 0; background: transparent; padding: 0 12px; min-height: 36px; border-radius: 7px; font-size: .8438rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(8,17,31,.08), 0 0 0 1px var(--line); }
.meter { margin-top: 22px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.meter-top b { font: 700 1.875rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.meter-top b small { font: 500 .9375rem var(--body); color: var(--muted); letter-spacing: 0; }
.meter-top > span { font-size: .875rem; color: var(--ink-2); font-weight: 500; }
.meter-top > span.over { color: var(--err-ink); }
.ptrack { margin-top: 12px; height: 14px; border-radius: 7px; background: var(--surface-2); overflow: hidden; display: flex; }
.ptrack i { height: 100%; transition: width .35s cubic-bezier(.2,.7,.2,1); }
.ptrack i + i { box-shadow: -2px 0 0 var(--surface); }
.keys { list-style: none; display: grid; margin-top: 18px; }
.keys li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.keys .sw { width: 12px; height: 12px; border-radius: 3px; }
.keys .per { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.step-in { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.step-in button { width: 34px; height: 34px; border: 0; background: var(--bg); cursor: pointer; font-size: 1rem; color: var(--ink-2); }
.step-in button:hover { background: var(--surface-2); color: var(--ink); }
.step-in input { width: 50px; height: 34px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: 600 .9375rem var(--body); color: var(--ink); background: var(--surface); -moz-appearance: textfield; }
.step-in input::-webkit-outer-spin-button, .step-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.planner-foot { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 960px) { .credits { grid-template-columns: 1fr; } .planner { position: static; } }
@media (max-width: 440px) { .keys li { grid-template-columns: 12px 1fr auto; } .keys .per { grid-column: 2; grid-row: 2; margin-top: -8px; } .keys .step-in { grid-column: 3; grid-row: 1 / span 2; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq-grid .sec-intro { position: sticky; top: 100px; margin-bottom: 0; }
.faq-grid h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 600 clamp(1.15rem, 1.8vw, 1.4rem)/1.3 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-dark); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 56px 28px 0; color: var(--ink-2); font-size: 1.0625rem; max-width: 64ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-intro { position: static; } .faq-a p { padding-right: 0; } }

/* final */
.final { text-align: center; padding-block: clamp(96px, 12vw, 160px); }
.final::after { top: auto; bottom: -45%; right: 50%; transform: translateX(50%); }
.final .inner { max-width: 820px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.final h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.02; }
.final .lead { text-align: center; }
.final-form { margin-top: 10px; width: 100%; max-width: 580px; }
.final-form .field { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); box-shadow: none; }
.final-form .field:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(53,216,255,.16); }
.final-form .field input { color: #fff; }
.final-form .field input::placeholder { color: #7D8BA3; }
.final-form .field svg { color: #7D8BA3; }
.final-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* footer */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(var(--fcols, 2), minmax(0, .6fr)); gap: 32px; padding-block: 56px 40px; }
.site-footer .logo { color: #fff; display: inline-flex; padding: 0; }
.foot-grid > div:first-child p { margin-top: 14px; max-width: 38ch; }
.site-footer h3, .site-footer .widget-title { font: 600 .75rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer ul a, .site-footer a { color: var(--night-muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer ul a:hover, .site-footer a:hover { color: #fff; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.foot-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--night-line); padding: 0; }
.foot-social svg { width: 16px; height: 16px; }
.foot-base { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px 28px; font-size: .8438rem; }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--night-line); }
.foot-base a { padding: 0; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ═════ Blog, pages and WordPress content ═════ */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 5%, transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.045em; margin-top: 18px; max-width: 20ch; }
.page-hero .lead { margin-top: 16px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; color: var(--muted); font-size: .9063rem; }
.meta-line a { color: inherit; text-decoration: none; } .meta-line a:hover { color: var(--brand-dark); }
.content-sec { padding-block: clamp(48px, 6vw, 88px); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.layout.full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.layout.full .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .layout.full .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts, .layout.full .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.post-card .thumb { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-wash), var(--tint)); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .thumb.ph { display: grid; place-items: center; }
.post-card .thumb.ph svg { width: 48px; height: 48px; opacity: .8; }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .cat { font: 600 .6875rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); }
.post-card .cat a { color: inherit; text-decoration: none; }
.post-card h2 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.02em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand-dark); }
.post-card p { color: var(--ink-2); font-size: .9375rem; }
.post-card .foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .8125rem; }
.post-card.sticky { border-color: var(--brand); }
.entry-content { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); max-width: 74ch; }
.layout.full .entry-content { margin-inline: auto; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); margin-top: 1.8em; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.entry-content h3 { font-size: 1.375rem; }
.entry-content a { color: var(--brand-dark); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img, .entry-content figure { border-radius: var(--r); max-width: 100%; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); font: 500 1.25rem/1.5 var(--display); color: var(--ink); letter-spacing: -.01em; }
.entry-content pre { background: var(--night); color: var(--night-ink); padding: 18px 20px; border-radius: var(--r); overflow-x: auto; font-size: .9rem; }
.entry-content code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.entry-content .alignwide { max-width: none; }
.entry-content .aligncenter { margin-inline: auto; display: block; }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.entry-content .wp-block-button__link { background: var(--brand-btn); color: #fff; border-radius: 11px; padding: 14px 22px; text-decoration: none; font-weight: 600; }
.featured { margin-bottom: 36px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.featured img { display: block; width: 100%; height: auto; }
.tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--brand-wash); color: var(--brand-dark); text-decoration: none; }
.post-nav { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--ink); font: 600 1rem/1.35 var(--display); }
.post-nav a small { display: block; font: 500 .75rem var(--body); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.post-nav .next-p { text-align: right; }
.post-nav a:hover { border-color: var(--brand); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } }
.author-box { margin-top: 40px; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.author-box img { border-radius: 50%; }
.author-box b { font-family: var(--display); }
.author-box p { color: var(--ink-2); font-size: .9375rem; margin-top: 4px; }
.pagination, .nav-links.pager { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); }
.sidebar { display: grid; gap: 18px; position: sticky; top: 96px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; font-size: .9375rem; }
.widget-title, .widget h2, .widget .wp-block-heading { font: 600 1rem/1.3 var(--display); letter-spacing: -.01em; margin: 0 0 14px; }
.widget ul { list-style: none; display: grid; gap: 8px; }
.widget a { color: var(--ink-2); text-decoration: none; }
.widget a:hover { color: var(--brand-dark); }
.widget.cta-widget { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.widget.cta-widget h2 { color: #fff; }
.widget.cta-widget p { color: var(--night-muted); margin-bottom: 16px; }
.search-form { display: flex; gap: 6px; padding: 5px 5px 5px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(82,103,255,.15); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 40px; font-size: 1rem; }
.search-form .btn { min-height: 40px; padding: 0 16px; }
.empty-state { text-align: center; padding: 40px 0; }
.empty-state h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.empty-state p { color: var(--ink-2); margin: 14px auto 24px; max-width: 52ch; }
.empty-state .search-form { max-width: 520px; margin: 0 auto; }
.err-code { font: 700 clamp(6rem, 18vw, 12rem)/.85 var(--display); letter-spacing: -.07em; background: linear-gradient(180deg, var(--ink) 30%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* comments */
.comments { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); max-width: 74ch; }
.comments h2 { font-size: 1.5rem; }
.comment-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.comment-list .children { list-style: none; margin: 14px 0 0 28px; display: grid; gap: 14px; }
.comment-body { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.comment-meta { display: flex; gap: 12px; align-items: center; font-size: .875rem; color: var(--muted); }
.comment-meta img { border-radius: 50%; }
.comment-meta b, .comment-meta .fn { color: var(--ink); font-weight: 600; }
.comment-content { margin-top: 10px; color: var(--ink-2); }
.comment-content > * + * { margin-top: .8em; }
.reply a, .comment-reply-link { font-size: .8125rem; font-weight: 600; text-decoration: none; }
.comment-respond { margin-top: 32px; }
.comment-form { display: grid; gap: 14px; margin-top: 16px; }
.comment-form label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(82,103,255,.15); }
.comment-form .submit { background: var(--brand-btn); color: #fff; border: 0; border-radius: 11px; min-height: 48px; padding: 0 22px; font-weight: 600; cursor: pointer; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.bypostauthor > .comment-body { border-color: var(--brand); }
.wp-caption, .gallery-caption { max-width: 100%; }
.wp-caption-text { font-size: .875rem; color: var(--muted); }
.page-links { margin-top: 24px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .win, .float, .hero::after, .dot::after, .core::after, .orbit line, .wires path, .wires-t path, .layer.ai::after, .loop .spin, .rail.new::after, .onode i { animation: none !important; }
  .gauge .val { stroke-dashoffset: calc(295.3 * (1 - var(--s) / 100)); animation: none !important; }
  .spark-line { stroke-dashoffset: 0; animation: none !important; }
  .report .ring .val { stroke-dashoffset: calc(295.3 * (1 - var(--score) / 100)); animation: none !important; }
  .report .cats .bar i { width: var(--w); animation: none !important; }
}

/* Block widgets (search, lists) */
.wp-block-search__label { display: block; font: 600 1rem/1.3 var(--display); margin-bottom: 12px; color: var(--ink); }
.wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.wp-block-search__input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: var(--surface); }
.wp-block-search__input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(82,103,255,.15); }
.wp-block-search__button { background: var(--brand-btn); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font-weight: 600; cursor: pointer; }
.widget .wp-block-latest-posts, .widget .wp-block-categories, .widget .wp-block-archives { list-style: none; padding: 0; display: grid; gap: 8px; }

/* ── 1.1.0: logo images ───────────────────────────── */
.logo.has-img { gap: 8px; }
.logo img.ss-logo-img { display: block; height: var(--lh, 36px) !important; width: auto !important; max-width: none !important; }
.logo .logo-text { display: inline-block; }
.ss-mark-img { display: block; flex: none; object-fit: contain; width: 28px; height: 28px; }
.logo .ss-mark-img { width: 28px; height: 28px; }
.win-bar .brandm .ss-mark-img, .rep-bar .t .ss-mark-img { width: 18px; height: 18px; }
.ws .ss-mark-img, .root .ss-mark-img { width: 22px; height: 22px; }
.core .ss-mark-img { width: 34px; height: 34px; margin: 0 auto 6px; }
.post-card .thumb.ph .ss-mark-img { width: 48px; height: 48px; opacity: .8; }
@media (max-width: 400px) { .nav .logo img.ss-logo-img { height: min(var(--lh, 36px), 30px) !important; } }

/* ── 1.1.0: Lighthouse report ─────────────────────── */
.rep-strat { display: inline-flex; justify-self: start; padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.rep-strat[hidden] { display: none; }
.rep-strat button { appearance: none; border: 0; background: transparent; font: 600 .75rem/1 var(--body); color: var(--ink-2); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.rep-strat button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(8,17,31,.12); }
.rep-strat button:disabled { opacity: .45; cursor: not-allowed; }
.rep-strat button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.rep-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.rep-metrics[hidden] { display: none; }
.rep-metrics .m { border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 7px; min-width: 0; }
.rep-metrics dt { font: 600 .625rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.rep-metrics dt::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.rep-metrics .good dt::before { background: var(--ok); }
.rep-metrics .average dt::before { background: var(--warn); }
.rep-metrics .poor dt::before { background: var(--err); }
.rep-metrics dd { margin: 6px 0 0; font: 700 .9375rem/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep-cwv { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.rep-cwv[hidden] { display: none; }
.rep-cwv::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.rep-cwv.passed { color: var(--ok-ink); } .rep-cwv.passed::before { background: var(--ok); }
.rep-cwv.failed { color: var(--err-ink); } .rep-cwv.failed::before { background: var(--err); }
.rep-foot a { color: var(--brand-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rep-foot a:hover { text-decoration: underline; }
.rep-foot a[hidden] { display: none; }
@media (max-width: 520px) { .rep-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── 1.2.0: widths, curved header, bigger logo ────── */
:root { --wrap: 1320px; --wrap-wide: 1800px; --pad-wide: clamp(16px, 3vw, 56px); --nav-h: 84px; --curve: clamp(22px, 3.2vw, 56px); }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }

/* Header + footer: almost full width. Sections keep --wrap (1320). */
.topbar .wrap, .nav .wrap, .site-footer .wrap { max-width: var(--wrap-wide); padding-inline: var(--pad-wide); }

/* Announcement bar (brand colours only) */
.topbar { position: relative; z-index: 1; background: linear-gradient(90deg, var(--brand-dark), var(--brand) 50%, var(--cyan-ink)); color: #fff; }
.topbar p { min-height: 46px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; text-align: center; font-size: .9375rem; font-weight: 500; padding-block: 9px; line-height: 1.4; }
.topbar b { font-weight: 700; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); white-space: nowrap; transition: background-color .15s; }
.topbar a:hover { background: rgba(255,255,255,.28); }
.topbar-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); flex: none; }
.topbar.curved p { padding-bottom: calc(9px + var(--curve) * .55); }

/* Header */
.nav { background: var(--surface); }
.nav .wrap { height: auto; min-height: var(--nav-h); padding-block: 10px; gap: clamp(14px, 2vw, 32px); }
.nav.has-topbar { margin-top: calc(var(--curve) * -.55); border-radius: var(--curve) var(--curve) 0 0; transition: border-radius .3s ease, background-color .25s, border-color .25s, box-shadow .25s; }
.nav.has-topbar.scrolled { border-radius: 0; }
.nav.scrolled { background: rgba(255,255,255,.96); }
.nav-links { gap: clamp(2px, .6vw, 10px); }
.nav-links a { font-size: 1rem; padding: 10px 14px; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-cta { position: relative; display: inline-flex; }
.nav-cta-note { position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%); white-space: nowrap; font: 600 .6875rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.nav .btn.sm { min-height: 44px; padding: 0 20px; font-size: .9688rem; border-radius: 999px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

/* Logo */
.nav .logo img.ss-logo-img { height: var(--lh, 54px) !important; }

/* Footer: same wide container, curved top to match the header */
.site-footer { border-radius: var(--curve) var(--curve) 0 0; border-top: 0; }
.foot-grid { padding-block: clamp(48px, 6vw, 72px) 40px; gap: clamp(24px, 3vw, 48px); }

@media (max-width: 1200px) {
  .nav-links a { padding: 10px 10px; font-size: .9375rem; }
  .nav-btn2 { display: none; }
}
@media (max-width: 1060px) {
  .nav-links { top: 100%; border-radius: 0 0 18px 18px; }
  .nav-actions { margin-left: auto; }
  .nav .btn { margin-left: 0; }
  .nav-cta-note { display: none; }
}
@media (max-width: 782px) {
  :root { --nav-h: 72px; }
  .nav .logo img.ss-logo-img { height: min(var(--lh, 54px), 40px) !important; }
  .topbar p { font-size: .8438rem; min-height: 40px; }
}
@media (max-width: 520px) {
  :root { --nav-h: 66px; }
  .nav .logo img.ss-logo-img { height: min(var(--lh, 54px), 34px) !important; }
  .nav .btn.sm { min-height: 40px; padding: 0 14px; font-size: .875rem; }
  .topbar-dot { display: none; }
  .topbar a { padding: 3px 10px; }
}
@media (max-width: 400px) { .nav .logo img.ss-logo-img { height: min(var(--lh, 54px), 30px) !important; } }
@media (max-width: 520px) { .topbar p { font-size: .78rem; gap: 2px 8px; } .topbar a { display: none; } }
.site-footer .logo.plate { background: #fff; padding: 10px 16px; border-radius: 14px; color: var(--ink); }
.nav .wrap { padding-block: 16px 10px; }
@media (max-width: 1060px) { .nav .wrap { padding-block: 10px; } }

/* ── 1.3.0: footer like the reference (curved light panel over a brand bar) ── */
.site-footer.v2 { background: transparent; color: var(--ink-2); border: 0; border-radius: 0; position: relative; margin-top: 0; }
.site-footer.v2 .foot-panel { position: relative; z-index: 1; background:
    radial-gradient(40% 70% at 12% 75%, var(--ok-wash), transparent 70%),
    radial-gradient(35% 70% at 92% 60%, var(--brand-wash), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--fcurve) var(--fcurve); padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 48px); }
.site-footer.v2 { --fcurve: clamp(36px, 7vw, 120px); }
.site-footer.v2 .wrap { max-width: var(--wrap-wide); padding-inline: max(var(--pad-wide), calc(var(--fcurve) * .6)); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.foot-top { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-bottom { padding-top: 24px; }
.site-footer.v2 ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; }
.site-footer.v2 .foot-menu ul { gap: 6px clamp(18px, 2.6vw, 40px); }
.site-footer.v2 .foot-menu { display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 2.6vw, 40px); }
.site-footer.v2 .foot-menu a { color: var(--ink); font: 600 .875rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; text-decoration: none; }
.site-footer.v2 .foot-menu a:hover { color: var(--brand-dark); }
.site-footer.v2 .foot-legal li + li { border-left: 1px solid var(--line-2); }
.site-footer.v2 .foot-legal a { color: var(--ink); font-size: 1.0625rem; font-weight: 500; padding: 4px clamp(14px, 1.8vw, 26px); text-decoration: none; }
.site-footer.v2 .foot-legal li:first-child a { padding-left: 0; }
.site-footer.v2 .foot-legal a:hover { color: var(--brand-dark); }
.foot-brand { display: grid; justify-items: end; gap: 8px; text-align: right; }
.foot-brand p { margin: 0; max-width: 40ch; font-size: .875rem; color: var(--muted); }
.site-footer.v2 .logo { color: var(--ink); }
.site-footer.v2 .logo.plate { background: transparent; padding: 0; }
.site-footer.v2 .foot-social { display: flex; align-items: center; gap: 0; }
.site-footer.v2 .foot-social a { display: grid; place-items: center; width: 40px; height: 32px; color: var(--ink); padding: 0; }
.site-footer.v2 .foot-social a + a { border-left: 1px solid var(--line-2); }
.site-footer.v2 .foot-social a:hover { color: var(--brand-dark); }
.site-footer.v2 .foot-social svg { width: 22px; height: 22px; }
.foot-widgets { margin-top: 28px; }
.foot-bar { position: relative; margin-top: calc(var(--fcurve) * -1); padding-top: var(--fcurve); background: linear-gradient(90deg, var(--brand-dark), var(--brand) 50%, var(--cyan-ink)); color: #fff; }
.foot-bar .wrap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 22px; min-height: 64px; padding-block: 16px; font-size: .9688rem; font-weight: 500; text-align: center; }
.foot-bar a { color: #fff; }
.foot-right { opacity: .85; }
@media (max-width: 860px) {
  .foot-row { flex-direction: column; align-items: flex-start; }
  .foot-top { flex-direction: column-reverse; }
  .foot-brand { justify-items: start; text-align: left; }
  .site-footer.v2 .foot-legal a { font-size: .9688rem; }
}
@media (max-width: 520px) {
  .site-footer.v2 .foot-legal ul { flex-direction: column; }
  .site-footer.v2 .foot-legal li + li { border-left: 0; }
  .site-footer.v2 .foot-legal a { padding: 6px 0; }
}

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); }
.wa-float svg { width: 30px; height: 30px; }

/* Header account */
.nav-user { display: inline-flex; align-items: center; gap: 8px; }
.nav-user-name { font-size: .875rem; font-weight: 600; color: var(--ink); white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.nav-user-name small { display: block; font-size: .6875rem; font-weight: 600; color: var(--brand-dark); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 1200px) { .nav-user-name { display: none; } }
@media (max-width: 1200px) { .nav-user .nav-btn2 { display: inline-flex; } }
@media (max-width: 600px) { .nav-user { display: none; } }

/* Audit progress (Semrush-style) */
.rep-progress { position: absolute; left: 0; right: 0; bottom: 0; top: 49px; z-index: 3; background: rgba(255,255,255,.97); padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.rep-progress[hidden] { display: none; }
.rp-head { display: flex; align-items: center; gap: 10px; font: 600 1rem var(--display); color: var(--ink); }
.rp-head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-pct { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--brand-dark); }
.rp-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--surface-2); border-top-color: var(--brand); animation: rpspin .8s linear infinite; flex: none; }
@keyframes rpspin { to { transform: rotate(360deg); } }
.rp-bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.rp-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--cyan)); transition: width .3s ease; }
.rp-steps { list-style: none; display: grid; gap: 10px; margin: 6px 0 0; padding: 0; }
.rp-steps li { display: flex; align-items: center; gap: 10px; font-size: .9063rem; color: var(--faint); }
.rp-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; box-sizing: border-box; }
.rp-steps li.now { color: var(--ink); font-weight: 600; }
.rp-steps li.now::before { border-color: var(--brand); border-top-color: transparent; animation: rpspin .8s linear infinite; }
.rp-steps li.done { color: var(--ink-2); }
.rp-steps li.done::before { border: 0; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.rp-note { margin-top: auto; font-size: .8125rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rp-spin, .rp-steps li.now::before { animation: none; } }

/* Account pop-up */
.ss-modal-open, .ss-modal-open body { overflow: hidden; }
.ss-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.ss-modal[hidden] { display: none; }
.ss-modal-bg { position: absolute; inset: 0; background: rgba(8,17,31,.55); backdrop-filter: blur(4px); }
.ss-modal-box { position: relative; width: min(100%, 480px); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(8,17,31,.6); padding: clamp(22px, 4vw, 34px); }
.ss-pane[data-pane="upgrade"]:not([hidden]) { width: 100%; }
.ss-modal-box:has(.ss-pane[data-pane="upgrade"]:not([hidden])) { width: min(100%, 760px); }
.ss-modal-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.375rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.ss-modal-head { display: flex; align-items: center; gap: 8px; font: 600 .875rem var(--display); color: var(--ink-2); margin-bottom: 14px; }
.ss-modal-head .ss-mark-img, .ss-modal-head svg { width: 22px; height: 22px; }
.ss-pane h2 { font: 700 clamp(1.25rem, 2.6vw, 1.5rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); margin: 0 30px 8px 0; }
.ss-pane-lead { color: var(--ink-2); font-size: .9375rem; margin: 0 0 18px; }
.ss-form { display: grid; gap: 12px; }
.ss-form label { display: grid; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.ss-form input { height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); font-size: 1rem; color: var(--ink); }
.ss-form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.ss-form .btn { width: 100%; margin-top: 4px; }
.ss-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ss-msg { min-height: 1em; margin: 0; font-size: .8438rem; color: var(--muted); }
.ss-msg:empty { display: none; }
.ss-msg.err { color: var(--err-ink); } .ss-msg.ok { color: var(--ok-ink); } .ss-msg.info { color: var(--brand-dark); background: var(--brand-wash); padding: 10px 12px; border-radius: 10px; }
.ss-switch { margin: 14px 0 0; font-size: .875rem; color: var(--muted); text-align: center; }
.ss-switch a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.ss-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ss-plan { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.ss-plan:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(66,87,238,.6); }
.ss-plan.lead { background: var(--night); color: #fff; border-color: var(--night); }
.ss-plan b { font: 700 1rem var(--display); }
.ss-plan .p { font: 700 1.375rem/1 var(--display); letter-spacing: -.02em; }
.ss-plan .p small { font: 500 .75rem var(--body); opacity: .7; margin-left: 2px; }
.ss-plan .d { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.ss-plan.lead .d { color: var(--night-muted); }
.ss-plan .c { margin-top: 6px; font-size: .8438rem; font-weight: 600; color: var(--brand-dark); }
.ss-plan.lead .c { color: var(--cyan); }
@media (max-width: 600px) { body:has(.wa-float) .foot-bar .wrap { padding-bottom: 84px; } }

/* ── 1.4.0 ─────────────────────────────────────────── */
/* Logo: larger and sharper */
.nav .logo img.ss-logo-img { height: var(--lh, 64px) !important; image-rendering: auto; }
@media (max-width: 782px) { .nav .logo img.ss-logo-img { height: min(var(--lh, 64px), 44px) !important; } }
@media (max-width: 520px) { .nav .logo img.ss-logo-img { height: min(var(--lh, 64px), 38px) !important; } }
@media (max-width: 400px) { .nav .logo img.ss-logo-img { height: min(var(--lh, 64px), 34px) !important; } }

/* Header account */
.nav-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font: 700 1rem var(--display); color: #fff; background: linear-gradient(135deg, var(--brand), var(--cyan-ink)); box-shadow: 0 0 0 3px var(--brand-wash); flex: none; }
.nav-avatar:hover { color: #fff; box-shadow: 0 0 0 3px var(--brand); }
@media (max-width: 600px) { .nav-user { display: inline-flex; } .nav-user .nav-btn2 { display: none; } }

/* Gate inside the report */
.rep-gate { position: absolute; left: 0; right: 0; bottom: 0; top: 49px; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 28px; background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.98) 30%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rep-gate[hidden] { display: none; }
.rg-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--cyan-ink)); box-shadow: 0 16px 30px -14px rgba(66,87,238,.8); }
.rg-ico svg { width: 26px; height: 26px; }
.rep-gate h3 { font: 700 1.25rem/1.25 var(--display); color: var(--ink); margin: 6px 0 0; max-width: 26ch; }
.rep-gate p { color: var(--ink-2); font-size: .9375rem; max-width: 40ch; margin: 0; }
.rep-gate p:empty { display: none; }
.rg-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.rep-gate .ss-google { margin-top: 2px; }

/* Google button + divider */
.ss-google { display: flex; justify-content: center; min-height: 44px; }
.ss-google[hidden] { display: none; }
.ss-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--faint); font-size: .8125rem; }
.ss-or::before, .ss-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Account page */
.acct-sec { padding-block: clamp(36px, 6vw, 84px); background: radial-gradient(50% 60% at 0% 0%, var(--brand-wash), transparent 70%), radial-gradient(40% 50% at 100% 100%, var(--tint), transparent 70%), var(--bg); }
.acct-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.acct-logo img { height: 56px !important; width: auto !important; }
.acct-side h1 { font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); margin: 26px 0 16px; }
.acct-side .lead { max-width: 46ch; }
.acct-side .ticks { margin-top: 22px; display: grid; gap: 8px; }
.acct-preview { margin-top: 30px; display: flex; gap: 22px; align-items: center; padding: 18px 20px; max-width: 460px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 60px -40px rgba(8,17,31,.45); }
.ap-ring { width: 92px; height: 92px; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--brand) calc(var(--s, 72) * 1%), var(--surface-2) 0); }
.ap-ring b { font: 700 1.75rem/1 var(--display); color: var(--ink); }
.ap-ring small { font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.acct-preview ul { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 9px; }
.acct-preview li { display: grid; gap: 5px; font-size: .75rem; color: var(--ink-2); }
.acct-preview li i { display: block; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--ok) var(--w), var(--surface-2) 0); }
.acct-preview li i.w { background: linear-gradient(90deg, var(--warn) var(--w), var(--surface-2) 0); }
.acct-preview li i.f { background: linear-gradient(90deg, var(--err) var(--w), var(--surface-2) 0); }
.acct-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 40px 80px -48px rgba(8,17,31,.5); position: relative; }
.acct-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--brand), transparent 40%, transparent 60%, var(--cyan)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 12px; margin-bottom: 22px; }
.acct-tabs button { appearance: none; border: 0; background: transparent; border-radius: 9px; padding: 11px; font: 600 .9375rem var(--body); color: var(--ink-2); cursor: pointer; }
.acct-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(8,17,31,.12); }
.acct-pane h2 { font: 700 1.5rem/1.2 var(--display); color: var(--ink); margin: 0 0 16px; letter-spacing: -.02em; }
.acct-pane[hidden] { display: none; }
.acct-legal { margin: 4px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.acct-legal a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: 1fr; } .acct-preview { display: none; } .acct-side h1 { margin-top: 18px; } }

/* Dashboard */
.dash-sec { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); background: var(--bg); }
.dash-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.dash-top h1 { font: 700 clamp(1.75rem, 3.4vw, 2.5rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); margin: 12px 0 0; }
.dash-plan { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.plan-pill { font: 700 .75rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.plan-pill.starter, .plan-pill.growth, .plan-pill.scale, .plan-pill.enterprise { background: linear-gradient(135deg, var(--brand), var(--cyan-ink)); color: #fff; }
.usage { min-width: 180px; }
.usage-t { font-size: .8125rem; color: var(--ink-2); font-weight: 600; }
.usage-bar { height: 6px; border-radius: 6px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.usage-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--cyan)); border-radius: 6px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.dash-kpis > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.dash-kpis dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dash-kpis dd { margin: 8px 0 0; font: 700 1.875rem/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.dash-kpis dd small { font-size: .875rem; color: var(--muted); font-weight: 600; }
.dash-kpis dd.good { color: var(--ok-ink); } .dash-kpis dd.average { color: var(--warn-ink, #8A5A00); } .dash-kpis dd.poor { color: var(--err-ink); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(18px, 2.4vw, 32px); align-items: start; padding: 0; }
.dash-grid .report { position: sticky; top: calc(var(--nav-h) + 16px); }
.dash-main { display: grid; gap: 18px; min-width: 0; }
.dash-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 2.4vw, 26px); }
.dash-card h2 { font: 700 1.125rem var(--display); color: var(--ink); margin: 0 0 14px; }
.dash-card .audit-form { margin-top: 0; }
.dash-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dash-card-h span { font-size: .8125rem; color: var(--muted); }
.dash-table-wrap { overflow-x: auto; margin: 0 -6px; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .9063rem; }
.dash-table th { text-align: left; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 11px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.dash-table td.host { color: var(--ink); font-weight: 600; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.dash-table td.act { text-align: right; }
.dash-table .btn.sm { min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: .8125rem; }
.score-b { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 8px; font: 700 .875rem var(--display); }
.score-b.good { background: var(--ok-wash); color: var(--ok-ink); }
.score-b.average { background: var(--warn-wash, #FFF4DC); color: var(--warn-ink, #8A5A00); }
.score-b.poor { background: var(--err-wash, #FDECEC); color: var(--err-ink); }
.dash-empty { color: var(--muted); margin: 0; }
.dash-acct dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.dash-acct dt { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dash-acct dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.dash-links { margin: 16px 0 0; font-size: .875rem; }
.dash-links a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } .dash-grid .report { position: relative; top: 0; } }
@media (max-width: 720px) { .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-acct dl { grid-template-columns: 1fr; } .dash-plan { width: 100%; } }

/* AI effects: animated gradient edge on the report, scan line while agents work */
.report { isolation: isolate; }
.report::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 5; pointer-events: none; background: conic-gradient(from var(--ai-a, 0deg), transparent 0 70%, var(--brand) 80%, var(--cyan) 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .0; transition: opacity .4s; }
.report.busy::before, .report.ai-glow::before { opacity: 1; animation: aiSpin 3.2s linear infinite; }
@property --ai-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes aiSpin { to { --ai-a: 360deg; } }
.rep-progress::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(82,103,255,.08), transparent); animation: aiScan 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes aiScan { 0% { transform: translateY(0); } 50% { transform: translateY(420px); } 100% { transform: translateY(0); } }
.ss-modal-box { animation: ssPop .22s ease-out; }
@keyframes ssPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .report.busy::before, .report.ai-glow::before, .rep-progress::after, .ss-modal-box { animation: none; } }
.dash-grid > * { min-width: 0; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .nav-actions .nav-user:has(.nav-avatar) ~ .nav-cta { display: none; } }
.dash-main { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .dash-table th:nth-child(3), .dash-table td:nth-child(3) { display: none; } }


/* ── Hero slider: slide 1 = original hero, slide 2 = centred hero ── */
.hero-slider .hs-track { display: grid; }
.hero-slider .hs-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(28px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.hero-slider .hs-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }

.hs-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.hs-arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s, color .2s, transform .2s; }
.hs-arrow:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-1px); }
.hs-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-dots { display: flex; gap: 8px; }
.hs-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: width .3s ease, background .3s ease; }
.hs-dot[aria-current="true"] { width: 28px; background: var(--brand); }
.hs-arrow:focus-visible, .hs-dot:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* slide 2 */
.hm { display: flex; align-items: center; justify-content: center; text-align: center; }
.hm .hm-in { display: flex; flex-direction: column; align-items: center; max-width: 1180px; padding-block: clamp(12px, 3vw, 36px); }
.hm .eyebrow { margin-bottom: 26px; }
.hm-h { max-width: 15.5ch; margin: 0 auto; font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -.045em; color: var(--ink); }
.hm-h .grad { background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 48%, var(--cyan-ink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hm-sub { margin: 24px auto 0; max-width: 48ch; font: 500 clamp(1.05rem, 1.6vw, 1.25rem)/1.55 var(--body); color: var(--ink-2); }
.hm-cta { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hm-btn { min-height: 56px; padding: 0 32px; font-size: 1.0313rem; box-shadow: 0 16px 32px -14px rgba(66,87,238,.6); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.hm-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(66,87,238,.65); }
.hm-btn .arr { transition: transform .25s ease; }
.hm-btn:hover .arr { transform: translateX(3px); }
.hm-btn2 { min-height: 56px; padding: 0 28px; background: rgba(255,255,255,.7); }
.hm-small { margin-top: 16px; font-size: .8438rem; color: var(--muted); white-space: pre-wrap; }

.hm-stats { list-style: none; margin: clamp(40px, 5vw, 56px) auto 0; padding: 0; width: 100%; max-width: 820px;
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.hm-stats li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 26px 16px 24px; }
.hm-stats li + li { border-left: 1px solid var(--line); }
.hm-stats b { font: 700 clamp(1.9rem, 3.2vw, 2.5rem)/1 var(--display); letter-spacing: -.035em;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hm-stats span { font-size: .875rem; color: var(--muted); }

.hm-points { list-style: none; margin: 26px auto 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hm-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 8px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.75); font-size: .8438rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hm-points .ck { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ok-wash); color: var(--ok); flex: none; }
.hm-points .ck svg { width: 13px; height: 13px; }

/* entrance animation each time slide 2 comes in */
.hs-slide.is-on .hm-up { animation: hmUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 80ms + 120ms); }
@keyframes hmUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-slider .hs-slide { display: none; transform: none; }
  .hero-slider .hs-slide.is-on { display: block; animation: hsIn .45s ease; }
}
@media (max-width: 760px) {
  .hm-cta { width: 100%; flex-direction: column; }
  .hm-cta .btn { width: 100%; }
  .hm-stats { border-radius: var(--r-lg); }
  .hm-stats li { padding: 18px 8px; gap: 6px; }
  .hm-stats b { font-size: 1.55rem; }
  .hm-stats span { font-size: .7188rem; text-align: center; }
  .hm-points { flex-direction: column; align-items: stretch; }
  .hm-points li { white-space: normal; text-align: left; border-radius: 14px; }
}
@keyframes hsIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs-slide, .hero-slider .hs-slide.is-on { transition: none; transform: none; animation: none; }
  .hs-slide.is-on .hm-up { animation: none; }
  .hm-btn, .hm-btn .arr, .hs-dot, .hs-arrow { transition: none; }
}

/* ── Centred hero on its own (Hero style = Centred) ── */
.hero-min { padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 80px); }
.hero-min .hm-in { width: 100%; padding-block: 0; }
.hero-min .hm-up { animation: hmUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) { .hero-min .hm-up { animation: none; } }

/* ── Tighter spacing everywhere (less empty space between and inside sections) ── */
:root { --sec: clamp(52px, 6.5vw, 96px); }
.sec-intro { margin-bottom: clamp(28px, 4vw, 52px); gap: 14px; }
.final { padding-block: clamp(60px, 8vw, 112px); }
.fan { margin-top: clamp(32px, 4.5vw, 56px); }
.agent-cols { margin-top: clamp(36px, 5vw, 60px); }
.proof { margin-top: clamp(32px, 4.5vw, 52px); }
.credits { margin-top: clamp(40px, 6vw, 72px); }
.plat, .audit-grid, .loop-grid { gap: clamp(28px, 4.5vw, 64px); }
.agents-top, .who, .faq-grid, .credits { gap: clamp(24px, 4vw, 56px); }
.hero-grid { gap: clamp(28px, 4vw, 56px); margin-top: clamp(20px, 3vw, 36px); }
.hero { padding-block: clamp(32px, 4.5vw, 64px) clamp(48px, 6vw, 84px); }
.hero-min { padding-block: clamp(32px, 4.5vw, 64px) clamp(40px, 5vw, 72px); }
.hm-sub { margin-top: 18px; }
.hm-cta { margin-top: 28px; }
.hm-stats { margin-top: clamp(32px, 4vw, 48px); }
.hm-points { margin-top: 20px; }
.hm .eyebrow { margin-bottom: 20px; }
.page-hero { padding-block: clamp(44px, 6vw, 80px) clamp(32px, 4vw, 52px); }
.content-sec { padding-block: clamp(40px, 5vw, 72px); }
.foot-grid { padding-block: clamp(40px, 5vw, 60px) 32px; }

/* ── Responsive safety on every screen ── */
html, body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
@media (min-width: 1600px) {
  .hm-h { font-size: 5rem; }
}
@media (max-width: 1024px) {
  .hm-h { max-width: 16ch; }
  .hm-stats { max-width: 720px; }
}
@media (max-width: 760px) {
  :root { --sec: clamp(44px, 10vw, 64px); }
  .hm-h { font-size: clamp(2.1rem, 9vw, 2.9rem); max-width: 100%; letter-spacing: -.035em; }
  .hm-sub { font-size: 1rem; }
  .hm-cta { margin-top: 24px; }
  .hm-small { font-size: .8125rem; }
  .hm .eyebrow { margin-bottom: 16px; font-size: .6875rem; letter-spacing: .08em; }
}
@media (max-width: 380px) {
  .hm-h { font-size: 1.95rem; }
  .hm-stats li { padding: 14px 4px; }
  .hm-stats b { font-size: 1.3rem; }
  .hm-stats span { font-size: .6563rem; }
  .hm-btn, .hm-btn2 { min-height: 52px; padding: 0 20px; font-size: .9688rem; }
}

/* Header "Run SEO audit" button: desktop only (hidden on mobile, iPhone and tablet) */
@media (max-width: 1060px) {
  .nav .nav-cta, .nav #navAudit, .nav .nav-cta-note { display: none !important; }
  .nav .nav-actions { margin-left: auto !important; }
}
/* No top announcement bar */
.topbar { display: none !important; }
