/* ==========================================================================
   UniFesb — web stranica
   Tamna "električna" tema usklađena s App Store snimkama zaslona.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #07070c;
  --bg-2: #0c0c14;
  --bg-3: #12121c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);

  --text: #f4f5fb;
  --text-2: rgba(233, 235, 248, 0.74);
  --text-3: rgba(233, 235, 248, 0.52);

  /* Brand (Color+Theme.swift), posvijetljeno za tamnu podlogu */
  --blue: #5b93ff;
  --blue-deep: #3375e3;
  --purple: #9b6bff;
  --purple-deep: #7533e3;
  --magenta: #ff5c9a;
  --magenta-deep: #e33375;
  --green: #3ddc84;
  --teal: #2dd4bf;
  --amber: #f5a524;

  --grad: linear-gradient(115deg, var(--blue) 0%, var(--purple) 50%, var(--magenta) 100%);
  --accent: var(--blue);
  --accent-2: var(--purple);

  --font-display: "Unbounded", "Avenir Next", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(155, 107, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); line-height: 1.55; max-width: 36ch; }
.lead strong { color: var(--text); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-2);
}
.pill-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text);
}
.pill-label .num { color: var(--accent); }
.pill-label .sep { width: 14px; height: 1px; background: var(--text-3); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--text);
  --btn-fg: #0a0a12;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px rgba(155, 107, 255, 0.7); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn .btn-sub { display: block; font-size: 0.68rem; font-weight: 600; opacity: 0.6; letter-spacing: 0.02em; line-height: 1; margin-bottom: 3px; }
.btn .btn-main { display: block; line-height: 1; }
.btn--store { min-height: 58px; padding: 0 26px 0 22px; text-align: left; }
.btn--store svg { width: 24px; height: 24px; }

/* ---------- Background FX ---------- */
.fx-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.glow {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
/* Circuit trace: tanka linija sa svjetlećim čvorom — motiv sa snimki zaslona */
.trace {
  position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(91, 147, 255, 0.5) 20%, rgba(155, 107, 255, 0.45) 60%, transparent);
}
.trace::after {
  content: ""; position: absolute; top: 50%; left: var(--node, 70%);
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 200, 255, 0.9);
  background: var(--bg);
  box-shadow: 0 0 12px 2px rgba(120, 140, 255, 0.8);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open, .page-legal .nav {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 20px -6px rgba(91, 147, 255, 0.6); }
