/* SecureOS public site. Colour tokens, buttons, fields and cards come from the console theme (/assets/css/app.css);
   this file only adds the page layouts. Mobile first: the base rules are the phone layout. */
:root { --pub-max: 1180px; --pub-pad: clamp(16px, 4vw, 32px); --header-h: 68px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body.pub { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
body.pub main { flex: 1 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrapx { width: 100%; max-width: var(--pub-max); margin: 0 auto; padding: 0 var(--pub-pad); }

/* ── header ─────────────────────────────────────────────────────────── */
.pub-header { position: sticky; top: 0; z-index: 50; background: var(--topbar); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: env(safe-area-inset-top); }
.pub-header .bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.pub-brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; flex: none; }
.pub-brand:hover { text-decoration: none; }
.pub-brand img { width: 44px; height: 44px; }
.pub-brand b { display: block; font-size: 17px; letter-spacing: .2px; line-height: 1.1; }
.pub-brand .sub { display: block; color: var(--muted); font-size: 11.5px; }
.pub-nav { display: none; margin-left: 18px; gap: 2px; }
.pub-nav a { color: var(--muted); font-weight: 550; padding: 8px 12px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.pub-nav a:hover { color: var(--text); background: rgba(59, 130, 246, .08); text-decoration: none; }
.pub-nav a[aria-current="page"] { color: var(--nav-active); background: rgba(59, 130, 246, .16); }
.pub-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pub-actions .btn { white-space: nowrap; }
.pub-actions .hide-sm { display: none; }
.pub-burger { display: inline-flex; }
.pub-drawer { display: none; border-top: 1px solid var(--border); padding: 10px var(--pub-pad) 16px; }
.pub-drawer.open { display: grid; gap: 4px; }
.pub-drawer a.item { color: var(--text); padding: 12px 10px; border-radius: 10px; font-weight: 550; text-decoration: none; }
.pub-drawer a.item:hover, .pub-drawer a.item[aria-current="page"] { background: rgba(59, 130, 246, .12); }
.pub-drawer .row { display: flex; gap: 10px; padding-top: 10px; }
.pub-drawer .row .btn { flex: 1; }
@media (min-width: 1120px) {
  .pub-nav { display: flex; }
  .pub-burger, .pub-drawer, .pub-drawer.open { display: none; }
  .pub-actions .hide-sm { display: inline-flex; }
}

/* ── sections and type ──────────────────────────────────────────────── */
.section { padding: clamp(44px, 8vw, 88px) 0; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-block: 1px solid var(--border); }
.eyebrow { color: var(--accent2); font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 10px; }
.h1 { font-size: clamp(30px, 6.4vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 750; }
.h2 { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; font-weight: 720; }
.h3 { font-size: 17px; margin: 0 0 6px; font-weight: 650; }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; max-width: 62ch; margin: 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.page-hero { padding: clamp(40px, 7vw, 72px) 0 clamp(22px, 4vw, 36px); border-bottom: 1px solid var(--border);
  background: radial-gradient(900px 320px at 80% -10%, rgba(59, 130, 246, .16), transparent 70%), var(--bg); }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 clamp(40px, 7vw, 80px);
  background: radial-gradient(1000px 520px at 85% -10%, rgba(59, 130, 246, .22), transparent 65%),
    radial-gradient(700px 420px at -10% 60%, rgba(139, 92, 246, .14), transparent 65%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero .wrapx { position: relative; display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta .btn { padding: 12px 22px; font-size: 15px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--ok); }
.hero-visual { display: none; }
.status-card { background: var(--auth-bg); border: 1px solid var(--border2); border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px); max-width: 420px; margin-inline: auto; }
.status-card .brandline { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.status-card .brandline img { width: 72px; height: 72px; filter: drop-shadow(0 0 18px rgba(56, 150, 255, .5)); }
.status-card .brandline b { font-size: 19px; display: block; }
.status-card .brandline span { color: var(--muted); font-size: 12.5px; }
.status-card .row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--row-line); font-size: 13.5px; }
.status-card .row .k { color: var(--muted); flex: 1; }
.status-card .row .v { font-family: var(--mono); font-size: 12.5px; color: var(--text); }
.status-card .row svg { color: var(--ok); flex: none; }
@media (min-width: 980px) { .hero .wrapx { grid-template-columns: 1.15fr .85fr; } .hero-visual { display: block; } }

/* ── cards and grids ────────────────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feat { background: linear-gradient(180deg, var(--card), var(--card-end)); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: var(--accent); transform: translateY(-2px); }
.feat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(59, 130, 246, .14); color: var(--accent2); }
.feat .ico svg { width: 22px; height: 22px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.feat ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.feat .tag { display: inline-block; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--violet-text); background: rgba(139, 92, 246, .14); padding: 2px 9px; border-radius: 99px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { text-align: center; padding: 22px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.stat b { display: block; font-size: clamp(24px, 4.4vw, 34px); font-weight: 750; color: var(--accent2); letter-spacing: -.01em; }
.stat span { color: var(--muted); font-size: 13px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* architecture flow */
.flow { display: grid; gap: 12px; }
.flow .node { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius); padding: 18px; }
.flow .node b { display: block; font-size: 16px; margin-bottom: 4px; }
.flow .node span { color: var(--muted); font-size: 13.5px; }
.flow .node.hl { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .12); }
.flow .arrow { display: grid; place-items: center; color: var(--dim); font-size: 12px; gap: 2px; }
.flow .arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .flow .arrow svg { transform: none; }
  .flow .arrow { align-content: center; }
}

/* steps */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 20px 20px 20px 70px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-band { border: 1px solid var(--border2); border-radius: 22px; padding: clamp(26px, 5vw, 48px); text-align: center;
  background: radial-gradient(600px 200px at 50% 0%, rgba(59, 130, 246, .22), transparent 70%), var(--card); }
.cta-band .hero-cta { justify-content: center; }

