/* ==========================================================================
   UCAM CENTER — site stylesheet
   1. Tokens          6. Forms            11. Promo slot      16. Blog & post
   2. Base            7. Header & menu    12. Charts          17. Services & key
   3. Glass & orbs    8. Modal            13. Audience pages  18. Private catalogue
   4. Typography      9. Footer           14. Home            19. Legal pages
   5. Buttons & UI   10. Stats & marquee  15. Toast           20. Responsive
  21. Catalogue rows 24. Banner frames    27. Utilities        30. Sites extras
  22. Sites          25. Banner spacing   28. Program buttons  31. Article buttons
  23. Programs       26. Language menu    29. Ideas cloud      32. 404 page
  33. Mobile fixes for longer translations
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0B0F17;
  --violet: #7C3AED;
  --violet-2: #A78BFA;
  --emerald: #10B981;
  --emerald-2: #6EE7B7;
  --text: #F4F6FB;
  --muted: rgba(226, 232, 240, .64);
  --faint: rgba(226, 232, 240, .4);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --danger: #FB7185;

  --glass: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  --rim: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06);
  --drop: 0 40px 90px -40px rgba(0, 0, 0, .75);

  --fs-xl: 64px;   /* titles and big numbers */
  --fs-l: 20px;    /* leads, card titles, statements, article text */
  --fs-s: 16px;    /* everything else */

  --r-panel: 32px;
  --r-card: 22px;
  --r-field: 12px;
  --w: 1200px;

  --accent: var(--violet);
  --accent-2: var(--violet-2);
  --accent-rgb: 124, 58, 237;
}
.theme-emerald { --accent: var(--emerald); --accent-2: var(--emerald-2); --accent-rgb: 16, 185, 129; }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative; min-height: 100vh; overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif; font-size: var(--fs-s); line-height: 1.6;
  font-optical-sizing: auto; color: var(--text); background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body::before { /* dotted background texture */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.2px);
  background-size: 6px 6px;
}
body.no-scroll { overflow: hidden; }
/* explicit reset for bare elements (keeps the layout identical if a third-party stylesheet is ever added) */
h1, h2, h3, h4, h5, h6, p, ul, ol, li, label, figure, blockquote, pre, img, a { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4, h5, h6 { line-height: inherit; }
label { font-weight: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 12px; }

.page { position: relative; z-index: 1; overflow: clip; }
.wrap { position: relative; z-index: 1; width: min(var(--w), calc(100% - 64px)); margin: 0 auto; }
section { position: relative; padding: 48px 0; }
section[id], [id].anchor { scroll-margin-top: 110px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }

/* 3. Glass & orbs ---------------------------------------------------------- */
.glass {
  background: var(--glass); border: 1px solid var(--line);
  box-shadow: var(--rim), var(--drop);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
}
.glass.strong { background: var(--glass-strong); border-color: var(--line-2); }
.orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb.v { background: radial-gradient(circle, rgba(124, 58, 237, .75), rgba(124, 58, 237, 0) 70%); }
.orb.e { background: radial-gradient(circle, rgba(16, 185, 129, .6), rgba(16, 185, 129, 0) 70%); }

/* 4. Typography ------------------------------------------------------------ */
.d1, .d2, .d3, .h4 { font-weight: 600; letter-spacing: -.045em; line-height: .98; color: var(--text); }
.d1 { font-size: var(--fs-xl); }
.d2 { font-size: var(--fs-xl); letter-spacing: -.04em; line-height: 1.03; }
.d3 { font-size: var(--fs-xl); letter-spacing: -.035em; line-height: 1.08; }
.h4 { font-size: var(--fs-l); letter-spacing: -.02em; line-height: 1.25; }
.lead { max-width: 36ch; font-size: var(--fs-l); line-height: 1.55; color: var(--muted); }
.prose-lg { font-size: var(--fs-l); line-height: 1.55; letter-spacing: -.01em; color: rgba(244, 246, 251, .86); }
.prose-lg p + p { margin-top: 18px; }
.small { font-size: var(--fs-s); line-height: 1.5; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-s); font-weight: 500; color: var(--muted); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px var(--accent); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 37px; }
.sh .sub { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: var(--fs-s); color: var(--muted); }
.sh .sub::before { content: ""; flex: none; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* 5. Buttons & UI ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: var(--fs-s); font-weight: 600; line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  color: var(--text); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)) var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 40px -10px rgba(var(--accent-rgb), .8);
}
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.ghost:hover { background: rgba(255, 255, 255, .11); }
.btn.violet { --accent: var(--violet); --accent-rgb: 124, 58, 237; }
.btn.emerald { --accent: var(--emerald); --accent-rgb: 16, 185, 129; }
.btn.lg { height: 62px; padding: 0 34px; font-size: var(--fs-s); }
.btn svg { width: 18px; height: 18px; }