.brand small { display: block; font-family: var(--font-mono); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.2em; color: var(--text-3); text-transform: uppercase; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  color: var(--text-2); font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav__links .btn { margin-left: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: background 0.2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(6px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: #0a0a11;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.25s, visibility 0.25s;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav__links .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero .glow--1 { width: 620px; height: 620px; left: -180px; top: -120px; background: radial-gradient(circle, var(--blue-deep), transparent 70%); }
.hero .glow--2 { width: 560px; height: 560px; right: -160px; top: 80px; background: radial-gradient(circle, var(--purple-deep), transparent 70%); }
.hero .glow--3 { width: 480px; height: 480px; right: 20%; bottom: -260px; background: radial-gradient(circle, var(--magenta-deep), transparent 70%); opacity: 0.4; }
.hero .trace { top: auto; bottom: 9%; --node: 38%; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero__title {
  font-size: clamp(2.9rem, 7.4vw, 6.2rem);
  margin: 22px 0 24px;
}
.hero__title .serif { font-size: 1.12em; display: inline-block; padding-right: 0.06em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; color: var(--text-3); font-size: 0.9rem; font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green); }

.hero__visual { position: relative; height: clamp(480px, 58vw, 680px); }
.hero__visual .phone { position: absolute; top: 50%; left: 50%; }
.hero__visual .phone--center { --w: clamp(230px, 22vw, 300px); transform: translate(-50%, -50%); z-index: 3; }
.hero__visual .phone--left  { --w: clamp(190px, 18vw, 250px); transform: translate(-128%, -44%) rotate(-7deg); z-index: 2; opacity: 0.9; }
.hero__visual .phone--right { --w: clamp(190px, 18vw, 250px); transform: translate(28%, -48%) rotate(6deg); z-index: 2; opacity: 0.9; }

.float-card {
  position: absolute; z-index: 4;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(22, 22, 34, 0.72);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: float 7s ease-in-out infinite;
}
.float-card--attendance { left: -2%; top: 16%; display: flex; align-items: center; gap: 14px; }
.float-card--wallet { right: -2%; bottom: 14%; min-width: 196px; animation-delay: -3.5s; }
.float-card .fc-kicker { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.float-card .fc-title { font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; line-height: 1.25; }
.float-card .fc-sub { font-size: 0.78rem; color: var(--text-2); }
.float-card .fc-amount { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 8px; }
.float-card .fc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; background: rgba(61, 220, 132, 0.14); color: var(--green); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v, 30%); border-radius: inherit; background: linear-gradient(90deg, var(--magenta), var(--purple), var(--blue)); }
.ring { --v: 94; --c: var(--green); width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255, 255, 255, 0.1) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}
.ring-wrap { position: relative; width: 58px; height: 58px; flex: none; }
.ring-wrap b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; letter-spacing: -0.02em; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__grid .lead { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__visual { height: clamp(460px, 110vw, 620px); margin-top: 8px; }
  .hero__visual .phone--center { --w: clamp(210px, 52vw, 280px); }
  .hero__visual .phone--left, .hero__visual .phone--right { --w: clamp(170px, 42vw, 230px); }
  .hero__visual .phone--left { transform: translate(-118%, -44%) rotate(-7deg); }
  .hero__visual .phone--right { transform: translate(18%, -48%) rotate(6deg); }
  .float-card--attendance { left: 0; top: 10%; }
  .float-card--wallet { right: 0; bottom: 8%; }
}
@media (max-width: 520px) {
  .float-card { padding: 11px 13px; border-radius: 15px; }
  .float-card--attendance { left: -4px; top: 5%; gap: 10px; }
  .float-card--attendance .fc-sub { display: none; }
  .float-card--wallet { right: -4px; bottom: 4%; min-width: 160px; }
  .float-card .fc-amount { font-size: 1.35rem; }
  .ring-wrap, .ring { width: 46px; height: 46px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Phone mockup ---------- */
.phone {
  --w: 280px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.034);
  box-sizing: content-box;
  border-radius: calc(var(--w) * 0.19);
  background: linear-gradient(145deg, #3a3b46, #121218 30%, #0b0b10 70%, #2a2b33);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 calc(var(--w) * 0.006) #050508 inset,
    0 50px 100px -30px rgba(0, 0, 0, 0.9),
    0 30px 80px -40px color-mix(in srgb, var(--accent) 70%, transparent);
}
.phone__screen {
  /* The ratio sits on the screen, not the padded frame: Safari applies aspect-ratio
     to a content-box element with padding differently and left a black chin. */
  position: relative; width: 100%; aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w) * 0.158);
  overflow: hidden;
  background: #0b0b10;
}
.phone__screen img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.phone__screen::before { /* Dynamic Island */
  content: ""; position: absolute; z-index: 2; left: 50%; top: 1.25%;
  width: 31%; height: 4.1%;
  transform: translateX(-50%);
  border-radius: 999px; background: #000;
}
.phone__screen::after { /* staklo */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, transparent 28%, transparent 70%, rgba(255, 255, 255, 0.03));
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 1;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 22px 14px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: -0.02em;
  white-space: nowrap; color: var(--text-2);
}
.ticker__item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(155, 107, 255, 0.9); }
.ticker__item .serif { font-size: 1.15em; color: var(--text); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; isolation: isolate; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__title { font-size: clamp(2.1rem, 5vw, 3.9rem); margin: 18px 0 18px; }
.section__title .serif { font-size: 1.1em; }

/* ---------- Features (scrollytelling) ---------- */
.features { overflow: clip; }
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); }
.story__steps { display: flex; flex-direction: column; }
.feature {
  min-height: 86vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 48px;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.feature.is-active { opacity: 1; }
.feature > .pill-label { align-self: flex-start; }
.feature:first-child { min-height: 70vh; }
.feature__title { font-size: clamp(2rem, 4.3vw, 3.5rem); margin: 20px 0 18px; }
.feature__title .serif { font-size: 1.1em; color: var(--accent); }
.feature__text { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text-2); max-width: 44ch; }
.feature__text strong { color: var(--text); }
.feature__list { margin-top: 26px; display: grid; gap: 12px; max-width: 46ch; }
.feature__list li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 0.98rem; }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.feature__list li::after {
  content: ""; position: absolute; left: 6px; top: calc(0.3em + 4px);
  width: 5px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.feature__phone { display: none; }

.story__stage { position: relative; }
.story__sticky {
  position: sticky; top: calc(var(--nav-h) + 3vh);
  height: calc(100vh - var(--nav-h) - 6vh);
  display: grid; place-items: center;
}
.story__sticky .phone { --w: min(300px, 21vw, calc((100vh - var(--nav-h) - 12vh) / 2.35)); }
.story__sticky .phone__screen img {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.03);
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
}
.story__sticky .phone__screen img.is-active { opacity: 1; transform: none; }
.story__halo {
  position: absolute; inset: 10% 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent);
  filter: blur(40px); opacity: 0.7; transition: background 0.8s;
  z-index: -1;
}
.story__dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); transition: background 0.3s, transform 0.3s; }
.story__dots span.is-active { background: var(--accent); transform: scale(1.5); box-shadow: 0 0 10px var(--accent); }

