/* =====================================================================
   MINGO LABS – MAIN STYLESHEET
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Buttons · 5 Loader
   6 Header and menus · 7 Hero · 8 Marquees · 9 Home sections
   10 Products · 11 News and ads · 12 Services and quote · 13 Market
   and gems · 14 About and contact · 15 Footer and floating UI
   16 Motion helpers · 17 Print
   ===================================================================== */

/* 1. TOKENS ---------------------------------------------------------- */
:root {
  --bg: #F7F3FF;
  --bg-2: #EEE7FF;
  --surface: #FFFFFF;
  --surface-2: #F3EDFF;
  --ink: #1D1240;
  --ink-2: #463C6E;
  --muted: #655D8C;
  --line: rgba(76, 45, 170, .14);
  --primary: #6B45F0;
  --primary-hover: #5A34DE;
  --primary-ink: #5B34E0;
  --on-primary: #FFFFFF;
  --lilac: #D9CCFF;
  --lilac-2: #B9A3FF;
  --pink: #FF6F9C;
  --pink-ink: #B81F57;
  --gold: #E8B04A;
  --glass: rgba(255, 255, 255, .74);
  --glass-border: rgba(255, 255, 255, .8);
  --shadow-1: 0 1px 2px rgba(41, 20, 110, .06), 0 10px 28px -10px rgba(41, 20, 110, .16);
  --shadow-2: 0 2px 6px rgba(41, 20, 110, .08), 0 30px 70px -24px rgba(65, 35, 180, .4);
  --grad-brand: linear-gradient(135deg, #6B45F0 0%, #9A6BFF 55%, #FF6F9C 120%);
  --grad-soft: linear-gradient(160deg, #EDE5FF 0%, #F9F5FF 60%, #FFEAF1 130%);
  --m-bg: linear-gradient(165deg, #231067 0%, #4A2BC9 58%, #7B4DFF 100%);
  --r-xl: 36px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0E0A1F;
  --bg-2: #140E2D;
  --surface: #171231;
  --surface-2: #1E1840;
  --ink: #F3EFFF;
  --ink-2: #D2C9F6;
  --muted: #A9A1CF;
  --line: rgba(190, 170, 255, .17);
  --primary: #8B6CFF;
  --primary-hover: #A08AFF;
  --primary-ink: #BBA8FF;
  --on-primary: #0E0A1F;
  --lilac: #2A2058;
  --lilac-2: #4A3A92;
  --pink-ink: #FF93B6;
  --glass: rgba(23, 18, 49, .72);
  --glass-border: rgba(255, 255, 255, .09);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -12px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 34px 80px -28px rgba(0, 0, 0, .8);
  --grad-soft: linear-gradient(160deg, #1B1440 0%, #120D2B 70%, #241033 130%);
  --m-bg: linear-gradient(165deg, #0E0A1F 0%, #1D1250 60%, #35208F 100%);
  color-scheme: dark;
}

/* 2. BASE ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.028em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 2rem + 5.6vw, 6.4rem); letter-spacing: -.04em; line-height: .98; }
h2 { font-size: clamp(2rem, 1.4rem + 3.2vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.15; }
h4 { font-size: 1.1rem; line-height: 1.25; letter-spacing: -.01em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[data-theme="dark"] :focus-visible { outline-color: #CBBEFF; }
::selection { background: var(--primary); color: var(--on-primary); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 2000; background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--on-primary); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* 3. LAYOUT ---------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--tint { background: var(--grad-soft); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 780px; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.kicker { font-weight: 700; font-size: .95rem; color: var(--primary-ink); display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.page-top { padding-top: calc(var(--header-h) + 64px); }
main { display: block; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; max-width: 68ch; }

/* 4. BUTTONS AND CHIPS ---------------------------------------------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, background-color .3s, border-color .3s;
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--btn-hover, rgba(255, 255, 255, .22)); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 12px 28px -12px rgba(107, 69, 240, .7); }
.btn--primary:hover { color: var(--on-primary); box-shadow: 0 16px 34px -12px rgba(107, 69, 240, .85); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); --btn-hover: var(--surface-2); }
.btn--ghost:hover { color: var(--ink); border-color: var(--lilac-2); }
.btn--light { background: #fff; color: #1D1240; --btn-hover: #EDE5FF; }
.btn--light:hover { color: #1D1240; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(10px); }
.btn--glass:hover { color: #fff; border-color: #fff; }
.btn--wa { background: #1FA855; color: #fff; --btn-hover: rgba(255, 255, 255, .2); }
.btn--wa:hover { color: #fff; }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: background-color .25s, color .25s, border-color .25s; }
button.chip:hover { border-color: var(--lilac-2); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.badge { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--pink); color: #2B0A18; line-height: 1.4; }
.badge--violet { background: var(--lilac); color: var(--primary-ink); }
[data-theme="dark"] .badge--violet { color: #E1D8FF; }
.badge--sample { background: var(--gold); color: #3A2600; }


/* 5. LOADER (Mingo Labs capital M) ------------------------------- */
#loader {
  display: none;
}

html.js #loader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg);
  color: var(--ink);
  transition: transform .9s var(--ease);
  transform: translateY(0);
}

html.js #loader.is-done {
  transform: translateY(-104%);
  pointer-events: none;
}

html.js #loader.is-hidden {
  visibility: hidden;
}

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(280px, 76vw);
}

/* Animated capital M */
.loader-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.09em;
  padding-right: 7px;
  color: transparent;
  background: var(--grad-brand);
  background-clip: text;
  -webkit-background-clip: text;
  animation: mingo-m-pulse 1.15s ease-in-out infinite;
  transform-origin: center;
}

@keyframes mingo-m-pulse {
  0%, 100% {
    transform: scale(.94);
    opacity: .75;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.loader-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.02em;
}

.loader-bar {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--lilac);
  overflow: hidden;
}

.loader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  background: var(--grad-brand);
  border-radius: 6px;
}

.loader-pct {
  font-variant-numeric: tabular-nums;
  font-size: .9rem;
  color: var(--muted);
  margin-top: -8px;
}