.ic {
  position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .34), rgba(var(--accent-rgb), .1));
  border: 1px solid rgba(var(--accent-rgb), .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 30px -12px var(--accent);
  color: #fff;
}
.ic svg { width: 24px; height: 24px; }
.ic.mono { font-size: var(--fs-s); font-weight: 700; letter-spacing: -.02em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap; user-select: none; cursor: pointer;
  font-size: var(--fs-s); color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { color: var(--text); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on, .chip:has(input:checked) {
  color: var(--text); background: rgba(var(--accent-rgb), .26); border-color: rgba(var(--accent-rgb), .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.chip:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* 6. Forms ----------------------------------------------------------------- */
.fstack { display: flex; flex-direction: column; gap: 14px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: var(--fs-s); font-weight: 500; color: var(--muted); }
.field b { font-weight: 600; color: var(--accent-2); }
.input {
  width: 100%; height: 46px; padding: 0 15px; border-radius: var(--r-field); outline: 0;
  font-size: var(--fs-s); color: var(--text); background: rgba(8, 11, 18, .45); border: 1px solid var(--line-2);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { height: auto; min-height: 84px; max-height: 260px; padding: 12px 15px; line-height: 1.5; resize: none; field-sizing: content; }
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--accent-2); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), 0 0 0 4px rgba(var(--accent-rgb), .2); }
.input.bad { border-color: var(--danger); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg .chip { height: 44px; border-radius: var(--r-field); }
.check { position: relative; display: flex; align-items: center; gap: 12px; font-size: var(--fs-s); color: var(--muted); cursor: pointer; }
.check input { position: absolute; width: 22px; height: 22px; margin: 0; opacity: 0; }
.check i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); transition: background-color .15s ease; }
.check input:checked + i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }
.check input:checked + i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + i { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.check.bad i { border-color: var(--danger); }
/* conditional field groups that expand smoothly */
.reveal { display: grid; grid-template-rows: 0fr; margin-top: -14px; opacity: 0; transition: grid-template-rows .4s ease, opacity .3s ease; }
.reveal > div { min-height: 0; overflow: hidden; }
.reveal > div > .fstack { padding-top: 14px; }
.reveal.open { grid-template-rows: 1fr; opacity: 1; }

/* 7. Header & menu --------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 40; padding-top: 20px; }
.hdr .bar {
  display: flex; align-items: center; justify-content: space-between;
  width: min(var(--w), calc(100% - 48px)); height: 66px; margin: 0 auto; padding: 0 9px 0 22px; border-radius: 999px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { width: auto; height: 26px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 16px; border-radius: 999px; font-size: var(--fs-s); font-weight: 500; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.hdr .cta { height: 48px; padding: 0 22px; font-size: var(--fs-s); }
.burger { display: none; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); }
.burger svg { width: 20px; height: 20px; }
.mnav { display: none; }

/* 8. Modal ----------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal__scrim {
  position: fixed; inset: 0; background: rgba(5, 8, 14, 0);
  -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background-color .4s ease, backdrop-filter .4s ease, -webkit-backdrop-filter .4s ease;
}
.modal.open .modal__scrim { background: rgba(5, 8, 14, .58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.modal__panel {
  position: relative; width: min(460px, 100%); padding: 30px 28px 28px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(30, 36, 52, .92), rgba(16, 20, 31, .94));
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .35s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.modal.open .modal__panel { opacity: 1; transform: none; }
.modal__x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); background: rgba(255, 255, 255, .06); }
.modal__x:hover { color: var(--text); }
.modal__x svg { width: 18px; height: 18px; }
.modal h2 { font-size: var(--fs-l); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.modal .small { margin: 8px 0 22px; }
.modal .btn { width: 100%; }

/* 9. Footer ---------------------------------------------------------------- */
.ftr { padding: 34px 0 41px; }
.ftr .box { padding: 44px 48px 30px; border-radius: var(--r-panel); }
.ftr .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.ftr .ftr-about { max-width: 30ch; margin-top: 18px; font-size: var(--fs-s); line-height: 1.6; color: var(--muted); }
.ftr .ftr__h { margin-bottom: 12px; font-size: var(--fs-s); font-weight: 600; color: var(--text); }
.ftr .col a, .ftr .col button { display: block; padding: 0; font-size: var(--fs-s); line-height: 2; color: var(--muted); text-align: left; text-decoration: none; }
.ftr .col a:hover, .ftr .col button:hover { color: var(--text); }
.soc { display: flex; gap: 10px; margin-top: 20px; }
.soc a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background-color .15s ease; }
.soc a:hover { background: rgba(255, 255, 255, .12); }
.soc svg { width: 18px; height: 18px; }
.ftr .bottom { display: flex; align-items: center; gap: 28px; padding-top: 22px; font-size: var(--fs-s); color: var(--faint); }
.ftr .bottom span { margin-right: auto; }
.ftr .bottom a { text-decoration: none; }
.ftr .bottom a:hover { color: var(--text); }

/* 10. Stats & marquee ------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-panel); }
.stat { display: flex; flex-direction: column; align-items: center; padding: 38px 20px 34px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat > svg { width: 34px; height: 34px; color: var(--accent-2); }
.num { display: block; margin-top: 18px; font-size: var(--fs-xl); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num em { font-style: normal; color: var(--accent-2); }
.num small { margin-left: .18em; font-size: var(--fs-l); font-weight: 600; letter-spacing: -.02em; }
.stat .lbl { margin-top: 12px; font-size: var(--fs-s); color: var(--muted); }

.partners .sh { margin-bottom: 24px; }
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee .track { display: flex; align-items: center; gap: 72px; width: max-content; padding-right: 72px; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.plogo { display: grid; place-items: center; padding: 8px; border-radius: 12px; }
/* The marquee sits 15% closer to its neighbours than regular blocks do (96px apart on desktop,
   62px on phones): gap = neighbour's padding + marquee padding + logo padding (8px). */
.partners { padding: 0; }
.glass-logo { /* site logos rendered as glass through their own shape */
  display: block;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .7), transparent 45%),
    linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .5) 45%, rgba(255, 255, 255, .46) 55%, rgba(255, 255, 255, .7) 100%);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  filter: drop-shadow(0 -1px .5px rgba(255, 255, 255, .7)) drop-shadow(0 2px 1.5px rgba(0, 0, 0, .55));
  transition: transform .3s ease;
}
.plogo:hover .glass-logo, .plogo:focus-visible .glass-logo { transform: scale(1.14); }