[data-accent="blue"]    { --accent: var(--blue);    --accent-2: var(--purple); }
[data-accent="purple"]  { --accent: var(--purple);  --accent-2: var(--blue); }
[data-accent="green"]   { --accent: var(--green);   --accent-2: var(--teal); }
[data-accent="indigo"]  { --accent: #7c8bff;        --accent-2: var(--purple); }
[data-accent="amber"]   { --accent: var(--amber);   --accent-2: var(--magenta); }
[data-accent="magenta"] { --accent: var(--magenta); --accent-2: var(--purple); }
[data-accent="teal"]    { --accent: var(--teal);    --accent-2: var(--blue); }

/* Bez JS-a ili na manjim zaslonima: svaki blok ima vlastiti mobitel */
html:not(.js) .story, .story.is-static { grid-template-columns: 1fr; }
html:not(.js) .story__stage, .story.is-static .story__stage { display: none; }
html:not(.js) .feature, .story.is-static .feature { opacity: 1; min-height: 0; }
html:not(.js) .feature__phone, .story.is-static .feature__phone { display: block; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .feature, .feature:first-child { opacity: 1; min-height: 0; padding-block: 0; text-align: center; align-items: center; }
  .feature > .pill-label { align-self: center; }
  .feature + .feature { margin-top: clamp(88px, 16vw, 120px); }
  .feature__list { text-align: left; }
  .feature__phone { display: block; position: relative; margin-top: 44px; }
  .feature__phone .phone { --w: min(270px, 66vw); margin-inline: auto; }
  .feature__phone::before {
    content: ""; position: absolute; inset: 8% 5%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 50%, transparent), transparent);
    filter: blur(40px);
  }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  grid-column: span 2;
  padding: 28px;
  min-height: 250px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tile:hover { border-color: var(--border-2); transform: translateY(-3px); }
.tile--wide { grid-column: span 3; }
.tile--xl { grid-column: span 4; }
.tile::before {
  content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
  opacity: 0.35; filter: blur(20px); pointer-events: none;
}
.tile__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  margin-bottom: auto;
}
.tile__icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1.15; margin: 34px 0 10px; }
.tile p { color: var(--text-2); font-size: 0.97rem; line-height: 1.55; }
.tile .tag { position: absolute; top: 26px; right: 26px; }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border); }

/* mini widget prikaz */
.mini-widgets { display: flex; gap: 12px; margin: 22px 0 -4px; flex-wrap: wrap; }
.mini-widget {
  width: 132px; aspect-ratio: 1; border-radius: 24px; padding: 14px;
  background: linear-gradient(160deg, #1d1e2c, #12121a);
  border: 1px solid var(--border-2);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.mini-widget .mw-k { font-size: 0.66rem; font-weight: 800; color: var(--magenta); display: flex; align-items: center; gap: 6px; }
.mini-widget .mw-v { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.04em; }
.mini-widget .mw-s { font-size: 0.66rem; color: var(--text-3); font-weight: 600; }
.mini-widget--sched .mw-k { color: var(--blue); }
.mini-widget--sched .mw-v { font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.mini-widget--sched .mw-t { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-2); }

/* gap optimiser vizual */
.gap-viz { margin-top: 22px; display: grid; gap: 8px; }
.gap-row { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; color: var(--text-3); }
.gap-track { position: relative; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.04); }
.gap-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; background: color-mix(in srgb, var(--accent) 70%, transparent); }
.gap-track i.hole { background: repeating-linear-gradient(135deg, rgba(255, 92, 154, 0.35) 0 4px, transparent 4px 8px); border: 1px dashed rgba(255, 92, 154, 0.6); }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--xl { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--xl { grid-column: span 1; min-height: 0; }
  .tile { padding: 24px; }
}