/* ── news ───────────────────────────────────────────────────────────── */
.tabs-pub { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs-pub button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 13.5px; }
.tabs-pub button:hover { color: var(--text); border-color: var(--accent); }
.tabs-pub button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tabs-pub button:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.news-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.news-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.news-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--card2), var(--bg2)); display: grid; place-items: center; color: var(--dim); overflow: hidden; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .cover svg { width: 40px; height: 40px; }
.news-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }
.news-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pill.sev-info { color: var(--info-text); background: rgba(59, 130, 246, .14); }
.pill.sev-success { color: var(--ok); background: rgba(34, 197, 94, .14); }
.pill.sev-warning { color: var(--warn-text); background: rgba(245, 158, 11, .16); }
.pill.sev-critical { color: var(--danger-text); background: rgba(239, 68, 68, .16); }
.pill.pin { color: var(--violet-text); background: rgba(139, 92, 246, .16); }
.article { max-width: 780px; margin-inline: auto; }
.article h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; margin: 10px 0 14px; letter-spacing: -.015em; }
.article .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.article .cover-lg { margin: 22px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.article .cover-lg img { width: 100%; display: block; }
.article .prose p { font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; white-space: pre-line; overflow-wrap: anywhere; }
.media-grid { display: grid; gap: 14px; margin-top: 26px; }
.media-grid img, .media-grid video { width: 100%; border-radius: 14px; border: 1px solid var(--border); background: #000; display: block; }
.media-grid figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
.attach { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--card);
  color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.attach:hover { border-color: var(--accent); text-decoration: none; }
.attach svg { color: var(--accent2); flex: none; }
.attach small { color: var(--dim); margin-left: auto; white-space: nowrap; }

/* ── applications ───────────────────────────────────────────────────── */
.apps-layout { display: grid; gap: 22px; }
.cat-menu { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.cat-menu button { all: unset; cursor: pointer; flex: none; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.cat-menu button:hover { color: var(--text); border-color: var(--accent); }
.cat-menu button[aria-pressed="true"] { background: rgba(59, 130, 246, .16); border-color: var(--accent); color: var(--nav-active); }
.cat-menu button:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.cat-menu .n { margin-left: 8px; font-size: 11.5px; color: var(--dim); }
.app-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; }
.app-ico { width: 52px; height: 52px; border-radius: 13px; flex: none; background: var(--card2); border: 1px solid var(--border); display: grid; place-items: center;
  font-weight: 750; font-size: 20px; color: var(--accent2); overflow: hidden; }
.app-ico img { width: 100%; height: 100%; object-fit: contain; }
.app-card h3 { margin: 0; font-size: 15.5px; }
.app-card p { margin: 4px 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.app-card .chips { margin-top: 2px; }
.app-card .vendor { color: var(--dim); font-size: 12px; }
.cat-title { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.cat-title h2 { margin: 0; font-size: 19px; }
.cat-title span { color: var(--dim); font-size: 13px; }
.searchbox { position: relative; max-width: 420px; }
.searchbox svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.searchbox input { padding-left: 38px; width: 100%; }
@media (min-width: 980px) {
  .apps-layout { grid-template-columns: 250px 1fr; align-items: start; }
  .cat-menu { flex-direction: column; overflow: visible; position: sticky; top: calc(var(--header-h) + 16px); }
  .cat-menu button { border-radius: 10px; display: flex; justify-content: space-between; }
}

/* ── forms ──────────────────────────────────────────────────────────── */
.form-card { max-width: 640px; margin-inline: auto; background: var(--card); border: 1px solid var(--border2); border-radius: 20px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); }
.form-card.narrow { max-width: 520px; }
.fgrid-pub { display: grid; gap: 14px; }
@media (min-width: 640px) { .fgrid-pub.two { grid-template-columns: 1fr 1fr; } .fgrid-pub .wide { grid-column: 1 / -1; } }
.form-card input, .form-card textarea, .form-card select { width: 100%; font-size: 16px; min-height: 44px; }
.form-card textarea { min-height: 140px; resize: vertical; }
.field .req { color: var(--bad); margin-left: 3px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.check input { margin-top: 3px; flex: none; min-height: 0; width: 18px; height: 18px; }
.meter { height: 6px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background .2s; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border2); background: var(--card2); font-size: 14px; line-height: 1.55; }
.notice svg { flex: none; margin-top: 2px; }
.notice.ok { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); }
.notice.ok svg { color: var(--ok); }
.notice.err { border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .08); color: var(--danger-text); }
.notice.warn { border-color: rgba(245, 158, 11, .4); background: rgba(245, 158, 11, .08); }
.notice.warn svg { color: var(--warn); }
.cf-turnstile { min-height: 65px; }
.success-panel { text-align: center; display: grid; gap: 14px; justify-items: center; }
.success-panel .big { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, .14); color: var(--ok); }
.success-panel .big svg { width: 32px; height: 32px; }
.contact-cards { display: grid; gap: 14px; margin-bottom: 26px; }
.contact-cards .feat { display: flex; gap: 14px; align-items: flex-start; }
.contact-cards .feat .ico { margin: 0; flex: none; }
.contact-cards a { overflow-wrap: anywhere; }
.contact-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 340px 1fr; align-items: start; } .contact-cards { margin-bottom: 0; } }

/* legal text */
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; font-size: 15px; }

/* ── footer ─────────────────────────────────────────────────────────── */
.pub-footer { border-top: 1px solid var(--border); background: var(--bg2); padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: auto; }
.foot-grid { display: grid; gap: 28px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); }
.foot-grid a { display: block; color: var(--muted); padding: 5px 0; text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; }
.foot-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; color: var(--dim); font-size: 12.5px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ── states ─────────────────────────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; min-height: 120px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--muted); padding: 40px 12px; border: 1px dashed var(--border2); border-radius: var(--radius); }
.loadmore { display: flex; justify-content: center; margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .skeleton { animation: none; } .feat, .news-card { transition: none; } }
.theme-toggle.compact { margin: 0; }
.lang-select { width: auto; min-width: 0; height: 38px; padding-top: 0; padding-bottom: 0; font-weight: 600; cursor: pointer; }

input[type=tel], input[type=url] { background: var(--bg2); border: 1px solid var(--border2); color: var(--text); border-radius: 9px;
  padding: 8px 12px; font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; min-width: 0; }
