/* selno website. Colours come from selno_tokens.css (generated by brand/tools/build_brand_assets.py). */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --f-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-display: "Montserrat", var(--f-ui);
  --ink: var(--selno-ink);
  --pri: var(--selno-primary);
  --pur: var(--selno-purple);
  --text: var(--selno-light-text);
  --muted: var(--selno-light-text-muted);
  --line: var(--selno-light-border);
  --d-muted: #A9AED0;            /* secondary text on ink: 8.9:1 */
  --d-line: rgba(255, 255, 255, .12);
  --grad: linear-gradient(100deg, #7C86FF 0%, #C58BFF 100%);   /* gradient for large type on ink */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.75 var(--f-ui); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pri); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: #fff; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.eyebrow { font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--pri); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: #A6ADFF; }
h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.14; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.8; color: var(--muted); max-width: 34em; }
.dark .lede { color: var(--d-muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--muted); }
.dark .fine { color: #8E94B8; }

/* sections */
section { position: relative; padding: clamp(80px, 10vw, 148px) 0; }
.dark { background: var(--ink); color: #fff; }
.tint { background: var(--selno-light-bg); }
.head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s; white-space: nowrap; }
.btn-primary { background: var(--pri); color: #fff; box-shadow: 0 10px 30px -10px rgba(79, 91, 255, .8); }
.btn-primary:hover { transform: translateY(-2px); background: var(--selno-primary-strong); box-shadow: 0 16px 36px -10px rgba(79, 91, 255, .9); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-line { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--selno-light-border-strong); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--pri); color: var(--pri); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* reveal on scroll (only when scripting works) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- intro */
.intro { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; place-items: center; pointer-events: none;
  -webkit-mask: radial-gradient(circle at var(--cx, 62%) var(--cy, 50%), transparent calc(var(--hole) - 1px), #000 var(--hole));
          mask: radial-gradient(circle at var(--cx, 62%) var(--cy, 50%), transparent calc(var(--hole) - 1px), #000 var(--hole));
  animation: intro-open 1.1s cubic-bezier(.6, 0, .3, 1) 1.55s forwards; }
.intro svg { width: min(520px, 68vw); overflow: visible; }
.intro .il { opacity: 0; transform: translateX(-28px); animation: intro-letter .6s var(--ease) forwards; }
.intro .il:nth-child(1) { animation-delay: .55s; } .intro .il:nth-child(2) { animation-delay: .63s; }
.intro .il:nth-child(3) { animation-delay: .71s; } .intro .il:nth-child(4) { animation-delay: .79s; }
.intro .io-back, .intro .io-front { transform-box: view-box; transform-origin: 828.4px 169.02px; opacity: 0; animation: intro-band .95s var(--ease) forwards; }
.intro .io-back { --from: -150deg; } .intro .io-front { --from: 150deg; animation-delay: .08s; }
@keyframes intro-band { from { opacity: 0; transform: rotate(var(--from)) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes intro-letter { to { opacity: 1; transform: none; } }
@keyframes intro-open { to { --hole: 125vmax; visibility: hidden; } }
.intro-skip .intro, .no-intro .intro { display: none; }

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--selno-logo-blue), var(--pur)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.nav-logo { position: relative; display: block; width: 104px; aspect-ratio: 933.53 / 269.59; flex: none; }
.nav-logo img { position: absolute; inset: 0; width: 100%; transition: opacity .35s; }
.nav-logo .l-light { opacity: 0; }
.nav-links { display: flex; gap: 30px; margin-left: 8px; font-size: 15px; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, .78); position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-sp { flex: 1; }
.nav.solid { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .l-dark { opacity: 0; } .nav.solid .l-light { opacity: 1; }
.nav.solid .nav-links a { color: var(--muted); }
.nav.solid .nav-links a:hover, .nav.solid .nav-links a.on { color: var(--text); }
.nav.hide { transform: translateY(-100%); }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + 56px) 0 72px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; width: 900px; height: 900px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(65, 79, 253, .55), transparent); filter: blur(10px); }
.hero-bg::after { content: ""; position: absolute; width: 760px; height: 760px; left: -280px; bottom: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 92, 255, .34), transparent); }
.hero-o { position: absolute; right: -9vw; top: 50%; width: min(980px, 74vw); translate: 0 -50%; opacity: .2; animation: spin 90s linear infinite; }
.orbits { position: absolute; right: -6vw; top: 50%; width: min(1100px, 84vw); translate: 0 -50%; overflow: visible; }
.orbits ellipse { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.orbits .sat { fill: #fff; }
.orbits .o1 { animation: spin 46s linear infinite; transform-origin: 50% 50%; }
.orbits .o2 { animation: spin 70s linear infinite reverse; transform-origin: 50% 50%; }
.orbits .o3 { animation: spin 110s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { rotate: 360deg; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.js .hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.js .ready .hero h1 .line > span { transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero .fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 110ms + 200ms); }
.js .ready .hero .fade { opacity: 1; transform: none; }
.hero-grid { perspective: 1400px; }
.js .hero .demo.fade { transition: opacity .9s var(--ease), transform .9s var(--ease), rotate .35s ease-out; transition-delay: calc(var(--i) * 110ms + 200ms), calc(var(--i) * 110ms + 200ms), 0s; }

/* the answer demo */
.demo { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(20, 23, 80, .92), rgba(11, 13, 54, .92)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 120px -30px rgba(79, 91, 255, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 15px; }
.demo-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--d-line); }
.demo-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.demo-top span { margin-left: auto; font-size: 12px; color: #8E94B8; }
.demo-body { padding: 20px 22px 8px; display: grid; gap: 16px; }
.who { font: 600 11px/1 var(--f-display); letter-spacing: .12em; color: #8E94B8; text-transform: uppercase; margin-bottom: 8px; display: block; }
.q p { font-size: 17px; font-weight: 600; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #C9CDEA; }
.a { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); min-height: 172px; }
.a p { line-height: 1.95; color: #E6E8F8; }
.a .caret { display: inline-block; width: 2px; height: 1.1em; background: #A6ADFF; vertical-align: -0.18em; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.m { border-radius: 5px; padding: 1px 3px; margin: 0 -1px; transition: background .5s, color .5s, box-shadow .5s; }
.m.cite { font: 600 11px/1 var(--f-display); vertical-align: 2px; padding: 2px 5px; margin: 0 2px; color: #8E94B8; box-shadow: inset 0 0 0 1px var(--d-line); }
.lit .m.brand, .m.brand.lit { background: rgba(104, 114, 255, .34); color: #fff; box-shadow: 0 0 0 1px rgba(124, 134, 255, .7); }
.lit .m.rival, .m.rival.lit { box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .38); }
.lit .m.cite, .m.cite.lit { color: #fff; background: rgba(180, 92, 255, .32); box-shadow: inset 0 0 0 1px rgba(197, 139, 255, .8); }
.lit .m.fact, .m.fact.lit { background: rgba(187, 108, 115, .26); box-shadow: inset 0 -2px 0 var(--selno-danger-on-dark); }
.notes { display: grid; gap: 8px; padding: 6px 22px 18px; }
.note { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line); font-size: 14px; line-height: 1.6; color: #C9CDEA; }
.js .note { opacity: 0; transform: translateX(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .note.in { opacity: 1; transform: none; }
.note b { color: #fff; }
.note .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 13px/1 var(--f-display); }
.n-mention .ic { background: rgba(104, 114, 255, .3); color: #C8CCFF; }
.n-cite .ic { background: rgba(180, 92, 255, .28); color: #E2C6FF; }
.n-fact .ic { background: rgba(187, 108, 115, .3); color: #F3C4C8; }
.demo-foot { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--d-line); font-size: 12px; color: #8E94B8; }
.demo-foot button { margin-left: auto; background: none; border: 0; color: #A6ADFF; cursor: pointer; font-size: 12px; padding: 4px 0; }
.demo-foot button:hover { color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 24px; height: 38px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------------------------------------------------------------- sampling lab */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split h2 { font-size: clamp(30px, 3.7vw, 52px); }
.rules { display: grid; gap: 14px; margin-top: 34px; }
.rules li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.7; }
.rules .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--selno-primary-soft); color: var(--pri); display: grid; place-items: center; font: 700 14px/1 var(--f-display); }
.lab { border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(5, 6, 40, .28); padding: clamp(22px, 2.6vw, 34px); }
.lab-q { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.lab-q .tag { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--selno-light-bg); border-radius: 999px; padding: 5px 10px; }
.cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 22px 0; }
.cell { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; font: 700 clamp(15px, 1.6vw, 20px)/1 var(--f-display); position: relative; transition: transform .5s var(--ease), background .4s, box-shadow .4s, color .4s; }
.cell.wait { background: var(--selno-light-bg); color: transparent; animation: pulse 1s ease-in-out infinite; }
.cell.hit { background: linear-gradient(135deg, var(--selno-logo-blue), #9A63FF); color: #fff; box-shadow: 0 12px 24px -12px rgba(79, 91, 255, .9); }
.cell.miss { background: #fff; color: var(--selno-light-border-strong); box-shadow: inset 0 0 0 1.5px var(--line); }
.cell.fail { background: repeating-linear-gradient(135deg, #fff 0 6px, var(--selno-danger-soft) 6px 12px); color: var(--selno-danger); box-shadow: inset 0 0 0 1.5px rgba(172, 76, 84, .35); }
.cell.pop { animation: pop .5s var(--ease); }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes pop { 0% { transform: scale(.6) rotate(-8deg); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.legend .k-hit { background: linear-gradient(135deg, var(--selno-logo-blue), #9A63FF); }
.legend .k-miss { box-shadow: inset 0 0 0 1.5px var(--selno-light-border-strong); }
.legend .k-fail { background: repeating-linear-gradient(135deg, #fff 0 3px, #E7BFC2 3px 6px); box-shadow: inset 0 0 0 1px rgba(172, 76, 84, .4); }
.lab-out { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.frac { font: 700 clamp(44px, 5vw, 64px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.frac small { font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.lab-out p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.lab-out p b { display: block; font-size: 16px; color: var(--text); }
.lab-out .warn { color: var(--selno-warning); }

/* ---------------------------------------------------------------- loop (scroll story) */
.loop { padding: 0; height: 560vh; }
.loop-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; display: grid; align-items: center; overflow: hidden; }
.loop-sticky::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1200px; height: 1200px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(65, 79, 253, .3), transparent 72%); pointer-events: none; }
.loop-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.loop-head { display: grid; gap: 20px; align-self: center; }
.loop-head h2 { font-size: clamp(30px, 3.5vw, 50px); }
.loop-head h2 span { display: block; white-space: nowrap; }
.ring { position: relative; width: min(480px, 100%); aspect-ratio: 1; margin-inline: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags i { font-style: normal; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #C9CDEA; white-space: nowrap; }
.tags i.hl { background: rgba(104, 114, 255, .34); color: #fff; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring .seg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 30; transition: stroke .6s, opacity .6s; }
.ring .seg.done { stroke: url(#ring-grad); }
.ring .seg.now { stroke: url(#ring-grad); filter: drop-shadow(0 0 14px rgba(124, 134, 255, .9)); }
.ring .dot { fill: #fff; filter: drop-shadow(0 0 10px #fff); transition: transform .6s var(--ease); transform-origin: 200px 200px; }
.ring-core { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; }
.ring-core .n { font: 700 clamp(64px, 7vw, 104px)/1 var(--f-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring-core .t { font-size: 20px; font-weight: 700; }
.ring-core .of { font: 500 12px/1 var(--f-display); letter-spacing: .14em; color: #8E94B8; }
.steps { display: grid; gap: 4px; position: relative; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; opacity: .32; transition: opacity .5s; cursor: pointer; }
.steps li.on { opacity: 1; }
.steps .k { font: 600 13px/1.9 var(--f-display); letter-spacing: .1em; color: #8E94B8; }
.steps li.on .k { color: #A6ADFF; }
.steps b { display: block; font-size: 19px; line-height: 1.5; }
.steps p { font-size: 15px; line-height: 1.7; color: var(--d-muted); display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), margin .5s; }
.steps p > span { overflow: hidden; }
.steps li.on p { grid-template-rows: 1fr; margin-top: 6px; }

/* ---------------------------------------------------------------- product bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { grid-column: span 4; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 28px; display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease), box-shadow .4s; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(79, 91, 255, .35), 0 30px 60px -34px rgba(5, 6, 40, .35); }
.card.w7 { grid-column: span 7; } .card.w6 { grid-column: span 6; } .card.w5 { grid-column: span 5; } .card.w12 { grid-column: span 12; }
.card > p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.card .kicker { font: 600 12px/1 var(--f-display); letter-spacing: .12em; color: var(--pri); text-transform: uppercase; }
.ui { margin-top: 14px; border-radius: 14px; background: var(--selno-light-bg); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; font-size: 13.5px; line-height: 1.6; }
.ui-label { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.ev { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.ev-text { background: #fff; border-radius: 10px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); line-height: 1.95; }
.ev-text .m.brand { background: var(--selno-primary-soft); box-shadow: 0 0 0 1px rgba(79, 91, 255, .45); color: var(--selno-primary-strong); font-weight: 600; }
.ev-text .m.rival { box-shadow: inset 0 -2px 0 var(--selno-light-border-strong); }
.ev-text .m.cite { color: var(--pur); box-shadow: inset 0 0 0 1px rgba(180, 92, 255, .5); background: #FAF3FF; }
.ev-text .m.fact { background: var(--selno-danger-soft); box-shadow: inset 0 -2px 0 var(--selno-danger); }
.ev-side { display: grid; gap: 8px; align-content: start; }
.tagrow { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 9px 11px; box-shadow: inset 0 0 0 1px var(--line); }
.pill { font-size: 11.5px; line-height: 1; padding: 5px 8px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.pill.ok { background: var(--selno-success-soft); color: var(--selno-success); } .pill.bad { background: var(--selno-danger-soft); color: var(--selno-danger); }
.pill.warn { background: var(--selno-warning-soft); color: var(--selno-warning); } .pill.info { background: var(--selno-primary-soft); color: var(--selno-primary-strong); }
.pill.mute { background: #ECEEF5; color: var(--muted); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.kpi .l { font-size: 12px; color: var(--muted); }
.kpi .v { font: 700 24px/1 var(--f-display); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.kpi .v small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.bar { height: 6px; border-radius: 3px; background: #E9EBF4; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--selno-logo-blue), #9A63FF); transform-origin: left; }
.js .bar i { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .in .bar i, .js .bar.in i { transform: none; }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 10px; padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.row code { font: 600 12px/1 var(--f-display); color: var(--muted); }
.row .prog { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #E9EBF4; overflow: hidden; }
.row .prog i { display: block; height: 100%; width: 40%; border-radius: 2px; background: var(--pri); animation: run 1.8s var(--ease) infinite; }
@keyframes run { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.matrix { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 13px; }
.matrix th { font-weight: 500; color: var(--muted); font-size: 12px; text-align: center; padding: 0 4px 2px; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix td { background: #fff; padding: 9px 8px; text-align: center; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.matrix td:first-child { border-radius: 10px 0 0 10px; box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); max-width: 0; width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.matrix td:last-child { border-radius: 0 10px 10px 0; box-shadow: inset -1px 0 0 var(--line), inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.matrix .me { color: var(--selno-primary-strong); font-weight: 700; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: s; }
.flow li { counter-increment: s; background: #fff; border-radius: 12px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 4px; position: relative; animation: flow 10s linear infinite; animation-delay: calc(var(--i) * 2s); }
.flow li::before { content: "0" counter(s); font: 600 12px/1 var(--f-display); color: var(--muted); letter-spacing: .08em; }
.flow b { font-size: 14px; } .flow span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@keyframes flow { 0%, 18% { box-shadow: inset 0 0 0 2px var(--pri), 0 14px 26px -16px rgba(79, 91, 255, .8); background: var(--selno-primary-soft); } 20%, 100% { box-shadow: inset 0 0 0 1px var(--line); background: #fff; } }

/* ---------------------------------------------------------------- principles */
.pledge { background: radial-gradient(900px 600px at 85% 0%, rgba(65, 79, 253, .5), transparent 70%), radial-gradient(700px 500px at 0% 100%, rgba(180, 92, 255, .28), transparent 70%), var(--ink); overflow: hidden; }
.pledge-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.nolist { display: grid; gap: 14px; }
.nolist li { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.3; color: rgba(255, 255, 255, .5); position: relative; width: fit-content; }
.nolist li::after { content: ""; position: absolute; left: -4px; right: -4px; top: 54%; height: 3px; border-radius: 2px; background: var(--selno-danger-on-dark); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 160ms + 300ms); }
.nolist.in li::after, .no-js .nolist li::after { transform: none; }
.col-title { font: 600 13px/1 var(--f-display); letter-spacing: .14em; color: #8E94B8; text-transform: uppercase; margin-bottom: 22px; }
.yeslist { display: grid; gap: 12px; }
.yeslist li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); }
.yeslist .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(104, 114, 255, .28); color: #C8CCFF; display: grid; place-items: center; font: 700 15px/1 var(--f-display); }
.yeslist b { display: block; font-size: 17px; line-height: 1.5; color: #fff; }
.yeslist span { font-size: 14.5px; line-height: 1.7; color: var(--d-muted); }

/* ---------------------------------------------------------------- audiences, stages, faq */
.auds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud { border-radius: 22px; padding: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.aud::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--selno-logo-blue), var(--pur)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.aud:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(79, 91, 255, .3), 0 30px 60px -34px rgba(5, 6, 40, .35); }
.aud:hover::before { transform: none; }
.aud .who-tag { font: 600 12px/1 var(--f-display); letter-spacing: .12em; color: var(--pri); text-transform: uppercase; }
.aud p { color: var(--muted); font-size: 15px; }
.aud ul { display: grid; gap: 8px; margin-top: 4px; font-size: 14.5px; }
.aud li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; line-height: 1.65; }
.aud li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; background: linear-gradient(135deg, var(--selno-logo-blue), var(--pur)); }
.aud .ui { margin-top: 8px; }
.aud .row { grid-template-columns: auto 1fr; }
.aud .row > span:last-child:empty { display: none; }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 12px; }
.stages::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--line); }
.stage { position: relative; padding: 0 18px 0 0; display: grid; gap: 8px; align-content: start; }
.stage::before { content: ""; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); position: relative; z-index: 1; margin-bottom: 10px; }
.stage.done::before { background: var(--pri); box-shadow: none; }
.stage.done::after { content: "✓"; position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; font-weight: 700; z-index: 2; }
.stage.now::before { background: #fff; box-shadow: inset 0 0 0 2px var(--pri), 0 0 0 8px rgba(79, 91, 255, .14); animation: halo 2.2s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: inset 0 0 0 2px var(--pri), 0 0 0 14px rgba(79, 91, 255, 0); } }
.stage .st { font: 600 12px/1 var(--f-display); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.stage.now .st { color: var(--pri); }
.stage b { font-size: 17px; line-height: 1.4; }
.stage p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1px rgba(79, 91, 255, .4), 0 20px 40px -30px rgba(5, 6, 40, .3); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 24px/1 var(--f-display); color: var(--pri); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 46em; }

/* ---------------------------------------------------------------- apply, footer */
.apply { overflow: hidden; }
.apply::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; bottom: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(65, 79, 253, .5), transparent); pointer-events: none; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; position: relative; }
.give { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.give h3 { font-size: 15px; color: #A6ADFF; margin-bottom: 12px; }
.give li { font-size: 15px; line-height: 1.7; color: var(--d-muted); padding: 8px 0; border-top: 1px solid var(--d-line); }
.form-card { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; font-size: 14px; color: #C9CDEA; }
input, select, textarea { font: inherit; color: #fff; background: rgba(5, 6, 40, .5); border: 0; border-radius: 12px; padding: 13px 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: box-shadow .2s; width: 100%; }
select option { color: #111; }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6E7499; }
input:focus, select:focus, textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--selno-primary-on-dark); }
.form-note { font-size: 13px; color: #8E94B8; line-height: 1.6; }
.form-msg { font-size: 14px; color: #C8CCFF; min-height: 1.6em; }
footer { background: #03041C; color: #8E94B8; padding: 56px 0 40px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { width: 120px; margin-bottom: 16px; }
.foot h4 { margin: 0 0 14px; font: 600 12px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #C9CDEA; }
.foot a { display: block; text-decoration: none; padding: 5px 0; transition: color .2s; }
.foot a:hover { color: #fff; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* ---------------------------------------------------------------- shared pieces of the multi-page site */
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #C9CDEA; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: rgba(104, 114, 255, .32); color: #C8CCFF; font: 700 10px/18px var(--f-display); text-align: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pri); text-decoration: none; margin-top: 30px; }
.more::after { content: "→"; transition: translate .25s var(--ease); }
.more:hover::after { translate: 5px 0; }
.dark .more { color: #A6ADFF; }

/* "enter your website" entry: one pill holding the field and the button */
.diag { display: flex; gap: 8px; padding: 6px; border-radius: 999px; width: min(520px, 100%); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.diag:focus-within { box-shadow: inset 0 0 0 2px var(--selno-primary-on-dark); }
.diag input { flex: 1; min-width: 0; background: none; box-shadow: none; padding: 0 8px 0 18px; font-size: 16px; border-radius: 999px; }
.diag input:focus { box-shadow: none; }
.diag .btn { height: 48px; padding: 0 22px; }
.diag-note { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13.5px; color: var(--d-muted); }
.diag-note a { color: #C8CCFF; font-weight: 600; text-decoration: none; }
.diag-note a:hover { color: #fff; }
.cta-inner .diag-note { justify-content: center; }
.six.four { grid-template-columns: repeat(4, 1fr); }
.band { border-radius: 28px; padding: clamp(28px, 4vw, 52px); background: radial-gradient(700px 400px at 100% 0%, rgba(65, 79, 253, .65), transparent 70%), radial-gradient(500px 360px at 0% 100%, rgba(180, 92, 255, .4), transparent 70%), var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; overflow: hidden; }
.band .eyebrow { color: #A6ADFF; margin-bottom: 16px; }
.band h2 { font-size: clamp(28px, 3.4vw, 46px); }
.band .lede { color: var(--d-muted); margin: 16px 0 26px; }
.band .rows { gap: 10px; }
.band .row { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--d-line); color: #E6E8F8; padding: 13px 16px; font-size: 14.5px; grid-template-columns: auto 1fr auto; }
.band .row .num { color: #A6ADFF; font-weight: 600; }

.page-hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 100px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(65, 79, 253, .5), transparent); z-index: -1; }
.page-hero::after { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(180, 92, 255, .3), transparent); z-index: -1; }
.js .page-hero .fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 110ms + 100ms); }
.js .ready .page-hero .fade { opacity: 1; transform: none; }
.page-hero .wrap { display: grid; gap: 24px; }
.page-hero.has-visual .wrap { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.12; }
.page-hero.has-visual h1 { font-size: clamp(34px, 4vw, 54px); }
.nb { white-space: nowrap; }
.page-hero .hero-copy { display: grid; gap: 22px; align-content: center; }
.page-hero .lede { max-width: 36em; }
.page-o { position: absolute; right: -150px; top: -130px; width: 600px; max-width: none; opacity: .14; z-index: -1; animation: spin 90s linear infinite; }

.strip { padding: 0; }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--d-line); }
.strip li { padding: 30px 26px; display: grid; gap: 6px; border-left: 1px solid var(--d-line); align-content: start; }
.strip li:first-child { border-left: 0; }
.strip b { font-size: 17px; }
.strip span { font-size: 14px; color: var(--d-muted); line-height: 1.65; }

.console { display: grid; grid-template-columns: 164px 1fr; border-radius: 18px; overflow: hidden; background: #fff; color: var(--text); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 140px -40px rgba(79, 91, 255, .8); font-size: 13px; line-height: 1.5; }
.con-side { background: #0B0D36; color: #A9AED0; padding: 18px 12px; display: grid; gap: 14px; align-content: start; }
.con-side img { width: 108px; margin: 2px 6px 4px; }
.con-side ul { display: grid; gap: 2px; }
.con-side li { padding: 8px 10px; border-radius: 8px; }
.con-side li.on { background: rgba(104, 114, 255, .3); color: #fff; font-weight: 600; }
.con-main { padding: 18px; display: grid; gap: 14px; background: var(--selno-light-bg); min-width: 0; }
.con-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.con-top b { font-size: 16px; }
.con-top .chip { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.con-top .sp { flex: 1; }
.kpis.k4 { grid-template-columns: repeat(4, 1fr); }
.con-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.panel { background: #fff; border-radius: 12px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.panel h4 { margin: 0 0 2px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.panel .row { box-shadow: none; background: var(--selno-light-bg); grid-template-columns: auto 1fr; }
.panel .row > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 84px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.duo:first-of-type { border-top: 0; padding-top: 0; }
.duo.flip > :first-child { order: 2; }
.duo .kicker { font: 600 12px/1 var(--f-display); letter-spacing: .12em; color: var(--pri); text-transform: uppercase; }
.duo h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; font-weight: 800; margin: 12px 0 14px; }
.duo p { color: var(--muted); }
.points { display: grid; gap: 10px; margin-top: 18px; font-size: 15.5px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.65; }
.points li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--selno-logo-blue), var(--pur)); }
.duo > .ui { margin: 0; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -44px rgba(5, 6, 40, .4); font-size: 14px; }
.duo > .ui .row, .duo > .ui .kpi, .duo > .ui .tagrow, .duo > .ui .ev-text, .duo > .ui .matrix td, .duo > .ui .flow li { background: var(--selno-light-bg); }
.rec { border-radius: 14px; padding: 16px; background: var(--selno-light-bg); display: grid; gap: 10px; }
.rec b { font-size: 15px; }
.rec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13.5px; }
.rec dt { color: var(--muted); } .rec dd { margin: 0; }
.rec .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.rec .acts span { font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--selno-light-border-strong); }
.rec .acts span:first-child { background: var(--pri); color: #fff; box-shadow: none; }

.tbl-wrap { overflow-x: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
.tbl thead th { border-top: 0; background: var(--selno-light-bg); font-size: 13px; color: var(--muted); font-weight: 600; }
.tbl tbody th { font-weight: 700; white-space: nowrap; }
.tbl td { color: var(--muted); }
.tbl.kv { min-width: 0; }
.tbl.kv tr:first-child th, .tbl.kv tr:first-child td { border-top: 0; }

.defs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.def { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 28px; display: grid; gap: 12px; align-content: start; }
.def .en { font: 600 12px/1 var(--f-display); letter-spacing: .12em; color: var(--pri); text-transform: uppercase; }
.formula { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--selno-light-bg); font-size: 14.5px; }
.formula .fr { display: grid; text-align: center; gap: 6px; }
.formula .fr span:first-child { padding: 0 6px 6px; border-bottom: 2px solid var(--ink); font-weight: 600; color: var(--ink); }
.formula .fr span:last-child { color: var(--muted); padding: 0 6px; }
.def .hint { font-size: 14.5px; color: var(--muted); }

.neqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.neq { border-radius: 22px; padding: 28px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); display: grid; gap: 16px; align-content: start; }
.neq .pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; font-weight: 700; font-size: 17px; line-height: 1.45; }
.neq .pair i { font: 700 36px/1 var(--f-display); font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.neq p { font-size: 14.5px; color: var(--d-muted); line-height: 1.7; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 30px 24px; display: grid; gap: 14px; align-content: start; position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-4px); }
.plan.hot { background: var(--ink); color: #fff; box-shadow: 0 30px 70px -30px rgba(79, 91, 255, .85); }
.plan .tag { font: 600 12px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--pri); }
.plan.hot .tag { color: #A6ADFF; }
.plan h3 { font: 700 26px/1.2 var(--f-display); }
.plan .for { font-size: 14.5px; color: var(--muted); min-height: 4.9em; }
.plan.hot .for { color: var(--d-muted); }
.plan .price { font-weight: 700; font-size: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan.hot .price { border-color: var(--d-line); }
.plan ul { display: grid; gap: 9px; font-size: 14.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; line-height: 1.6; }
.plan li::before { content: "✓"; color: var(--pri); font-weight: 700; }
.plan.hot li::before { color: #A6ADFF; }
.plan .btn { justify-self: start; margin-top: 8px; }
.plan.hot .btn-line { background: #fff; }
.badge { position: absolute; top: -12px; right: 20px; background: linear-gradient(90deg, var(--selno-logo-blue), var(--pur)); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

.stack { display: grid; gap: 10px; }
.layer { border-radius: 16px; padding: 16px 20px; display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); transition: transform .4s var(--ease), background .3s; }
.layer:hover { transform: translateX(8px); background: rgba(104, 114, 255, .18); }
.layer b { font: 600 14px/1.3 var(--f-display); color: #C8CCFF; }
.layer span { font-size: 14.5px; color: var(--d-muted); line-height: 1.6; }
.layer.future { box-shadow: inset 0 0 0 1px transparent; outline: 1px dashed rgba(255, 255, 255, .28); outline-offset: -1px; background: none; }
.layer.top { background: linear-gradient(90deg, rgba(65, 79, 253, .55), rgba(180, 92, 255, .45)); box-shadow: none; }
.layer.top b, .layer.top span { color: #fff; }

.cta-band { overflow: hidden; text-align: center; }
.cta-inner { display: grid; justify-items: center; gap: 22px; position: relative; }
.cta-inner .cta-row { justify-content: center; }
.cta-o { position: absolute; width: 760px; max-width: none; left: 50%; top: 50%; translate: -50% -50%; opacity: .13; animation: spin 80s linear infinite; pointer-events: none; }
.cta-inner > :not(.cta-o) { position: relative; }

.six { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: six; position: relative; }
.six::before { content: ""; position: absolute; left: 3%; right: 3%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--selno-logo-blue), var(--pur)); opacity: .35; }
.six li { counter-increment: six; display: grid; gap: 8px; justify-items: start; align-content: start; position: relative; }
.six li::before { content: "0" counter(six); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font: 700 16px/1 var(--f-display); color: var(--pri); transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.six li:hover::before { background: var(--pri); color: #fff; box-shadow: 0 14px 28px -12px rgba(79, 91, 255, .9); transform: translateY(-3px); }
.six b { font-size: 17px; margin-top: 6px; }
.six span { font-size: 14px; color: var(--muted); line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.next { display: grid; counter-reset: nx; margin-top: 30px; }
.next li { counter-increment: nx; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--d-line); }
.next li::before { content: counter(nx); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(104, 114, 255, .3); color: #C8CCFF; font: 700 16px/1 var(--f-display); }
.next b { display: block; font-size: 17px; }
.next span { font-size: 14.5px; color: var(--d-muted); }
.foot { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

@media (max-width: 1040px) {
  .page-hero.has-visual .wrap, .duo, .contact-grid, .band { grid-template-columns: 1fr; }
  .six.four { grid-template-columns: repeat(2, 1fr); }
  .duo.flip > :first-child { order: 0; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(odd) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--d-line); }
  .six { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .six::before { display: none; }
  .neqs, .defs { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .console { grid-template-columns: 1fr; }
  .con-side { display: none; }
  .kpis.k4 { grid-template-columns: 1fr 1fr; }
  .con-cols { grid-template-columns: 1fr; }
  .plans, .strip ul, .six, .six.four { grid-template-columns: 1fr; }
  .diag .btn { padding: 0 16px; }
  .strip li { border-left: 0; border-top: 1px solid var(--d-line); }
  .layer { grid-template-columns: 1fr; gap: 4px; }
  .tbl th, .tbl td { padding: 12px 14px; }
  .plan .for { min-height: 0; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .hero-grid, .split, .pledge-grid, .apply-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 96px; }
  .loop-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .loop-head { grid-column: 1 / -1; }
  .card, .card.w7, .card.w5 { grid-column: span 6; }
  .auds { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: none; border: 0; cursor: pointer; color: #fff; }
  .nav.solid .nav-toggle { color: var(--text); }
  .nav-toggle span, .nav-toggle span::before { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; }
  .nav-toggle span::before { content: ""; position: absolute; top: 6px; }
  .nav-toggle span { top: -3px; }
  .nav.open { background: var(--ink); }
  .nav.open .nav-links { display: grid; position: absolute; left: 0; right: 0; top: var(--nav-h); background: var(--ink); padding: 8px 24px 24px; gap: 4px; margin: 0; font-size: 17px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); }
  .nav.open .nav-links a { color: #fff; padding: 12px 0; border-bottom: 1px solid var(--d-line); }
  .nav.open .l-dark { opacity: 1; } .nav.open .l-light { opacity: 0; }
  .nav.open .nav-toggle { color: #fff; }
}
@media (max-width: 760px) {
  .loop { height: auto; padding: 80px 0; }
  .loop-sticky { position: relative; height: auto; min-height: 0; padding: 0; }
  .loop-grid { grid-template-columns: 1fr; }
  .ring { width: min(300px, 80%); }
  .steps li { opacity: 1; cursor: default; }
  .steps p { grid-template-rows: 1fr; margin-top: 6px; }
  .card, .card.w7, .card.w6, .card.w5, .card.w12 { grid-column: 1 / -1; }
  .ev, .flow, .give, .f2, .foot { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; gap: 22px; }
  .stages::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .stage { grid-template-columns: 36px 1fr; column-gap: 16px; padding: 0; }
  .stage::before { grid-row: 1 / span 3; margin: 0; }
  .lab-out { grid-template-columns: 1fr; }
  .cells { gap: 7px; } .cell { border-radius: 11px; }
  .nav .btn { display: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .intro { display: none; }
  .js [data-reveal], .js .note, .js .hero .fade { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
  .js .bar i { transform: none; }
}
