/* SoftControl / KeyTray web kit — one stylesheet, no frameworks, no external fonts.
   Dark-first editorial design: aurora heroes, crafted section backgrounds (grid, dots, topo, circuit,
   dotted map, beams) and tinted "paper" sections. Shared by softcontrolusa.com and keytray.com —
   each repo keeps an identical copy (see README). */

:root {
  --k-violet: #8b7cf6; --k-red: #ff5c7a; --k-orange: #ff9a4d; --k-yellow: #ffd84d;
  --k-lime: #b4ef5a; --k-green: #34d399; --k-indigo: #6378ff;
  --cyan: #38d6ff; --mint: #2df7b4;
  --grad: linear-gradient(100deg, #38d6ff 0%, #8b7cf6 48%, #ff5c7a 100%);
  --grad-kt: linear-gradient(100deg, #8b7cf6 0%, #ff5c7a 30%, #ff9a4d 52%, #ffd84d 68%, #b4ef5a 84%, #34d399 100%);

  --bg: #05060f; --bg-2: #080a1a; --bg-3: #0d1028;
  --glass: rgba(255, 255, 255, .045); --glass-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .17);
  --text: #eef0ff; --text-2: #c9cdea; --muted: #9aa1c6;
  --accent: #7fd8ff; --pat: rgba(140, 170, 255, .07);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 80px -30px rgba(0, 0, 0, .8);
  --glow: 0 0 0 1px rgba(127, 216, 255, .25), 0 10px 40px -10px rgba(56, 214, 255, .45);
  --radius: 22px; --radius-s: 14px; --wrap: 1220px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "SF Pro Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  color-scheme: dark; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px;
}

/* Light, tinted editorial sections ("paper") — never plain white */
.paper {
  --bg: #eceef6; --glass: rgba(255, 255, 255, .62); --glass-2: rgba(255, 255, 255, .85);
  --line: rgba(20, 26, 70, .1); --line-2: rgba(20, 26, 70, .2);
  --text: #0b1030; --text-2: #2a3060; --muted: #555c85; --accent: #3a3fd8; --pat: rgba(40, 50, 120, .09);
  --shadow: 0 1px 2px rgba(10, 20, 70, .05), 0 24px 60px -28px rgba(10, 20, 90, .28);
  --glow: 0 0 0 1px rgba(58, 63, 216, .25), 0 14px 34px -14px rgba(58, 63, 216, .45);
  color-scheme: light; color: var(--text);
  background:
    radial-gradient(900px 420px at 92% 0%, rgba(139, 124, 246, .16), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(56, 214, 255, .14), transparent 60%),
    linear-gradient(180deg, #f1f2f8, #e7e9f3);
}
.paper.warm {
  background:
    radial-gradient(800px 400px at 100% 10%, rgba(255, 154, 77, .16), transparent 60%),
    radial-gradient(800px 420px at 0% 90%, rgba(180, 239, 90, .14), transparent 60%),
    linear-gradient(180deg, #f5f2ec, #ece8e0);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
main { overflow-x: clip; }
body { margin: 0; background: var(--bg); min-height: 100vh; }
a { color: var(--accent); text-underline-offset: 3px; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -.048em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 800; letter-spacing: -.042em; }
h3 { font-size: 1.28rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.paper :focus-visible { outline-color: #3a3fd8; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--mint); color: #04382a; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono { font-family: var(--mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-kt { background: var(--grad-kt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper .grad-text { background: linear-gradient(100deg, #0369a1, #5b21b6 55%, #be123c); -webkit-background-clip: text; background-clip: text; }
.paper .grad-kt { background: linear-gradient(100deg, #5b21b6, #be123c 35%, #c2410c 60%, #15803d); -webkit-background-clip: text; background-clip: text; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }

/* ===================================================================== crafted backgrounds */
section, .hero, .foot { position: relative; isolation: isolate; }
.bg-grid::before, .bg-dots::before, .bg-topo::before, .bg-circuit::before, .bg-map::before, .bg-lines::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.bg-grid::before {
  background-image: linear-gradient(var(--pat) 1px, transparent 1px), linear-gradient(90deg, var(--pat) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}
.bg-dots::before {
  background-image: radial-gradient(var(--pat) 1.3px, transparent 1.6px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.paper.bg-dots::before { background-image: radial-gradient(rgba(40, 50, 120, .16) 1.2px, transparent 1.5px); }
.bg-topo::before { background: url("img/bg-topo.svg") center / 1400px auto repeat; opacity: .5; }
.paper.bg-topo::before { background-image: url("img/bg-topo-ink.svg"); opacity: .55; }
.bg-circuit::before { background: url("img/bg-circuit.svg") right -120px top -40px / 900px auto no-repeat, url("img/bg-circuit.svg") left -260px bottom -160px / 760px auto no-repeat; opacity: .32; mask-image: linear-gradient(90deg, transparent 20%, #000 75%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.bg-map::before { background: url("img/bg-map.svg") center 40% / min(1500px, 140%) auto no-repeat; opacity: .38; }
.paper.bg-map::before { background-image: url("img/bg-map-ink.svg"); opacity: .7; }
.bg-lines::before {
  background: repeating-linear-gradient(115deg, transparent 0 46px, var(--pat) 46px 47px);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.beams::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    conic-gradient(from 200deg at 12% -10%, transparent 0 8deg, rgba(56, 214, 255, .10) 10deg, transparent 16deg 24deg, rgba(139, 124, 246, .10) 27deg, transparent 33deg),
    conic-gradient(from 150deg at 90% -10%, transparent 0 10deg, rgba(255, 92, 122, .07) 13deg, transparent 19deg);
}
.glow-l::after, .glow-r::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; width: 680px; height: 680px; border-radius: 50%; top: 10%;
  background: radial-gradient(circle, rgba(139, 124, 246, .18), transparent 65%); filter: blur(10px);
}
.glow-l::after { left: -260px; }
.glow-r::after { right: -260px; background: radial-gradient(circle, rgba(56, 214, 255, .16), transparent 65%); }
.sec-ink { background: linear-gradient(180deg, #070918, #0a0d22 60%, #070918); }
.sec-deep { background: radial-gradient(1200px 500px at 50% -10%, #141a44, transparent 70%), #05060f; }
.edge-top { border-top: 1px solid var(--line); }
.hr-glow { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgba(127, 216, 255, .5), rgba(139, 124, 246, .5), transparent); position: relative; z-index: 3; }

/* grain overlay */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================================================================== header */
.top {
  position: sticky; top: 0; z-index: 100; background: rgba(5, 6, 15, .6);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .07); color: #eef0ff; transition: background .3s, box-shadow .3s;
}
.top.scrolled { background: rgba(5, 6, 15, .88); box-shadow: 0 12px 40px -18px rgba(0, 0, 0, .7); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; flex: none; line-height: 1.1; }
.brand svg, .brand img { height: 34px; width: auto; flex: none; }
.brand small { display: block; font-size: .6rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: #9aa1c6; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav .dd > button {
  color: #d6daf5; text-decoration: none; font-size: .93rem; font-weight: 550; padding: 9px 12px; border-radius: 10px;
  background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .dd > button .icon { width: 16px; height: 16px; transition: transform .2s; }
.dd.open > button .icon { transform: rotate(180deg); }
.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(820px, 92vw); padding: 14px; border-radius: 20px;
  background: rgba(11, 13, 32, .97); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-panel a { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; color: #e6e9ff; text-decoration: none; font-size: .9rem; line-height: 1.3; }
.dd-panel a:hover { background: rgba(255, 255, 255, .06); }
.dd-panel a b { display: block; font-weight: 650; }
.dd-panel a span { color: #9aa1c6; font-size: .8rem; }
.dd-panel .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); flex: none; color: var(--cyan); }
.dd-panel .all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 10px 10px; margin-top: 6px; color: var(--cyan); font-weight: 650; }
.actions { display: flex; align-items: center; gap: 8px; flex: none; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #e6e9ff;
  font: 650 .85rem var(--font); cursor: pointer; text-decoration: none;
}
.chip-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.chip-btn .icon { width: 18px; height: 18px; }
.chip-btn .flag-inline { margin-right: 2px; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 66px 0 auto 0; max-height: calc(100vh - 66px); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 18px 24px;
    background: rgba(6, 8, 20, .985); border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .top.open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav .dd > button { padding: 12px; font-size: 1rem; width: 100%; justify-content: space-between; }
  .dd-panel { position: static; transform: none; width: auto; grid-template-columns: 1fr 1fr; opacity: 1; visibility: visible; display: none; box-shadow: none; background: rgba(255, 255, 255, .03); margin: 4px 0 8px; }
  .dd.open .dd-panel { display: grid; transform: none; }
  .dd:hover .dd-panel, .dd:focus-within .dd-panel { transform: none; }
  .actions .hide-sm { display: none; }
}
@media (max-width: 560px) { .dd-panel { grid-template-columns: 1fr; } .brand small { display: none; } .actions .chip-btn .lbl { display: none; } .top-in { gap: 10px; padding: 8px 16px; } }

/* ===================================================================== buttons */
.btn {
  --b: var(--grad);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; overflow: hidden;
  font: 700 1rem var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  color: #050816; background: var(--b); box-shadow: 0 10px 40px -10px rgba(139, 124, 246, .7), 0 0 0 1px rgba(255, 255, 255, .22) inset;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #050816; box-shadow: 0 16px 50px -12px rgba(139, 124, 246, .9), 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.btn.kt { --b: var(--grad-kt); }
.btn.ghost { background: rgba(255, 255, 255, .05); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
.paper .btn.ghost { background: rgba(255, 255, 255, .7); }
.paper .btn:not(.ghost) { color: #fff; --b: linear-gradient(100deg, #1e3a8a, #4c1d95 55%, #9f1239); box-shadow: 0 12px 30px -12px rgba(76, 29, 149, .7); }
.btn .icon { width: 20px; height: 20px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ===================================================================== hero */
.hero { overflow: hidden; background: #04050d; padding: 96px 0 100px; color: #eef0ff; }
.hero.tall { min-height: min(94vh, 920px); display: flex; align-items: center; }
.hero .wrap { width: 100%; }
.aurora { position: absolute; inset: -20%; z-index: 0; filter: blur(70px) saturate(140%); opacity: .78; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora .a1 { width: 48vw; height: 48vw; left: 2%; top: 4%; background: radial-gradient(circle, rgba(56, 214, 255, .5), transparent 62%); }
.aurora .a2 { width: 42vw; height: 42vw; right: 0; top: -6%; background: radial-gradient(circle, rgba(139, 124, 246, .6), transparent 62%); animation-duration: 26s; animation-delay: -6s; }
.aurora .a3 { width: 40vw; height: 40vw; left: 30%; bottom: -10%; background: radial-gradient(circle, rgba(255, 92, 122, .38), transparent 62%); animation-duration: 30s; animation-delay: -12s; }
.aurora .a4 { width: 30vw; height: 30vw; right: 12%; bottom: 0; background: radial-gradient(circle, rgba(45, 247, 180, .26), transparent 62%); animation-duration: 24s; animation-delay: -3s; }
.kt-zone .aurora .a1 { background: radial-gradient(circle, rgba(139, 124, 246, .55), transparent 62%); }
.kt-zone .aurora .a2 { background: radial-gradient(circle, rgba(255, 92, 122, .42), transparent 62%); }
.kt-zone .aurora .a3 { background: radial-gradient(circle, rgba(255, 216, 77, .26), transparent 62%); }
.kt-zone .aurora .a4 { background: radial-gradient(circle, rgba(52, 211, 153, .4), transparent 62%); }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 4vh, 0) scale(1.15); } 100% { transform: translate3d(-4vw, -3vh, 0) scale(.95); } }
.mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: url("img/bg-circuit.svg") right -200px top -80px / 1000px auto no-repeat; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); }
.gridfloor {
  position: absolute; left: -50%; right: -50%; bottom: -2px; height: 44%; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(127, 216, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 216, 255, .16) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 85%); -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 85%);
  animation: floor 9s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dfe3ff; font-size: .82rem; font-weight: 650; letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: pulse 2s infinite; margin-left: 4px; }
@keyframes pulse { 50% { opacity: .35; } }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--text-2); max-width: 640px; }
.hero .lead { color: #c9cdea; }
.hero h1 { margin-bottom: 22px; }
.hero.tall h1 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
.hero .btn-row { margin-top: 32px; }
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.hero-visual canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-visual .halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(56, 214, 255, .22), transparent 65%); filter: blur(20px); z-index: -1; }
.hero-visual .ring-deco { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(127, 216, 255, .18); animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #aab0d6; font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .icon { color: var(--mint); }
.page-hero { padding: 80px 0 76px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.page-hero .ph-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .page-hero .ph-grid { grid-template-columns: 1fr; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #9aa1c6; margin-bottom: 20px; }
.crumbs a { color: #c9cdea; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.hero-meta { display: grid; gap: 12px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-meta div { display: flex; justify-content: space-between; gap: 14px; font-size: .9rem; border-bottom: 1px dashed rgba(255, 255, 255, .1); padding-bottom: 10px; }
.hero-meta div:last-child { border: 0; padding: 0; }
.hero-meta span { color: #9aa1c6; }
.hero-meta b { text-align: right; }
.prod-mark { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 50px -20px rgba(56, 214, 255, .6); color: #fff; }
.prod-mark img { width: 50px; height: 50px; object-fit: contain; }
.prod-mark .icon { width: 36px; height: 36px; }

/* ===================================================================== sections */
.sec { padding: 120px 0; }
.sec.tight { padding: 76px 0; }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.split-head { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sec-head.split-head p { margin: 0; }
@media (max-width: 860px) { .sec-head.split-head { grid-template-columns: 1fr; gap: 10px; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.sec-head p { font-size: 1.12rem; color: var(--muted); }
.num-label { font: 700 .8rem var(--mono); color: var(--muted); letter-spacing: .08em; }

/* glass card */
.card {
  position: relative; border-radius: var(--radius); padding: 28px; background: var(--glass); border: 1px solid var(--line);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
a.card { color: inherit; text-decoration: none; display: block; }
a.card.prod-card { display: flex; }
.card.hov:hover, a.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow), var(--glow); }
.card .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, rgba(56, 214, 255, .9), rgba(139, 124, 246, .9)); box-shadow: 0 10px 30px -10px rgba(56, 214, 255, .7);
}
.card .ic.alt { background: linear-gradient(135deg, #ff9a4d, #ff5c7a); box-shadow: 0 10px 30px -10px rgba(255, 92, 122, .7); }
.card .ic.alt2 { background: linear-gradient(135deg, #34d399, #38d6ff); box-shadow: 0 10px 30px -10px rgba(52, 211, 153, .7); }
.card .ic .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { margin-top: 16px; }
.card.cut { border-radius: 30px 6px 30px 6px; }
.card.edge { border-left: 3px solid; border-image: var(--grad) 1; border-radius: 0 var(--radius) var(--radius) 0; }
.spot { --mx: 50%; --my: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(127, 216, 255, .13), transparent 45%);
}
.paper .spot::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(58, 63, 216, .1), transparent 45%); }
.spot:hover::before { opacity: 1; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .sec { padding: 84px 0; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
.bento .w6 { grid-column: span 6; }
.bento .h2 { grid-row: span 2; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > *, .bento .w3 { grid-column: span 1; } .bento .w6, .bento .w4 { grid-column: span 2; } .bento .h2 { grid-row: auto; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento .w3, .bento .w4, .bento .w6 { grid-column: span 1; } }
.prod-card { display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.prod-card .top-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.prod-card .logo-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--accent); }
.paper .prod-card .logo-ic { background: #fff; }
.prod-card .logo-ic img { width: 34px; height: 34px; object-fit: contain; }
.prod-card .logo-ic .icon { width: 26px; height: 26px; }
.prod-card h3 { margin: 4px 0 0; font-size: 1.35rem; }
.prod-card .tag { color: var(--muted); font-size: .95rem; margin: 0; }
.prod-card .more { margin-top: auto; padding-top: 10px; }
.prod-card.feature { background: linear-gradient(160deg, rgba(56, 214, 255, .14), rgba(139, 124, 246, .12) 40%, var(--glass)); }
.prod-card.feature h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prod-card.warm { background: linear-gradient(160deg, rgba(255, 154, 77, .14), rgba(255, 92, 122, .1) 45%, var(--glass)); }
.prod-card .art { position: absolute; right: -30px; bottom: -30px; width: 240px; opacity: .45; pointer-events: none; }
.prod-card .mini-shot { margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.card.ink { background: radial-gradient(500px 260px at 100% 0%, rgba(139, 124, 246, .35), transparent 60%), linear-gradient(160deg, #0d1030, #070818); border-color: rgba(255, 255, 255, .1);
  --text: #eef0ff; --text-2: #c9cdea; --muted: #9aa1c6; --line: rgba(255,255,255,.1); --accent: #7fd8ff; color: #eef0ff; }
.paper .card.ink .badge.beta { color: #6fd6ff; background: rgba(111, 214, 255, .08); }
.paper .card.ink .logo-ic { background: rgba(255, 255, 255, .07); }
.card.ink .window { transform: none; box-shadow: none; margin-top: 14px; }
.prod-card.side { flex-direction: row; gap: 22px; align-items: stretch; }
.prod-card.side > .txt { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-card.side .phone { width: 150px; flex: none; margin: 0 0 -60px; border-radius: 30px; padding: 7px; }
.prod-card.side .phone .scr { border-radius: 24px; }
@media (max-width: 560px) { .prod-card.side { flex-direction: column; } .prod-card.side .phone { margin: 0 auto -60px; } }
.exp-list { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 10px; }
.exp-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.exp-list li b { font-family: var(--font-display); }
.exp-list i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 10px currentColor; background: currentColor; }

/* status badges */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font: 700 .72rem var(--font); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; border: 1px solid; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge.available { color: #34f5b0; border-color: rgba(52, 245, 176, .35); background: rgba(52, 245, 176, .08); }
.badge.beta { color: #6fd6ff; border-color: rgba(111, 214, 255, .35); background: rgba(111, 214, 255, .08); }
.badge.dev { color: #ffc65c; border-color: rgba(255, 198, 92, .35); background: rgba(255, 198, 92, .08); }
.badge.soon { color: #c3a8ff; border-color: rgba(195, 168, 255, .35); background: rgba(195, 168, 255, .08); }
.paper .badge.available { color: #047857; background: #ecfdf5; }
.paper .badge.beta { color: #0369a1; background: #f0f9ff; }
.paper .badge.dev { color: #a14c06; background: #fffbeb; }
.paper .badge.soon { color: #6d28d9; background: #f5f3ff; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: rgba(8, 10, 26, .82); padding: 30px 26px; position: relative; }
.paper .stats > div { background: rgba(255, 255, 255, .7); }
.stats b { display: block; font: 800 clamp(2.4rem, 4.4vw, 3.6rem) var(--font-display); letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; }
.stats span { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks li .icon { color: var(--mint); margin-top: 3px; }
.paper .checks li .icon { color: #059669; }
.checks.cols { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 680px) { .checks.cols { grid-template-columns: 1fr; } }
.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 0; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font: 800 1.6rem var(--font-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper .numbered li::before { background: linear-gradient(100deg, #1e3a8a, #9f1239); -webkit-background-clip: text; background-clip: text; }
.numbered h3 { margin: 0 0 6px; font-size: 1.15rem; }
.numbered p { margin: 0; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 600; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: .88rem; color: var(--text-2); text-decoration: none; }
a.pill:hover { border-color: var(--line-2); color: var(--text); }
.pill .icon { width: 16px; height: 16px; color: var(--accent); }

/* split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.s75 { grid-template-columns: 1.4fr 1fr; }
.split.s57 { grid-template-columns: 1fr 1.4fr; }
.split.at-top { align-items: start; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.s75, .split.s57 { grid-template-columns: 1fr; gap: 40px; } .split.rev > :first-child { order: 0; } }
.aside-card { position: sticky; top: 100px; }
.big-quote { font: 800 clamp(1.9rem, 3.8vw, 3.1rem) var(--font-display); letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.big-quote em { font-style: normal; }

/* product page layout */
.prod-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .prod-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); font-size: 1.06rem; }
.prose .checks { margin: 18px 0 8px; }
.note { border-left: 3px solid var(--k-yellow); padding: 12px 16px; background: rgba(255, 216, 77, .07); border-radius: 0 12px 12px 0; color: var(--text-2); font-size: .95rem; }
.note.info { border-color: var(--cyan); background: rgba(56, 214, 255, .07); }
.paper .note { background: rgba(255, 216, 77, .16); }
.paper .note.info { background: rgba(56, 214, 255, .12); border-color: #0369a1; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature-grid > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.feature-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-grid > div:nth-child(even) { padding-left: 24px; }
.feature-grid .fi { font: 700 .78rem var(--mono); color: var(--accent); padding-top: 3px; min-width: 26px; }
.feature-grid p { margin: 0; color: var(--text-2); }
@media (max-width: 680px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid > div:nth-child(odd) { border-right: 0; } .feature-grid > div:nth-child(even) { padding-left: 0; } }

/* device mockups (pure CSS) */
.phone {
  position: relative; width: 260px; aspect-ratio: 9 / 19.4; border-radius: 44px; padding: 10px; margin: 0 auto;
  background: linear-gradient(145deg, #3a4064, #0b0d1a 40%, #22263d); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 90px -20px rgba(139, 124, 246, .55);
}
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 60px; border-radius: 0 3px 3px 0; background: #2a2f4a; }
.phone .scr { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0b1030; position: relative; }
.phone.r16 { aspect-ratio: 9 / 16.6; }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone.tilt { transform: perspective(1400px) rotateY(-14deg) rotateX(6deg); transition: transform .6s; }
.phone.tilt:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
.phones { display: flex; justify-content: center; align-items: center; }
.phones .phone { width: 236px; }
.phones .phone:nth-child(2) { transform: translateY(46px) rotate(4deg); margin-left: -54px; z-index: -1; opacity: .92; }
.window {
  border-radius: 16px; overflow: hidden; background: #0b0e22; border: 1px solid rgba(255, 255, 255, .12); color: #dfe3ff;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 100px -30px rgba(56, 214, 255, .35);
  transform: perspective(1600px) rotateX(7deg) rotateY(-6deg); transition: transform .6s;
}
.window:hover { transform: perspective(1600px) rotateX(2deg) rotateY(-1deg); }
.window .bar { display: flex; gap: 7px; align-items: center; padding: 11px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3) { background: #28c840; }
.window .bar span { margin-left: 10px; font: 600 .78rem var(--mono); color: #8e95bd; }
.window .body { padding: 18px; }
.ui-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); margin-bottom: 8px; font-size: .82rem; }
.ui-row .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.ui-row .bar-fill { height: 6px; border-radius: 6px; background: var(--grad); flex: 1; opacity: .8; }
.ui-row .val { font-family: var(--mono); color: #9fe9ff; margin-left: auto; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ui-kpis div { border-radius: 10px; background: rgba(255, 255, 255, .05); padding: 10px; font-size: .72rem; color: #9aa1c6; }
.ui-kpis b { display: block; font: 800 1.1rem var(--font-display); color: #fff; }
.ui-chart { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); margin-bottom: 12px; }
.ui-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(139, 124, 246, .5), rgba(56, 214, 255, .95)); transform-origin: bottom; }
.js .ui-chart i { transform: scaleY(0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.js .in .ui-chart i, .js .ui-chart.in i { transform: none; }
.cam-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cam-wall div { aspect-ratio: 16 / 10; border-radius: 6px; position: relative; overflow: hidden; background: linear-gradient(135deg, #1c2346, #0b0f26); }
.cam-wall div::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 34px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.cam-wall div::before { content: ""; position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #34f5b0; box-shadow: 0 0 8px #34f5b0; }
.cam-wall div:nth-child(3n+2) { background: linear-gradient(160deg, #23304f, #10142c 60%, #2a1f3f); }
.cam-wall div:nth-child(4n) { background: linear-gradient(200deg, #1d3a3f, #0b1424); }
.cam-wall div.rec::before { background: #ffc65c; box-shadow: 0 0 8px #ffc65c; animation: pulse 1.2s infinite; }
.scan { position: relative; overflow: hidden; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(to bottom, transparent, rgba(127, 216, 255, .12), transparent); animation: scan 4s linear infinite; }
@keyframes scan { to { top: 100%; } }
.term { font: .82rem/1.7 var(--mono); color: #b8f5dc; }
.term .c { color: #6f78a8; }
.term .k { color: #7fd8ff; }
.chatline { display: flex; margin: 8px 0; }
.chatline span { max-width: 78%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .07); font-size: .84rem; }
.chatline.me { justify-content: flex-end; }
.chatline.me span { border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, #1d4ed8, #6d28d9); color: #fff; }
.chatline.bot span { background: rgba(45, 247, 180, .12); border: 1px solid rgba(45, 247, 180, .3); }

/* timeline / roadmap */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.roadmap::before { content: ""; position: absolute; left: 18px; right: 4%; top: 31px; height: 2px; background: linear-gradient(90deg, #34f5b0, #38d6ff, #8b7cf6, #ffc65c); opacity: .65; }
.rm-step { position: relative; padding-top: 72px; }
.rm-step .node { position: absolute; top: 13px; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid currentColor; box-shadow: 0 0 24px -2px currentColor; font: 800 .85rem var(--font-display); }
.rm-step.s0 { color: #34f5b0; } .rm-step.s1 { color: #38d6ff; } .rm-step.s2 { color: #a99bff; } .rm-step.s3 { color: #ffc65c; }
.paper .rm-step.s0 { color: #047857; } .paper .rm-step.s1 { color: #0369a1; } .paper .rm-step.s2 { color: #6d28d9; } .paper .rm-step.s3 { color: #a14c06; }
.rm-step .when { font: 800 .8rem var(--font); letter-spacing: .14em; text-transform: uppercase; }
.rm-step h3 { color: var(--text); margin: 6px 0 8px; font-size: 1.5rem; }
.rm-step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .roadmap { grid-template-columns: 1fr; gap: 6px; }
  .roadmap::before { left: 18px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(#34f5b0, #38d6ff, #8b7cf6, #ffc65c); }
  .rm-step { padding: 10px 0 18px 62px; }
  .rm-step .node { top: 8px; }
}
.phase-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.phase-btns button { font: 650 .85rem var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #dfe3ff; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.phase-btns button i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.phase-btns button[aria-pressed="true"] { background: rgba(127, 216, 255, .16); border-color: rgba(127, 216, 255, .5); color: #fff; }
.month-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 40px; }
.month-strip div { padding: 12px 10px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.month-strip div b { display: block; color: var(--text); font-size: .95rem; }
.month-strip div.hit { border-color: currentColor; box-shadow: 0 0 0 1px currentColor inset; }
.month-strip .m1 { color: #38d6ff; } .month-strip .m2 { color: #a99bff; } .month-strip .m3 { color: #ffc65c; } .month-strip .m0 { color: #34f5b0; }
.paper .month-strip .m1 { color: #0369a1; } .paper .month-strip .m2 { color: #6d28d9; } .paper .month-strip .m3 { color: #a14c06; } .paper .month-strip .m0 { color: #047857; }
@media (max-width: 760px) { .month-strip { grid-template-columns: repeat(4, 1fr); } }

/* country picker */
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.country {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; color: var(--text);
  background: var(--glass); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.country:hover, .country:focus-within { transform: translateY(-4px); border-color: rgba(52, 245, 176, .45); box-shadow: 0 0 0 1px rgba(52, 245, 176, .2), 0 20px 40px -20px rgba(52, 245, 176, .5); }
.country .flag { width: 46px; height: 32px; border-radius: 6px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.country .flag svg { width: 100%; height: 100%; display: block; }
.country b { display: block; font-size: 1.04rem; }
.country span { color: var(--muted); font-size: .8rem; }
.country .langs { margin-left: auto; display: flex; gap: 6px; }
.country .langs a { font: 700 .76rem var(--font); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); text-decoration: none; }
.country .langs a:hover { background: rgba(255, 255, 255, .1); color: var(--text); border-color: rgba(52, 245, 176, .5); }
.flag-inline { display: inline-block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; vertical-align: -3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.flag-inline svg { width: 100%; height: 100%; display: block; }
.region-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.region-chips span { font-size: .78rem; padding: 4px 9px; border-radius: 8px; background: var(--glass); border: 1px solid var(--line); color: var(--text-2); }

/* banner */
.banner {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding: 9px 20px; text-align: center;
  background: linear-gradient(90deg, rgba(52, 245, 176, .16), rgba(56, 214, 255, .16), rgba(139, 124, 246, .18), rgba(255, 198, 92, .16)), #05060f; border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #e9ecff; font-size: .86rem;
}
.banner a { color: #fff; font-weight: 700; }
.banner .seg { display: inline-flex; align-items: center; gap: 6px; }
.banner .seg i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--glass); border: 1px solid var(--line); padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plans-group { margin: 44px 0 16px; font-size: 1.15rem; }
.plans.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .plans.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans.three { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan .price { font: 800 2.7rem var(--font-display); letter-spacing: -.04em; margin: 10px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .checks { margin: 18px 0 24px; font-size: .95rem; }
.plan .btn { margin-top: auto; }
.plan.pop { border-color: rgba(139, 124, 246, .55); box-shadow: var(--shadow), 0 0 0 1px rgba(139, 124, 246, .35), 0 30px 80px -30px rgba(139, 124, 246, .6); transform: translateY(-10px); }
.plan.black { background: linear-gradient(160deg, #1b1d36, #06070f); color: #eef0ff; --text: #eef0ff; --text-2: #c9cdea; --muted: #9aa1c6; --line: rgba(255,255,255,.12); }
.plan.black .checks li .icon { color: #ffd84d; }
.plan .ribbon { position: absolute; top: 18px; right: 18px; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 650; margin-bottom: 7px; color: var(--text-2); }
.field label .req { color: var(--k-red); }
.field input, .field textarea, .field select {
  width: 100%; font: 1rem var(--font); color: var(--text); background: var(--glass-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 214, 255, .18); }
.field textarea { min-height: 150px; resize: vertical; }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: var(--k-red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: rgba(52, 245, 176, .1); color: #34f5b0; border: 1px solid rgba(52, 245, 176, .3); }
.form-msg.err { display: block; background: rgba(255, 92, 122, .1); color: #ff8aa0; border: 1px solid rgba(255, 92, 122, .3); }
.cf-turnstile { min-height: 65px; }
.contact-items { display: grid; gap: 22px; }
.contact-items > div { display: flex; gap: 14px; }
.contact-items .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.contact-items b { display: block; }
.contact-items a { text-decoration: none; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; padding: 70px 56px; background: #070818; border: 1px solid rgba(255, 255, 255, .1); color: #eef0ff; }
.cta-band .aurora { opacity: .55; inset: -40%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: url("img/bg-circuit.svg") right -100px center / 700px auto no-repeat; opacity: .35; }
.cta-band > :not(.aurora) { position: relative; z-index: 2; }
.cta-band h2 { max-width: 780px; }
.cta-band p { color: #c9cdea; max-width: 640px; }
@media (max-width: 620px) { .cta-band { padding: 46px 24px; border-radius: 26px; } }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* logos strip */
.logo-chip { background: #fff; border-radius: 14px; padding: 10px 16px; height: 60px; display: flex; align-items: center; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5); flex: none; }
.logo-chip img { height: 38px; width: auto; }

/* footer */
.foot { background: #04050d; border-top: 1px solid rgba(255, 255, 255, .08); padding: 80px 0 30px; font-size: .92rem; color: #eef0ff; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("img/bg-map.svg") center 30% / 1400px auto no-repeat; opacity: .28; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot h4 { font: 700 .76rem var(--font); letter-spacing: .18em; text-transform: uppercase; color: #8e95bd; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { color: #c9cdea; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8e95bd; }
.foot .legal a { color: #8e95bd; }
.foot p { color: #9aa1c6; }
.foot .wordmark { font: 900 clamp(4rem, 15vw, 13rem) var(--font-display); letter-spacing: -.06em; line-height: .8; margin: 50px 0 -30px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .parallax { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes parallax { from { transform: translateY(50px); } to { transform: translateY(-50px); } }
  .scale-in { animation: scalein linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  @keyframes scalein { from { transform: scale(.94); opacity: .5; } to { transform: none; opacity: 1; } }
}

/* 404 */
.nf { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.nf .code { font: 900 clamp(7rem, 22vw, 14rem) var(--font-display); letter-spacing: -.07em; line-height: .9; }

/* legal pages */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 1.5rem; margin-top: 2em; }
.legal-doc p, .legal-doc li { color: var(--text-2); }
.toc { display: grid; gap: 6px; font-size: .92rem; }
.toc a { text-decoration: none; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .ui-chart i { transform: none; }
}
@media print { .top, .foot, .aurora, .gridfloor, canvas { display: none !important; } body { background: #fff; color: #000; } }

/* spec table (country facts) */
.spec-card { padding: 6px 28px; }
.feature-grid-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-grid-row:last-child { border-bottom: 0; }
.feature-grid-row .badge { flex: none; margin-top: 2px; }


/* compact list for editions in development */
.lab { margin-top: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 216, 77, .05), rgba(139, 124, 246, .06)); overflow: hidden; }
.lab-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.lab-head h3 { margin: 0; font-size: 1.05rem; }
.lab-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.lab-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: background .2s; }
.lab-row:nth-child(odd) { border-right: 1px solid var(--line); }
.lab-row:hover { background: rgba(255, 255, 255, .05); }
.lab-row .li { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--glass-2); color: var(--accent); }
.lab-row b { display: block; font-size: .98rem; }
.lab-row span.s { color: var(--muted); font-size: .84rem; }
@media (max-width: 760px) { .lab-list { grid-template-columns: 1fr; } .lab-row:nth-child(odd) { border-right: 0; } .lab-row { grid-template-columns: 38px 1fr; } .lab-row .badge { grid-column: 2; justify-self: start; } }
.kt-home h1 { font-size: clamp(2.4rem, 4.7vw, 4.3rem) !important; }
.paper.bg-map::before { opacity: .4; }
.prose .kicker + h2 { margin-top: 0; }

@media (max-width: 560px) { .feature-grid-row { flex-direction: column; gap: 10px; } .card { padding: 22px; } .spec-card { padding: 4px 20px; } }

.legal-doc h1 { font-size: clamp(2rem, 4vw, 3rem); }