input[type=tel]:focus, input[type=url]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); }
.fgrid-pub { align-items: start; }
.field > label { display: block; }
.grid.products { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid.products { grid-template-columns: repeat(2, 1fr); } .grid.products .span2 { grid-column: span 2; } }
@media (min-width: 1060px) { .grid.products { grid-template-columns: repeat(3, 1fr); } }
/* Single-column grids must not grow to their content's max-content width (that made phones scroll sideways). */
.steps, .media-grid, .contact-cards { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 979px) { .hero .wrapx, .apps-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) { .contact-layout, .flow { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .fgrid-pub, .fgrid-pub.two { grid-template-columns: minmax(0, 1fr); } }
.hero .lead, .page-hero .lead, .feat p, .feat li { overflow-wrap: anywhere; }

/* ── icon tiles: larger, gradient, with a soft glow; six tones cycle through the cards ── */
.feat .ico { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px; color: #fff; position: relative;
  background: linear-gradient(135deg, var(--tone-a, #3B82F6), var(--tone-b, #6366F1));
  box-shadow: 0 10px 24px -8px var(--tone-glow, rgba(59, 130, 246, .65)), inset 0 1px 0 rgba(255, 255, 255, .28); }
.feat .ico svg { width: 26px; height: 26px; stroke-width: 1.9; }
.feat:nth-child(6n+1) .ico { --tone-a: #3B82F6; --tone-b: #6366F1; --tone-glow: rgba(59, 130, 246, .6); }
.feat:nth-child(6n+2) .ico { --tone-a: #8B5CF6; --tone-b: #D946EF; --tone-glow: rgba(139, 92, 246, .6); }
.feat:nth-child(6n+3) .ico { --tone-a: #06B6D4; --tone-b: #3B82F6; --tone-glow: rgba(6, 182, 212, .55); }
.feat:nth-child(6n+4) .ico { --tone-a: #22C55E; --tone-b: #14B8A6; --tone-glow: rgba(34, 197, 94, .5); }
.feat:nth-child(6n+5) .ico { --tone-a: #F59E0B; --tone-b: #F97316; --tone-glow: rgba(245, 158, 11, .5); }
.feat:nth-child(6n) .ico { --tone-a: #EC4899; --tone-b: #8B5CF6; --tone-glow: rgba(236, 72, 153, .5); }
.feat:hover { box-shadow: 0 18px 40px -22px rgba(59, 130, 246, .55); }
.contact-cards .feat .ico { width: 46px; height: 46px; border-radius: 14px; }
.contact-cards .feat .ico svg { width: 22px; height: 22px; }
.hero-points svg { color: var(--ok); }
.status-card .row svg { width: 18px; height: 18px; }

/* ── slider ─────────────────────────────────────────────────────────── */
.slider { position: relative; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  border-radius: 24px; border: 1px solid var(--border2); background: var(--card); outline: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { box-shadow: 0 0 0 3px rgba(59, 130, 246, .35); }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.slider-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.slider-btn { all: unset; box-sizing: border-box; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border2); background: var(--card); color: var(--text); transition: border-color .15s, background .15s; }
.slider-btn:hover { border-color: var(--accent); background: rgba(59, 130, 246, .12); }
.slider-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.slider-btn.prev svg { transform: rotate(180deg); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots .dot { all: unset; box-sizing: border-box; cursor: pointer; width: 10px; height: 10px; border-radius: 99px; background: var(--border2); transition: width .25s, background .25s; }
.slider-dots .dot:hover { background: var(--dim); }
.slider-dots .dot.on { width: 30px; background: var(--accent); }
.slider-dots .dot:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.showcase { --tone-a: #3B82F6; --tone-b: #6366F1; display: grid; gap: 22px; align-items: center; padding: clamp(22px, 4vw, 48px);
  background: radial-gradient(520px 260px at 0% 0%, color-mix(in srgb, var(--tone-a) 22%, transparent), transparent 70%), var(--card); min-height: 100%; }
.showcase.tone-violet { --tone-a: #8B5CF6; --tone-b: #D946EF; }
.showcase.tone-cyan { --tone-a: #06B6D4; --tone-b: #3B82F6; }
.showcase.tone-green { --tone-a: #22C55E; --tone-b: #14B8A6; }
.showcase.tone-amber { --tone-a: #F59E0B; --tone-b: #F97316; }
.showcase-art { position: relative; height: 150px; display: grid; place-items: center; }
.showcase-art .orb { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; color: #fff; position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b)); box-shadow: 0 24px 50px -16px var(--tone-a), inset 0 2px 0 rgba(255, 255, 255, .3); }
.showcase-art .orb svg { width: 52px; height: 52px; stroke-width: 1.7; }
.showcase-art .ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tone-a) 45%, transparent); }
.showcase-art .r1 { width: 150px; height: 150px; }
.showcase-art .r2 { width: 210px; height: 210px; opacity: .5; }
.showcase .tag { display: inline-block; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--violet-text); background: rgba(139, 92, 246, .14); padding: 2px 9px; border-radius: 99px; }
.showcase .h2 { margin-bottom: 8px; }
.ticks { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ticks svg { color: var(--ok); margin-top: 2px; flex: none; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: 300px 1fr; gap: 48px; }
  .showcase-art { height: 260px; }
  .showcase-art .orb { width: 128px; height: 128px; border-radius: 36px; }
  .showcase-art .orb svg { width: 64px; height: 64px; }
  .showcase-art .r1 { width: 190px; height: 190px; }
  .showcase-art .r2 { width: 262px; height: 262px; }
}
@media (prefers-reduced-motion: no-preference) { .showcase-art .ring { animation: pulse 5s ease-in-out infinite; } .showcase-art .r2 { animation-delay: -2.5s; } }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .35; } }
@media (max-width: 420px) { .pub-brand .sub { display: none; } }

/* ════════════════════════════════════════════════════════════════════════
   Visual upgrade: glow, gradient type, bento grid, orbit hero, topology, ribbon, numbered tabs, reveal-on-scroll.
   ════════════════════════════════════════════════════════════════════════ */
body.pub { background: radial-gradient(900px 500px at 85% -5%, rgba(99, 102, 241, .10), transparent 60%), var(--bg); background-attachment: fixed; }
.pub-header { box-shadow: 0 14px 34px -26px rgba(0, 0, 0, .8); }
.pub-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .55), rgba(167, 139, 250, .55), transparent); opacity: .7; pointer-events: none; }
.pub-header { overflow: visible; }

/* type */
.h1 { font-weight: 800; letter-spacing: -.035em; }
.h2 { font-weight: 780; letter-spacing: -.025em; }
.grad { background-image: linear-gradient(95deg, #60A5FA 0%, #A78BFA 52%, #F472B6 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: sheen 9s linear infinite; }
[data-theme="light"] .grad { background-image: linear-gradient(95deg, #2563EB 0%, #7C3AED 52%, #DB2777 100%); }
@keyframes sheen { to { background-position: 200% center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(96, 165, 250, .32);
  background: rgba(59, 130, 246, .10); color: var(--accent2); font-size: 12px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; margin: 0 0 16px; }
.pill-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.sec-head.center .eyebrow, .center-eyebrow { margin-inline: auto; }
.center-eyebrow { display: flex; width: fit-content; margin-bottom: 26px; }

/* buttons */
body.pub .btn { transition: transform .18s, box-shadow .18s, border-color .18s, background .18s, filter .18s; }
body.pub .btn.primary { background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%); border-color: transparent; color: #fff;
  box-shadow: 0 12px 28px -12px rgba(99, 102, 241, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
body.pub .btn.primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(99, 102, 241, .95), inset 0 1px 0 rgba(255, 255, 255, .3); }
body.pub .btn:not(.primary):not(.ghost):hover { transform: translateY(-2px); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.grid > .feat, .grid > .news-card, .bento > .bx, .glance > .gl { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .grad { animation: none; } }

/* pointer spotlight */
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, .16), transparent 62%); }
.spot:hover::after { opacity: 1; }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(90deg, transparent, var(--tone-a, #3B82F6), var(--tone-b, #6366F1), transparent); }
.feat:hover::before { opacity: 1; }
.feat { position: relative; }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { display: block; padding: clamp(46px, 8vw, 104px) 0 clamp(54px, 8vw, 96px); }
.hero .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero .orb.o1 { width: 460px; height: 460px; right: -120px; top: -140px; background: radial-gradient(circle, #6366F1, transparent 68%); animation: drift 16s ease-in-out infinite alternate; }
.hero .orb.o2 { width: 380px; height: 380px; left: -140px; bottom: -160px; background: radial-gradient(circle, #06B6D4, transparent 68%); animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }
.hero-h1 { font-size: clamp(38px, 7.4vw, 74px); line-height: 1.04; }
.hero-copy .lead { font-size: clamp(16px, 2.2vw, 19.5px); }
.hero-chips-m { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.hero-chips-m .ochip { position: static; animation: none; width: auto; }
.hero-visual { display: none; }
.orbit { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(148, 163, 184, .32); }
.orbit .r1 { width: 52%; height: 52%; animation: spin 40s linear infinite; }
.orbit .r2 { width: 76%; height: 76%; border-style: solid; border-color: rgba(96, 165, 250, .22); animation: spin 60s linear infinite reverse; }
.orbit .r3 { width: 100%; height: 100%; animation: spin 90s linear infinite; }
.orbit .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #60A5FA; box-shadow: 0 0 16px 3px rgba(96, 165, 250, .85); }
.orbit .r2::before { background: #A78BFA; box-shadow: 0 0 16px 3px rgba(167, 139, 250, .85); }
@keyframes spin { to { transform: rotate(360deg); } }
.core-shield { position: relative; width: 36%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(59, 130, 246, .35), rgba(99, 102, 241, .08) 70%, transparent); box-shadow: 0 0 80px 10px rgba(59, 130, 246, .35); animation: breathe 4.5s ease-in-out infinite; }
.core-shield img { width: 78%; height: auto; filter: drop-shadow(0 0 22px rgba(56, 150, 255, .75)); }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: 0 0 110px 20px rgba(99, 102, 241, .42); } }
.ochip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 16px; width: max-content; max-width: 62%;
  background: var(--auth-bg); border: 1px solid var(--border2); backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.ochip .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(135deg, #3B82F6, #6366F1); }
.ochip b { display: block; font-size: 13.5px; line-height: 1.2; }
.ochip small { color: var(--muted); font-size: 11.5px; }
.ochip.c1 { top: 4%; left: -2%; } .ochip.c2 { top: 14%; right: -6%; animation-delay: -1.5s; }
.ochip.c3 { bottom: 14%; left: -6%; animation-delay: -3s; } .ochip.c4 { bottom: 3%; right: -2%; animation-delay: -4.5s; }
.ochip.c2 .ico { background: linear-gradient(135deg, #8B5CF6, #D946EF); } .ochip.c3 .ico { background: linear-gradient(135deg, #06B6D4, #3B82F6); } .ochip.c4 .ico { background: linear-gradient(135deg, #22C55E, #14B8A6); }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (min-width: 980px) { .hero-visual { display: block; } .hero-chips-m { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero .orb, .orbit .ring, .core-shield, .ochip { animation: none; } }

/* ribbon */
.ribbon { overflow: hidden; border-block: 1px solid var(--border); background: linear-gradient(90deg, rgba(59, 130, 246, .10), rgba(139, 92, 246, .10), rgba(6, 182, 212, .10)); padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-track { display: flex; width: max-content; gap: 44px; animation: marquee 42s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.rb-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); font-weight: 600; font-size: 14px; }
.rb-item svg { color: var(--ok); }
@keyframes marquee { to { transform: translateX(calc(-50% - 22px)); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* at a glance */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.gl { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--card); transition: transform .2s, border-color .2s; }
.gl:hover { transform: translateY(-4px); border-color: var(--accent); }
.gl .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: linear-gradient(135deg, var(--tone-a, #3B82F6), var(--tone-b, #6366F1)); box-shadow: 0 10px 22px -10px var(--tone-a, #3B82F6); }
.gl:nth-child(2) .ico { --tone-a: #8B5CF6; --tone-b: #D946EF; } .gl:nth-child(3) .ico { --tone-a: #06B6D4; --tone-b: #3B82F6; }
.gl:nth-child(4) .ico { --tone-a: #22C55E; --tone-b: #14B8A6; } .gl:nth-child(5) .ico { --tone-a: #F59E0B; --tone-b: #F97316; } .gl:nth-child(6) .ico { --tone-a: #EC4899; --tone-b: #8B5CF6; }
.gl b { font-size: 14.5px; } .gl small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

/* numbered tabs (product family) */
.ntabs-bar { display: flex; align-items: center; gap: 14px; justify-content: space-between; border-bottom: 1px solid var(--border); }
.ntabs-list { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.ntabs-list::-webkit-scrollbar { display: none; }
.ntab { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; padding: 14px 16px; white-space: nowrap; color: var(--dim); font-size: 12.5px; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.ntab .n { font-family: var(--mono); font-size: 11px; opacity: .7; }
.ntab:hover { color: var(--text); }
.ntab.on { color: var(--text); border-bottom-color: var(--accent); }
.ntab.on .n { color: var(--accent2); opacity: 1; }
.ntab:focus-visible { outline: 2px solid var(--accent2); outline-offset: -2px; border-radius: 8px; }
.ntabs-nav { display: flex; align-items: center; gap: 8px; flex: none; }
.ntabs-count { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-right: 6px; }
.ntabs-btn { all: unset; box-sizing: border-box; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border2); border-radius: 10px; background: var(--card); color: var(--text); transition: background .2s, border-color .2s; }
.ntabs-btn:hover { border-color: var(--accent); background: rgba(59, 130, 246, .14); }
.ntabs-btn.next { background: var(--accent); border-color: var(--accent); color: #fff; }
.ntabs-btn.prev svg { transform: rotate(180deg); }
.ntabs-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
.ntabs-panel { margin-top: 18px; border: 1px solid var(--border2); border-radius: 26px; background: var(--card); overflow: hidden; }
.ntabs-panel.swap > * { animation: swapin .55s cubic-bezier(.2, .7, .2, 1); }
@keyframes swapin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.showcase { --tone-a: #8B5CF6; --tone-b: #D946EF; }
.showcase-art .orb-s { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; color: #fff; position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b)); box-shadow: 0 24px 50px -16px var(--tone-a), inset 0 2px 0 rgba(255, 255, 255, .3); }
.showcase-art .orb-s svg { width: 52px; height: 52px; stroke-width: 1.7; }
@media (min-width: 900px) { .showcase-art .orb-s { width: 128px; height: 128px; border-radius: 36px; } .showcase-art .orb-s svg { width: 64px; height: 64px; } }
@media (max-width: 640px) { .ntabs-bar { flex-direction: column; align-items: stretch; gap: 0; } .ntabs-nav { justify-content: flex-end; padding: 8px 0; order: -1; } }

/* ── topology ───────────────────────────────────────────────────────── */
.topo-stage { border: 1px solid var(--border2); border-radius: 28px; padding: clamp(10px, 3vw, 30px);
  background: radial-gradient(700px 320px at 50% 0%, rgba(99, 102, 241, .14), transparent 70%), linear-gradient(var(--card), var(--card-end)); }
.topo-stage::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; border-radius: inherit;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%); }
.topo-svg { position: relative; width: 100%; height: auto; display: block; }
.topo-v { display: block; max-width: 420px; margin-inline: auto; } .topo-h { display: none; }
@media (min-width: 760px) { .topo-v { display: none; } .topo-h { display: block; } }
.tp-stop-a { stop-color: #3B82F6; } .tp-stop-b { stop-color: #A78BFA; }
.tp-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 10; animation: tpdash 1.4s linear infinite; opacity: .95; }
@keyframes tpdash { to { stroke-dashoffset: -34; } }
.tp-dot { fill: #fff; filter: drop-shadow(0 0 7px #60A5FA) drop-shadow(0 0 14px #6366F1); }
.tp-pulse { fill: none; stroke: #60A5FA; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: tppulse 3.4s ease-out infinite; }
.tp-pulse.p2 { animation-delay: 1.7s; }
@keyframes tppulse { 0% { transform: scale(.82); opacity: .6; } 100% { transform: scale(1.28); opacity: 0; } }
.tp-box { fill: var(--card2); stroke: var(--border2); stroke-width: 1.5; }
.tp-node.tone-blue .tp-box { stroke: rgba(96, 165, 250, .7); } .tp-node.tone-green .tp-box { stroke: rgba(34, 197, 94, .55); }
.tp-node.tone-amber .tp-box { stroke: rgba(245, 158, 11, .55); } .tp-node.tone-violet .tp-box { stroke: rgba(167, 139, 250, .6); }
.tp-ico-bg { fill: rgba(59, 130, 246, .18); }
.tone-green .tp-ico-bg { fill: rgba(34, 197, 94, .18); } .tone-amber .tp-ico-bg { fill: rgba(245, 158, 11, .18); }
.tp-ico { color: #60A5FA; } .tone-green .tp-ico { color: #22C55E; } .tone-amber .tp-ico { color: #F59E0B; } .tone-violet .tp-ico { color: #A78BFA; }
.tp-ico path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tp-t { fill: var(--text); font: 700 17px Inter, "Segoe UI", system-ui, sans-serif; }
.tp-d { fill: var(--muted); font: 500 13.5px Inter, "Segoe UI", system-ui, sans-serif; }
.tsteps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; list-style: none; margin: 22px 0 0; padding: 0; }
.tstep { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); animation: tstep 15s infinite; }
.tstep.s2 { animation-delay: 3s; } .tstep.s3 { animation-delay: 6s; } .tstep.s4 { animation-delay: 9s; } .tstep.s5 { animation-delay: 12s; }
.tstep .tnum { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: 13px; color: #fff; background: linear-gradient(135deg, #3B82F6, #6366F1); }
.tstep b { display: block; font-size: 14.5px; margin-bottom: 2px; } .tstep p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
@keyframes tstep { 0%, 20% { border-color: var(--accent); box-shadow: 0 14px 34px -18px rgba(99, 102, 241, .9); transform: translateY(-4px); } 21%, 100% { border-color: var(--border); box-shadow: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tp-line, .tp-pulse, .tstep { animation: none; } .tp-pulse { opacity: .25; } }

/* ── bento ──────────────────────────────────────────────────────────── */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bento .bx.dark { grid-column: span 2; } }
.bx { border-radius: 24px; padding: 28px; border: 1px solid var(--border); background: linear-gradient(180deg, var(--card), var(--card-end)); transition: transform .25s, border-color .25s; }
.bx:hover { transform: translateY(-4px); border-color: var(--accent); }
.bx .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--tone-a, #3B82F6), var(--tone-b, #6366F1)); box-shadow: 0 12px 26px -10px var(--tone-a, #3B82F6); }
.bx .ico svg { width: 26px; height: 26px; }
.bx p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.bx:nth-child(3) .ico { --tone-a: #06B6D4; --tone-b: #3B82F6; } .bx:nth-child(4) .ico { --tone-a: #22C55E; --tone-b: #14B8A6; }
.bx:nth-child(5) .ico { --tone-a: #F59E0B; --tone-b: #F97316; } .bx:nth-child(6) .ico { --tone-a: #EC4899; --tone-b: #8B5CF6; }
.bx.dark { min-height: 250px; color: #fff; border-color: rgba(255, 255, 255, .14); display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(420px 220px at 88% 0%, rgba(167, 139, 250, .45), transparent 70%), linear-gradient(135deg, #0E1A45 0%, #1B1B58 60%, #2E2A7A 100%); }
.bx.dark.b { background: radial-gradient(420px 220px at 88% 0%, rgba(45, 212, 191, .4), transparent 70%), linear-gradient(135deg, #062C3B 0%, #0A3A63 60%, #1D3FA6 100%); }
.bx.dark .ico { background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: auto; }
.bx.dark .h3 { font-size: 22px; margin-top: 26px; } .bx.dark p { color: rgba(255, 255, 255, .8); font-size: 15px; }

/* features, news, apps: a little more shine */
.feat { border-radius: 22px; }
.feat .ico { box-shadow: 0 12px 26px -10px var(--tone-glow, rgba(59, 130, 246, .65)), inset 0 1px 0 rgba(255, 255, 255, .28); }
.feat:hover { box-shadow: 0 22px 46px -24px rgba(99, 102, 241, .65); }
.news-card:hover, .app-card:hover { box-shadow: 0 22px 46px -26px rgba(99, 102, 241, .6); border-color: var(--accent); }
.app-card { transition: transform .2s, box-shadow .2s, border-color .2s; } .app-card:hover { transform: translateY(-3px); }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.feat .ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.5; }
.feat .ticks svg { color: var(--ok); margin-top: 2px; flex: none; }
.apps-teaser { padding: clamp(24px, 4vw, 44px); }

/* inner page heroes: soft glows */
.page-hero { position: relative; overflow: hidden; }
.page-hero .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.page-hero .g1 { width: 380px; height: 380px; right: -80px; top: -160px; background: radial-gradient(circle, #6366F1, transparent 68%); }
.page-hero .g2 { width: 300px; height: 300px; left: 20%; bottom: -200px; background: radial-gradient(circle, #06B6D4, transparent 68%); }
.page-hero .wrapx { position: relative; }
.page-hero .h1 { font-size: clamp(32px, 6vw, 58px); }
.cta-band { position: relative; overflow: hidden; background: radial-gradient(520px 220px at 50% 0%, rgba(99, 102, 241, .38), transparent 70%), radial-gradient(420px 200px at 100% 100%, rgba(6, 182, 212, .22), transparent 70%), var(--card); }
.form-card { box-shadow: 0 30px 70px -34px rgba(99, 102, 241, .55), var(--shadow); }
.form-card.success-panel { position: relative; }

/* footer contact */
.pub-footer { background: linear-gradient(180deg, var(--bg2), var(--bg)); position: relative; }
.pub-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .6), rgba(167, 139, 250, .6), transparent); }
.foot-contacts { margin-top: 22px; }
.foot-contact { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); padding: 5px 0; text-decoration: none; overflow-wrap: anywhere; font-size: 14px; }
.foot-contact svg { color: var(--accent2); margin-top: 3px; flex: none; }
a.foot-contact:hover { color: var(--text); }

.hero-chips-m .ochip { max-width: none; width: auto; min-width: 0; }
.hero-chips-m .ochip b { font-size: 13px; } .hero-chips-m .ochip small { display: block; }
.showcase .btn { margin-top: 22px; }
.ntab { padding: 14px 18px; }

/* ── features and plans ─────────────────────────────────────────────── */
.plans { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 26px; border: 1px solid var(--border2);
  background: linear-gradient(180deg, var(--card), var(--card-end)); transition: transform .25s, border-color .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 26px 52px -28px rgba(99, 102, 241, .7); }
.plan.featured { border-color: transparent; background: linear-gradient(var(--card), var(--card-end)) padding-box, linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899) border-box; border: 1.5px solid transparent;
  box-shadow: 0 30px 60px -32px rgba(139, 92, 246, .75); }
.plan .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--violet-text); background: rgba(139, 92, 246, .14); padding: 3px 10px; border-radius: 99px; }
.plan-name { margin: 6px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.plan-desc { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; min-height: 3.4em; }
.plan .ticks { margin: 8px 0 18px; flex: 1; } .plan .ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14px; line-height: 1.45; }
.plan .ticks svg { color: var(--ok); margin-top: 2px; flex: none; }
.plan .btn { align-self: stretch; }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--border2); border-radius: 22px; background: var(--card); }
.matrix { width: 100%; min-width: 520px; border-collapse: collapse; }
.matrix th, .matrix td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--row-line); }
.matrix thead th { background: var(--th-bg); font-size: 14px; position: sticky; top: 0; }
.matrix thead th:first-child, .matrix tbody th { text-align: left; }
.matrix tbody th { font-weight: 500; } .matrix tbody th b { display: block; font-size: 14.5px; font-weight: 650; }
.matrix tbody th small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; font-weight: 400; }
.matrix tr.grp th { text-align: left; background: rgba(59, 130, 246, .08); color: var(--accent2); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.matrix td.yes svg { color: var(--ok); width: 20px; height: 20px; stroke-width: 2.4; } .matrix td.no { color: var(--dim); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }

/* tighter vertical rhythm */
.section { padding: clamp(28px, 4.2vw, 52px) 0; }
.sec-head { margin-bottom: clamp(16px, 2.6vw, 28px); }
.page-hero { padding: clamp(28px, 4.5vw, 48px) 0 clamp(16px, 2.6vw, 26px); }
.hero { padding: clamp(30px, 5vw, 64px) 0 clamp(32px, 5vw, 54px); }
.cta-band { padding: clamp(24px, 4vw, 40px); }
.glance { margin-top: 0; }
.center-eyebrow { margin-bottom: 18px; }
/* reserved heights: content that arrives later must not push the page around */
.grid.c3 > .skeleton { min-height: 330px; }
.ntabs-panel { min-height: 330px; }
@media (max-width: 899px) { .ntabs-panel { min-height: 560px; } }
.apps-teaser .muted { min-height: 1.5em; }
html { overflow-anchor: auto; }

.plan.mini { padding: 24px; } .plan.mini .plan-desc { min-height: 0; }
.plan .ticks { align-content: start; }
.matrix tbody th { text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--text); }
.matrix tbody th small { text-transform: none; letter-spacing: 0; }
.matrix tr.grp th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent2); }

/* ════════════════════════════════════════════════════════════════════════
   3D depth: tilt cards, isometric layer stack, page transitions
   ════════════════════════════════════════════════════════════════════════ */
.tilt { transform-style: preserve-3d; transform: perspective(1000px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; will-change: transform; }
.tilt:hover { --lift: -5px; box-shadow: 0 34px 60px -30px rgba(99, 102, 241, .75), 0 0 0 1px rgba(96, 165, 250, .25); }
.tilt.spot { overflow: visible; }
.tilt > .ico, .tilt > .tnum { transform: translateZ(28px); }
.tilt > .h3, .tilt > .plan-name, .tilt > h3, .tilt > b { transform: translateZ(30px); }
.tilt > p, .tilt > .ticks, .tilt > small, .tilt > div:not(.ico) { transform: translateZ(14px); }
.feat::before { left: 14px; right: 14px; }
.gl.tilt, .step.tilt, .tstep.tilt { transition-duration: .2s; }
@media (hover: none), (prefers-reduced-motion: reduce) { .tilt { transform: none !important; } .tilt > * { transform: none !important; } }

/* isometric stack */
.page-hero-split { display: grid; gap: 28px; align-items: center; }
.hero-art { display: none; }
@media (min-width: 980px) { .page-hero-split { grid-template-columns: 1.1fr .9fr; } .hero-art { display: block; } }
.iso { perspective: 1500px; display: grid; place-items: center; min-height: 380px; padding-top: 40px; }
.iso-stage { position: relative; width: 300px; height: 190px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg) translateZ(-30px); transition: transform .8s cubic-bezier(.2, .7, .2, 1); animation: isofloat 9s ease-in-out infinite; }
.iso:hover .iso-stage { transform: rotateX(52deg) rotateZ(-28deg) translateZ(-30px); }
@keyframes isofloat { 50% { translate: 0 -14px; } }
.iso-layer { position: absolute; inset: 0; border-radius: 22px; display: flex; align-items: center; gap: 14px; padding: 0 22px; color: #fff;
  --tone-a: #3B82F6; --tone-b: #6366F1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone-a) 62%, transparent), color-mix(in srgb, var(--tone-b) 42%, transparent));
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 34px 42px -22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 40px rgba(255, 255, 255, .06);
  transform: translateZ(calc(var(--i) * 44px)); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.iso:hover .iso-layer { transform: translateZ(calc(var(--i) * 70px)); }
.iso-layer .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); flex: none; }
.iso-layer b { font-size: 15px; letter-spacing: .2px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.iso-layer.tone-violet { --tone-a: #8B5CF6; --tone-b: #D946EF; } .iso-layer.tone-blue { --tone-a: #3B82F6; --tone-b: #6366F1; }
.iso-layer.tone-cyan { --tone-a: #06B6D4; --tone-b: #3B82F6; } .iso-layer.tone-green { --tone-a: #22C55E; --tone-b: #14B8A6; }
.iso-layer.tone-amber { --tone-a: #F59E0B; --tone-b: #F97316; }
.iso-shadow { position: absolute; inset: 14px -20px -40px 14px; border-radius: 40px; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); filter: blur(24px); transform: translateZ(-20px); }
@media (prefers-reduced-motion: reduce) { .iso-stage { animation: none; } .iso-layer, .iso-stage { transition: none; } }

/* page transitions: cross-document view transition (Chromium) and a depth entrance everywhere else */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, .6, 1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: perspective(1400px) rotateY(-7deg) translateX(-36px) scale(.97); } }
@keyframes vt-in { from { opacity: 0; transform: perspective(1400px) rotateY(7deg) translateX(36px) scale(.97); } }
main#main > div { animation: pagein .7s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 0; }
@keyframes pagein { from { opacity: 0; transform: perspective(1600px) rotateX(5deg) translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main#main > div, ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
@media (max-width: 979px) { .iso { min-height: 300px; } }

/* ── legal documents ───────────────────────────────────────────────── */
.legal-groups { display: grid; gap: 30px; }
.legal-group > .h3 { margin: 0 0 14px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); }
.legal-card { text-decoration: none; color: var(--text); display: block; } .legal-card:hover { text-decoration: none; }
.legal-card .read { color: var(--accent2); font-weight: 650; font-size: 13.5px; }
.legal-hero .wrapx { position: relative; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; } .crumbs a { color: var(--muted); }
.legal-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.legal-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 980px) { .legal-layout { grid-template-columns: 290px minmax(0, 1fr); } .legal-side { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow: auto; } }
.legal-toc { border: 1px solid var(--border2); border-radius: 16px; background: var(--card); padding: 4px 6px 10px; }
.legal-toc summary { cursor: pointer; padding: 12px 12px; font-weight: 700; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); list-style: none; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { margin: 0; padding: 0 6px 0 28px; display: grid; gap: 2px; font-size: 13.5px; }
.legal-toc li::marker { color: var(--dim); font-size: 12px; }
.legal-toc a { display: block; padding: 5px 8px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1.35; } .legal-toc a:hover { color: var(--text); background: rgba(59, 130, 246, .1); }
.legal-others { margin-top: 14px; display: grid; gap: 2px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; font-size: 13.5px; } .legal-others b { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.legal-others a { color: var(--muted); padding: 4px 0; } .legal-others a:hover { color: var(--text); }
.legal-body { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: clamp(20px, 4vw, 44px); min-width: 0; }
.legal-body h2 { font-size: clamp(18px, 2.4vw, 22px); margin: 34px 0 10px; padding-top: 6px; letter-spacing: -.01em; scroll-margin-top: calc(var(--header-h) + 14px); } .legal-body > h2:first-of-type, .legal-body > .notice + h2 { margin-top: 0; }
.legal-body h3 { font-size: 16px; margin: 22px 0 8px; color: var(--accent2); }
.legal-body p { margin: 0 0 14px; line-height: 1.8; color: var(--muted); font-size: 15.5px; white-space: pre-line; overflow-wrap: anywhere; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; color: var(--muted); line-height: 1.8; font-size: 15.5px; } .legal-body li { margin-bottom: 4px; overflow-wrap: anywhere; } .legal-body li::marker { color: var(--accent2); }
.legal-body strong { color: var(--text); }
.legal-body mark.missing { background: rgba(245, 158, 11, .2); color: var(--warn-text); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.legal-body .notice { margin-bottom: 20px; }
.legal-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); }
.consents { display: grid; gap: 10px; margin: 16px 0 4px; } .consents .check { margin: 0; } .consents .help { margin: 4px 0 0; }
.foot-grid a.all { color: var(--accent2); margin-top: 4px; }
@media print {
  .pub-header, .pub-footer, .legal-side, .legal-foot, .skip, .page-hero .glow, .legal-meta .btn, .ribbon { display: none !important; }
  body.pub { background: #fff !important; color: #000 !important; } .page-hero { background: none; border: 0; padding: 0; }
  .legal-body { border: 0; padding: 0; background: none; } .legal-body p, .legal-body li { color: #000; } .h1 { color: #000 !important; -webkit-text-fill-color: #000; }
  .legal-layout { display: block; } .rv { opacity: 1 !important; transform: none !important; }
}

/* ── distinct 3D hero scenes ──────────────────────────────────────── */
.scene { position: relative; min-height: 380px; display: grid; place-items: center; perspective: 1400px; }
.iso-shadow.flat { position: absolute; left: 50%; bottom: 24px; width: 260px; height: 46px; inset: auto; transform: translateX(-50%); }
/* cube */
.cube-wrap { width: 170px; height: 170px; transform-style: preserve-3d; animation: cubespin 22s linear infinite; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-22deg); }
.cube-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .35);
  background: linear-gradient(135deg, rgba(59, 130, 246, .5), rgba(139, 92, 246, .38));
  box-shadow: inset 0 0 50px rgba(255, 255, 255, .12), 0 0 40px rgba(99, 102, 241, .25); color: #fff; }
.cube-face .ico { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .18); } .cube-face svg { width: 32px; height: 32px; }
.f-front { transform: translateZ(85px); } .f-back { transform: rotateY(180deg) translateZ(85px); }
.f-right { transform: rotateY(90deg) translateZ(85px); } .f-left { transform: rotateY(-90deg) translateZ(85px); }
.f-top { transform: rotateX(90deg) translateZ(85px); } .f-bottom { transform: rotateX(-90deg) translateZ(85px); }
@keyframes cubespin { to { transform: rotateY(360deg); } }
.cubescene .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 2px solid rgba(96, 165, 250, .45); transform-style: preserve-3d; box-shadow: 0 0 24px rgba(96, 165, 250, .25); }
.cubescene .r1 { width: 320px; height: 320px; margin: -160px 0 0 -160px; transform: rotateX(72deg); animation: ringspin 14s linear infinite; }
.cubescene .r2 { width: 380px; height: 380px; margin: -190px 0 0 -190px; border-color: rgba(167, 139, 250, .4); transform: rotateX(72deg) rotateY(24deg); animation: ringspin 20s linear infinite reverse; }
@keyframes ringspin { to { rotate: z 360deg; } }
/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 92px); gap: 18px; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-34deg); animation: tilesway 10s ease-in-out infinite; }
.tile { width: 92px; height: 92px; border-radius: 22px; display: grid; place-items: center; color: #fff; transform: translateZ(var(--z)); animation: tilefloat 5s ease-in-out var(--d) infinite;
  --tone-a: #3B82F6; --tone-b: #6366F1; background: linear-gradient(135deg, var(--tone-a), var(--tone-b)); border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 26px 30px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.tile svg { width: 38px; height: 38px; }
.tile.tone-violet { --tone-a: #8B5CF6; --tone-b: #D946EF; } .tile.tone-cyan { --tone-a: #06B6D4; --tone-b: #3B82F6; } .tile.tone-green { --tone-a: #22C55E; --tone-b: #14B8A6; } .tile.tone-amber { --tone-a: #F59E0B; --tone-b: #F97316; }
@keyframes tilefloat { 50% { transform: translateZ(calc(var(--z) + 34px)); } }
@keyframes tilesway { 50% { transform: rotateX(50deg) rotateZ(-26deg); } }
/* orbits */
.orbitscene { perspective: 1200px; }
.sorbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(148, 163, 184, .5); transform-style: preserve-3d; }
.sorbit.so1 { width: 230px; height: 230px; margin: -115px 0 0 -115px; transform: rotateX(66deg) rotateZ(0deg); animation: orbitspin1 16s linear infinite; }
.sorbit.so2 { width: 360px; height: 360px; margin: -180px 0 0 -180px; transform: rotateX(66deg) rotateZ(0deg); animation: orbitspin2 26s linear infinite; }
@keyframes orbitspin1 { to { transform: rotateX(66deg) rotateZ(360deg); } }
@keyframes orbitspin2 { to { transform: rotateX(66deg) rotateZ(-360deg); } }
.onode { position: absolute; inset: 0; transform: rotate(var(--a)); }
.onode i { position: absolute; left: 50%; top: -22px; margin-left: -22px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3B82F6, #8B5CF6); box-shadow: 0 10px 24px -6px rgba(99, 102, 241, .8); }
.so2 .onode i { background: linear-gradient(135deg, #06B6D4, #3B82F6); }
.onode svg { width: 22px; height: 22px; }
.orbit-core { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #60A5FA, #4F46E5 70%); box-shadow: 0 0 70px rgba(99, 102, 241, .75), inset 0 0 20px rgba(255, 255, 255, .3); animation: corepulse 4s ease-in-out infinite; }
.orbit-core svg { width: 42px; height: 42px; }
@keyframes corepulse { 50% { transform: scale(1.08); } }
@media (max-width: 979px) { .scene { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) { .cube-wrap, .ring, .tiles, .tile, .orbit, .onode i, .orbit-core { animation: none !important; } }

/* news fan */
.fan { position: relative; width: 250px; height: 320px; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-26deg); animation: fansway 9s ease-in-out infinite; }
@keyframes fansway { 50% { transform: rotateX(12deg) rotateY(-12deg); } }
.sheet { position: absolute; inset: 0; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  background: linear-gradient(160deg, rgba(59, 130, 246, .75), rgba(99, 102, 241, .6)); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.sheet .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.sheet .ln { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .45); } .sheet .l1 { width: 85%; } .sheet .l2 { width: 65%; } .sheet .l3 { width: 75%; }
.s1 { transform: translateZ(0) translateX(-70px) rotateZ(-8deg); }
.s2 { transform: translateZ(60px) translateX(0) rotateZ(0deg); background: linear-gradient(160deg, rgba(139, 92, 246, .8), rgba(217, 70, 239, .6)); }
.s3 { transform: translateZ(120px) translateX(70px) rotateZ(8deg); background: linear-gradient(160deg, rgba(6, 182, 212, .8), rgba(59, 130, 246, .65)); }
/* envelope */
.mailbox { position: relative; width: 300px; height: 200px; transform-style: preserve-3d; transform: rotateX(22deg) rotateY(-24deg); animation: mailfloat 7s ease-in-out infinite; }
@keyframes mailfloat { 50% { transform: rotateX(14deg) rotateY(-10deg) translateY(-12px); } }
.mailbox > div { position: absolute; }
.env-back { inset: 0; border-radius: 16px; background: linear-gradient(135deg, #4F46E5, #3B82F6); box-shadow: 0 34px 44px -22px rgba(0, 0, 0, .65); transform: translateZ(0); }
.env-letter { left: 22px; right: 22px; top: 12px; bottom: 30px; border-radius: 10px; background: #fff; padding: 18px; display: grid; gap: 10px; align-content: start; transform: translateZ(26px) translateY(-34px); animation: letterup 7s ease-in-out infinite; }
@keyframes letterup { 50% { transform: translateZ(40px) translateY(-64px); } }
.env-letter .ln { display: block; height: 8px; border-radius: 5px; background: #CBD5E1; } .env-letter .l1 { width: 80%; } .env-letter .l2 { width: 60%; } .env-letter .l3 { width: 70%; }
.env-front { inset: 0; border-radius: 16px; transform: translateZ(50px); background: linear-gradient(135deg, #6366F1 0 50%, #3B82F6 50%); clip-path: polygon(0 100%, 0 38%, 50% 72%, 100% 38%, 100% 100%); border: 1px solid rgba(255, 255, 255, .25); }
.env-flap { left: 0; right: 0; top: 0; height: 100px; transform: translateZ(54px); background: linear-gradient(135deg, #818CF8, #6366F1); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 16px 16px 0 0; }
.bubble { position: absolute; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: 0 16px 28px -10px rgba(0, 0, 0, .55); animation: bubble 5s ease-in-out infinite; }
.bubble svg { width: 24px; height: 24px; }
.b1 { right: -34px; top: -30px; background: linear-gradient(135deg, #22C55E, #14B8A6); transform: translateZ(90px); }
.b2 { left: -36px; top: 40px; background: linear-gradient(135deg, #F59E0B, #F97316); transform: translateZ(110px); animation-delay: .8s; }
.b3 { right: 10px; bottom: -34px; background: linear-gradient(135deg, #8B5CF6, #D946EF); transform: translateZ(100px); animation-delay: 1.6s; }
@keyframes bubble { 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .fan, .mailbox, .env-letter, .bubble { animation: none !important; } }
@media (max-width: 979px) { .fan { transform: rotateX(18deg) rotateY(-26deg) scale(.8); } }

/* ── cookie consent ────────────────────────────────────────────────── */
.ck { position: fixed; z-index: 90; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); width: min(760px, calc(100vw - 32px)); transform: translate(-50%, 24px); opacity: 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .3s;
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--border2); border-radius: 20px; padding: 18px 20px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(96, 165, 250, .12); }
.ck.in { transform: translate(-50%, 0); opacity: 1; } .ck.out { transform: translate(-50%, 24px); opacity: 0; }
.ck-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 15.5px; }
.ck-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3B82F6, #8B5CF6); } .ck-ico svg { width: 17px; height: 17px; }
.ck-text { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.65; } .ck-text a { color: var(--accent2); font-weight: 600; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; } .ck-actions .btn { padding: 9px 18px; font-size: 14px; } .ck-actions [hidden] { display: none; }
.ck-details { display: grid; gap: 10px; margin: 0 0 14px; } .ck-details[hidden] { display: none; }
.ck-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(148, 163, 184, .06); }
.ck-row b { font-size: 14px; } .ck-row p { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.ck-always { font-size: 12px; font-weight: 700; color: var(--ok); white-space: nowrap; }
.ck-switch { position: relative; flex: none; width: 46px; height: 26px; cursor: pointer; } .ck-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.ck-switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(148, 163, 184, .35); transition: background .2s; }
.ck-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.ck-switch input:checked + i { background: linear-gradient(135deg, #3B82F6, #6366F1); } .ck-switch input:checked + i::after { transform: translateX(20px); }
.ck-switch input:focus-visible + i { outline: 2px solid var(--accent2); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; } .linklike:hover { color: var(--text); }
.foot-meta { display: inline-flex; gap: 18px; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) { .ck { padding: 16px; border-radius: 18px; } .ck-actions { justify-content: stretch; } .ck-actions .btn { flex: 1 1 100%; } .ck-row { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
@media print { .ck { display: none !important; } }

/* account type (register) */
.reg-types { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 6px 0 18px; }
.reg-type { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--border2); border-radius: 14px; cursor: pointer; background: var(--card); transition: border-color .15s, box-shadow .15s, background .15s; position: relative; }
.reg-type:hover { border-color: var(--accent); }
.reg-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.reg-type .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, #3B82F6, #8B5CF6); }
.reg-type .ico svg { width: 20px; height: 20px; }
.reg-type > span:last-child { display: grid; gap: 2px; min-width: 0; } .reg-type small { color: var(--muted); line-height: 1.45; }
.reg-type:has(input:checked) { border-color: var(--accent); background: rgba(59, 130, 246, .08); box-shadow: 0 0 0 1px var(--accent) inset; }
.reg-type:has(input:focus-visible) { outline: 2px solid var(--accent2); outline-offset: 2px; }
.fgrid-pub .wide:has(> [hidden]) { display: none; }
@media (max-width: 520px) { .reg-types { grid-template-columns: minmax(0, 1fr); } }