/* ---------- Privacy highlight ---------- */
.privacy-band {
  position: relative; overflow: hidden;
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(36px, 6vw, 80px);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(51, 117, 227, 0.35), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(117, 51, 227, 0.35), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border-2);
}
.privacy-band .fx-grid { -webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 70%); }
.privacy-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.privacy-band h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 18px 0 20px; }
.privacy-band h2 .serif { font-size: 1.1em; }
.privacy-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.privacy-point {
  padding: 22px; border-radius: var(--radius);
  background: rgba(7, 7, 12, 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.privacy-point svg { width: 24px; height: 24px; color: var(--blue); margin-bottom: 14px; }
.privacy-point h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; line-height: 1.3; }
.privacy-point p { color: var(--text-2); font-size: 0.9rem; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--border-2); padding-bottom: 2px; transition: border-color 0.2s, gap 0.2s; }
.text-link:hover { border-color: var(--text); gap: 12px; }
@media (max-width: 900px) { .privacy-band__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .privacy-points { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; letter-spacing: -0.05em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9;
}
.step h3 { font-size: 1.2rem; margin: 22px 0 10px; letter-spacing: -0.03em; line-height: 1.2; }
.step p { color: var(--text-2); font-size: 0.97rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 58px; right: -12px; z-index: 1;
  width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 12px var(--purple);
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s;
}
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 12px no-repeat,
    var(--surface-3);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 24px 24px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--blue); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta .glow--c1 { width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-80%, -50%); background: radial-gradient(circle, var(--blue-deep), transparent 70%); }
.cta .glow--c2 { width: 520px; height: 520px; left: 50%; top: 50%; transform: translate(-20%, -40%); background: radial-gradient(circle, var(--magenta-deep), transparent 70%); opacity: 0.4; }
.cta__icon { width: 104px; height: 104px; margin: 0 auto 30px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 80px -20px rgba(117, 51, 227, 0.9); }
.cta__title { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.cta .lead { margin: 22px auto 36px; }
.cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta__note { margin-top: 18px; color: var(--text-3); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--border); padding: 64px 0 40px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, 0.7fr)); gap: 40px; }
.footer__about p { color: var(--text-3); font-size: 0.9rem; margin-top: 16px; max-width: 46ch; }
.footer__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-weight: 700; font-size: 0.95rem; transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.footer__social svg { width: 20px; height: 20px; color: var(--purple); }
.footer__social:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }
.footer h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; }
.footer__grid > * { min-width: 0; }
.footer ul a { color: var(--text-2); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; overflow-wrap: anywhere; }
.footer ul a:hover { color: var(--text); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 0.82rem; }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

/* ---------- Legal pages ---------- */
.page-legal { background: var(--bg); }
.legal-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--border); isolation: isolate; }
.legal-hero .glow--1 { width: 560px; height: 560px; left: -160px; top: -240px; background: radial-gradient(circle, var(--blue-deep), transparent 70%); opacity: 0.45; }
.legal-hero .glow--2 { width: 480px; height: 480px; right: -120px; top: -180px; background: radial-gradient(circle, var(--purple-deep), transparent 70%); opacity: 0.4; }
.legal-hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); margin: 18px 0 16px; position: relative; }
.legal-hero h1 .serif { font-size: 1.1em; }
.legal-hero .lead { max-width: 60ch; position: relative; }
.legal-meta { position: relative; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--text-3); font-size: 0.88rem; font-weight: 600; }
.legal-meta b { color: var(--text-2); }

.legal-layout > * { min-width: 0; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); }
.toc { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; max-height: calc(100vh - var(--nav-h) - 56px); overflow: auto; }
.toc h2 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; border-left: 2px solid transparent; color: var(--text-3); font-size: 0.88rem; font-weight: 600; line-height: 1.35; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); background: var(--surface); }
.toc a.is-active { color: var(--text); border-left-color: var(--blue); background: var(--surface); border-radius: 0 10px 10px 0; }

