/* UniSoftCorner — premium corporate theme.
   Ivory (light) or Dark page, chosen in Admin → Settings → Appearance. Crimson + gold, pixel US mark.
   Dark bands (top bar, nav, hero, page headers, footer) stay dark in both modes. */

:root {
  --head: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --pixel: 'Silkscreen', ui-monospace, monospace;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 14px; --r-lg: 20px;

  --bg: #faf7f1; --bg-2: #f3ece0; --surface: #fff; --surface-2: #f6f0e6;
  --line: #e7ddcc; --line-2: #dccfb9;
  --text: #1d1312; --muted: #6c5d55; --dim: #8f8178;
  --crimson: #a3170f; --crimson-hi: #c21d15; --on-crimson: #fff;
  --gold: #c9a24e; --gold-soft: #e8c36a; --gold-text: #8a6418;
  --accent-text: var(--crimson);
  --field: #fff; --ok: #1f8a4c; --ok-bg: #e3f4ea; --err: #b42318;
  --hero-1: #2b0806; --hero-2: #140504; --hero-text: #fbf1e2; --hero-muted: #d9c2a6;
  --ghost-cell: rgba(29, 19, 18, .07);
  --logo-u: var(--crimson-hi); --logo-s: var(--gold);
  --shadow: 0 24px 60px rgba(43, 8, 6, .12);
  color-scheme: light;
}
[data-mode="dark"] {
  --bg: #100909; --bg-2: #170e0d; --surface: #160d0c; --surface-2: #1d1311;
  --line: #2e211f; --line-2: #3d2c29;
  --text: #f6ece0; --muted: #b9a797; --dim: #8a7a6d;
  --gold-text: #e0b866; --accent-text: var(--gold-soft);
  --field: #1a100f; --ok-bg: #12291b;
  --ghost-cell: rgba(255, 255, 255, .07);
  --logo-s: var(--gold-soft);
  --shadow: 0 24px 60px rgba(0, 0, 0, .4);
  color-scheme: dark;
}
/* dark bands */
.dz {
  --text: var(--hero-text); --muted: var(--hero-muted); --dim: #b89f86;
  --line: rgba(251, 241, 226, .12); --line-2: rgba(251, 241, 226, .2);
  --ghost-cell: rgba(251, 241, 226, .07); --accent-text: var(--gold-soft);
  --logo-u: #e0372b; --logo-s: #e8c36a; --surface: rgba(251, 241, 226, .05);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 16px/1.65 var(--body); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.025em; line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; }
::selection { background: var(--gold-soft); color: #2b0806; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 56px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- logo + pixel art ---------- */
.usc-logo .pm-g, .px-ico .pm-g, .cover-px .pm-g { fill: var(--ghost-cell); }
.usc-logo .pm-u, .px-ico .pm-u, .cover-px .pm-u { fill: var(--logo-u); }
.usc-logo .pm-s, .px-ico .pm-s, .cover-px .pm-s { fill: var(--logo-s); }
.usc-logo .pm-n { fill: var(--text); }
.usc-logo .pm-a { fill: var(--logo-s); }
.usc-logo .pm-t { fill: var(--muted); }
.usc-logo .pm-c, .usc-logo .pm-ch, .usc-logo .pm-tg { transform-box: fill-box; transform-origin: center; }
@keyframes usc-px { 0% { opacity: 0; transform: scale(.3); } 2.5% { opacity: 1; transform: none; } 84% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: scale(.3); } }
@keyframes usc-ch { 0% { opacity: 0; } 1%, 41% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes usc-tg { 0% { opacity: 0; } 6%, 26% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes usc-in { from { opacity: 0; transform: scale(.3); } }
.usc-logo.anim-loop .pm-c { animation: usc-px 5.6s var(--ease) infinite both; animation-delay: calc(var(--i) * 70ms); }
.usc-logo.anim-loop .pm-ch { animation: usc-ch 5.6s steps(1, end) infinite both; animation-delay: calc(1750ms + var(--j) * 70ms); }
.usc-logo.anim-loop .pm-tg { animation: usc-tg 5.6s ease infinite both; animation-delay: 2750ms; }
.usc-logo.anim-once .pm-c { animation: usc-in .45s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }

.loader { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; background: var(--hero-2); transition: opacity .45s var(--ease), visibility .45s; }
.usc-loading .loader { display: grid; }
.usc-loading body { overflow: hidden; }
.loader.done { opacity: 0; visibility: hidden; }

/* ---------- buttons + labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--crimson); color: var(--on-crimson); }
.btn-primary:hover { background: var(--crimson-hi); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(163, 23, 15, .25); }
.btn-gold, .dz .btn-primary { background: linear-gradient(180deg, #ecc874, #c9a24e); color: #2b0806; box-shadow: 0 8px 24px rgba(201, 162, 78, .25); }
.btn-gold:hover, .dz .btn-primary:hover { background: linear-gradient(180deg, #f2d48a, #d2ab57); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201, 162, 78, .35); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: var(--surface-2); }
.dz .btn-ghost:hover { background: rgba(251, 241, 226, .06); }
.btn-amber { background: linear-gradient(180deg, #ecc874, #c9a24e); color: #2b0806; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before, .kicker::before { content: ''; width: 6px; height: 6px; background: var(--logo-u); box-shadow: 8px 0 0 var(--logo-s); margin-right: 10px; flex: none; }
.eyebrow .ico { display: none; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.grad-text, .accent { background: linear-gradient(90deg, #d9a845, #f0cf7c); -webkit-background-clip: text; background-clip: text; color: transparent; }
:not(.dz) > .wrap .grad-text { background: linear-gradient(90deg, var(--crimson), var(--crimson-hi)); -webkit-background-clip: text; background-clip: text; }
[data-mode="dark"] :not(.dz) > .wrap .grad-text { background: linear-gradient(90deg, #d9a845, #f0cf7c); -webkit-background-clip: text; background-clip: text; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- top bar + nav ---------- */
.util { background: var(--hero-2); font-size: .82rem; }
.util .wrap { display: flex; align-items: center; gap: 22px; padding: 8px 0; color: var(--muted); }
.util a { display: inline-flex; gap: 6px; align-items: center; }
.util a:hover { color: var(--text); }
.util .sp { flex: 1; }
.util .ok { color: var(--gold-soft); }
.util .ico { width: 14px; height: 14px; }
.nav { position: sticky; top: 0; z-index: 90; background: rgba(28, 7, 5, .94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(251, 241, 226, .08); transition: box-shadow .25s; }
.nav.scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 74px; }
.brand { display: flex; align-items: center; flex: none; }
.brand .usc-lockup { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .93rem; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold-soft); }
.nav-verify { display: none !important; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { color: var(--text); border-color: var(--gold); }
.icon-btn .ico { width: 18px; height: 18px; }
.i-sun { display: none; }
[data-mode="dark"] .i-sun { display: block; } [data-mode="dark"] .i-moon { display: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--text); place-items: center; cursor: pointer; }

/* ---------- homepage hero ---------- */
.hero-zone { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 80% 18%, rgba(201, 162, 78, .14), transparent 60%), linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.hero-zone::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(251, 241, 226, .06) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask: linear-gradient(180deg, #000, transparent 85%); mask: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 80px 0 112px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 20px 0 22px; }
.hero .lead { font-size: 1.15rem; max-width: 560px; }
.hero-art { position: relative; width: 100%; max-width: 480px; margin-left: auto; aspect-ratio: 1; }
.plate { position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(160deg, rgba(251, 241, 226, .07), rgba(251, 241, 226, .02)); border: 1px solid rgba(232, 195, 106, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px rgba(0, 0, 0, .35); }
.tiles { position: absolute; inset: 14% 11%; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.tiles i { border-radius: 2px; background: rgba(251, 241, 226, .05); animation: tile 9s var(--d) infinite both; }
.tiles .tu0 { background: #e0372b; } .tiles .tu1 { background: #c21d15; } .tiles .tu2 { background: #a3170f; }
.tiles .ts0 { background: #e8c36a; } .tiles .ts1 { background: #c9a24e; } .tiles .ts2 { background: #f2d68f; }
@keyframes tile { 0% { transform: scale(0); opacity: 0; } 7% { transform: none; opacity: 1; } 70% { transform: none; opacity: 1; } 78%, 100% { transform: scale(0); opacity: 0; } }
.crest { position: absolute; inset: 0; display: grid; place-items: center; }
.crest .ring { position: absolute; width: 86%; aspect-ratio: 1; border: 1px solid rgba(232, 195, 106, .25); border-radius: 50%; }
.crest .ring.r2 { width: 68%; border-style: dashed; animation: spin 60s linear infinite; }
.crest .usc-mark { width: 52%; height: auto; filter: drop-shadow(0 0 34px rgba(232, 195, 106, .35)); }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center; background: rgba(20, 6, 5, .85); backdrop-filter: blur(8px); border: 1px solid rgba(232, 195, 106, .25); border-radius: 12px; padding: 11px 15px; font-size: .82rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: float 6s ease-in-out infinite; }
.badge b { display: block; font-weight: 600; }
.badge small { color: var(--muted); font-size: .75rem; }
.badge .dot { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(232, 195, 106, .14); flex: none; }
.badge .dot svg { width: 22px; height: 22px; }
.b1 { left: -30px; top: 14%; } .b2 { right: -20px; top: 48%; animation-delay: -2s; } .b3 { left: 4%; bottom: 5%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* AI chat preview hero */
.console { position: relative; background: rgba(20, 6, 5, .7); border: 1px solid rgba(232, 195, 106, .22); border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.console-bar b { margin-left: auto; color: #5fd38a; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.console-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 340px; }
.c-msg { max-width: 86%; padding: 11px 14px; border-radius: 12px; font-size: .9rem; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.c-msg.show { opacity: 1; transform: none; }
.c-user { align-self: flex-end; background: rgba(232, 195, 106, .16); border: 1px solid rgba(232, 195, 106, .3); }
.c-bot { background: rgba(251, 241, 226, .06); border: 1px solid rgba(251, 241, 226, .12); }
.c-bot ul { margin: 6px 0 0 18px; }
.c-bot .tag { display: inline-block; margin-top: 8px; font-size: .75rem; color: var(--gold-soft); }
.c-typing { display: none; } .c-typing.show { display: block; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; background: var(--gold-soft); animation: blink 1.2s infinite steps(2); }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* proof strip */
.proof { position: relative; z-index: 3; margin-top: -50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.proof div { padding: 24px 26px; border-left: 1px solid var(--line); }
.proof div:first-child { border-left: 0; }
.proof strong { display: block; font: 800 2.1rem/1 var(--head); color: var(--accent-text); letter-spacing: -.03em; }
.proof span { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section.tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 40px; display: grid; gap: 14px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-head.split > div { display: grid; gap: 14px; }
.section-head.split p { color: var(--muted); max-width: 400px; }
.section-head.center { text-align: center; justify-items: center; }
.section-head h2 { max-width: 700px; }

.sector-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sector { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; display: grid; gap: 10px; transition: border-color .2s, transform .2s; }
.sector:hover { border-color: var(--gold); transform: translateY(-3px); }
.sector .px-ico { width: 36px; height: 36px; }
.sector b { font: 700 1rem var(--head); }
.sector span { font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.pc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201, 162, 78, .6); }
.pc.big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 30px; }
.pc-info { display: flex; flex-direction: column; gap: 14px; }
.pc-top { display: flex; align-items: center; gap: 16px; }
.wmark { display: inline-flex; align-items: center; margin-bottom: 8px; }
.wmark img { display: block; height: 26px; width: auto; max-width: 170px; object-fit: contain; }
.wmark.lg { display: flex; width: fit-content; margin-bottom: 12px; } .wmark.lg img { height: 42px; max-width: 240px; }
.dz .wmark, [data-mode="dark"] .wmark { background: #fbf6ec; padding: 5px 10px; border-radius: 8px; }
.plogo { width: 64px; height: 64px; flex: none; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.plogo svg { width: 72%; height: 72%; }
.plogo.has-img { border: 0; background: none; }
.plogo.has-img img { width: 100%; height: 100%; object-fit: contain; }
.plogo .pm-g { fill: rgba(29, 19, 18, .07); } .plogo .pm-u { fill: #c21d15; } .plogo .pm-s { fill: #c9a24e; }
.pc.big .plogo { width: 84px; height: 84px; }
.who { font-weight: 600; font-size: .84rem; color: var(--accent-text); }
.plat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.plat span { font-size: .72rem; padding: 4px 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.pc h3 { font-size: 1.32rem; }
.pc h3 a:hover { color: var(--accent-text); }
.pc.big h3 { font-size: 1.9rem; }
.what { font-size: .95rem; opacity: .9; }
.pts { list-style: none; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.pts li { display: flex; gap: 10px; align-items: baseline; }
.pts li::before { content: ''; width: 6px; height: 6px; flex: none; background: var(--gold); transform: translateY(-2px); }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pc .demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--accent-text); }
.pc .demo::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2fae5b; box-shadow: 0 0 0 4px rgba(47, 174, 91, .15); }
.pc .more { font-size: .9rem; color: var(--muted); }
.pc .more:hover { color: var(--text); }
.gov { position: absolute; top: 18px; right: 18px; z-index: 2; font: 600 .68rem var(--body); letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(180deg, #ecc874, #c9a24e); color: #2b0806; padding: 5px 10px; border-radius: 6px; }
.shot { position: relative; min-height: 260px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.contain img { object-fit: contain; background: #faf4ea; padding: 18px; }

/* ---------- why / academy / AI ---------- */
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wk { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: inherit; transition: transform .25s var(--ease), box-shadow .25s; }
.wk:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(40, 10, 6, .45); }
.wk-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #efe6d6; border-bottom: 1px solid var(--line); }
.wk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.wk:hover .wk-shot img { transform: scale(1.04); }
.wk-shot.empty { display: grid; place-items: center; } .wk-shot.empty .px-ico { width: 56px; height: 56px; }
.wk-body { display: flex; gap: 14px; padding: 18px 20px 20px; align-items: flex-start; }
.wk-body small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.wk-body h3 { margin: 4px 0 6px; font-size: 1.08rem; }
.wk-body p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.wk-url { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--gold); }
.plogo.sm { width: 44px; height: 44px; border-radius: 11px; }
@media (max-width: 980px) { .wk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wk-grid { grid-template-columns: 1fr; } }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.why-grid div { padding: 30px 26px; border-left: 1px solid var(--line); }
.why-grid div:first-child { border-left: 0; }
.why-grid .n { font: .78rem var(--pixel); color: var(--gold); }
.why-grid h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.why-grid p { font-size: .9rem; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { border-radius: var(--r-lg); padding: 40px; border: 1px solid var(--line); background: var(--surface); }
.box.dz { background: linear-gradient(160deg, var(--hero-1), var(--hero-2)); border: 0; }
.box h3 { font-size: 1.75rem; margin: 14px 0 10px; }
.box p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips span { font-size: .82rem; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); }
.bubbles { display: grid; gap: 10px; margin: 22px 0 24px; }
.bubble { padding: 11px 15px; border-radius: 12px; font-size: .9rem; max-width: 88%; }
.bubble.me { justify-self: end; background: rgba(232, 195, 106, .16); border: 1px solid rgba(232, 195, 106, .3); }
.bubble.ai { background: rgba(251, 241, 226, .06); border: 1px solid rgba(251, 241, 226, .12); }

/* CTA band */
.cta { padding: 0 0 96px; }
.cta-in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 56px; border-radius: 24px; background: linear-gradient(120deg, #8f1710, #5c0c08); }
.cta-in h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 620px; }
.cta-in p { color: #e8cdb0; margin-top: 10px; }
.cta-in .usc-mark { position: absolute; right: -24px; top: -24px; width: 240px; height: 240px; opacity: .15; --logo-u: #fbf1e2; --ghost-cell: transparent; }
.cta-in .hero-actions { margin: 0; }

/* ---------- inner page header ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(800px 400px at 85% 0%, rgba(201, 162, 78, .14), transparent 60%), linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(251, 241, 226, .06) 1px, transparent 1.2px); background-size: 28px 28px; -webkit-mask: linear-gradient(180deg, #000, transparent); mask: linear-gradient(180deg, #000, transparent); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 16px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 860px; }
.page-hero .hero-actions { margin-top: 10px; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.product-cat { font-weight: 600; font-size: .84rem; color: var(--accent-text); }
.pd-head { display: flex; gap: 20px; align-items: center; }
.pd-head .plogo { width: 84px; height: 84px; border-radius: 18px; }

/* ---------- generic cards (services / about / academy / contact) ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover, .bento .card:hover { border-color: rgba(201, 162, 78, .6); transform: translateY(-3px); box-shadow: var(--shadow); }
.ico-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent-text); flex: none; }
.ico-box .ico { width: 22px; height: 22px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .card { display: grid; gap: 12px; align-content: start; }
.bento p, .values p { color: var(--muted); font-size: .93rem; }
.ticks { list-style: none; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--gold); width: 16px; height: 16px; margin-top: 4px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step .n { display: block; margin-bottom: 14px; font: .8rem var(--pixel); color: var(--gold); }
.step .n svg { fill: var(--gold); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; }
.prose { display: grid; gap: 16px; font-size: 1.05rem; color: var(--muted); max-width: 720px; }
.prose h2 { color: var(--text); font-size: 1.6rem; margin-top: 18px; }
.split-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.big-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.big-stats .card { display: grid; gap: 6px; }
.big-stats strong { font: 800 2.4rem/1 var(--head); color: var(--accent-text); }
.big-stats span { color: var(--muted); font-size: .9rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values .card { display: grid; gap: 12px; }
.branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.branches .card { display: grid; gap: 6px; }
.branches small { color: var(--accent-text); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

/* academy */
.tracks-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tracks-nav a { font-size: .86rem; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); }
.tracks-nav a:hover { border-color: var(--gold); }
.track { margin-bottom: 48px; scroll-margin-top: 100px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.track-head span { color: var(--muted); font-size: .9rem; }
.course-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { display: flex; flex-direction: column; gap: 12px; }
.course-card .code { font: .72rem var(--pixel); color: var(--gold); }
.course-card p { color: var(--muted); font-size: .9rem; }
.course-card .row { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price strong { font: 800 1.35rem var(--head); color: var(--accent-text); }
.price s { color: var(--dim); font-size: .85rem; margin-left: 6px; }
.price .save { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--ok); background: var(--ok-bg); padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.course-meta { display: flex; gap: 14px; color: var(--muted); font-size: .82rem; }
.course-meta span { display: inline-flex; gap: 6px; align-items: center; }
.verify-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.verify-band > div { display: flex; gap: 16px; align-items: center; }
.verify-band p { color: var(--muted); font-size: .9rem; }

/* product detail */
.pd-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.pd-cover { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 30px; background: var(--surface); }
.pd-cover img { width: 100%; }
.pd-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.pd-side h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-info .card { display: flex; gap: 16px; align-items: center; padding: 20px; }
.contact-info small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--field); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 78, .18); }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); }
.form-msg.err { background: #fbe8e4; color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.foot { background: var(--hero-2); padding: 64px 0 0; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 340px; color: var(--muted); }
.foot h4 { font-size: .95rem; margin-bottom: 14px; }
.foot-grid > div:not(.foot-brand) { display: grid; gap: 8px; align-content: start; color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-grid a, .foot-addr { display: inline-flex; gap: 8px; align-items: flex-start; }
.foot-grid .ico { width: 15px; height: 15px; margin-top: 4px; }
.socials { display: flex; gap: 14px; margin-top: 16px; color: var(--muted); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; }
.pixbar { display: flex; height: 4px; } .pixbar i { flex: 7; background: #c21d15; } .pixbar b { flex: 3; background: #c9a24e; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; } .reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- AI assistant ---------- */
.ai-fab { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; align-items: center; gap: 10px; padding: 9px 18px 9px 10px; border-radius: 14px; border: 1px solid rgba(232, 195, 106, .35); background: #1c0705; color: #fbf1e2; font-weight: 600; font-size: .92rem; cursor: pointer; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transition: .25s var(--ease); --logo-u: #e0372b; --logo-s: #e8c36a; --ghost-cell: rgba(251, 241, 226, .08); }
.ai-fab .usc-mark { width: 30px; height: 30px; }
.ai-fab:hover { transform: translateY(-2px); border-color: var(--gold-soft); }
.ai-fab-dot { position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: #2fae5b; box-shadow: 0 0 0 3px #1c0705; }
.ai-fab.hide { opacity: 0; pointer-events: none; transform: translateY(10px); }
.ai-panel { position: fixed; right: 22px; bottom: 22px; z-index: 130; width: min(400px, calc(100vw - 28px)); height: min(620px, calc(100vh - 44px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); overflow: hidden; }
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.ai-id { display: flex; gap: 12px; align-items: center; }
.ai-id small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; }
.ai-id .live { width: 7px; height: 7px; border-radius: 50%; background: #2fae5b; }
.ai-avatar { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(251, 241, 226, .06); }
.ai-avatar .usc-mark { width: 30px; height: 30px; }
.ai-close { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 8px; }
.ai-close:hover { color: var(--text); }
.ai-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 8px; }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg a { color: var(--accent-text); text-decoration: underline; }
.msg.bot { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.msg.user { align-self: flex-end; background: var(--crimson); color: #fff; border-bottom-right-radius: 3px; }
.msg.err { border-color: var(--err); }
.msg.saved { align-self: center; background: var(--ok-bg); color: var(--ok); font-size: .85rem; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.ai-chips button { border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); border-radius: 99px; padding: 7px 12px; font-size: .8rem; cursor: pointer; }
.ai-chips button:hover { color: var(--text); border-color: var(--gold); }
.ai-form { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: flex-end; }
.ai-form textarea { flex: 1; resize: none; max-height: 120px; background: var(--field); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; }
.ai-form textarea:focus { outline: none; border-color: var(--gold); }
.ai-form button { width: 44px; height: 44px; flex: none; border-radius: 10px; border: 0; background: var(--crimson); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ai-form button:disabled { opacity: .5; cursor: wait; }
.ai-note { text-align: center; font-size: .72rem; color: var(--dim); padding: 0 0 10px; }

/* ---------- pixel effects (Admin → Appearance) ---------- */
.wipe { position: fixed; inset: 0; z-index: 400; display: grid; pointer-events: none; }
.wipe i { background: #a3170f; transform: scale(0); }
.wipe i:nth-child(3n) { background: #c9a24e; }
.wipe i:nth-child(7n) { background: #140504; }
.trail { position: fixed; z-index: 380; width: 8px; height: 8px; pointer-events: none; background: var(--crimson-hi); animation: trail .6s forwards; }
.trail.g { background: var(--gold); }
@keyframes trail { to { transform: translateY(14px) scale(0); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sector-row { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .branches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px; background: #1c0705; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; margin: 0; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current]::after { display: none; }
  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }
  .nav-cta { margin-left: auto; }
  .hero, .two, .cta-in, .split-2, .contact-grid, .pd-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 100px; }
  .hero-art { margin: 10px auto 0; max-width: 420px; }
  .prod-grid, .bento, .course-cards, .values, .process { grid-template-columns: 1fr 1fr; }
  .pc.big { grid-template-columns: 1fr; }
  .why-grid, .proof { grid-template-columns: 1fr 1fr; }
  .why-grid div:nth-child(3), .proof div:nth-child(odd) { border-left: 0; }
  .proof div:nth-child(n+3), .why-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pd-side { position: static; }
  .util .hide { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .prod-grid, .bento, .course-cards, .values, .process, .why-grid, .form-row, .foot-grid, .branches, .big-stats { grid-template-columns: 1fr; }
  .pc.big { grid-column: auto; padding: 24px; }
  .sector-row { grid-template-columns: 1fr 1fr; }
  .why-grid div { border-left: 0; border-top: 1px solid var(--line); }
  .why-grid div:first-child { border-top: 0; }
  .section { padding: 72px 0; }
  .section-head.split { display: grid; }
  .badge { display: none; }
  .cta-in { padding: 36px 26px; }
  .verify-band { flex-direction: column; align-items: flex-start; }
  .brand .usc-lockup { height: 34px; }
  .util .wrap { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.tiles *):not(.hc-card):not(.hc-card *), *:not(.tiles *):not(.hc-card):not(.hc-card *)::before, *:not(.tiles *):not(.hc-card):not(.hc-card *)::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .usc-loading .loader { display: none; }
  .c-msg { opacity: 1; transform: none; }
  .usc-logo .pm-c, .usc-logo .pm-ch, .usc-logo .pm-tg { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ================= Product layouts (Admin → Appearance → Product layout) ================= */
.pmark { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: 0 6px 16px -10px rgba(40, 12, 6, .35); }
.pmark img { width: 100%; height: 100%; object-fit: contain; }
.pmark.sm { width: 44px; height: 44px; border-radius: 12px; }
.pmark.md { width: 60px; height: 60px; border-radius: 16px; }
.pmark.xl { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 18px 40px -18px rgba(40, 12, 6, .45); }
.pmark.mono { background: linear-gradient(150deg, #2b0806, #140504); border-color: transparent; color: #e8c36a; font: 700 .95rem/1 var(--head); letter-spacing: .02em; }
.pmark.mono.sm { font-size: .82rem; } .pmark.mono.md { font-size: 1.05rem; } .pmark.mono.xl { font-size: 1.9rem; }
.p-plat { font-size: .82rem; color: var(--muted); }
.p-gov { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #c9a24e; color: #1d0e05; }
.p-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.p-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--accent-text); }
.p-live .ico { width: 15px; height: 15px; }
.p-more { font-size: .88rem; color: var(--muted); }
.p-more:hover, .p-live:hover { text-decoration: underline; text-underline-offset: 3px; }
.p-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f1ebe1; }
.p-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.p-media.contain { background: #fbf6ec; } .p-media.contain img { object-fit: contain; padding: 6%; }
.p-media.brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(120% 90% at 50% 0%, #fffaf2, #efe6d6); }
.p-media.brand .wmark { margin: 0; } .p-media.brand .wmark img { height: 30px; }
[data-mode="dark"] .p-media.brand { background: radial-gradient(120% 90% at 50% 0%, #2a1310, #170806); }
[data-mode="dark"] .p-media, [data-mode="dark"] .p-media.contain { background: #1d0d0a; }

/* 1. Clean grid */
.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.pg:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(40, 12, 6, .45); }
.pg:hover .p-media img { transform: scale(1.03); }
.pg-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 20px; flex: 1; }
.pg-head { display: flex; gap: 14px; align-items: center; }
.pg-head small, .ps-copy small, .pt-copy small, .pl-meta small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text); }
.pg-head h3 { font-size: 1.22rem; margin-top: 3px; }
.pg-body > p { font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* 2. Showcase */
.ps-rows { display: flex; flex-direction: column; gap: 28px; }
.ps-row { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.ps-row .p-media { aspect-ratio: auto; min-height: 360px; }
.ps-row.flip .p-media { order: 2; }
.ps-copy { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 40px 44px; }
.ps-copy .p-gov { position: static; align-self: flex-start; }
.ps-brand { display: flex; align-items: center; gap: 14px; }
.ps-brand .wmark { margin: 0; }
.ps-copy h3 { font-size: 2rem; line-height: 1.15; }
.ps-lead { font-size: 1.02rem; color: var(--muted); line-height: 1.6; }
.ps-feat { display: grid; gap: 9px; margin: 4px 0 6px; }
.ps-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.ps-feat .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.ps-more { margin-top: 48px; }
.ps-more h4 { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ps-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ps-mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: inherit; transition: border-color .2s, transform .2s; }
.ps-mini:hover { border-color: var(--gold); transform: translateY(-2px); }
.ps-mini span { flex: 1; min-width: 0; } .ps-mini b { display: block; font-weight: 600; }
.ps-mini em { display: block; font-style: normal; font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-mini > .ico { width: 18px; height: 18px; color: var(--muted); }

/* 3. Explorer */
.pt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pt-tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .9rem; color: var(--muted); cursor: pointer; }
.pt-tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.pt-body { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
.pt-list { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.pt-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.pt-item b { display: block; font-weight: 600; font-size: .95rem; } .pt-item em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
.pt-item:hover { background: rgba(201, 162, 78, .1); }
.pt-item.on { background: rgba(201, 162, 78, .18); box-shadow: inset 3px 0 0 var(--gold); }
.pt-panel { display: none; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.pt-panel.on { display: grid; grid-template-columns: 1fr 1fr; }
.pt-panel .p-media { aspect-ratio: auto; min-height: 100%; }
.pt-copy { display: flex; flex-direction: column; gap: 14px; padding: 34px 36px; }
.pt-copy .p-gov { position: static; align-self: flex-start; }
.pt-copy h3 { font-size: 1.6rem; margin-top: 3px; }

/* 4. Catalogue list */
.pl { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.pl-row { display: grid; grid-template-columns: auto 1fr 220px 260px; align-items: center; gap: 22px; padding: 20px 26px; border-top: 1px solid var(--line); transition: background .2s; }
.pl-row:first-child { border-top: 0; }
.pl-row:hover { background: rgba(201, 162, 78, .07); }
.pl-main h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.pl-main h3 .p-gov { position: static; font-size: .6rem; padding: 3px 8px; }
.pl-main p { font-size: .9rem; color: var(--muted); margin-top: 3px; }
.pl-meta span { display: block; font-size: .84rem; color: var(--muted); margin-top: 3px; }
.pl-act { margin: 0; padding: 0; border: 0; justify-content: flex-end; gap: 18px; }

/* Preview switcher */
.lay-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; padding: 12px 16px; border: 1px dashed var(--gold); border-radius: 14px; background: rgba(201, 162, 78, .08); font-size: .88rem; }
.lay-switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lay-switch a.on { background: var(--text); color: var(--bg); }
.lay-switch small { margin-left: auto; color: var(--muted); }

@media (max-width: 1100px) {
  .pl-row { grid-template-columns: auto 1fr 200px; } .pl-act { grid-column: 2 / -1; justify-content: flex-start; }
  .pt-body { grid-template-columns: 260px 1fr; } .pt-panel.on { grid-template-columns: 1fr; } .pt-panel .p-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 980px) {
  .pg-grid, .ps-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-row { grid-template-columns: 1fr; } .ps-row.flip .p-media { order: 0; } .ps-row .p-media { min-height: 0; aspect-ratio: 16 / 9; }
  .pt-body { grid-template-columns: 1fr; } .pt-list { flex-direction: row; overflow-x: auto; } .pt-item { flex: none; }
}
@media (max-width: 640px) {
  .pg-grid, .ps-mini-grid { grid-template-columns: 1fr; }
  .ps-copy, .pt-copy { padding: 26px 22px; } .ps-copy h3 { font-size: 1.6rem; }
  .pl-row { grid-template-columns: auto 1fr; padding: 18px; } .pl-meta, .pl-act { grid-column: 1 / -1; }
}

/* ================= 5. Stage layout (cinematic product presentation) ================= */
@property --acc { syntax: '<color>'; inherits: true; initial-value: #c9a24e; }
.section:has(.products-ui[data-layout="stage"]) { padding-block: 0; background: #0b0706; }
.section:has(.products-ui[data-layout="stage"]) .lay-switch { margin: 0; position: relative; top: 28px; z-index: 3; background: rgba(201, 162, 78, .1); color: #f3e9d8; }
.section:has(.products-ui[data-layout="stage"]) .lay-switch a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #f3e9d8; }
.section:has(.products-ui[data-layout="stage"]) .lay-switch a.on { background: #f3e9d8; color: #140a08; }
.products-ui[data-layout="stage"] { position: relative; color: #f3e9d8; }

.st { --acc-text: color-mix(in srgb, var(--acc) 50%, #fff); position: relative; display: grid; grid-template-columns: 52px minmax(0, .92fr) minmax(0, 1.08fr); gap: 0 52px; padding: 40px 0 80px; transition: --acc .9s var(--ease); }
.st::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% 40%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0) 0 0 / 28px 28px,
    #0b0706; }

/* rail of logos */
.st-rail { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 10px; padding-top: 10vh; z-index: 2; }
.st-dot { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 13px; opacity: .45; transform: scale(.86); transition: opacity .3s, transform .3s var(--ease); }
.st-dot .pmark { width: 40px; height: 40px; border-radius: 12px; border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.st-dot .pmark.mono { font-size: .72rem; }
.st-dot:hover, .st-dot:focus-visible { opacity: .9; transform: scale(.95); }
.st-dot.on { opacity: 1; transform: scale(1); }
.st-dot.on .pmark { box-shadow: 0 0 0 2px #0b0706, 0 0 0 4px var(--a), 0 10px 24px -8px var(--a); }
.st-dot em { position: absolute; left: 54px; top: 50%; translate: 0 -50%; white-space: nowrap; font-style: normal; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: #f3e9d8; color: #140a08; opacity: 0; pointer-events: none; transition: opacity .2s; }
.st-dot:hover em, .st-dot:focus-visible em { opacity: 1; }

/* chapters */
.st-ch { min-height: 84vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.st-ch.on { opacity: 1; }
.st-num { display: flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .14em; color: rgba(243, 233, 216, .5); font-variant-numeric: tabular-nums; }
.st-num b { font-size: 1rem; color: color-mix(in srgb, var(--a) 55%, #fff); }
.st-num span { margin-left: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; color: rgba(243, 233, 216, .75); }
.st-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.st-brand .pmark { border-color: rgba(255, 255, 255, .1); }
.st-brand .wmark { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff; }
.st-brand .wmark img { height: 24px; }
.st-brand .p-gov { position: static; }
.st-ch h3 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.02em; color: #fbf3e6; }
.st-ch h3 a { background: linear-gradient(90deg, #fbf3e6 40%, color-mix(in srgb, var(--a) 45%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-lead { font-size: 1.1rem; line-height: 1.6; color: rgba(243, 233, 216, .74); max-width: 520px; }
.st-feat { display: grid; gap: 9px; margin: 6px 0 2px; }
.st-feat li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: rgba(243, 233, 216, .9); }
.st-feat .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; padding: 2px; border-radius: 50%; background: color-mix(in srgb, var(--a) 35%, transparent); color: #fff; }
.st-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: rgba(243, 233, 216, .55); }
.st-meta i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.st-act { display: flex; align-items: center; gap: 22px; margin-top: 8px; }
.st-act .p-live { padding: 12px 20px; border-radius: 12px; background: #f3e9d8; color: #140a08; font-weight: 600; transition: transform .2s var(--ease), box-shadow .2s; }
.st-act .p-live:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--a); }
.st-act .p-more { color: rgba(243, 233, 216, .75); }

/* sticky stage */
.st-stage { position: sticky; top: 76px; height: calc(100vh - 96px); align-self: start; display: grid; place-items: center; perspective: 1600px; }
.st-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--acc); filter: blur(90px); opacity: .32; transition: opacity .6s; }
.st-scenes { position: relative; width: 100%; height: 100%; }
.st-scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(36px) scale(.94); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.st-scene.on { opacity: 1; transform: none; }
.st-scene .dv { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }

/* devices */
.dv { position: relative; width: min(100%, 660px); }
.dv img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dv-lid { position: relative; padding: 2.4% 2.4% 3.2%; background: linear-gradient(#1b1b1e, #0c0c0e); border-radius: 18px 18px 6px 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.dv-lid::before { content: ""; position: absolute; top: 1%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #2c2c30; translate: -50% 0; }
.dv-screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #111; }
.dv-base { position: relative; height: 16px; margin: 0 -7%; border-radius: 2px 2px 18px 18px; background: linear-gradient(#d6d6db, #9a9aa2 60%, #6d6d74); box-shadow: 0 30px 40px -22px rgba(0, 0, 0, .9); }
.dv-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; translate: -50% 0; border-radius: 0 0 8px 8px; background: #8a8a92; }
.dv-combo.has-phone { padding-right: 6%; }
.dv-phone { position: relative; width: 210px; aspect-ratio: 9 / 19; padding: 9px; border-radius: 36px; background: linear-gradient(145deg, #2a2a2e, #0c0c0e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 70px -30px rgba(0, 0, 0, .9); }
.dv-phone::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 28%; height: 18px; border-radius: 12px; background: #050505; translate: -50% 0; }
.dv-pscreen { width: 100%; height: 100%; overflow: hidden; border-radius: 28px; background: #fff; }
.dv-combo .dv-phone { position: absolute; right: -2%; bottom: -8%; width: 25%; padding: 1.4%; border-radius: 26px; }
.dv-combo .dv-phone::before { top: 4%; height: 3.2%; }
.dv-combo .dv-pscreen { border-radius: 20px; }
.dv-photo { width: min(100%, 640px); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.dv-photo img { aspect-ratio: 4 / 3; }
.dv-apps { display: flex; justify-content: center; width: auto; }
.dv-apps .dv-phone.back { position: absolute; left: 50%; top: 4%; translate: -92% 0; rotate: -9deg; opacity: .55; }
.dv-apps .dv-phone:not(.back) { translate: 22% 0; }
.dv-splash { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--acc) 40%, #fff), #fff 70%); color: #140a08; }
.dv-splash.ghost { background: linear-gradient(160deg, var(--acc), #0b0706); }
.dv-splash .pmark.xl { width: 84px; height: 84px; border-radius: 22px; }
.dv-splash .wmark { margin: 0; } .dv-splash .wmark img { height: 22px; }
.dv-splash b { font-size: 1rem; } .dv-splash span { font-size: .75rem; color: #6b5b4f; }
.dv-win { aspect-ratio: 16 / 10.4; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #f6f1e8; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.dv-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e9e2d6; border-bottom: 1px solid #d8cfbf; }
.dv-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d1c6b4; }
.dv-bar i:first-child { background: #e0614f; } .dv-bar i:nth-child(2) { background: #e3b341; } .dv-bar i:nth-child(3) { background: #5bb86a; }
.dv-bar span { margin-left: 10px; font-size: .78rem; color: #6b5b4f; }
.dv-win.is-windows .dv-bar { flex-direction: row-reverse; justify-content: flex-start; background: color-mix(in srgb, var(--acc) 85%, #000); border: 0; }
.dv-win.is-windows .dv-bar span { margin: 0 auto 0 0; color: #fff; font-weight: 600; }
.dv-win.is-windows .dv-bar i { border-radius: 0; width: 12px; height: 2px; background: rgba(255, 255, 255, .7); }
.dv-winbody { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: #140a08;
  background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--acc) 22%, #fff), #f6f1e8 75%); }
.dv-winbody b { font-size: 1.5rem; font-family: var(--head); } .dv-winbody span { font-size: .85rem; color: #6b5b4f; }

.st-inline { display: none; }

@media (max-width: 980px) {
  .section:has(.products-ui[data-layout="stage"]) .lay-switch { top: 18px; }
  .st { grid-template-columns: 1fr; padding: 30px 0 50px; }
  .st-rail, .st-stage { display: none; }
  .st-ch { min-height: 0; opacity: 1; padding: 46px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .st-ch:first-of-type { border-top: 0; }
  .st-inline { display: grid; place-items: center; padding: 14px 0 26px; }
  .st-inline .dv-combo .dv-phone { width: 24%; }
  .st-inline .dv-phone { width: 170px; }
  .st-inline .dv-apps { padding-left: 10%; }
}
@media (max-width: 560px) {
  .st-ch h3 { font-size: 2rem; }
  .st-act { flex-wrap: wrap; gap: 14px; }
  .dv-combo .dv-phone { border-radius: 16px; } .dv-combo .dv-pscreen { border-radius: 12px; }
  .dv-winbody .pmark.xl { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .st, .st-ch, .st-scene, .st-scene .dv, .st-dot { transition: none; }
  .st-scene { transform: none; }
}
.section:has(> .wrap > .section-head):has(.products-ui[data-layout="stage"]) { padding-top: 96px; }
.section:has(.products-ui[data-layout="stage"]) .section-head h2 { color: #fbf3e6; }
.section:has(.products-ui[data-layout="stage"]) .section-head p { color: rgba(243, 233, 216, .7); }

/* Product screens gallery + zoom */
a.pd-cover { display: block; cursor: zoom-in; }
.pd-cover-phone { display: flex; justify-content: center; padding: 28px; background: radial-gradient(circle at 50% 30%, var(--surface), transparent 70%); }
.pd-cover-phone a { display: block; width: min(300px, 70%); border-radius: 34px; overflow: hidden; border: 8px solid #17110f; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); cursor: zoom-in; }
.pd-cover-phone img { width: 100%; display: block; }
.pd-shots { margin: -6px 0 34px; }
.pd-shots h2 { font-size: 1.15rem; margin-bottom: 14px; }
.pd-shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.pd-shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16 / 10; cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
.pd-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pd-shot.is-phone { aspect-ratio: auto; grid-row: span 2; }
.pd-shot.is-phone img { object-fit: cover; }
.pd-shot:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.zoom-box { position: fixed; inset: 0; z-index: 200; background: rgba(10,6,5,.88); place-items: center; padding: 4vmin; cursor: zoom-out; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.zoom-box[open] { display: grid; }
.zoom-box::backdrop { background: transparent; }
.zoom-box img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .pd-shot { transition: none; } .pd-shot:hover { transform: none; } }

/* Homepage dot logo: every lit dot is a client. Hover shows a card (no buttons), clicking the dot opens the portal or store.
   Card animation: Admin > Settings > Appearance > Client card animation (glide, bloom, glass, pixel). */
.tiles.has-clients i[data-c] { cursor: pointer; position: relative; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), filter .5s ease, box-shadow .5s ease; transition-delay: var(--rd, 0ms); }
.tiles.has-clients:hover i, .tiles.has-clients.hold i { animation: none; opacity: 1; }
.tiles.has-clients.focus i[data-c]:not(.hc-on) { filter: brightness(.36) saturate(.5); transition-delay: 0ms; }
.tiles.has-clients i.hc-on { transform: scale(1.25); z-index: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 0 16px var(--hc-acc, #e8c36a); }
.tiles.has-clients i.hc-me { transform: scale(1.75); z-index: 2; transition-delay: 0ms; box-shadow: 0 0 0 2px #fff, 0 0 22px 4px var(--hc-acc, #e8c36a); }

/* Card base (purely informational, so it never catches the mouse) */
.hc-card { --ox: 50%; --oy: 100%; --edge: rgba(232, 195, 106, .34); position: absolute; left: 0; top: 0; z-index: 5; width: 262px; padding: 15px 15px 13px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(40, 17, 12, .97), rgba(16, 7, 5, .97)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--edge); box-shadow: 0 26px 60px -12px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #fbf1e2; pointer-events: none; opacity: 0; transform-origin: var(--ox) var(--oy); will-change: transform, opacity; }
.hc-card[hidden] { display: none; }
.hc-card::before { content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, transparent, var(--hc-acc, #c9a24e), #fbe6b0, var(--hc-acc, #c9a24e), transparent); background-size: 200% 100%; }
.hc-card.in::before { animation: hc-bar 2.6s linear infinite; }
@keyframes hc-bar { to { background-position: -200% 0; } }
/* little pointer toward the dot */
.hc-tail { position: absolute; left: var(--ox); width: 12px; height: 12px; margin-left: -6px; bottom: -7px; background: #140805; border: solid var(--edge); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.hc-card.below .hc-tail { bottom: auto; top: -7px; border-width: 1px 0 0 1px; background: #2a110c; }

.hc-top { display: flex; align-items: center; gap: 12px; }
.hc-top .pmark { flex: none; box-shadow: 0 8px 20px -8px var(--hc-acc, #c9a24e); }
.hc-top b { display: block; font-size: .97rem; line-height: 1.25; }
.hc-top small { display: block; font-size: .76rem; color: rgba(251, 241, 226, .62); margin-top: 2px; }
.hc-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(251, 241, 226, .09); font-size: .72rem; color: rgba(251, 241, 226, .55); }
.hc-foot em { font-style: normal; margin-left: auto; color: rgba(251, 241, 226, .4); white-space: nowrap; }
.hc-url { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 4px 9px; border-radius: 99px; background: rgba(251, 241, 226, .07); color: #fbf1e2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-url::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }

/* content parts rise in one after another */
.hc-body > * { animation: hc-part .5s cubic-bezier(.22, 1, .36, 1) both; }
.hc-body > :nth-child(2) { animation-delay: .08s; } .hc-body > :nth-child(3) { animation-delay: .16s; }
@keyframes hc-part { from { opacity: 0; transform: translateY(8px); } }
.hc-body .pmark { animation: hc-mark .6s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes hc-mark { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }

/* Kind: product page (no live website) */
.hc-card.k-product .hc-url::before { background: #e8c36a; box-shadow: 0 0 6px #e8c36a; }

/* Kind: Android app (Google Play) */
.hc-card.k-play { --edge: rgba(74, 222, 128, .35); background: radial-gradient(120% 90% at 100% 0%, rgba(52, 168, 83, .22), transparent 60%), linear-gradient(160deg, #0f1f17, #070d0a); }
.hc-card.k-play::before { background: linear-gradient(90deg, #34a853, #4285f4, #fbbc04, #ea4335, #34a853); background-size: 300% 100%; left: 0; right: 0; border-radius: 16px 16px 0 0; }
.hc-card.k-play .hc-tail { background: #070d0a; }
.hc-card.k-play.below .hc-tail { background: #0f1f17; }
/* Kind: iPhone app (App Store) */
.hc-card.k-apple { --edge: rgba(255, 255, 255, .28); background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .16), transparent 55%), linear-gradient(165deg, #26262b, #0b0b0d); }
.hc-card.k-apple::before { background: linear-gradient(90deg, transparent, #fff, #9ca3af, #fff, transparent); background-size: 200% 100%; }
.hc-card.k-apple .hc-tail { background: #0b0b0d; }
.hc-card.k-apple.below .hc-tail { background: #26262b; }
/* Store badge inside the card (a label, not a link) */
.hc-store { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 12px; border-radius: 11px; background: #000; border: 1px solid rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
.hc-store svg { width: 22px; height: 22px; flex: none; }
.hc-store span { display: block; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); line-height: 1.1; }
.hc-store b { display: block; font-size: .98rem; line-height: 1.15; color: #fff; letter-spacing: -.01em; }
.hc-store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-110%); }
.hc-card.in .hc-store::after { animation: hc-shine 1.4s .35s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes hc-shine { to { transform: translateX(110%); } }
.hc-card.k-play .hc-store { border-color: rgba(74, 222, 128, .35); }
.hc-card.k-apple .hc-store { background: linear-gradient(#1b1b1f, #000); }
/* Kind: the empty "next dot" */
.hc-card.k-next { --edge: rgba(232, 195, 106, .55); background: radial-gradient(100% 120% at 50% 0%, rgba(232, 195, 106, .22), transparent 60%), linear-gradient(160deg, #2a130c, #120705); }
.hc-card.k-next .pmark { background: transparent !important; border: 1.5px dashed #e8c36a; color: #e8c36a; font-size: 1.3rem; }
.hc-card.k-next.in .pmark { animation: hc-mark .6s cubic-bezier(.34, 1.56, .64, 1) both, hc-breathe 1.8s .6s ease-in-out infinite; }
@keyframes hc-breathe { 50% { box-shadow: 0 0 0 6px rgba(232, 195, 106, .15), 0 0 18px rgba(232, 195, 106, .5); } }

/* ---------- The four animation styles ---------- */
/* 1. Glide: springs up out of the dot, then glides from client to client */
.hc-card[data-fx="glide"] { transform: translateY(12px) scale(.82); transition: opacity .28s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1), left .5s cubic-bezier(.22, 1, .36, 1), top .5s cubic-bezier(.22, 1, .36, 1); }
.hc-card[data-fx="glide"].in { opacity: 1; transform: none; }
.hc-card[data-fx="glide"].fresh { transition-property: opacity, transform; }

/* 2. Bloom: opens out of the dot as a circle of light */
.hc-card[data-fx="bloom"] { clip-path: circle(0 at var(--ox) var(--oy)); transition: clip-path .65s cubic-bezier(.65, 0, .35, 1), opacity .25s, left .5s cubic-bezier(.22, 1, .36, 1), top .5s cubic-bezier(.22, 1, .36, 1); }
.hc-card[data-fx="bloom"].in { opacity: 1; clip-path: circle(160% at var(--ox) var(--oy)); }
.hc-card[data-fx="bloom"].fresh { transition-property: clip-path, opacity; }
.hc-card[data-fx="bloom"]:not(.in) { transition: clip-path .35s cubic-bezier(.65, 0, .35, 1), opacity .3s .1s; }
.hc-card[data-fx="bloom"] .hc-tail { display: none; }

/* 3. Glass: rises in 3D from blur to sharp, leans toward the mouse, with a light sweep */
.hc-card[data-fx="glass"] { --tx: 0deg; --ty: 0deg; transform: perspective(700px) rotateX(28deg) translateY(18px) scale(.9); filter: blur(8px); transition: opacity .35s ease, transform .65s cubic-bezier(.22, 1, .36, 1), filter .45s ease, left .5s cubic-bezier(.22, 1, .36, 1), top .5s cubic-bezier(.22, 1, .36, 1); }
.hc-card[data-fx="glass"].in { opacity: 1; filter: none; transform: perspective(700px) rotateX(var(--tx)) rotateY(var(--ty)); }
.hc-card[data-fx="glass"].in.tilting { transition: opacity .35s ease, transform .2s ease-out, filter .45s ease, left .5s cubic-bezier(.22, 1, .36, 1), top .5s cubic-bezier(.22, 1, .36, 1); }
.hc-card[data-fx="glass"].fresh { transition-property: opacity, transform, filter; }
.hc-card[data-fx="glass"] .hc-sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.hc-card[data-fx="glass"] .hc-sheen::after { content: ""; position: absolute; inset: -40% -70%; background: linear-gradient(105deg, transparent 42%, rgba(255, 240, 205, .2) 50%, transparent 58%); transform: translateX(-60%); }
.hc-card[data-fx="glass"].in .hc-sheen::after { animation: hc-sweep 1.2s .1s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes hc-sweep { to { transform: translateX(60%); } }

/* 4. Pixel: builds itself in blocky steps, like the logo */
.hc-card[data-fx="pixel"] { clip-path: inset(0 100% 0 0 round 16px); transition: clip-path .5s steps(9, end), opacity 0s, left .36s steps(6, end), top .36s steps(6, end); }
.hc-card[data-fx="pixel"].in { opacity: 1; clip-path: inset(-12px 0 -12px 0 round 16px); }
.hc-card[data-fx="pixel"].fresh { transition-property: clip-path, opacity; }
.hc-card[data-fx="pixel"]:not(.in) { transition: clip-path .28s steps(5, end), opacity 0s .28s; }
.hc-card[data-fx="pixel"] .hc-body > * { animation-timing-function: steps(4, end); }
.hc-card[data-fx="pixel"] .hc-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background-image: linear-gradient(rgba(232, 195, 106, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 195, 106, .16) 1px, transparent 1px); background-size: 8px 8px; }
.hc-card[data-fx="pixel"].in .hc-sheen { animation: hc-grid .8s steps(5, end); }
@keyframes hc-grid { from { opacity: 1; } to { opacity: 0; } }

/* The "next dot": an outlined dot with a plus, kept free for the next client */
.tiles i.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#e8c36a, #e8c36a) center / 56% 1.5px no-repeat, linear-gradient(#e8c36a, #e8c36a) center / 1.5px 56% no-repeat; }
.tiles.has-clients i.next.hc-me::after { background: linear-gradient(#1a0d0a, #1a0d0a) center / 56% 1.5px no-repeat, linear-gradient(#1a0d0a, #1a0d0a) center / 1.5px 56% no-repeat; }

/* Style switcher, shown only with ?cards in the address, for choosing a style */
.fx-switch { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 300; display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-radius: 99px; background: rgba(20, 8, 6, .94); border: 1px solid rgba(232, 195, 106, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); color: #fbf1e2; font-size: .8rem; }
.fx-switch span { padding: 0 6px 0 4px; color: rgba(251, 241, 226, .6); }
.fx-switch button { border: 1px solid rgba(232, 195, 106, .3); background: transparent; color: #fbf1e2; border-radius: 99px; padding: 7px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.fx-switch button.on { background: #e8c36a; color: #1a0d0a; border-color: #e8c36a; }


/* Chat answer buttons */
.msg-btns { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 6px; padding-left: 2px; }
.msg-btns button, .msg-btns a { border: 1px solid var(--gold, #c9a24e); background: var(--surface); color: var(--text); border-radius: 99px; padding: 7px 13px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, color .15s; }
.msg-btns a::after { content: " ↗"; opacity: .55; font-weight: 400; }
.msg-btns a[href^="tel:"]::after, .msg-btns a[href^="/"]::after { content: ""; }
.msg-btns button:hover, .msg-btns a:hover { background: var(--gold, #c9a24e); color: #1a0d0a; }

/* "Next dot" heading above the logo */
.hero-art-wrap { width: 100%; max-width: 480px; margin-left: auto; }
.hero-art-wrap .hero-art { max-width: none; }
.next-head { margin: 0 0 14px; text-align: center; }
.next-head small { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e8c36a; }
.next-head small::before, .next-head small::after { content: ""; width: 6px; height: 6px; border-radius: 1px; background: #e0372b; }
.next-head small::after { background: #e8c36a; }
.next-head b { display: block; margin-top: 6px; font: 700 clamp(1.15rem, 2.2vw, 1.45rem)/1.25 var(--head); color: #fbf1e2; letter-spacing: -.01em; }
.next-head b span { color: #e8c36a; }

/* Dots: build in once, then pop at random forever (site.js) */
.tiles.has-clients i { animation: tile-in .6s var(--d) both; }
@keyframes tile-in { from { transform: scale(0); opacity: 0; } }
.tiles.has-clients.built i { animation: none; }
.tiles.has-clients i.pop, .tiles.has-clients.built i.pop { animation: dot-pop .9s cubic-bezier(.45, 0, .25, 1); }
@keyframes dot-pop { 0%, 100% { transform: scale(1); filter: none; box-shadow: none; } 45% { transform: scale(1.4); filter: brightness(1.5); box-shadow: 0 0 14px 2px currentColor; } }
.tiles.has-clients i.tu0, .tiles.has-clients i.tu1, .tiles.has-clients i.tu2 { color: #ff6a55; }
.tiles.has-clients i.ts0, .tiles.has-clients i.ts1, .tiles.has-clients i.ts2 { color: #ffe19a; }
/* The visitor's dot: an empty dot that softly glows */
.tiles i.next { position: relative; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1.5px #e8c36a; animation: tile-in .6s var(--d) both, next-glow 2.2s ease-in-out .8s infinite; }
@keyframes next-glow { 50% { box-shadow: inset 0 0 0 1.5px #ffe7a8, 0 0 12px 2px rgba(232, 195, 106, .75); background: rgba(232, 195, 106, .35); } }
.tiles.has-clients.built i.next { animation: next-glow 2.2s ease-in-out infinite; }
.tiles.has-clients i.next.hc-me { transform: scale(1.7); background: #e8c36a; }
.hc-hint { margin: 8px 0 0; font-size: .7rem; color: rgba(251, 241, 226, .45); }
.hc-card.k-next .hc-url::before { background: #e8c36a; box-shadow: 0 0 6px #e8c36a; }
.hc-store svg path { fill: #fff !important; stroke: none !important; }

/* Client card docked below or above the logo (so it never covers the dots) */
.hc-dock { position: relative; margin-top: 18px; min-height: 112px; }
.hc-dock-top { margin: 0 0 18px; }
.hc-card.docked { position: relative; left: auto; top: auto; width: 100%; padding: 12px 16px 13px; }
.hc-card.docked .hc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kick kick" "top side"; align-items: center; column-gap: 14px; }
.hc-card.docked .hc-kick { grid-area: kick; }
.hc-card.docked .hc-top { grid-area: top; min-width: 0; }
.hc-card.docked .hc-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-card.docked .hc-store, .hc-card.docked .hc-foot { grid-area: side; margin: 0; padding: 0; border: 0; }
.hc-card.docked .hc-store { padding: 7px 12px; }
.hc-kick { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 7px; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; }
.hc-kick b { color: var(--hc-acc, #e8c36a); font-weight: 700; filter: brightness(1.25); }
.hc-kick em { margin-left: auto; font-style: normal; letter-spacing: .04em; text-transform: none; font-size: .7rem; color: rgba(251, 241, 226, .45); }
.hc-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(251, 241, 226, .07); overflow: hidden; }
.hc-prog::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hc-acc, #c9a24e), #fbe6b0); transform: scaleX(0); transform-origin: left; }
.hc-card.touring .hc-prog::after { animation: hc-prog var(--tour, 3600ms) linear forwards; }
@keyframes hc-prog { to { transform: scaleX(1); } }
.hc-card.k-play.docked .hc-tail, .hc-card.k-apple.docked .hc-tail { background: inherit; }
@media (max-width: 560px) {
  .hc-dock { min-height: 168px; }
  .hc-card.docked .hc-body { grid-template-columns: 1fr; grid-template-areas: "kick" "top" "side"; }
  .hc-card.docked .hc-store, .hc-card.docked .hc-foot { margin-top: 10px; justify-self: start; }
}
.fx-switch .sep { margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(232, 195, 106, .25); }
@media (max-width: 760px) { .fx-switch { flex-wrap: wrap; justify-content: center; width: calc(100% - 24px); border-radius: 18px; } }

/* "Your dot": a whole missing logo pixel, waiting for the next client */
.tiles i.next-slot { border-radius: 7px; background: radial-gradient(circle at 50% 45%, rgba(232, 195, 106, .3), rgba(232, 195, 106, .05) 72%); box-shadow: inset 0 0 0 1.5px rgba(232, 195, 106, .95), 0 0 18px rgba(232, 195, 106, .25); }
.tiles i.next-slot::after { background: linear-gradient(#ffe7a8, #ffe7a8) center / 42% 3px no-repeat, linear-gradient(#ffe7a8, #ffe7a8) center / 3px 42% no-repeat; filter: drop-shadow(0 0 4px rgba(232, 195, 106, .9)); }
.tiles i.next-slot::before { content: ""; position: absolute; inset: 0; border-radius: 8px; border: 1.5px solid rgba(232, 195, 106, .8); animation: slot-wave 2.4s cubic-bezier(.22, 1, .36, 1) infinite; pointer-events: none; }
@keyframes slot-wave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.tiles.has-clients i.next-slot.hc-me { transform: scale(1.1); background: #e8c36a; }
.tiles.has-clients i.next-slot.hc-me::after { background: linear-gradient(#1a0d0a, #1a0d0a) center / 42% 3px no-repeat, linear-gradient(#1a0d0a, #1a0d0a) center / 3px 42% no-repeat; filter: none; }

/* Phone-width fixes */
.st-plat { display: inline-flex; align-items: center; gap: 10px; }
.course-meta span, .track-head span { white-space: nowrap; }
@media (max-width: 980px) {
  .proof div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .foot-bottom { flex-direction: column; gap: 8px; padding-bottom: 86px; }
}

/* Product page: phone screens in a scrollable row */
.pd-phone-row { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 16px; margin-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pd-phone { flex: 0 0 auto; width: 168px; border-radius: 24px; overflow: hidden; border: 6px solid #17110f; background: #17110f; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .5); scroll-snap-align: start; cursor: zoom-in; transition: transform .25s; }
.pd-phone img { display: block; width: 100%; }
.pd-phone:hover { transform: translateY(-4px); }
@media (max-width: 640px) { .pd-phone { width: 140px; border-radius: 20px; border-width: 5px; } }
.pd-grid > * { min-width: 0; }

/* ---------- Services page ---------- */
.page-hero .wrap.sv-hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; justify-items: stretch; }
.sv-hero-in > div { display: grid; gap: 16px; justify-items: start; }
.sv-jump { display: grid; gap: 8px; padding: 14px; border-radius: 20px; background: rgba(251, 241, 226, .04); border: 1px solid rgba(232, 195, 106, .16); backdrop-filter: blur(6px); }
.sv-jump a { display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; color: #f3e9d8; transition: background .25s, transform .25s; }
.sv-jump a:hover { background: rgba(232, 195, 106, .1); transform: translateX(4px); }
.sv-jump .px-ico { width: 34px; height: 34px; --logo-u: #e0372b; --logo-s: #e8c36a; --ghost-cell: rgba(251, 241, 226, .07); }
.sv-jump span { display: grid; font-weight: 600; font-size: .98rem; }
.sv-jump small { font: 600 .68rem/1 var(--mono, monospace); letter-spacing: .14em; color: var(--gold-soft, #e8c36a); margin-bottom: 4px; }
.sv-jump svg:last-child { width: 16px; height: 16px; opacity: .45; }
.sv-list { padding-top: 90px; }
.sv-list .wrap { display: grid; gap: 110px; }
.sv-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; scroll-margin-top: 110px; }
.sv-row.flip .sv-text { order: 2; }
.sv-text { display: grid; gap: 16px; justify-items: start; }
.sv-num { font: 800 4.2rem/.8 var(--head); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--accent-text); opacity: .55; }
.sv-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.sv-text > p { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.sv-points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.sv-points li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; }
.sv-points svg { width: 14px; height: 14px; color: var(--accent-text); }
.sv-proof { margin-top: 6px; display: grid; gap: 10px; }
.sv-proof small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.sv-proof div { display: flex; flex-wrap: wrap; gap: 10px; }
.sv-proof a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .9rem; transition: border-color .25s, transform .25s; }
.sv-proof a:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.sv-proof .pmark { width: 32px; height: 32px; border-radius: 9px; box-shadow: none; }
.sv-proof .pmark.mono { font-size: .66rem; }
.sv-visual { position: relative; }
.sv-visual::before { content: ''; position: absolute; inset: 8% -4% -6% 8%; border-radius: 28px; background: radial-gradient(circle at 30% 30%, rgba(201, 162, 78, .28), rgba(160, 24, 16, .12) 60%, transparent 75%); filter: blur(10px); z-index: 0; }
.sv-row.flip .sv-visual::before { inset: 8% 8% -6% -4%; }
.sv-shot { position: relative; z-index: 1; border-radius: 18px; overflow: hidden; background: #140806; border: 1px solid rgba(0, 0, 0, .12); box-shadow: 0 40px 80px -36px rgba(40, 12, 6, .55); transform: perspective(1400px) rotateY(-5deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sv-row.flip .sv-shot { transform: perspective(1400px) rotateY(5deg); }
.sv-row:hover .sv-shot { transform: perspective(1400px) rotateY(0); }
.sv-bar { display: flex; gap: 6px; padding: 10px 14px; background: #1d0d0a; }
.sv-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(251, 241, 226, .22); }
.sv-bar i:first-child { background: #e0372b; } .sv-bar i:nth-child(2) { background: #e8c36a; }
.sv-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sv-phones { position: relative; z-index: 1; height: 440px; }
.sv-phone { position: absolute; top: 0; width: 200px; border-radius: 30px; overflow: hidden; border: 7px solid #17110f; background: #17110f; box-shadow: 0 36px 70px -30px rgba(40, 12, 6, .6); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sv-phone img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.sv-phone.p0 { left: 6%; transform: rotate(-6deg) translateY(30px); }
.sv-phone.p1 { left: 50%; margin-left: -100px; z-index: 2; }
.sv-phone.p2 { right: 6%; transform: rotate(6deg) translateY(30px); }
.sv-row:hover .sv-phone.p0 { transform: rotate(-9deg) translate(-10px, 26px); }
.sv-row:hover .sv-phone.p2 { transform: rotate(9deg) translate(10px, 26px); }
.sv-process { margin-top: 40px; }
.sv-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.sv-steps::before { content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, #a01810, #e8c36a, #a01810); opacity: .55; }
.sv-steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; }
.sv-steps .dot { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font: 700 1rem/1 var(--head); color: #1a0d0a; background: linear-gradient(150deg, #f3d48a, #c9a24e); box-shadow: 0 0 0 6px var(--hero-2, #1a0806), 0 12px 30px -10px rgba(232, 195, 106, .6); }
.sv-steps h3 { color: #fbf1e2; font-size: 1.15rem; margin-top: 6px; }
.sv-steps p { color: rgba(243, 233, 216, .65); font-size: .92rem; max-width: 240px; }
.sv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 28px auto 0; }
.sv-chips span { padding: 9px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
@media (max-width: 980px) {
  .page-hero .wrap.sv-hero-in { grid-template-columns: 1fr; gap: 30px; }
  .sv-row, .sv-row.flip { grid-template-columns: 1fr; gap: 34px; }
  .sv-row.flip .sv-text { order: 0; }
  .sv-list .wrap { gap: 80px; }
  .sv-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .sv-steps::before { display: none; }
}
@media (max-width: 640px) {
  .sv-list { padding-top: 60px; }
  .sv-num { font-size: 3.2rem; }
  .sv-shot, .sv-row.flip .sv-shot { transform: none; }
  .sv-phones { height: 330px; }
  .sv-phone { width: 140px; border-radius: 22px; border-width: 5px; }
  .sv-phone.p0 { left: 0; } .sv-phone.p1 { margin-left: -70px; } .sv-phone.p2 { right: 0; }
  .sv-steps { grid-template-columns: 1fr; }
}
.sv-process { background: radial-gradient(700px 320px at 50% 0%, rgba(201, 162, 78, .16), transparent 70%), linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.sv-process .section-head h2 { color: #fbf1e2; }
.sv-process .kicker { color: var(--gold-soft); }

/* ---------- Certificate verification ---------- */
.page-hero .wrap.vf-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; justify-items: stretch; }
.vf-copy { display: grid; gap: 16px; justify-items: start; }
.vf-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.vf-steps li { display: flex; align-items: center; gap: 12px; color: var(--hero-muted); font-size: .96rem; }
.vf-steps span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 700 .85rem/1 var(--head); color: #1a0d0a; background: linear-gradient(150deg, #f3d48a, #c9a24e); }
.vf-card { position: relative; border-radius: 24px; padding: 28px; background: linear-gradient(170deg, rgba(251, 241, 226, .08), rgba(251, 241, 226, .03)); border: 1px solid rgba(232, 195, 106, .25); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); --logo-u: #e0372b; --logo-s: #e8c36a; --ghost-cell: rgba(251, 241, 226, .07); }
.vf-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(232, 195, 106, .7), transparent 40%, transparent 60%, rgba(224, 55, 43, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.vf-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(251, 241, 226, .1); }
.vf-card-head b { display: block; color: #fbf1e2; font-size: 1.1rem; }
.vf-card-head small { color: var(--hero-muted); font-size: .8rem; }
.vf-form { display: grid; gap: 8px; }
.vf-form label { color: #f3e9d8; font-size: .86rem; font-weight: 600; margin-top: 6px; }
.vf-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: rgba(10, 4, 3, .45); border: 1px solid rgba(251, 241, 226, .14); transition: border-color .25s, box-shadow .25s; }
.vf-field:focus-within { border-color: var(--gold-soft); box-shadow: 0 0 0 4px rgba(232, 195, 106, .15); }
.vf-field svg { width: 18px; height: 18px; color: var(--gold-soft); flex: none; }
.vf-field input { flex: 1; min-width: 0; border: 0; background: none; color: #fbf1e2; font: 500 1rem var(--body); padding: 15px 0; outline: none; letter-spacing: .02em; }
.vf-field input::placeholder { color: rgba(243, 233, 216, .35); }
.vf-eye { border: 0; background: none; color: rgba(243, 233, 216, .6); cursor: pointer; padding: 6px; display: grid; }
.vf-go { margin-top: 16px; justify-content: center; padding: 15px; font-size: 1rem; }
.vf-note { margin-top: 6px; text-align: center; font-size: .78rem; color: rgba(243, 233, 216, .45); }
.vf-result { padding-top: 50px; scroll-margin-top: 90px; }
.vf-cert { max-width: 920px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(40, 12, 6, .45); animation: vf-in .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes vf-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.vf-cert-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 26px; background: linear-gradient(90deg, #0f5132, #1f9d55); color: #fff; }
.vf-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem; }
.vf-badge svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.vf-when { font-size: .82rem; opacity: .85; }
.vf-cert-body { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; padding: 34px 34px 26px; align-items: start; background: radial-gradient(500px 220px at 0% 0%, rgba(201, 162, 78, .12), transparent 70%); }
.vf-seal { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #2b0806, #140504); box-shadow: 0 0 0 4px #e8c36a, 0 0 0 9px rgba(232, 195, 106, .25); --logo-u: #e0372b; --logo-s: #e8c36a; --ghost-cell: rgba(251, 241, 226, .06); }
.vf-cert-main small { color: var(--dim); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.vf-cert-main h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 18px; }
.vf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 22px; margin: 0; }
.vf-grid div { padding-top: 10px; border-top: 1px solid var(--line); }
.vf-grid dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.vf-grid dd { margin: 4px 0 0; font-weight: 600; }
.vf-photo { width: 110px; height: 130px; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
.vf-cert-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 26px; border-top: 1px solid var(--line); }
.vf-miss { max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); animation: vf-in .5s cubic-bezier(.2, .7, .2, 1); }
.vf-miss.is-warn { border-left-color: #c0392b; }
.vf-miss-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(192, 57, 43, .1); color: #c0392b; }
.vf-miss b { font-size: 1.08rem; }
.vf-miss p { color: var(--muted); margin-top: 4px; }
.vf-miss a { color: var(--accent-text); font-weight: 600; }
.vf-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vf-info .card { display: grid; gap: 8px; align-content: start; }
.vf-info .card > svg { width: 26px; height: 26px; color: var(--accent-text); }
.vf-info .card p { color: var(--muted); font-size: .94rem; }
.vf-info .card a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); font-size: .9rem; }
.vf-info .card a svg { width: 15px; height: 15px; }
@media (max-width: 980px) { .page-hero .wrap.vf-in { grid-template-columns: 1fr; gap: 34px; } .vf-info { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .vf-card { padding: 22px 18px; } .vf-cert-body { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; } .vf-seal { width: 76px; height: 76px; } .vf-cert-top { flex-direction: column; align-items: flex-start; } }
@media print { .util, .site-head, .site-foot, .vf-hero, .vf-info, .ai-fab, .cta-band, .vf-cert-foot { display: none !important; } .vf-cert { box-shadow: none; } }

/* ---------- Blog ---------- */
.bl-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bl-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .88rem; color: var(--muted); transition: border-color .2s, color .2s, background .2s; }
.bl-cats a small { opacity: .6; margin-left: 2px; }
.bl-cats a:hover { color: var(--text); border-color: var(--gold); }
.bl-cats a[aria-current] { background: var(--gold-soft); border-color: var(--gold-soft); color: #2b0806; font-weight: 600; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bl-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.bl-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.bl-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.bl-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bl-card:hover .bl-cover img { transform: scale(1.04); }
.bl-cover.is-px, .bl-hero-cover.is-px { display: grid; place-items: center; --ghost-cell: rgba(251, 241, 226, .08); --logo-u: #e0372b; --logo-s: #e8c36a;
  background: radial-gradient(circle at 30% 20%, hsla(var(--h), 70%, 45%, .35), transparent 60%), radial-gradient(rgba(251, 241, 226, .08) 1px, transparent 1.3px) 0 0 / 14px 14px, linear-gradient(150deg, #2b0806, #140504); }
.bl-cover.is-px svg { width: 28%; height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .4)); }
.bl-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bl-cat { font: 600 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.bl-card h3 { font-size: 1.18rem; line-height: 1.3; }
.bl-card p { color: var(--muted); font-size: .95rem; }
.bl-meta { margin-top: auto; padding-top: 6px; display: flex; gap: 14px; font-size: .8rem; color: var(--dim); }
.bl-card.is-big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.bl-card.is-big .bl-cover { aspect-ratio: auto; min-height: 320px; }
.bl-card.is-big .bl-card-body { padding: 36px 38px; justify-content: center; }
.bl-card.is-big h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bl-card.is-big p { font-size: 1.02rem; }
.bl-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.bl-empty { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 56px 24px; max-width: 620px; margin: 0 auto; }
.bl-empty svg { width: 56px; height: 56px; }
.bl-empty p { color: var(--muted); }

.bl-preview { position: sticky; top: 0; z-index: 60; background: var(--gold-soft); color: #2b0806; text-align: center; padding: 9px 16px; font-size: .9rem; }
.bl-preview a { text-decoration: underline; font-weight: 600; margin-left: 6px; }
.bl-post-hero { padding-bottom: 120px; }
.bl-post-hero h1 { max-width: 900px; }
.bl-byline { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.bl-byline b { display: block; font-size: .95rem; }
.bl-byline small { color: var(--muted); font-size: .84rem; }
.bl-av { width: 42px; height: 42px; border-radius: 50%; background: rgba(251, 241, 226, .08); border: 1px solid var(--line-2); display: grid; place-items: center; }
.bl-body { margin-top: -88px; position: relative; }
.bl-hero-cover { aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-2); }
.bl-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.bl-hero-cover.is-px svg { width: 12%; height: auto; }
.bl-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 56px; padding: 56px 0 24px; }
.bl-layout.has-toc { grid-template-columns: 240px minmax(0, 760px); }
.bl-toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 10px; font-size: .88rem; }
.bl-toc b { font: 600 .74rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.bl-toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.bl-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.4; }
.bl-toc a:hover { color: var(--text); border-color: var(--crimson); }

.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.9em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.28rem; margin-top: 1.6em; scroll-margin-top: 100px; }
.prose h4 { font-size: 1.08rem; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--crimson); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; color: var(--muted); font-size: 1.12rem; font-style: italic; }
.prose code { font: .88em var(--mono); background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.prose pre { background: #140504; color: #fbf1e2; padding: 18px 20px; border-radius: var(--r); overflow-x: auto; font-size: .9rem; line-height: 1.65; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose figure img, .prose p img { border-radius: var(--r); border: 1px solid var(--line); }
.prose figcaption { text-align: center; color: var(--dim); font-size: .86rem; margin-top: 10px; }
.prose hr { border: 0; height: 6px; background: radial-gradient(circle, var(--gold) 2px, transparent 2.5px) center / 18px 6px repeat-x; margin-block: 2.4em; }
.prose .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th { background: var(--surface-2); text-align: left; font-weight: 700; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.bl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2em; }
.bl-tags span { font-size: .84rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.bl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1.6em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .9rem; }
.bl-share > span { color: var(--dim); margin-right: 4px; }
.bl-share a, .bl-share button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; text-decoration: none; color: var(--text); }
.bl-share a:hover, .bl-share button:hover { border-color: var(--gold); }
.bl-related { background: var(--bg-2); border-top: 1px solid var(--line); }

.bl-legal { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 56px; justify-content: center; }
.bl-legal-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 6px; padding: 22px; }
.bl-legal-nav b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.bl-legal-nav a { color: var(--muted); padding: 4px 0; }
.bl-legal-nav a:hover, .bl-legal-nav a[aria-current] { color: var(--accent-text); }
.bl-legal-nav p { font-size: .86rem; color: var(--dim); margin-top: 8px; }
.bl-legal-nav p a { color: var(--accent-text); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--text); }

@media (max-width: 1080px) {
  .bl-layout.has-toc { grid-template-columns: minmax(0, 760px); }
  .bl-toc { display: none; }
}
@media (max-width: 980px) {
  .bl-grid { grid-template-columns: 1fr 1fr; }
  .bl-card.is-big { grid-template-columns: 1fr; }
  .bl-card.is-big .bl-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .bl-card.is-big .bl-card-body { padding: 24px; }
  .bl-legal { grid-template-columns: 1fr; gap: 28px; }
  .bl-legal-nav { position: static; }
}
@media (max-width: 640px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-post-hero { padding-bottom: 84px; }
  .bl-body { margin-top: -56px; }
  .bl-hero-cover { aspect-ratio: 16 / 9; border-radius: var(--r); }
  .bl-hero-cover.is-px svg { width: 22%; }
  .bl-layout { padding-top: 32px; }
  .prose { font-size: 1.02rem; }
  .bl-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -28px; padding-inline: 28px; scrollbar-width: none; }
  .bl-cats a { white-space: nowrap; }
}

/* ---------- FAQ (visible answers + FAQPage data) ---------- */
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.faq[open] { border-color: var(--gold); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.04rem; line-height: 1.4; letter-spacing: -.01em; }
.faq-ico { position: relative; flex: none; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line-2); }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--accent-text); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); line-height: 1.75; }
@media (max-width: 640px) {
  .faq summary { padding: 16px 18px; }
  .faq p { padding: 0 18px 18px; }
}

/* ---------- Hindi pages and language switch ---------- */
html[lang^="hi"] { --body: 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif; }
html[lang^="hi"] body { font-family: var(--body); }
html[lang^="hi"] h1, html[lang^="hi"] h2, html[lang^="hi"] h3, html[lang^="hi"] h4 { letter-spacing: 0; line-height: 1.35; }
html[lang^="hi"] .prose { line-height: 1.9; }
.bl-langs { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.bl-langs a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; color: inherit; text-decoration: none; }
.bl-langs a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #1a0c06; }
.bl-lang { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gold); color: var(--accent-text); font-weight: 600; font-size: .9rem; text-decoration: none; }
.bl-lang .ico { width: 15px; height: 15px; }
.bl-byline { flex-wrap: wrap; }