/* 11. Promo slot ----------------------------------------------------------- */
.promo { position: relative; display: block; min-height: 180px; border-radius: var(--r-panel); overflow: hidden; }
.promo .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.promo .slide.on { position: relative; opacity: 1; visibility: visible; }
.promo .label { position: absolute; top: 14px; right: 16px; z-index: 3; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-s); font-weight: 600; letter-spacing: .02em; color: var(--muted); background: rgba(11, 15, 23, .5); border: 1px solid var(--line-2); }
.promo .media img { width: 100%; height: auto; }
.promo .house { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 180px; padding: 36px 44px; text-decoration: none; color: inherit; position: relative; }
.promo .house::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 220px at 0% 0%, rgba(var(--accent-rgb), .45), transparent 70%), radial-gradient(500px 200px at 100% 100%, rgba(16, 185, 129, .22), transparent 70%); }
.promo .house h3 { font-size: var(--fs-l); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.promo .house p { margin-top: 8px; max-width: 52ch; color: var(--muted); }
.promo .dots { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: flex; gap: 6px; transform: translateX(-50%); }
.promo .dots button { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.promo .dots button.on { width: 20px; border-radius: 4px; background: rgba(255, 255, 255, .8); }
.promo.empty { display: grid; place-items: center; min-height: 200px; border: 1.5px dashed rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .015); text-align: center; font-size: var(--fs-s); font-weight: 500; letter-spacing: .01em; color: var(--faint); }

/* 12. Charts --------------------------------------------------------------- */
.chart { position: relative; padding: 24px 24px 18px; border-radius: 24px; background: rgba(8, 11, 18, .35); border: 1px solid var(--line); }
.chart .top { display: flex; justify-content: space-between; font-size: var(--fs-s); color: var(--muted); }
.chart .top b { font-size: var(--fs-s); color: var(--text); }
.chart svg { display: block; width: 100%; height: auto; aspect-ratio: 520 / 220; margin-top: 14px; overflow: visible; }
.chart .grid line { stroke: rgba(255, 255, 255, .07); }
.chart .line { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.a { stroke: var(--accent-2); }
.chart .line.b { stroke: #8A93A6; stroke-width: 2.2; }
.chart .area { opacity: 0; transition: opacity 1s ease .6s; }
.chart .dot { opacity: 0; transition: opacity .4s ease 1.6s; }
.chart.in .area, .chart.in .dot { opacity: 1; }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.chart.in .draw { transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); stroke-dashoffset: 0; }
.chart .legend { display: flex; gap: 20px; margin-top: 10px; font-size: var(--fs-s); color: var(--muted); }
.chart .legend i { display: inline-block; width: 18px; height: 3px; margin-right: 8px; border-radius: 2px; vertical-align: middle; }
.chart .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }

/* 13. Audience pages (models, studios) ------------------------------------- */
.hero2 { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 56px; padding: 75px 0 48px; }
.hero2 .d1 { margin-top: 24px; font-size: var(--fs-xl); }
.hero2 .lead { margin-top: 26px; }
.hero2 .acts { display: flex; gap: 12px; margin-top: 40px; }
.visual { position: relative; }
.frame { padding: 10px; border-radius: 36px; }
.frame .img { position: relative; aspect-ratio: 1000 / 680; border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .04); }
.frame .img img { width: 100%; height: 100%; object-fit: cover; }
.frame .img::after { content: ""; position: absolute; inset: 0; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); background: linear-gradient(200deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 30%); }
/* floating badges sit outside .frame so their blur samples the photo below */
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; max-width: 290px; padding: 14px 18px 14px 14px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 24px 50px -20px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.float .ic { width: 42px; height: 42px; border-radius: 13px; }
.float .ic svg { width: 20px; height: 20px; }
.float b { display: block; font-size: var(--fs-s); font-weight: 600; line-height: 1.3; }
.float small { display: block; margin-top: 2px; font-size: var(--fs-s); line-height: 1.35; color: rgba(244, 246, 251, .75); }
.float.f1 { left: -36px; bottom: -28px; }
.float.f2 { right: -28px; top: -24px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.why .c { display: flex; flex-direction: column; min-height: 240px; padding: 28px 26px 30px; border-radius: var(--r-card); }
.why .h4 { margin-top: auto; padding-top: 40px; }
.why p { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); }

.found { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 48px; border-radius: var(--r-panel); overflow: hidden; }
.found .d3 { margin-top: 18px; }
.found p { max-width: 38ch; margin-top: 16px; color: var(--muted); }
.found .btn { margin-top: 32px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.topic { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.topic .t { display: flex; align-items: center; gap: 12px; font-size: var(--fs-l); font-weight: 600; }
.topic .t svg { width: 22px; height: 22px; color: var(--accent-2); }
.topic p { margin-top: 10px; font-size: var(--fs-s); color: var(--muted); }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.svc .c { display: flex; flex-direction: column; min-height: 250px; padding: 26px; border-radius: var(--r-card); }
.svc .h4 { margin-top: auto; padding-top: 36px; }
.svc p { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); }
.svc .c.feat { background: linear-gradient(160deg, rgba(var(--accent-rgb), .38), rgba(255, 255, 255, .03) 70%); border-color: rgba(var(--accent-rgb), .5); }
.svc .c__top { display: flex; align-items: flex-start; }
.svc .pill { align-self: flex-start; margin-left: auto; padding: 6px 10px; border-radius: 999px; font-size: var(--fs-s); font-weight: 600; background: rgba(255, 255, 255, .12); }
.svc .c.cta { justify-content: space-between; background: transparent; border: 1px dashed var(--line-2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.svc .c.cta .h4 { margin: 0; padding: 0; }
.svc .c.cta .btn { margin-top: 18px; }

.traffic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px; border-radius: var(--r-panel); overflow: hidden; }
.traffic .d3 { margin-top: 18px; }
.traffic > div > p { max-width: 36ch; margin-top: 16px; color: var(--muted); }
.kpis { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.kpi { min-width: 200px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.kpi .num { margin-top: 0; font-size: var(--fs-xl); }
.kpi > span { display: block; max-width: 20ch; margin-top: 10px; font-size: var(--fs-s); color: var(--muted); }

.dmca .sh { margin-bottom: 24px; }

.form { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: var(--r-panel); overflow: hidden; }
.form .l { display: flex; flex-direction: column; padding: 48px; border-right: 1px solid var(--line); }
.form .l .d2 { margin-top: 18px; }
.form .l p { max-width: 30ch; margin-top: 16px; color: var(--muted); }
.form .contact { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 32px; text-decoration: none; }
.form .contact .ic { width: 46px; height: 46px; border-radius: 14px; }
.form .contact .ic svg { width: 20px; height: 20px; }
.form .contact div span { display: block; font-size: var(--fs-s); color: var(--muted); }
.form .r { padding: 48px; }
.form .send { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; }

/* 14. Home ----------------------------------------------------------------- */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: min(78vh, 760px); padding: 68px 0 54px; text-align: center; }
.hero .d1 { margin-top: 26px; font-size: var(--fs-xl); }
.hero .lead { max-width: 40ch; margin: 28px auto 0; }
.hero .acts { display: flex; justify-content: center; gap: 14px; margin-top: 44px; }
.hero .acts .btn { min-width: 200px; }
/* statement: "About us" block with a vertical heading and typed text */
.statement { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: stretch; }
.statement__title {
  display: flex; align-items: center; gap: 22px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--fs-xl); font-weight: 600; line-height: 1; letter-spacing: -.04em; white-space: nowrap;
}
.statement__title::before { /* accent line that runs along the text */
  content: ""; flex: 1; width: 2px; min-height: 40px; border-radius: 2px;
  background: linear-gradient(0deg, var(--accent), rgba(var(--accent-rgb), 0));
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .6);
}
.statement__body { align-self: center; max-width: none; }
.statement__text { font-size: var(--fs-l); font-weight: 500; line-height: 1.6; color: var(--text); }
.statement__text + .statement__text { margin-top: 18px; }
.statement__text .type { color: rgba(226, 232, 240, .5); font-weight: 400; }
.type.is-pending { visibility: hidden; }
.type.is-ready .ch { opacity: 0; }
.type.is-ready .ch.on { opacity: 1; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-right: -2px; vertical-align: -.16em; background: var(--accent-2); animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.claims { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 75px; }
.claim { position: relative; padding-top: 28px; }
.claim::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0)); box-shadow: 0 0 24px rgba(var(--accent-rgb), .6); }
.claim__who { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-s); font-weight: 600; color: var(--accent-2); }
.claim__who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px var(--accent); }
.claim p { margin-top: 16px; max-width: 22em; font-size: var(--fs-l); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; color: var(--text); }
.claim p span { color: rgba(226, 232, 240, .5); }