.prose { max-width: 760px; color: var(--text-2); font-size: 1.02rem; line-height: 1.75; }
.prose > section { padding-top: 8px; }
.prose > section + section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: var(--text); margin-bottom: 18px; line-height: 1.15; letter-spacing: -0.03em; }
.prose h2 .n { font-family: var(--font-mono); font-size: 0.55em; font-weight: 600; letter-spacing: 0.1em; color: var(--blue); display: block; margin-bottom: 10px; }
.prose h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.015em; color: var(--text); margin: 28px 0 10px; line-height: 1.3; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p, .prose .table-wrap + p, .prose p + .table-wrap, .prose .callout + p, .prose p + .callout { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(91, 147, 255, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose ul, .prose ol { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 32px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; color: var(--text); background: var(--surface-3); }
.prose code { font-family: var(--font-mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); word-break: break-word; }

.callout {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid rgba(91, 147, 255, 0.35);
  background: linear-gradient(135deg, rgba(51, 117, 227, 0.14), rgba(117, 51, 227, 0.1));
  color: var(--text-2);
}
.callout--warn { border-color: rgba(245, 165, 36, 0.4); background: linear-gradient(135deg, rgba(245, 165, 36, 0.12), rgba(227, 51, 117, 0.06)); }
.callout h3 { margin-top: 0; }
.callout ul { margin-top: 12px; }

.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.summary-grid div { padding: 18px 18px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.summary-grid b { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.98rem; margin-bottom: 4px; }
.summary-grid b svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.summary-grid span { font-size: 0.9rem; line-height: 1.5; display: block; }
@media (max-width: 560px) { .summary-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; min-width: 600px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--text); font-weight: 700; }

@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .prose table { min-width: 0; }
  .prose thead { display: none; }
  .prose tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--border); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { display: block; padding: 3px 0; border: 0; }
  .prose td + td { margin-top: 8px; }
  .prose td + td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
  }
  .prose td:first-child { font-size: 1.02rem; }
}

.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(51, 117, 227, 0.16), rgba(227, 51, 117, 0.1)); border: 1px solid var(--border-2); margin-top: 20px; }
.contact-card .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.contact-card .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 3vw, 1.5rem); letter-spacing: -0.03em; color: var(--text); word-break: break-all; }
.prose .contact-card a.btn { color: var(--btn-fg); text-decoration: none; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: relative; top: 0; max-height: none; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc a.is-active { border-left-color: transparent; border-radius: 10px; }
}
@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
@media (max-width: 1080px) { .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.support-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s var(--ease); display: block; }
a.support-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.support-card svg { width: 24px; height: 24px; color: var(--blue); margin-bottom: 16px; }
.support-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.support-card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 120px var(--gutter) 80px; isolation: isolate; }
.notfound .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 22vw, 14rem); letter-spacing: -0.07em; line-height: 0.9; }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 18px 0 14px; }
.notfound p { color: var(--text-2); margin-bottom: 30px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* ---------- Video (Reels) ---------- */
.reels__row { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.reels__row::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 12%; width: min(760px, 90%); height: 70%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 77, 255, 0.28), rgba(47, 107, 255, 0.12) 60%, transparent); filter: blur(40px); pointer-events: none; }
.reel { margin: 0; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 28px; overflow: hidden; background: var(--bg-3);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 70px -20px color-mix(in srgb, var(--accent) 45%, transparent); }
.reel__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__toggle { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid; place-items: center; color: #fff; background: rgba(10, 10, 18, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s; }
.reel__toggle:hover { transform: scale(1.06); background: rgba(10, 10, 18, 0.75); }
.reel__toggle svg { width: 20px; height: 20px; }
.reel__toggle .i-pause, .reel.is-playing .reel__toggle .i-play { display: none; }
.reel.is-playing .reel__toggle .i-pause { display: block; }
.reel__time { position: absolute; right: 14px; bottom: 22px; padding: 4px 9px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  color: #fff; background: rgba(10, 10, 18, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.reel figcaption { margin-top: 16px; color: var(--text-2); font-size: 0.98rem; line-height: 1.5; max-width: 34ch; }
.reel figcaption strong { display: block; color: var(--text); font-family: var(--font-display, inherit); font-size: 1.1rem; margin-bottom: 4px; }
@media (max-width: 860px) {
  .reels__row { grid-template-columns: none; grid-auto-flow: column; justify-content: start; grid-auto-columns: min(72%, 300px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding-bottom: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .reels__row::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; }
}