@media (prefers-reduced-motion: reduce) {
  .loader-mark {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* 6. HEADER, DROPDOWNS, MOBILE MENU --------------------------------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 80; padding-inline: var(--gutter); pointer-events: none; }
.nav-shell {
  pointer-events: auto;
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 8px 10px 8px 22px; min-height: 60px;
  border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: var(--shadow-1);
  transition: padding .4s var(--ease), min-height .4s var(--ease), box-shadow .4s, max-width .5s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav-shell { background: var(--surface); } }
.site-header.is-scrolled .nav-shell { min-height: 54px; max-width: 1120px; box-shadow: var(--shadow-2); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; line-height: 1; }
.logo:hover { color: var(--ink); }
.logo b { font-weight: 500; color: var(--primary-ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; flex: none; }
.nav { display: none; justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 999px;
  font-weight: 600; font-size: .96rem; color: var(--ink-2); text-decoration: none; background: none; border: 0; line-height: 1.1;
  transition: background-color .25s, color .25s;
}
.nav-link:hover, .has-menu:focus-within > .nav-link, .has-menu.is-open > .nav-link { background: var(--surface-2); color: var(--ink); }
.nav-link[aria-current="page"], .nav-link.is-current { background: var(--lilac); color: var(--primary-ink); }
[data-theme="dark"] .nav-link[aria-current="page"], [data-theme="dark"] .nav-link.is-current { color: #E5DDFF; }
.nav-link .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-menu { position: relative; }
.has-menu.is-open > .nav-link .icon, .has-menu:hover > .nav-link .icon { transform: rotate(180deg); }
.menu-panel {
  position: absolute; top: calc(100% + 16px); left: 50%; min-width: 330px; padding: 10px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transform-origin: 50% 0;
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .25s;
}
.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-menu:hover > .menu-panel, .has-menu:focus-within > .menu-panel, .has-menu.is-open > .menu-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.menu-item { position: relative; list-style: none; }
.menu-link {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px;
  text-decoration: none; color: var(--ink); background: none; border: 0; width: 100%; text-align: left; transition: background-color .25s;
}
.menu-link:hover, .menu-item:focus-within > .menu-link, .menu-item.is-open > .menu-link { background: var(--surface-2); color: var(--ink); }
.menu-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--lilac); color: var(--primary-ink); transition: transform .35s var(--ease), background-color .3s, color .3s; }
[data-theme="dark"] .menu-ico { color: #E1D8FF; }
.menu-link:hover .menu-ico { transform: rotate(-6deg) scale(1.06); background: var(--primary); color: var(--on-primary); }
.menu-ico .icon { width: 22px; height: 22px; }
.menu-text strong { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; line-height: 1.2; }
.menu-text small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.3; margin-top: 2px; }
.menu-chev .icon { width: 16px; height: 16px; color: var(--muted); transform: rotate(-90deg); }
.sub-panel {
  position: absolute; left: calc(100% + 10px); top: -10px; min-width: 300px; padding: 10px; margin: 0; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateX(-8px); transition: opacity .22s, transform .3s var(--ease), visibility 0s .22s;
}
.sub-panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: -14px; width: 14px; }
.menu-item.has-sub:hover > .sub-panel, .menu-item.has-sub:focus-within > .sub-panel, .menu-item.has-sub.is-open > .sub-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub-panel.flip { left: auto; right: calc(100% + 10px); }
.sub-panel.flip::before { left: auto; right: -14px; }
.nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--ink); transition: background-color .25s, transform .35s var(--ease); }
.icon-btn:hover { background: var(--surface-2); transform: rotate(12deg); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-cta { display: none; }

.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; position: relative; padding: 0; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), opacity .25s, top .5s var(--ease), background-color .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; right: 18px; background: var(--primary); }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-12px); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-shell .mobile-only { display: contents; }
.nav-left { display: flex; align-items: center; gap: 10px; }
.nav-left .logo { display: none; }