/* 15. Toast ---------------------------------------------------------------- */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: 28px; z-index: 120; width: fit-content; max-width: 460px; margin: 0 auto; padding: 16px 22px;
  border-radius: 18px; font-size: var(--fs-s); background: rgba(20, 25, 38, .9); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--drop);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s ease;
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast.err { border-color: rgba(251, 113, 133, .5); }
.toast a { color: #fff; }

/* 16. Blog & post ---------------------------------------------------------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.post:hover { transform: translateY(-3px); border-color: var(--line-2); }
.post .ph { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: rgba(255, 255, 255, .04); }
.post .ph img, .feat .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 23, 0) 50%, rgba(11, 15, 23, .55)); }
.cat { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; font-size: var(--fs-s); font-weight: 600; background: rgba(11, 15, 23, .45); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.post .bd { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 22px 24px 24px; }
.post h3 { font-size: var(--fs-l); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.post .meta { display: flex; justify-content: space-between; margin-top: auto; font-size: var(--fs-s); color: var(--faint); }

.bhero { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: 75px 0 34px; }
.bhero .d1 { margin-top: 22px; font-size: var(--fs-xl); }
.bhero .lead { max-width: 44ch; margin-top: 22px; }
.search { display: flex; align-items: center; gap: 12px; width: 380px; height: 60px; padding: 0 22px; border-radius: 999px; color: var(--faint); }
.search svg { width: 20px; height: 20px; flex: none; }
.search input { flex: 1; min-width: 0; font-size: var(--fs-s); color: var(--text); background: none; border: 0; outline: 0; }
.search input::placeholder { color: var(--faint); }
.search:focus-within { border-color: var(--accent-2); }
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 40px; }
.feat { display: grid; grid-template-columns: 1.3fr 1fr; padding: 10px; border-radius: var(--r-panel); overflow: hidden; text-decoration: none; }
.feat .ph { position: relative; aspect-ratio: 1100 / 726; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .04); }
.feat .bd { display: flex; flex-direction: column; padding: 40px 40px 34px; }
.feat .bd .d3 { margin-top: 18px; font-size: var(--fs-l); }
.feat .bd p { margin-top: 18px; color: var(--muted); }
.feat .meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 30px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: var(--fs-s); }
.byline i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal; font-weight: 600; background: linear-gradient(135deg, var(--violet), var(--emerald)); }
.byline span { display: block; font-size: var(--fs-s); color: var(--faint); }
.sub-card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-card); background: linear-gradient(160deg, rgba(124, 58, 237, .35), rgba(16, 185, 129, .18)); border-color: rgba(167, 139, 250, .35); }
.sub-card .d3 { margin-top: 22px; font-size: var(--fs-l); }
.sub-card p { margin-top: 12px; font-size: var(--fs-s); color: var(--muted); }
.sub-card .btn { align-self: flex-start; margin-top: auto; }
.after-feat { margin-top: 20px; margin-bottom: 48px; } /* the blog grid is not inside a section, so it carries its own bottom spacing */
.empty-note { margin-top: 32px; text-align: center; color: var(--muted); }

.article-head { max-width: 860px; margin: 0 auto; padding: 61px 0 27px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-s); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.back svg { width: 18px; height: 18px; }
.article-head .cats-row { display: flex; gap: 8px; margin-top: 36px; }
.article-head .cats-row span { padding: 6px 12px; border-radius: 999px; font-size: var(--fs-s); font-weight: 600; background: rgba(var(--accent-rgb), .2); border: 1px solid rgba(var(--accent-rgb), .45); }
.article-head h1 { margin-top: 20px; font-size: var(--fs-xl); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; color: #fff; }
.article-head .byline { margin-top: 30px; }
.cover { max-width: 860px; margin: 0 auto; padding: 8px; border-radius: 28px; }
.cover img { width: 100%; height: auto; aspect-ratio: 860 / 380; object-fit: cover; border-radius: 21px; }
.article { max-width: 860px; margin: 0 auto; padding: 48px 0 8px; font-size: var(--fs-l); line-height: 1.75; color: rgba(244, 246, 251, .84); }
.article > p:first-child { font-size: var(--fs-l); line-height: 1.65; color: rgba(244, 246, 251, .92); }
.article p + p { margin-top: 18px; }
.article h2 { margin: 52px 0 16px; font-size: var(--fs-l); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: #fff; }
.article strong { font-weight: 600; color: #fff; }
.article ul { margin: 18px 0; padding-left: 0; list-style: none; }
.article li { position: relative; padding-left: 28px; }
.article li + li { margin-top: 10px; }
.article li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.article a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article .summary { margin-top: 52px; padding: 32px 34px; border-radius: 24px; background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .4); }
.article .summary h2 { margin: 0 0 12px; font-size: var(--fs-l); }

/* 17. Services & key ------------------------------------------------------- */
.gate > *, .hero2 > *, .form > *, .found > *, .traffic > *, .about > *, .feat > * { min-width: 0; }
.gate { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; padding: 82px 0 54px; }
.gate .d2 { margin-top: 22px; font-size: var(--fs-xl); }
.gate .lead { max-width: 36ch; margin-top: 22px; }
.keybox { display: flex; align-items: center; gap: 12px; max-width: 520px; margin-top: 40px; padding: 8px; border-radius: 999px; }
.keybox:focus-within { border-color: var(--accent-2); }
.keybox label { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; padding-left: 16px; color: var(--accent-2); }
.keybox label svg { flex: none; width: 20px; height: 20px; }
.keybox input { flex: 1; min-width: 0; font-size: var(--fs-s); letter-spacing: .08em; color: var(--text); background: none; border: 0; outline: 0; }
.keybox input::placeholder { color: var(--faint); }
.hint { margin-top: 18px; font-size: var(--fs-s); color: var(--muted); }
.hint a { font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent-2); }
.card { display: flex; flex-direction: column; gap: 14px; padding: 34px; border-radius: var(--r-panel); }
.card .h { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.card .h h2 { font-size: var(--fs-l); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.card .h p { margin-top: 2px; font-size: var(--fs-s); color: var(--muted); }
.card .btn { width: 100%; margin-top: 4px; }
.locked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lk { position: relative; min-height: 300px; padding: 28px; border-radius: var(--r-card); overflow: hidden; }
.lk .h4 { margin-top: 22px; }
.lk .rows { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; filter: blur(5px); opacity: .7; }
.lk .rows div { display: flex; justify-content: space-between; gap: 20px; }
.lk .rows i { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.lk .rows b { width: 56px; height: 12px; border-radius: 6px; background: rgba(var(--accent-rgb), .6); }
.lk .lock { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); }
.lk .lock svg { width: 18px; height: 18px; }
.lk.big { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(var(--accent-rgb), .3), rgba(16, 185, 129, .14)); border-color: rgba(var(--accent-rgb), .45); }
.lk.big .num { margin-top: 0; font-size: var(--fs-xl); }
.lk.big .lbl { margin-top: 10px; font-size: var(--fs-l); color: var(--muted); }

/* 18. Private catalogue ---------------------------------------------------- */
.cat-hero { padding: 75px 0 34px; text-align: center; }
.cat-hero .tag { justify-content: center; }
.cat-hero .d1 { margin-top: 22px; }
.cat-hero .lead { max-width: 46ch; margin: 22px auto 0; }
.jump { position: sticky; top: 100px; z-index: 20; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; margin: 36px auto 0; padding: 8px; border-radius: 999px; }
.jump a { padding: 9px 16px; border-radius: 999px; font-size: var(--fs-s); font-weight: 500; color: var(--muted); text-decoration: none; }
.jump a:hover, .jump a.on { color: var(--text); background: rgba(var(--accent-rgb), .26); }
/* rows use a flat tint instead of a backdrop blur: twenty blurred rows make long scrolls stutter */
.row-item.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(16, 21, 33, .6); }
.group { padding: 48px 0 0; }
.group .sh { margin-bottom: 24px; }
.rows-list { display: flex; flex-direction: column; gap: 12px; }
.row-item { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 22px; padding: 24px 28px; border-radius: var(--r-card); }
.row-item h3 { font-size: var(--fs-l); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.row-item p { margin-top: 6px; max-width: 80ch; font-size: var(--fs-s); color: var(--muted); }
.price { padding-top: 2px; font-size: var(--fs-l); font-weight: 600; letter-spacing: -.02em; color: var(--accent-2); white-space: nowrap; text-align: right; }
.price.soft { font-size: var(--fs-s); color: var(--muted); }

/* 19. Legal pages: deliberately quiet typography ---------------------------- */
.legal { max-width: 720px; margin: 0 auto; padding: 56px 0 34px; }
.legal .back { margin-bottom: 26px; }
.legal h1 { font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: rgba(244, 246, 251, .92); }
.legal .upd { margin-top: 12px; font-size: 14px; color: var(--faint); }
.legal__body { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal h2 { margin: 30px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: rgba(244, 246, 251, .82); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: rgba(226, 232, 240, .6); }
.legal p + p { margin-top: 10px; }
.legal strong { font-weight: 600; color: rgba(244, 246, 251, .75); }
.legal ul { margin-top: 8px; padding-left: 20px; }
.legal li + li { margin-top: 4px; }
.legal a { color: rgba(196, 181, 253, .85); text-underline-offset: 3px; }

/* 20. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --fs-xl: 56px; }
  .hero2 { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why, .svc { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 10px 10px; }
  .ftr .top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr .top > div:first-child { grid-column: 1 / -1; }

}
@media (max-width: 1100px) {
  .nav, .hdr .cta { display: none; }
  .burger { display: grid; }
  .mnav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; gap: 4px; padding: 12px; border-radius: 24px;
  }
  .hdr .mnav.glass { background: rgba(15, 20, 32, .97); }
  .hdr.open .mnav { display: flex; }
  .mnav a:not(.btn) { padding: 14px 16px; border-radius: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
  .mnav a.on { color: var(--text); background: rgba(255, 255, 255, .08); }
  .mnav .btn { margin-top: 8px; }
}
@media (max-width: 980px) {
  .hero2, .gate, .found, .traffic, .form, .feat, .bhero { grid-template-columns: 1fr; }
  .float.f1 { left: 16px; bottom: -22px; }
  .float.f2 { right: 16px; top: -22px; }
  .form .l { border-right: 0; padding-bottom: 0; }
  .form .contact { margin-top: 24px; padding-top: 0; }
  .search { width: 100%; }
  .grid3, .locked { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promo .house { grid-template-columns: 1fr; gap: 18px; }
  .promo .house .ic { display: none; }
}
@media (max-width: 760px) {
  :root { --fs-xl: 40px; --fs-l: 18px; }
  .statement { grid-template-columns: 1fr; gap: 22px; }
  .statement__title { writing-mode: horizontal-tb; transform: none; }
  .statement__title::before { display: none; }
  .wrap { width: calc(100% - 32px); }
  section { padding: 31px 0; }
  .hdr { padding-top: 12px; }
  .hdr .bar { width: calc(100% - 24px); height: 60px; padding: 0 8px 0 16px; }
  .logo img { height: 21px; }
  .d1, .hero .d1, .hero2 .d1, .bhero .d1 { line-height: 1; }
  .sh { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
  .btn { height: 52px; padding: 0 22px; }
  .hero { min-height: 0; padding: 56px 0 32px; }
  .hero .acts { flex-direction: column; width: 100%; }
  .hero .acts .btn { width: 100%; }
  .found, .traffic, .ftr .box { padding: 26px 22px; }
  .claims { grid-template-columns: 1fr; gap: 36px; margin-top: 52px; }
  .promo.empty { min-height: 140px; }
  .stat { padding: 26px 12px; }
  .hero2 { padding: 40px 0 40px; gap: 48px; }
  .hero2 .acts { flex-direction: column; }
  .float { max-width: 230px; padding: 10px 14px 10px 10px; gap: 10px; }
  .float .ic { width: 36px; height: 36px; }
  .float.f1 { left: 8px; }
  .float.f2 { right: 8px; }
  .why, .svc { gap: 12px; }
  .why .c, .svc .c { min-height: 0; padding: 20px; }
  .why .h4, .svc .h4 { padding-top: 22px; }
  .svc .c.cta { grid-column: 1 / -1; }
  .svc .pill { display: none; }
  .topics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .topic { padding: 16px; }
  .topic p { display: none; }
  .kpis { flex-direction: column; }
  .chart { padding: 18px 16px 14px; }
  .form .l { padding: 30px 22px 0; }
  .form .r { padding: 24px 22px 30px; }
  .frow { grid-template-columns: 1fr; }
  .form .send { flex-direction: column; align-items: stretch; }
  .marquee { padding: 14px 0; }
  .marquee .track { gap: 44px; padding-right: 44px; }
  .promo, .promo .house { min-height: 0; }
  .promo .house { padding: 28px 22px 34px; }
  .grid3, .locked { grid-template-columns: 1fr; gap: 16px; }
  .bhero { padding: 48px 0 24px; }
  .cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; scrollbar-width: none; }
  .feat .bd { padding: 22px 18px 18px; }
  .article-head { padding: 40px 0 24px; }
  .cover { padding: 6px; border-radius: 24px; }
  .cover img { border-radius: 19px; }
  .article { padding-top: 36px; }
  .article h2 { margin-top: 40px; }
  .article .summary { padding: 24px 22px; }
  .gate { padding: 48px 0; gap: 36px; }
  .keybox label { padding-left: 8px; }
  .keybox .btn { padding: 0 16px; }
  .keybox input { letter-spacing: .02em; }
  .card { padding: 24px 20px; }
  .jump { top: 84px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; border-radius: 20px; scrollbar-width: none; }
  .jump a { white-space: nowrap; }
  .row-item { grid-template-columns: auto 1fr; gap: 14px 16px; padding: 20px; }
  .row-item .ic { width: 44px; height: 44px; }
  .price { grid-column: 2; text-align: left; }
  .ftr .top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ftr .bottom { flex-wrap: wrap; gap: 8px 20px; }
  .ftr .bottom span { width: 100%; }
  .modal { align-items: end; padding: 12px; }
  .modal__panel { padding: 26px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .marquee .track { flex-wrap: wrap; justify-content: center; width: auto; }
  .chart .draw { stroke-dashoffset: 0; }
}

/* 21. Collapsible catalogue rows (icon stays centred on the whole row) -------------- */
.row-item { grid-template-columns: auto 1fr auto; grid-template-rows: minmax(52px, auto) auto; align-items: center; column-gap: 22px; row-gap: 0; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.row-item:hover { border-color: var(--line-2); }
.row-item:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.row-item > .ic { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.row-item > div:nth-child(2) { display: contents; }
.row-item h3 { grid-column: 2; grid-row: 1; align-self: center; }
.row-item .price { grid-column: 3; grid-row: 1; align-self: center; padding-top: 0; }
.row-item p { grid-column: 2 / 4; grid-row: 2; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease, margin-top .4s ease; }
.row-item.open p { max-height: 800px; margin-top: 4px; opacity: 1; }
@media (max-width: 760px) {
  .row-item { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 16px; }
  .row-item > .ic { grid-row: 1 / 4; }
  .row-item .price { grid-column: 2; grid-row: 2; padding-top: 2px; text-align: left; }
  .row-item p { grid-column: 2; grid-row: 3; }
}

/* 22. Sites ----------------------------------------------------------------- */
.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; align-items: start; }
.site { border-radius: var(--r-card); overflow: hidden; transition: border-color .2s ease; }
.site:hover, .site.open { border-color: var(--line-2); }
.site__head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo logo" "name more" "tag more"; width: 100%; padding: 12px 12px 18px; text-align: left; color: inherit; cursor: pointer; }
.site__logo { grid-area: logo; display: grid; place-items: center; height: 116px; margin-bottom: 16px; padding: 0 24px; border-radius: 16px; background: rgba(8, 11, 18, .45); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.site__logo .glass-logo { max-width: 100%; }
.site__name { grid-area: name; padding: 0 8px; font-size: var(--fs-l); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.site__tag { grid-area: tag; padding: 2px 8px 0; font-size: var(--fs-s); color: var(--muted); }
.site__more { grid-area: more; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; margin-right: 6px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: transform .3s ease, background-color .2s ease; }
.site__more svg { width: 18px; height: 18px; }
.site__head:hover .site__more { background: rgba(255, 255, 255, .12); }
.site.open .site__more { transform: rotate(180deg); background: rgba(var(--accent-rgb), .3); }
.site { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.site.open { grid-column: 1 / -1; grid-template-columns: 320px minmax(0, 1fr); align-items: center; }
.site.open .site__head { align-self: start; }
.site__body { display: none; }
.site.open .site__body { display: block; animation: siteIn .4s ease both; }
@keyframes siteIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.site__inner { min-height: 0; }
.site__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: "desc token time btn" "pay pay flags flags"; gap: 14px 24px; align-items: start; margin: 8px 0; padding: 8px 24px 10px; border-left: 1px solid var(--line); }
.site__in .site__facts { display: contents; }
.site__in .site__fact--token { grid-area: token; }
.site__in .site__fact--time { grid-area: time; }
.site__in .tagchip { height: 30px; padding: 0 11px; }
.site__in .site__tags { gap: 8px 14px; }
.site__in .flag { gap: 7px; height: 30px; padding: 0; background: none; border: 0; }
.site__in .site__desc { grid-area: desc; }
.site__in .site__row--pay { grid-area: pay; }
.site__in .site__row--flags { grid-area: flags; }
.site__in .btn { grid-area: btn; align-self: start; justify-self: start; }
.site__desc { color: var(--muted); }
.site__facts { display: grid; gap: 14px; }
.site__facts dt, .site__label { font-size: var(--fs-s); font-weight: 500; color: var(--faint); }
.site__facts dd { margin-top: 2px; font-weight: 500; }
.site__row { display: flex; flex-direction: column; gap: 10px; }
.site__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tagchip { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; font-size: var(--fs-s); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.flag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px 0 8px; border-radius: 999px; font-size: var(--fs-s); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.flag img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.flag em { font-style: normal; font-size: var(--fs-s); line-height: 1; }
.site .btn { align-self: flex-start; }

/* 23. Programs -------------------------------------------------------------- */
.prog-hero .lead { max-width: 46ch; }
.apps { position: relative; }
.apps__art { position: relative; aspect-ratio: 1000 / 680; }
.apps__glow { position: absolute; inset: 4% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, .5), rgba(16, 185, 129, .2) 62%, transparent 78%); filter: blur(34px); }
.app { position: absolute; height: auto; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 34px 38px rgba(0, 0, 0, .55)); animation: bob 8s ease-in-out infinite; }
.app.a1 { left: 8%; top: 36%; width: 33%; --r: -6deg; }
.app.a2 { left: 37%; top: 6%; width: 30%; --r: 7deg; animation-duration: 9.5s; animation-delay: -3s; }
.app.a3 { left: 49%; top: 38%; width: 34%; --r: -3deg; animation-duration: 11s; animation-delay: -6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
.float.f3 { left: -30px; top: 12%; }

.progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; align-items: stretch; }
.prog { display: flex; flex-direction: column; height: 100%; padding: 26px; border-radius: var(--r-card); }
.prog__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prog__icon { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
.kind { padding: 6px 12px; border-radius: 999px; font-size: var(--fs-s); font-weight: 600; letter-spacing: .02em; color: #fff; }
.kind.free { background: rgba(16, 185, 129, .28); border: 1px solid rgba(16, 185, 129, .6); }
.kind.paid { background: rgba(124, 58, 237, .32); border: 1px solid rgba(167, 139, 250, .65); }
.prog__name { margin-top: 22px; font-size: var(--fs-l); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.prog__os { margin-top: 2px; font-size: var(--fs-s); letter-spacing: .02em; color: var(--faint); }
.prog__desc { margin-top: 10px; color: var(--muted); }
.prog .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.prog .btn { height: 46px; padding: 0 20px; }
.progs.compact .prog__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

.ideas { position: relative; height: 232px; margin-top: 36px; }
.idea { position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px 0 18px; border-radius: 999px; font-size: var(--fs-s); font-weight: 500; white-space: nowrap; background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--rim), 0 24px 50px -28px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); animation: drift var(--d, 9s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); transition: border-color .2s ease, background-color .2s ease; }
.idea::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px var(--accent); }
.idea:hover { animation-play-state: paused; border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .22); }
.idea.lg { height: 60px; padding: 0 30px 0 24px; font-size: var(--fs-l); }
.idea.sm { height: 44px; opacity: .85; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(var(--x, 10px), var(--y, -14px)); } }
.about-sec.alt .statement__title { font-size: 40px; }

@media (max-width: 1180px) {
  .sites, .progs { grid-template-columns: repeat(2, 1fr); }
  .site.open { grid-template-columns: 260px minmax(0, 1fr); }
  .site__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "desc desc" "token time" "pay flags" "btn btn"; }
}
@media (max-width: 980px) {
  .apps .float.f3 { left: 16px; top: 12%; }
}
@media (max-width: 760px) {
  .sites, .progs { grid-template-columns: 1fr; gap: 14px; }
  .apps__art { aspect-ratio: 1000 / 600; }
  .apps .float { position: static; max-width: none; margin-top: 10px; }
  .ideas { height: auto; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
  .idea { position: static; height: 44px; --x: 0px; --y: -6px; }
  .idea.lg { height: 50px; font-size: var(--fs-s); }
  .site__logo { height: 100px; }
  .site.open { grid-column: auto; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .site__in { display: flex; flex-direction: column; gap: 20px; margin: 0 20px; padding: 20px 0 22px; border-left: 0; border-top: 1px solid var(--line); }
  .site__in .btn { align-self: flex-start; }
  .site__in .site__facts { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .site__in .site__fact--token, .site__in .site__fact--time { grid-area: auto; } /* the named areas exist only in the wide layout */
  .site__group + .site__group { margin-top: 24px; }
  .prog { padding: 22px 20px; }
}

.site__group { padding-top: 20px; }
.site__group .sh { margin-bottom: 24px; }

/* 24. Banner frames (animated 1100x150 banners scaled to the slot width) ----------- */
.promo.has-frame { min-height: 0; border-radius: var(--r-panel); background: #000; }
/* The banner is a scaled 1100x150 picture, so its corners shrink with it on smaller screens
   (32px at full size, never below 12px) instead of turning a thin banner into a capsule. */
.promo-sec .wrap { container-type: inline-size; }
.promo.has-frame { border-radius: clamp(12px, 100cqw * 32 / 1100, var(--r-panel)); }
.bframe { position: relative; width: 100%; aspect-ratio: 1100 / 150; overflow: hidden; }
.bframe iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: transparent; }
.promo.has-frame .label { top: auto; bottom: 8px; right: 10px; padding: 2px 8px; font-size: 12px; opacity: .75; }

/* 25. Spacing around banners: half of the usual distance to the neighbouring blocks */
.promo-sec { padding: 8px 0; }
.promo.has-frame .label { display: none; }

/* 26. Header end: request button, language menu, burger ------------------------- */
.hdr__end { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px 0 16px; border-radius: 999px; font-size: var(--fs-s); font-weight: 600; letter-spacing: .02em; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: background-color .15s ease; }
.lang__btn:hover, .lang.open .lang__btn { background: rgba(255, 255, 255, .12); }
.lang__btn svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s ease; }
.lang.open .lang__btn svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 190px; padding: 6px; border-radius: 18px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.lang__menu, .lang__menu.glass { /* darkens and blurs the page under the open menu */
  background: rgba(9, 12, 20, .74); border-color: var(--line-2);
  box-shadow: var(--rim), 0 30px 70px -24px rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
}
/* The header glass is drawn by a pseudo-element: an element with backdrop-filter becomes
   the backdrop of everything inside it, and the language menu could not blur the page. */
.hdr .bar.glass { position: relative; background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hdr .bar.glass::before {
  content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; pointer-events: none;
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--rim), var(--drop);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
}
.hdr .bar > * { position: relative; z-index: 1; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--muted); }
.lang__menu a b { min-width: 34px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.lang__menu a span { font-size: 14px; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: rgba(255, 255, 255, .08); color: var(--text); }
.lang__menu a.on { background: rgba(var(--accent-rgb), .22); color: var(--text); }
@media (max-width: 1100px) {
  .lang__btn { height: 44px; padding: 0 12px 0 14px; }
}
@media (max-width: 760px) {
  .lang__menu { right: -52px; }
}

/* 27. Utilities ----------------------------------------------------------------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.off { opacity: .45; cursor: default; pointer-events: none; filter: saturate(.6); }
.btn.sq { width: 46px; padding: 0; flex: none; }
.btn.sq svg { width: 20px; height: 20px; }
select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
select.input option { color: #111; }

/* 28. Program cards: download menu with the two platforms ----------------------- */
.prog .acts { align-items: center; }
.dl { position: relative; display: flex; }
.dl > .btn svg { width: 18px; height: 18px; }
.dl__os { display: flex; gap: 8px; }
.dl.open > .btn { display: none; }
.dl.open .dl__os { animation: osIn .3s ease both; }
@keyframes osIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.btn.os svg { width: 20px; height: 20px; }
.prog .acts { flex-wrap: nowrap; }
.prog__icon { width: 64px; height: 64px; }

/* 29. Ideas cloud: rows without JS, scattered by site.js; labels never overlap ---- */
.ideas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 16px; height: auto; max-width: 980px; margin: 36px auto 0; }
.idea { position: relative; }
@media (max-width: 760px) {
  .ideas { justify-content: flex-start; gap: 10px; }
}
/* Scattered cloud: positions and height are set by site.js for the current width */
.ideas.scatter { display: block; position: relative; max-width: none; }
.ideas.scatter .idea { position: absolute; }
@media (max-width: 520px) { /* smaller labels so two of them can share a line */
  .ideas .idea { height: 38px; gap: 8px; padding: 0 14px 0 12px; font-size: 13px; }
  .ideas .idea.lg { height: 44px; padding: 0 16px 0 14px; font-size: 15px; }
  .ideas .idea::before { width: 6px; height: 6px; }
}

/* 30. Sites page extras ---------------------------------------------------------- */
.site__facts .tz { font-weight: 400; color: var(--faint); }
.site__note { max-width: 90ch; margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--faint); }

/* 31. Article call-to-action buttons --------------------------------------------- */
.post-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 36px auto 0; padding: 30px; border-radius: var(--r-panel); border: 1px dashed var(--line-2); }
@media (max-width: 760px) {
  .post-cta { flex-direction: column; padding: 20px; }
  .post-cta .btn { width: 100%; }
}

/* 32. 404 page ------------------------------------------------------------------- */
.nf { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: min(70vh, 680px); padding: 64px 0; text-align: center; }
.nf__code { font-size: clamp(110px, 22vw, 220px); font-weight: 700; line-height: .9; letter-spacing: -.06em; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(167, 139, 250, .35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .d2 { margin-top: 18px; }
.nf .lead { max-width: 46ch; margin: 20px auto 0; }
.nf .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 34px; }
.nf__links a { color: var(--muted); text-decoration: none; }
.nf__links a:hover { color: var(--text); }

/* 33. Mobile fixes for longer translated labels ------------------------------------ */
.topics > *, .why > *, .svc > *, .kpis > *, .stats > * { min-width: 0; }
@media (max-width: 760px) {
  .topic { padding: 14px; }
  .topic .t { gap: 8px; font-size: var(--fs-s); line-height: 1.25; overflow-wrap: anywhere; }
  .topic .t svg { flex: none; width: 18px; height: 18px; }
  .kpi { min-width: 0; }
  .stat .lbl, .kpi > span { overflow-wrap: anywhere; }
}