.m-menu {
  position: fixed; inset: 0; z-index: 70; background: var(--m-bg); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at 46px 42px); visibility: hidden;
  transition: clip-path .85s var(--ease), visibility 0s .85s;
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
}
.m-menu::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(255, 111, 156, .5), transparent 62%); pointer-events: none; }
.m-menu.is-open { clip-path: circle(150% at 46px 42px); visibility: visible; transition-delay: 0s; }
.m-inner { position: relative; max-width: 640px; margin: 0 auto; display: grid; gap: 28px; min-height: calc(100svh - var(--header-h) - 70px); align-content: space-between; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.m-item { opacity: 0; transform: translateY(46px); transition: opacity .4s, transform .6s var(--ease); }
.m-menu.is-open .m-item { opacity: 1; transform: none; transition-delay: calc(.28s + var(--i, 0) * 70ms); }
.m-link, .m-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 8px 0;
  font-family: var(--font-display); font-variation-settings: "opsz" 96; font-weight: 700; font-size: clamp(2.1rem, 9.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em;
  color: #fff; text-decoration: none; background: none; border: 0; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.m-link:hover, .m-toggle:hover { color: #FFD3E2; }
.m-link[aria-current="page"] { color: #FFB8CF; }
.m-toggle .icon { width: 28px; height: 28px; transition: transform .45s var(--ease); }
.m-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.m-sub.is-open { grid-template-rows: 1fr; }
.m-sub > div { overflow: hidden; }
.m-sub ul { list-style: none; margin: 0; padding: 10px 0 14px 6px; display: grid; gap: 2px; }
.m-sub a, .m-sub-title { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: rgba(255, 255, 255, .92); text-decoration: none; font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.m-sub a:hover { color: #FFD3E2; }
.m-sub-title { color: rgba(255, 255, 255, .6); font-size: .95rem; padding-bottom: 2px; }
.m-sub ul ul { padding: 0 0 0 22px; }
.m-sub .badge { background: #FFB8CF; color: #2B0A18; }
.m-foot { display: grid; gap: 18px; }
.m-social { display: flex; flex-wrap: wrap; gap: 10px; }
.m-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .25s, transform .35s var(--ease); }
.m-social a:hover { background: #fff; color: #231067; transform: translateY(-3px); }
.m-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.m-motto { color: rgba(255, 255, 255, .7); font-size: .95rem; margin: 0; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .nav-cta { display: inline-flex; }
  .burger, .m-menu { display: none; }
  .nav-left .logo { display: inline-flex; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .logo-center { display: none; }
}
@media (max-width: 1079.98px) {
  .nav-shell { grid-template-columns: 44px 1fr 44px; padding: 8px 10px; min-height: 60px; }
  .nav-left { display: contents; }
  .logo-center { justify-self: center; }
  .nav-actions .nav-cta { display: none; }
}

/* 7. HERO (slideshow with story-style progress bars) ---------------- */
.hero { position: relative; min-height: 100svh; display: flex; color: #fff; isolation: isolate; overflow: hidden; background: #1A0F4A; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-slide.is-active img { animation: kenburns 4.4s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.15); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 8, 48, .66) 0%, rgba(16, 8, 48, .3) 36%, rgba(16, 8, 48, .9) 100%),
    radial-gradient(60% 55% at 12% 88%, rgba(107, 69, 240, .6), transparent 70%);
}
.hero-inner { display: grid; align-content: end; gap: 34px; min-height: 100svh; padding-top: calc(var(--header-h) + 48px); padding-bottom: 28px; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.hero-main { display: grid; gap: 28px; align-items: end; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero .kicker { color: #FFD3E2; }
.hero h1 { color: #fff; max-width: 13ch; margin: 0; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); color: rgba(255, 255, 255, .9); max-width: 46ch; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption {
  display: none; max-width: 320px; padding: 18px 20px; border-radius: 22px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero-caption strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; margin-bottom: 6px; }
.hero-caption p { margin: 0; font-size: .98rem; color: rgba(255, 255, 255, .86); }
.hero-caption.is-swap { animation: cap-in .6s var(--ease); }
@keyframes cap-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stories { display: flex; gap: 10px; }
.story { flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0 0; color: rgba(255, 255, 255, .72); text-align: left; font-weight: 600; font-size: .9rem; line-height: 1.2; }
.story:hover { color: #fff; }
.story .story-label { display: none; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story.is-active { color: #fff; }
.story .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.story .bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.story.is-done .bar i { width: 100%; }
.story.is-active .bar i { animation: story-fill var(--interval, 2500ms) linear forwards; }
.hero.is-paused .story.is-active .bar i { animation-play-state: paused; }
@keyframes story-fill { from { width: 0; } to { width: 100%; } }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 96px; display: none; }
@media (min-width: 700px) { .story .story-label { display: block; } }
@media (min-width: 960px) {
  .hero-main { grid-template-columns: 1fr auto; }
  .hero-caption { display: block; margin-bottom: 8px; }
}

/* 8. MARQUEES --------------------------------------------------------- */
.marquee { --gap: clamp(28px, 4vw, 56px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-group { display: flex; align-items: center; gap: var(--gap); padding-right: var(--gap); }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trusted { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.trusted-title { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); letter-spacing: -.01em; margin: 0 0 26px; color: var(--ink-2); max-width: none; }
.trusted .marquee + .marquee { margin-top: 18px; }
.logo-card { height: 72px; min-width: 150px; padding: 12px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; filter: grayscale(1); opacity: .78; transition: filter .35s, opacity .35s, transform .4s var(--ease); }
.logo-card:hover { filter: none; opacity: 1; transform: translateY(-3px); }
.logo-card img { height: 100%; width: auto; max-width: 160px; object-fit: contain; }
.ticker { overflow: hidden; padding-block: clamp(26px, 4vw, 48px); border-block: 1px solid var(--line); background: var(--surface); }
.ticker .marquee-group { --gap: clamp(28px, 4vw, 56px); }
.ticker-item { display: inline-flex; align-items: center; gap: var(--gap); font-family: var(--font-display); font-variation-settings: "opsz" 96; font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 5vw, 5.2rem); letter-spacing: -.04em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ticker-item:nth-child(even) { color: var(--primary); -webkit-text-stroke: 0; }
.ticker-item svg { width: .55em; height: .55em; color: var(--pink); -webkit-text-stroke: 0; fill: currentColor; }

/* 9. HOME SECTIONS ---------------------------------------------------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--lilac-2); }
.svc-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--lilac); color: var(--primary-ink); transition: transform .5s var(--ease); }
[data-theme="dark"] .svc-ico { color: #E1D8FF; }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
.svc-ico .icon { width: 28px; height: 28px; }
.svc h3 { margin: 6px 0 0; }
.svc p { margin: 0; color: var(--ink-2); }
.svc-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-ink); text-decoration: none; }
.svc-link .icon { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.svc:hover .svc-link .icon { transform: translateX(5px); }
.svc--feature { background: var(--grad-brand); color: #fff; border-color: transparent; justify-content: flex-end; min-height: 340px; }
.svc--feature h3, .svc--feature p, .svc--feature .svc-link { color: #fff; }
.svc--feature h3 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); }
.svc--feature .svc-ico { background: rgba(255, 255, 255, .22); color: #fff; }
.svc--feature::after { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -70px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .13); }
.svc--tint { background: var(--lilac); border-color: transparent; }
.svc--dark { background: #1D1240; color: #fff; border-color: transparent; }
.svc--dark h3, .svc--dark .svc-link { color: #fff; }
.svc--dark p { color: rgba(255, 255, 255, .8); }
.svc--dark .svc-ico { background: rgba(255, 255, 255, .14); color: #fff; }
[data-theme="dark"] .svc--dark { background: var(--surface-2); }
.svc--custom { border-style: dashed; border-width: 2px; background: transparent; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.svc--custom .svc-text { flex: 1 1 320px; display: grid; gap: 8px; }
.svc--custom h3 { margin: 0; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento .svc { grid-column: span 4; }
  .bento .svc:nth-child(1) { grid-column: span 5; grid-row: span 2; }
  .bento .svc:nth-child(2) { grid-column: span 4; }
  .bento .svc:nth-child(3) { grid-column: span 3; }
  .bento .svc:nth-child(4) { grid-column: span 7; }
  .bento .svc:nth-child(8) { grid-column: span 12; }
}
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 26px 8px 22px; border-top: 2px solid var(--ink); }
.stat-num { font-family: var(--font-display); font-variation-settings: "opsz" 96; font-weight: 800; font-size: clamp(3.4rem, 2rem + 6vw, 6.4rem); line-height: .95; letter-spacing: -.05em; color: var(--ink); display: block; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--ink-2); font-weight: 600; }
.why { display: grid; gap: 36px; }
.why-list { display: grid; }
.why-item { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item h3 { margin: 0; }
.why-item p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .why { grid-template-columns: 5fr 7fr; gap: 64px; } .why-sticky { position: sticky; top: 120px; align-self: start; } }
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; position: relative; }
.step { position: relative; padding-top: 22px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; color: var(--lilac-2); display: block; margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--pink)); border-radius: 3px; transform-origin: left; transform: scaleX(var(--reveal, 1)); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; }
.feature-duo { display: grid; gap: 18px; }
.prod-card { position: relative; display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: #fff; min-height: 420px; align-content: space-between; isolation: isolate; transition: transform .6s var(--ease); }
.prod-card:hover { transform: translateY(-6px); color: #fff; }
.prod-card--a { background: linear-gradient(150deg, #3B1FB8 0%, #6B45F0 55%, #A878FF 100%); }
.prod-card--b { background: linear-gradient(150deg, #1D1240 0%, #3A2480 55%, #B8326C 130%); }
.prod-card h3 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); margin: 0 0 8px; }
.prod-card p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 34ch; }
.prod-card .badge { background: #fff; color: #1D1240; width: fit-content; }
.prod-card .more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.prod-art { position: absolute; right: -30px; bottom: -40px; width: min(46%, 230px); z-index: -1; transform: rotate(8deg); transition: transform .7s var(--ease); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); border-radius: 26px; }
.prod-card:hover .prod-art { transform: rotate(3deg) translateY(-10px) scale(1.04); }
@media (min-width: 900px) { .feature-duo { grid-template-columns: 1fr 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.pill-link:hover { transform: translateY(-4px); border-color: var(--lilac-2); box-shadow: var(--shadow-1); color: var(--ink); }
.pill-link .menu-ico { width: 40px; height: 40px; border-radius: 50%; }
.quotes { position: relative; }
.quote-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 22px; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.quote-card { flex: 0 0 min(86%, 440px); scroll-snap-align: start; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 22px; align-content: space-between; position: relative; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.015em; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .95rem; }
.quote-card figcaption strong { display: block; color: var(--ink); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.quote-controls { display: flex; gap: 10px; margin-top: 8px; }
.quote-card .badge { position: absolute; top: 16px; right: 16px; }
.faq { display: grid; gap: 0; max-width: 860px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.faq-q .icon { width: 22px; height: 22px; transition: transform .45s var(--ease); flex: none; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-2); padding-bottom: 22px; margin: 0; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 7vw, 96px) clamp(24px, 6vw, 80px); background: var(--grad-brand); color: #fff; display: grid; gap: 28px; justify-items: start; isolation: isolate; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; border: 44px solid rgba(255, 255, 255, .12); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -140px; }
.cta-band::after { width: 260px; height: 260px; right: 18%; bottom: -150px; }
.cta-band h2 { color: #fff; max-width: 16ch; margin: 0; font-size: clamp(2.2rem, 1.4rem + 4vw, 4.6rem); }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.2rem; margin: 0; max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 10. PRODUCTS (Studimingo) ------------------------------------------ */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; background: var(--grad-soft); }
.page-hero h1 { font-size: clamp(2.6rem, 1.8rem + 4.6vw, 5.4rem); margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 26px; }
.page-hero--split { display: grid; gap: 40px; align-items: center; }
.page-hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; pointer-events: none; }
.page-hero .blob--a { width: 420px; height: 420px; background: var(--lilac-2); top: -120px; right: -100px; }
.page-hero .blob--b { width: 320px; height: 320px; background: var(--pink); opacity: .28; bottom: -140px; left: -80px; }
.page-hero > .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--lilac-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 16px; border-radius: 16px; background: #0C0818; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .22); position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.store-btn:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(12, 8, 24, .7); color: #fff; }
.store-btn .icon { width: 30px; height: 30px; }
.store-btn small { display: block; font-size: .72rem; line-height: 1.1; opacity: .85; }
.store-btn strong { display: block; font-size: 1.2rem; line-height: 1.15; font-weight: 700; }
.store-btn--soon { opacity: .72; cursor: not-allowed; pointer-events: none; background: transparent; color: var(--ink); border-color: var(--line); border-style: dashed; }
.store-btn--soon .badge { position: absolute; top: -10px; right: 12px; }
.phone-stage { position: relative; display: grid; place-items: center; min-height: 460px; }
.phone { position: relative; width: min(270px, 62vw); aspect-ratio: 9 / 19; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #3A2F70, #0E0A1F); box-shadow: var(--shadow-2), inset 0 0 0 2px rgba(255, 255, 255, .14); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 72px; height: 20px; transform: translateX(-50%); border-radius: 14px; background: #0A0616; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #F3EDFF; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .8s var(--ease); transform: scale(1.04); }
.phone-screen img.is-active { opacity: 1; transform: none; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-weight: 700; font-size: .92rem; animation: floaty 6s ease-in-out infinite; z-index: 4; }
.float-chip .menu-ico { width: 34px; height: 34px; border-radius: 50%; }
.float-chip .icon { width: 18px; height: 18px; }
.float-chip--1 { left: 0; top: 14%; }
.float-chip--2 { right: -2%; top: 42%; animation-delay: -2s; }
.float-chip--3 { left: 2%; bottom: 8%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.explorer { display: grid; gap: 40px; align-items: center; }
.explorer-tabs { display: grid; gap: 0; }
.explorer-tab { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; text-align: left; padding: 20px 4px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); transition: padding .4s var(--ease), background-color .3s; }
.explorer-tab:last-child { border-bottom: 1px solid var(--line); }
.explorer-tab .menu-ico { grid-row: span 2; }
.explorer-tab strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; }
.explorer-tab span.desc { color: var(--ink-2); font-size: 1rem; grid-column: 2; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.explorer-tab[aria-selected="true"] { padding-left: 16px; background: var(--surface-2); border-radius: 18px; border-color: transparent; }
.explorer-tab[aria-selected="true"] .menu-ico { background: var(--primary); color: var(--on-primary); }
.explorer-tab[aria-selected="true"] span.desc { max-height: 120px; opacity: 1; }
.feat-list { display: grid; gap: 0 48px; grid-template-columns: 1fr; }
.feat { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.feat h3 { margin: 0 0 6px; font-size: 1.3rem; }
.feat p { margin: 0; color: var(--ink-2); }
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.tech-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.tech-chip:nth-child(2n) i { background: var(--pink); }
.tech-chip:nth-child(3n) i { background: var(--gold); }
@media (min-width: 900px) {
  .page-hero--split { grid-template-columns: 1.1fr .9fr; }
  .explorer { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feat-list { grid-template-columns: 1fr 1fr; }
}

/* 11. NEWS AND ADS ---------------------------------------------------- */
.container--wide { width: min(100% - 2 * var(--gutter), 1520px); margin-inline: auto; }
.ad-slot { position: relative; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--lilac-2); overflow: hidden; display: grid; min-height: 100px; width: 100%; }
.ad-slot::before { content: "Advertisement"; position: absolute; top: 6px; right: 10px; z-index: 2; font-size: .68rem; font-weight: 700; color: var(--muted); background: var(--surface); padding: 1px 8px; border-radius: 999px; }
.ad-slot--top { min-height: 100px; max-width: 970px; margin-inline: auto; }
.ad-slot--side { min-height: 110px; }
.ad-slot .adsbygoogle { display: block; width: 100%; min-height: inherit; }
.ad-card { display: grid; gap: 6px; align-content: center; padding: 18px 20px; text-align: left; color: #fff; text-decoration: none; background: linear-gradient(135deg, #3B1FB8, #7B4DFF 60%, #FF6F9C 130%); position: relative; overflow: hidden; }
.ad-card strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; letter-spacing: -.02em; }
.ad-card span { font-size: .9rem; opacity: .92; line-height: 1.35; }
.ad-card em { font-style: normal; font-weight: 800; font-size: .85rem; background: #fff; color: #1D1240; padding: 6px 14px; border-radius: 999px; width: fit-content; margin-top: 4px; }
.ad-card:hover { color: #fff; }
.ad-card--b { background: linear-gradient(135deg, #1D1240, #4A2BC9 70%, #8F6BFF); }
.ad-card--c { background: linear-gradient(135deg, #B8326C, #FF6F9C 60%, #FFB48A); }
.ad-card--c em { color: #6B1238; }
.ad-slot--top .ad-card { grid-auto-flow: column; justify-content: space-between; align-items: center; gap: 18px; padding-block: 14px; }
.ad-slot--top .ad-card > div { display: grid; gap: 2px; }
.news-layout { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.news-main { min-width: 0; }
.ad-side { align-self: start; }
.ad-side--left { order: -1; }
.news-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 240px; max-width: 420px; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.input, .select, .textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1rem; line-height: 1.3; transition: border-color .25s, box-shadow .25s; }
.search .input { padding-left: 44px; border-radius: 999px; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .85; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(107, 69, 240, .18); }
.textarea { min-height: 130px; resize: vertical; }
.news-list { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.news-card { display: grid; grid-template-columns: clamp(104px, 34%, 330px) 1fr; width: 100%; padding: 0; text-align: left; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--lilac-2); }
.news-media { position: relative; overflow: hidden; min-height: 150px; background: var(--lilac); }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.07); }
.news-body { display: grid; gap: 8px; padding: clamp(14px, 2vw, 24px); align-content: center; min-width: 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .86rem; color: var(--muted); }
.news-body h3 { margin: 0; font-size: clamp(1.05rem, .95rem + .7vw, 1.55rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { margin: 0; color: var(--ink-2); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { padding: 40px 16px; text-align: center; color: var(--muted); }
@media (max-width: 520px) { .news-body p { display: none; } .news-media { min-height: 130px; } }
@media (min-width: 1320px) {
  .news-layout { grid-template-columns: 160px minmax(0, 1fr) 160px; gap: 28px; }
  .ad-side { position: sticky; top: 100px; }
  .ad-side--left { order: 0; }
  .ad-slot--side { min-height: 600px; }
  .ad-slot--side .ad-card { align-content: end; gap: 12px; padding: 18px 16px 24px; min-height: 600px; }
  .ad-slot--side .ad-card strong { font-size: 1.45rem; }
}

/* Modal (news article, request ready) */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.modal.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.modal-scrim { position: absolute; inset: 0; background: rgba(14, 8, 40, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-panel { position: relative; width: min(860px, 100%); max-height: min(92vh, 980px); overflow: auto; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-2); transform: translateY(40px) scale(.96); transition: transform .6s var(--ease); overscroll-behavior: contain; }
.modal.is-open .modal-panel { transform: none; }
.modal-panel--sm { width: min(520px, 100%); padding: clamp(24px, 4vw, 36px); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #1D1240; display: grid; place-items: center; box-shadow: var(--shadow-1); }
.modal-panel--sm .modal-close { background: var(--surface-2); color: var(--ink); box-shadow: none; }
.article-hero { position: relative; aspect-ratio: 16 / 8; background: var(--lilac); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: clamp(22px, 4vw, 44px); }
.article-body h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 14px; }
.article-body p { font-size: 1.08rem; max-width: 64ch; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.share-row span { font-weight: 700; margin-right: 4px; }
.steps-mini { display: grid; gap: 12px; margin: 18px 0; padding: 0; list-style: none; }
.steps-mini li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps-mini li > b { width: 34px; height: 34px; border-radius: 50%; background: var(--lilac); color: var(--primary-ink); display: grid; place-items: center; font-size: .95rem; }
.modal-actions { display: grid; gap: 10px; margin-top: 18px; }

/* 12. SERVICES, PACKAGES, QUOTE ------------------------------------- */
.jump { position: sticky; top: 84px; z-index: 30; padding: 10px 0; background: linear-gradient(var(--bg) 60%, transparent); }
.jump-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; }
.jump-row::-webkit-scrollbar { display: none; }
.jump-row .chip { flex: none; text-decoration: none; }
.svc-section { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.svc-section:first-of-type { border-top: 0; }
.svc-head { display: grid; gap: 14px; margin-bottom: 30px; max-width: 760px; }
.svc-head .svc-ico { margin-bottom: 4px; }
.svc-head h2 { margin: 0; }
.svc-head p { color: var(--ink-2); margin: 0; font-size: 1.15rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pkg-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 8px 0 18px; }
.pkg-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: 24px; background: var(--surface); border: 1.5px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, background-color .3s; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.pkg.is-popular { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-1); }
.pkg.is-selected { background: var(--surface-2); border-color: var(--primary); }
.pkg .badge { position: absolute; top: -12px; left: 22px; background: var(--primary); color: var(--on-primary); }
.pkg h4 { margin: 0; font-size: 1.15rem; }
.pkg-price { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 1.05rem + .85vw, 1.85rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pkg-price small { font-family: var(--font-body); font-weight: 600; font-size: .88rem; letter-spacing: 0; color: var(--muted); display: block; margin-top: 6px; }
.pkg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--ink-2); font-size: .98rem; }
.pkg li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; line-height: 1.4; }
.pkg li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; background: var(--primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.pkg-actions { margin-top: auto; display: grid; gap: 8px; padding-top: 6px; }
.price-note { margin-top: 18px; color: var(--muted); font-size: .94rem; }
.quote-bar { visibility: hidden; position: fixed; left: 50%; bottom: 18px; z-index: 120; transform: translate(-50%, 180%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); box-shadow: 0 24px 60px -16px rgba(20, 8, 70, .6); transition: transform .7s var(--ease); max-width: calc(100% - 24px); }
.quote-bar.is-visible { transform: translate(-50%, 0); visibility: visible; }
.quote-bar-text { font-weight: 700; line-height: 1.2; }
.quote-bar-text small { display: block; font-weight: 500; opacity: .75; font-size: .82rem; }
.quote-bar .btn--primary { background: var(--primary); color: var(--on-primary); }
[data-theme="dark"] .quote-bar .btn--primary { background: #1D1240; color: #fff; }
.scrim { position: fixed; inset: 0; z-index: 190; background: rgba(14, 8, 40, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(100%, 480px); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .65s var(--ease), visibility 0s .65s; box-shadow: -30px 0 80px rgba(10, 5, 40, .3); }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--surface); }
.line { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line strong { line-height: 1.25; }
.line small { color: var(--muted); grid-column: 1; }
.line .price { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; grid-column: 2; grid-row: 1; }
.line-remove { grid-column: 2; background: none; border: 0; color: var(--pink-ink); font-weight: 700; font-size: .88rem; padding: 4px 0; text-align: right; }
.line-remove:hover { text-decoration: underline; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface-2); font-weight: 800; line-height: 1; }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.1rem; padding: 14px 0 4px; }
.total-row output { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.03em; font-weight: 800; }
.empty-state { text-align: center; padding: 40px 10px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .86rem; }
.field .error { color: var(--pink-ink); font-size: .88rem; font-weight: 600; min-height: 0; }
.field.has-error .input, .field.has-error .textarea { border-color: var(--pink-ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.radio-card { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; background: var(--surface); transition: border-color .25s, background-color .25s; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--surface-2); }
.radio-card input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; }
.radio-card strong { display: block; line-height: 1.25; }
.radio-card small { color: var(--muted); }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.is-error { color: var(--pink-ink); }
.form-status.is-ok { color: #12794A; }
[data-theme="dark"] .form-status.is-ok { color: #6EE7A8; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 900; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 14px 22px; border-radius: 16px; background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: var(--shadow-2); transition: transform .5s var(--ease), opacity .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 13. MARKET AND GEM WORLD ------------------------------------------- */
.market-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.market-grid .svc { min-height: 250px; }
.market-sublist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.market-sublist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 700; transition: background-color .25s, transform .35s var(--ease); }
.market-sublist a:hover { background: var(--lilac); transform: translateX(4px); color: var(--ink); }
.market-sublist .icon { width: 16px; height: 16px; }
.external-tag { font-size: .78rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.soon { min-height: 78svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 0 80px; background: var(--grad-soft); }
.soon-inner { display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.soon .svc-ico { width: 84px; height: 84px; border-radius: 28px; }
.soon .svc-ico .icon { width: 40px; height: 40px; }
.soon h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); margin: 0; }

.gem-world, .gem-night {
  --bg: #0A0716; --surface: #130D2A; --surface-2: #1B1337; --ink: #F6F2FF; --ink-2: #D9D0F8; --muted: #ADA3D4; --line: rgba(190, 170, 255, .2);
  --primary: #8B6CFF; --primary-hover: #A08AFF; --primary-ink: #BBA8FF; --on-primary: #0E0A1F; --lilac: #2A2058; --lilac-2: #4A3A92; --pink-ink: #FF93B6;
  --grad-soft: linear-gradient(165deg, #150D36 0%, #0A0716 70%, #1E0F3F 130%); --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -12px rgba(0, 0, 0, .6); --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 34px 80px -28px rgba(0, 0, 0, .8);
  background: var(--bg); color: var(--ink);
}
.gem-world h2, .gem-world h3, .gem-world h4, .gem-night h2, .gem-night h3, .gem-night h4 { color: var(--ink); }
.gem-world a, .gem-night a { color: var(--primary-ink); }
.gem-world .btn--ghost, .gem-night .btn--ghost { color: var(--ink); }
.gem-hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; color: #fff; isolation: isolate; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; background: radial-gradient(80% 60% at 50% 28%, #2D1778 0%, #0B0620 62%, #05020D 100%); }
.gem-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.gem-hero-inner { display: grid; gap: 22px; justify-items: center; max-width: 900px; position: relative; z-index: 2; }
.gem-hero h1 { color: #fff; margin: 0; font-size: clamp(2.8rem, 1.6rem + 7vw, 7rem); }
.gem-hero p { color: rgba(255, 255, 255, .86); font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); max-width: 52ch; margin: 0; }
.gem-hero .kicker { color: #FFC8DA; }
.gem-float { position: absolute; z-index: 1; width: clamp(70px, 13vw, 190px); filter: drop-shadow(0 20px 40px rgba(124, 92, 255, .5)); animation: gem-float 9s ease-in-out infinite; }
.gem-float--1 { left: 7%; top: 24%; }
.gem-float--2 { right: 8%; top: 18%; width: clamp(60px, 10vw, 150px); animation-delay: -3s; }
.gem-float--3 { right: 14%; bottom: 14%; width: clamp(56px, 9vw, 130px); animation-delay: -6s; }
.gem-float--4 { left: 14%; bottom: 12%; width: clamp(48px, 7vw, 100px); animation-delay: -1.5s; }
@keyframes gem-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-26px) rotate(7deg); } }
.iris { position: fixed; inset: 0; z-index: 2500; pointer-events: none; visibility: hidden; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #A07CFF 0, #5B34E0 30%, #170A52 62%, #0A0716 100%); clip-path: circle(0% at var(--x, 50%) var(--y, 50%)); }
.iris.is-run { visibility: visible; animation: iris 1.3s var(--ease) forwards; }
@keyframes iris { 0% { clip-path: circle(0% at var(--x, 50%) var(--y, 50%)); opacity: 1; } 55% { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); opacity: 1; } 100% { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); opacity: 0; } }
.gem-orb { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #fff 0, var(--c2, #9DB0FF) 24%, var(--c1, #3D5AFE) 72%); box-shadow: 0 14px 34px -10px var(--c1, #3D5AFE), inset 0 -8px 18px rgba(0, 0, 0, .3); flex: none; }
.gem-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.gem-tile { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; transition: transform .5s var(--ease), border-color .3s; }
.gem-tile:hover { transform: translateY(-6px); border-color: var(--c1, var(--lilac-2)); }
.gem-tile h3 { margin: 0; font-size: 1.35rem; }
.gem-tile p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.cs-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.cs-item { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.cs-item b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 3rem + 3vw, 5.4rem); line-height: .9; letter-spacing: -.06em; background: linear-gradient(160deg, #A9C0FF, #FF8FB5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-item h3 { margin: 12px 0 8px; }
.cs-item p { margin: 0; color: var(--ink-2); }
.gem-split { display: grid; gap: 28px; }
@media (min-width: 900px) { .gem-split { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } }
.compare { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.compare > div { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.compare h3 { font-size: 1.2rem; margin-bottom: 6px; }
.compare p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.guide-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: gs; }
.guide-steps li { counter-increment: gs; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.guide-steps li:last-child { border-bottom: 1px solid var(--line); }
.guide-steps li::before { content: counter(gs); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; background: var(--lilac); color: var(--primary-ink); }
.guide-steps h3 { margin: 0 0 4px; font-size: 1.25rem; }
.guide-steps p { margin: 0; color: var(--ink-2); }
.note { padding: 18px 22px; border-radius: 18px; background: var(--surface-2); border-left: 4px solid var(--gold); color: var(--ink-2); }
.note p { margin: 0; max-width: none; }
.dealers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.dealer { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.dealer h3 { margin: 0; font-size: 1.2rem; }
.dealer p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.copy-box { position: relative; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px dashed var(--lilac-2); display: grid; gap: 12px; }
.copy-box p { margin: 0; font-size: 1rem; color: var(--ink-2); max-width: none; }
.shop-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.gem-card { display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.gem-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(139, 108, 255, .55); border-color: var(--lilac-2); }
.gem-card-media { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #2A1B66, #0E0A1F 75%); overflow: hidden; }
.gem-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gem-card:hover .gem-card-media img { transform: scale(1.08) rotate(1deg); }
.gem-card-media .badge { position: absolute; top: 14px; left: 14px; }
.gem-card-body { padding: 20px; display: grid; gap: 10px; align-content: start; }
.gem-card h3 { margin: 0; font-size: 1.25rem; }
.gem-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .9rem; margin: 0; padding: 0; list-style: none; }
.gem-price { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; color: var(--ink); }
.gem-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.cart-fab { position: fixed; left: 18px; bottom: 18px; z-index: 115; display: none; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary); border: 0; font-weight: 800; box-shadow: 0 16px 34px -12px rgba(107, 69, 240, .8); }
.cart-fab.is-on { display: inline-flex; }
.cart-fab b { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: #fff; color: #1D1240; display: grid; place-items: center; font-size: .85rem; }
.drawer--dark { background: #130D2A; color: #F6F2FF; --surface: #130D2A; --surface-2: #1B1337; --ink: #F6F2FF; --ink-2: #D9D0F8; --muted: #ADA3D4; --line: rgba(190, 170, 255, .2); --primary: #8B6CFF; --on-primary: #0E0A1F; --lilac: #2A2058; --pink-ink: #FF93B6; }
.drawer--dark .icon-btn { color: #F6F2FF; }

/* 14. ABOUT AND CONTACT ---------------------------------------------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--flip > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--lilac); box-shadow: var(--shadow-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.value { padding: 26px 0; border-top: 1px solid var(--line); }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-2); }
.roadmap { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--lilac-2); display: grid; gap: 34px; }
.roadmap li { position: relative; }
.roadmap li::before { content: ""; position: absolute; left: -37px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px var(--bg); }
.roadmap h3 { margin: 0 0 6px; }
.roadmap p { margin: 0; color: var(--ink-2); }
.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.team-card { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--lilac); }
.team-card div { padding: 16px 18px 20px; }
.team-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.team-card span { color: var(--muted); font-size: .95rem; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.contact-card { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--primary-ink); }
.contact-list small { display: block; color: var(--muted); font-weight: 500; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--lilac); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: background-color .25s, color .25s, transform .4s var(--ease); }
.social-row a:hover { background: var(--primary); color: var(--on-primary); transform: translateY(-4px); }
.lost { display: grid; place-items: center; text-align: center; min-height: 100svh; padding: 100px var(--gutter) 60px; background: var(--grad-soft); }
.lost h1 { font-size: clamp(5rem, 3rem + 14vw, 13rem); margin: 0; line-height: .85; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost-inner { display: grid; justify-items: center; gap: 16px; }
.lost .loader-scene { width: min(260px, 70vw); }

/* 15. FOOTER AND FLOATING UI ------------------------------------------ */
.site-footer { position: relative; background: #150D3A; color: #E4DBFF; padding: clamp(56px, 8vw, 110px) 0 0; overflow: hidden; margin-top: clamp(48px, 8vw, 110px); }
[data-theme="dark"] .site-footer { background: #0A0618; }
.site-footer a { color: #E4DBFF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 380px; }
.footer-brand .logo, .footer-brand .logo b { color: #fff; }
.footer-brand p { color: rgba(228, 219, 255, .78); margin: 0; }
.footer-col h2 { font-size: 1.05rem; letter-spacing: -.01em; color: #fff; margin-bottom: 14px; font-family: var(--font-body); font-weight: 800; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-weight: 500; }
.site-footer .social-row a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .social-row a:hover { background: #fff; color: #150D3A; text-decoration: none; }
.news-form { display: grid; gap: 10px; margin-top: 6px; }
.news-form .input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.news-form .input::placeholder { color: rgba(228, 219, 255, .6); }
.news-form .form-status { color: #FFD3E2; min-height: 1.3em; font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .94rem; color: rgba(228, 219, 255, .75); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer-word { font-family: var(--font-display); font-variation-settings: "opsz" 96; font-weight: 800; font-size: clamp(4.2rem, 1rem + 17.5vw, 17rem); line-height: .78; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); white-space: nowrap; user-select: none; margin: 0 0 -.1em -.04em; overflow: hidden; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-grid .footer-col:last-child { grid-column: span 3; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } .footer-grid .footer-col:last-child { grid-column: auto; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 110; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .4s var(--ease), bottom .5s var(--ease); text-decoration: none; }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FA855; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
body.has-quote-bar .wa-float { bottom: 92px; }
.to-top { position: fixed; right: 24px; bottom: 90px; z-index: 105; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-1); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { transform: rotate(180deg); }
body.has-quote-bar .to-top { bottom: 164px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; background: var(--grad-brand); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -18px 50px -24px rgba(30, 14, 90, .35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; transform: translateY(110%); transition: transform .7s var(--ease); }
@media (min-width: 700px) { .cookie { padding-right: 96px; } }
.cookie.is-show { transform: none; }
.cookie p { margin: 0; font-size: .95rem; color: var(--ink-2); max-width: none; flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-pause { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 36px); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px); display: grid; place-items: center; }
.hero-pause .i-play { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
.hero.is-paused .hero-pause .i-pause { display: none; }
.cursor-ring { position: fixed; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid var(--primary); pointer-events: none; z-index: 3500; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s; mix-blend-mode: multiply; }
[data-theme="dark"] .cursor-ring { mix-blend-mode: screen; }
html.has-cursor .cursor-ring { opacity: .9; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(107, 69, 240, .14); }

/* 16. MOTION HELPERS --------------------------------------------------- */
.prod-art { transform: translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px)) rotate(8deg); }
.prod-card:hover .prod-art { transform: translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px)) rotate(3deg) scale(1.04); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round 28px); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 28px); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > i { display: inline-block; font-style: normal; }
.js [data-split] .w > i { transform: translateY(108%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--base, 0ms)); }
.js [data-split].is-in .w > i { transform: none; }
.shine { background: linear-gradient(110deg, currentColor 40%, var(--pink) 50%, currentColor 60%); background-size: 250% 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; }
  .js [data-reveal], .js [data-split] .w > i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js #loader { transition: none; }
  .fl-ground, .fl-leg, .fl-shin, .fl-neck, .fl-body-bob { animation-duration: 1.2s !important; animation-iteration-count: infinite !important; }
}

/* 17. PRINT ------------------------------------------------------------- */
@media print {
  .site-header, .m-menu, .wa-float, .to-top, .cookie, .quote-bar, .cart-fab, #loader, .progress, .cursor-ring, .site-footer .news-form { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
  a { color: #000; }
}

/* 18. ADDITIONS: Studimingo insight card, technology list, legal pages, empty ad slot */
.insight { max-width: 460px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; }
.insight-head { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.insight-head small { color: var(--muted); font-weight: 600; }
.insight-head strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.2; }
.insight-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.insight-row strong { display: block; line-height: 1.3; }
.insight-row small { color: var(--muted); }
.insight-foot { padding-top: 12px; color: var(--muted); font-size: .88rem; }
.tech-grid { display: grid; gap: 0 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.tech-item { display: grid; grid-template-columns: 12px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.tech-item i { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); margin-top: 10px; }
.tech-item:nth-child(2n) i { background: var(--pink); }
.tech-item:nth-child(3n) i { background: var(--gold); }
.tech-item h3 { margin: 0 0 4px; font-size: 1.25rem; }
.tech-item p { margin: 0; color: var(--ink-2); }
.shot-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.legal { padding-bottom: 24px; }
.ad-empty { display: grid; place-content: center; gap: 4px; text-align: center; padding: 18px; color: var(--muted); font-weight: 700; min-height: inherit; }
.ad-empty small { font-weight: 500; }
body.is-locked .wa-float, body.is-locked .to-top { opacity: 0; pointer-events: none; }
/* keep floating buttons above the cookie bar while it is showing */
.quote-bar, .cart-fab { bottom: calc(18px + var(--cookie-h, 0px)); }
.quote-bar { transition: transform .7s var(--ease), bottom .5s var(--ease); }
.wa-float { bottom: calc(18px + var(--cookie-h, 0px)); }
body.has-quote-bar .wa-float { bottom: calc(92px + var(--cookie-h, 0px)); }
.to-top { bottom: calc(90px + var(--cookie-h, 0px)); }
body.has-quote-bar .to-top { bottom: calc(164px + var(--cookie-h, 0px)); }
