/* ==========================================================================
   Sazgar — public site
   ========================================================================== */

/* Theme-specific images: show only the matching shot */
html[data-theme="light"] .theme-shot--dark { display: none !important; }
html[data-theme="dark"] .theme-shot--light { display: none !important; }

:root,
html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-elev: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --surface-2: #f1f3f9;
  --text: #0c1022;
  --muted: #586180;
  --faint: #8a92ab;
  --line: rgba(12, 16, 34, 0.08);
  --line-strong: rgba(12, 16, 34, 0.14);
  --primary: #6d5dfc;
  --primary-strong: #4f3fe0;
  --primary-soft: rgba(109, 93, 252, 0.1);
  --accent: #06b6d4;
  --ok: #059669;
  --ok-soft: rgba(16, 185, 129, 0.12);
  --grad: linear-gradient(135deg, #6d5dfc 0%, #8b5cf6 45%, #06b6d4 100%);
  --grad-text: linear-gradient(110deg, #4f3fe0 0%, #8b5cf6 45%, #0891b2 100%);
  --shadow-sm: 0 1px 2px rgba(12, 16, 34, 0.05), 0 4px 14px -6px rgba(12, 16, 34, 0.08);
  --shadow: 0 18px 40px -18px rgba(30, 27, 75, 0.28), 0 2px 6px rgba(12, 16, 34, 0.04);
  --shadow-lg: 0 50px 100px -40px rgba(30, 27, 75, 0.45), 0 18px 40px -20px rgba(30, 27, 75, 0.2);
  --link: #4f3fe0;
  --input: #fff;
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --frame: #12152a;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-h: 78px;
}

html[data-theme="dark"] {
  --bg: #06070d;
  --bg-elev: #0e1120;
  --surface: rgba(18, 21, 38, 0.66);
  --surface-solid: #0e1120;
  --surface-2: #161a31;
  --text: #eef0fb;
  --muted: #a0a8c3;
  --faint: #6c7596;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --primary: #8b7dff;
  --primary-strong: #b9b0ff;
  --primary-soft: rgba(139, 125, 255, 0.14);
  --accent: #22d3ee;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --grad-text: linear-gradient(110deg, #c9c2ff 0%, #a78bfa 45%, #67e8f9 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px -6px rgba(0, 0, 0, 0.5);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --link: #b9b0ff;
  --frame: #05060c;
  --header-bg: rgba(6, 7, 13, 0.9);
}

/* ---------- Base ---------- */

html {
  overflow-x: hidden;
}
html.nav-open body {
  overflow: hidden;
}

body,
html[data-theme="dark"] body {
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="en"] body { font-family: "Inter", "Vazirmatn", system-ui, sans-serif; }

::selection { background: color-mix(in srgb, var(--primary) 28%, transparent); }

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

main {
  flex: 1;
  position: relative;
  min-width: 0;
  width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

h1, h2, h3 { color: var(--text); }
html[lang="en"] h1,
html[lang="en"] h2 { letter-spacing: -0.025em; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.backdrop__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.backdrop__orb--a {
  width: 620px; height: 620px;
  top: -260px; inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(109, 93, 252, 0.55), transparent 65%);
}
.backdrop__orb--b {
  width: 560px; height: 560px;
  top: -200px; inset-inline-end: -180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 65%);
}
.backdrop__orb--c {
  width: 700px; height: 500px;
  top: 520px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 70, 239, 0.18), transparent 65%);
}
html[data-theme="dark"] .backdrop__orb { opacity: 0.7; }
.backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.6;
}

/* ---------- Buttons ---------- */

.btn {
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.5s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 0.58rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 1.65rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary,
.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #6d5dfc 0%, #8b5cf6 40%, #06b6d4 80%, #6d5dfc 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  box-shadow: 0 12px 28px -10px rgba(109, 93, 252, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  background-position: 70% 50%;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(109, 93, 252, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost,
html[data-theme="dark"] .btn-ghost {
  color: var(--text);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(14px) saturate(1.4);
}
.btn-ghost:hover,
html[data-theme="dark"] .btn-ghost:hover {
  background: var(--surface-solid);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 45%, transparent), var(--shadow-sm);
}

.btn-light { color: #2a1f8f; background: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); }
.btn-light:hover { color: #2a1f8f; transform: translateY(-2px); }
.btn-outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
[dir="rtl"] .btn__arrow,
[dir="rtl"] .go { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(3px); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 80%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
}
.icon-btn:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}
.icon-btn:active { transform: scale(0.94); }

/* ---------- Header (PyKalier-style) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(12, 16, 34, 0.06);
}
html[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: 1.2rem;
}
.site-header .brand__frame,
.site-header .brand__mark,
.site-header .brand__logo {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
}
.site-header .brand__frame {
  display: grid;
  place-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header .brand:hover .brand__frame,
.site-header .brand:focus-visible .brand__frame {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 45%, transparent);
}
.site-header .brand:hover .brand__mark,
.site-header .brand:focus-visible .brand__mark {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 0 0 4px var(--primary-soft), 0 8px 20px -8px color-mix(in srgb, var(--primary) 45%, transparent);
}
.brand__frame .theme-shot,
.footer-brand__logos .theme-shot,
.about-mark__badge .theme-shot,
.person__photo .theme-shot,
.card__media .theme-shot,
.blog-card__media .theme-shot,
.blog-post__cover .theme-shot,
.app-window .theme-shot,
.module-card .theme-shot,
.mini-window__shot .theme-shot,
.mini-phone__shot .theme-shot,
.shot .theme-shot { grid-area: 1 / 1; }
.footer-brand__logos { display: inline-grid; place-items: center; }
.brand__frame[hidden] { display: none; }
.site-header .brand__logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 0.45s var(--ease);
}
.site-header .brand:hover .brand__logo,
.site-header .brand:focus-visible .brand__logo {
  transform: scale(1.06);
}
.site-header .brand__mark {
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  background: var(--grad);
  box-shadow: 0 0 0 4px var(--primary-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand__mark[hidden] { display: none; }
.site-header .brand__text {
  display: block;
  line-height: 1.2;
}
.site-header .brand__name {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* Footer / page brand pieces keep richer treatment */
.footer-brand .brand__mark,
.about-mark__glyph,
.close-band__mark {
  display: inline-grid;
  place-items: center;
  border-radius: 14px 10px 16px 12px;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  background: var(--grad);
}
.footer-brand .brand__name,
.about-mark .brand__name {
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="dark"] .footer-brand .brand__name,
html[data-theme="dark"] .about-mark .brand__name {
  color: var(--text);
  background: none;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-main a.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  overflow: hidden;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.nav-main a.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary-soft);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  z-index: 0;
}
.nav-ico {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), color 0.3s var(--ease);
}
.nav-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.nav-label {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}
.nav-main a.nav-link:hover,
.nav-main a.nav-link:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}
.nav-main a.nav-link:hover::before,
.nav-main a.nav-link:focus-visible::before,
.nav-main a.nav-link.is-active::before {
  opacity: 1;
  transform: scale(1);
}
.nav-main a.nav-link:hover .nav-ico,
.nav-main a.nav-link:focus-visible .nav-ico {
  transform: translateY(-1px) scale(1.12) rotate(-6deg);
  color: var(--primary);
}
.nav-main a.nav-link:hover .nav-label,
.nav-main a.nav-link:focus-visible .nav-label { transform: translateX(1px); }
[dir="rtl"] .nav-main a.nav-link:hover .nav-label,
[dir="rtl"] .nav-main a.nav-link:focus-visible .nav-label { transform: translateX(-1px); }
.nav-main a.nav-link.is-active {
  color: var(--primary);
  background: transparent;
  font-weight: 600;
}
.nav-main a.nav-link.is-active .nav-ico {
  color: var(--primary);
  animation: nav-ico-pop 0.55s var(--ease);
}
.nav-main a.nav-link::after {
  content: "";
  position: absolute;
  left: 2.1rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}
[dir="rtl"] .nav-main a.nav-link::after {
  left: 0.85rem;
  right: 2.1rem;
}
.nav-main a.nav-link:hover::after,
.nav-main a.nav-link:focus-visible::after,
.nav-main a.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-main a.nav-link.is-active::after {
  animation: nav-underline 0.45s var(--ease);
}
@keyframes nav-ico-pop {
  0% { transform: scale(0.7) rotate(-12deg); }
  55% { transform: scale(1.18) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes nav-underline {
  from { transform: scaleX(0.4); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
}
.lang-switch a {
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active {
  background: var(--text);
  color: var(--bg);
}

.theme-toggle,
.nav-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
  color: var(--text);
  flex: none;
  padding: 0;
}
.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.theme-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.theme-icon--sun {
  background: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 35%, transparent);
  opacity: 1;
}
.theme-icon--moon {
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-25deg);
  opacity: 0;
}
html[data-theme="dark"] .theme-icon--sun {
  opacity: 0;
  transform: scale(0.5);
}
html[data-theme="dark"] .theme-icon--moon { opacity: 1; }

.btn-header-cta {
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem !important;
  font-size: 0.88rem !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 1rem;
  height: 2px;
  background: var(--text);
  display: block;
  transition: 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-main a.nav-link,
  .nav-main a.nav-link::before,
  .nav-ico,
  .nav-label { transition: none; }
  .nav-main a.nav-link.is-active .nav-ico,
  .nav-main a.nav-link.is-active::after { animation: none; }
}

@media (max-width: 980px) {
  .btn-header-cta { display: none; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav-main {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 60;
    width: 100%;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: color-mix(in srgb, var(--header-bg) 96%, var(--bg));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem 0.85rem 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
    box-shadow: 0 18px 40px rgba(12, 16, 34, 0.08);
  }
  html[data-theme="dark"] .nav-main {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .nav-main.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-main a.nav-link {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    gap: 0.75rem;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      color 0.3s var(--ease),
      background 0.3s var(--ease),
      transform 0.4s var(--ease),
      opacity 0.35s var(--ease),
      box-shadow 0.3s var(--ease);
  }
  .nav-main.is-open a.nav-link {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.05s * var(--i, 0) + 0.06s);
  }
  .nav-main a.nav-link .nav-ico {
    width: 1.45rem;
    height: 1.45rem;
    padding: 0.35rem;
    box-sizing: content-box;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
  }
  .nav-main a.nav-link:hover,
  .nav-main a.nav-link.is-active {
    transform: translateX(-3px);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 12%, transparent);
  }
  [dir="ltr"] .nav-main a.nav-link:hover,
  [dir="ltr"] .nav-main a.nav-link.is-active {
    transform: translateX(3px);
  }
  .nav-main a.nav-link:hover::after,
  .nav-main a.nav-link:focus-visible::after,
  .nav-main a.nav-link.is-active::after { display: none; }
}

/* ---------- Shared bits ---------- */

.section { padding-block: clamp(3.25rem, 7vw, 7rem); }
.section--tight { padding-top: clamp(1rem, 3vw, 2rem); }
.page-gap { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.3rem 0.9rem 0.3rem 0.35rem;
  padding-inline: 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--primary-strong);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6;
}
.eyebrow-pill b {
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.band__head {
  max-width: 780px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}
.band__head h2 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
}
html[lang="en"] .band__head h2 { line-height: 1.15; }
.band__head .lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.band__head--side { margin: 0; text-align: start; }
.band__head--side .btn { margin-top: 1.6rem; }

.lede { color: var(--muted); }
.kicker {
  color: var(--primary-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  color: var(--primary-strong);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 24%, transparent);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--lg { width: 58px; height: 58px; border-radius: 18px; }
.icon-tile--lg svg { width: 28px; height: 28px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  color: var(--primary-strong);
  background: var(--primary-soft);
  font-family: "Inter", "Vazirmatn", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.pill-free { color: var(--ok); background: var(--ok-soft); font-family: inherit; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.cta-row .btn { flex: 0 1 auto; }

/* Cards */

.card,
.platform-card,
.module-card,
.role-card,
.video-card,
.download-card,
.person,
.info-card,
.faq {
  position: relative;
  background: var(--surface-solid);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}

.card--glow {
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--primary) 16%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card--glow:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 34%, transparent), var(--shadow);
}
.card--glow:hover::before { opacity: 1; }

.card { padding: 1.6rem; }
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.card__no {
  color: var(--faint);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card h2,
.card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-weight: 800; }
.card p { color: var(--muted); font-size: 0.97rem; line-height: 1.85; }
.card__media {
  display: grid;
  margin: -1.6rem -1.6rem 1.3rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.card--glow:hover .card__media img { transform: scale(1.04); }

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.bento > * { min-width: 0; }
.bento--m2 > :first-child,
.bento--m1 > :first-child,
.bento--m1 > :last-child { grid-column: span 2; }
.bento > :first-child {
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 55%),
    radial-gradient(80% 100% at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    var(--surface-solid);
}
.bento > :first-child h3 { font-size: 1.45rem; }
.bento > :first-child .icon-tile { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(109, 93, 252, 0.8); }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--m1 > :last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > * { grid-column: auto !important; }
  .bento > :first-child h3 { font-size: 1.25rem; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2rem, 5vw, 5rem) clamp(2.5rem, 5vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero__copy,
.hero__grid > .stage { min-width: 0; }
.hero__grid.is-solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; text-align: center; }
.hero__grid.is-solo .cta-row,
.hero__grid.is-solo .badge-row { justify-content: center; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
  font-weight: 700;
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  opacity: 0;
  animation: ping 2s var(--ease) infinite;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5.4vw, 4.3rem);
  font-weight: 900;
  line-height: 1.22;
}
html[lang="en"] .hero__title { line-height: 1.06; letter-spacing: -0.035em; }
.hero__lede {
  margin-bottom: 1.2rem;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__body {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 2;
}
.hero__grid.is-solo .hero__body { margin-inline: auto; }
html[lang="en"] .hero__body,
html[lang="en"] .card p,
html[lang="en"] .role-card p,
html[lang="en"] .module-card__text,
html[lang="en"] .platform-card p.prose,
html[lang="en"] .faq__a p,
html[lang="en"] .story { line-height: 1.7; }
.hero .cta-row { margin-top: 2rem; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.badge-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.86rem;
  font-weight: 700;
}
.badge-row svg { width: 16px; height: 16px; color: var(--primary); }
.hero-note { margin-top: 1.2rem; color: var(--faint); font-size: 0.86rem; font-weight: 600; }

/* Stage / device mockups */

.stage {
  position: relative;
  min-height: min(520px, 70vw);
  display: grid;
  place-items: center;
  padding-block: 2rem 3rem;
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.stage__glow {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(80px);
  opacity: 0.32;
}
html[data-theme="dark"] .stage__glow { opacity: 0.4; }

.app-window {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-lg);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
[dir="rtl"] .app-window { transform: perspective(1600px) rotateY(7deg) rotateX(3deg); }
.stage:hover .app-window { transform: perspective(1600px) rotateY(0) rotateX(0); }

.app-window__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 42px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.82rem;
}
.app-window__dots { display: inline-flex; gap: 6px; direction: ltr; }
.app-window__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app-window__dots i:nth-child(2) { background: #febc2e; }
.app-window__dots i:nth-child(3) { background: #28c840; }
.app-window__bar strong { flex: 1; font-weight: 800; }
.app-window__status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  color: var(--ok);
  background: var(--ok-soft);
  font-size: 0.72rem;
  font-weight: 800;
}
.app-window__status svg { width: 13px; height: 13px; }
.app-window__shot { display: block; width: 100%; }

.app-window__body { display: grid; grid-template-columns: 58px minmax(0, 1fr); min-height: 340px; }
.app-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-inline-end: 1px solid var(--line);
}
.app-side__logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  border-radius: 10px;
  color: #fff;
  background: var(--grad);
  font-weight: 900;
  font-size: 0.9rem;
}
.app-side i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--faint);
}
.app-side i svg { width: 18px; height: 18px; }
.app-side i.is-on { color: var(--primary-strong); background: var(--primary-soft); }

.app-main { display: grid; gap: 12px; align-content: start; padding: 14px; }
.app-main__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-search { height: 28px; width: 52%; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.avatars { display: inline-flex; direction: ltr; }
.avatars span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--surface-solid);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  background: #6d5dfc;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: #06b6d4; }
.avatars span:nth-child(3) { background: #d946ef; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  line-height: 1.4;
}
.kpi small { color: var(--muted); font-size: 0.68rem; font-weight: 700; }
.kpi strong { font-size: 1rem; font-weight: 900; }
.kpi__trend { color: var(--ok); font-size: 0.64rem; font-style: normal; font-weight: 800; direction: ltr; text-align: start; }
.kpi:first-child { color: #fff; background: var(--grad); box-shadow: none; }
.kpi:first-child small,
.kpi:first-child .kpi__trend,
.kpi:first-child strong { color: #fff; }

.chart-card {
  position: relative;
  height: 140px;
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.chart-card__bars {
  position: absolute;
  inset: 16px 14px 12px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  direction: ltr;
}
.chart-card__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(to top, color-mix(in srgb, var(--primary) 25%, transparent), var(--primary));
  transform-origin: bottom;
  animation: grow 1.2s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms + 300ms);
}
.chart-card__line {
  position: absolute;
  inset: 12px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 24px);
  color: var(--accent);
  filter: drop-shadow(0 4px 6px color-mix(in srgb, var(--accent) 50%, transparent));
}
.chart-card__line path { stroke-dasharray: 500; stroke-dashoffset: 500; animation: draw 2s var(--ease) 0.6s forwards; }
.app-rows { display: grid; gap: 8px; }
.app-rows span { height: 10px; border-radius: 6px; background: var(--surface-2); }
.app-rows span:nth-child(1) { width: 92%; }
.app-rows span:nth-child(2) { width: 76%; }
.app-rows span:nth-child(3) { width: 58%; }

.phone {
  position: absolute;
  bottom: 0;
  inset-inline-end: clamp(0.15rem, 1vw, 0.75rem);
  width: clamp(140px, 18vw, 186px);
  height: clamp(280px, 36vw, 372px);
  padding: 7px;
  border-radius: 36px;
  background: var(--frame);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: float 7s ease-in-out infinite;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 60px;
  height: 18px;
  border-radius: 999px;
  background: var(--frame);
  transform: translateX(-50%);
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: 40px 12px 12px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface-solid);
}
.phone__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 0.78rem; }
.phone__top b { font-weight: 900; }
.phone__top em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 0.45rem;
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}
.phone__top em svg { width: 11px; height: 11px; }
.phone__card {
  display: grid;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-2);
  line-height: 1.45;
}
.phone__card small { color: var(--muted); font-size: 0.66rem; font-weight: 700; }
.phone__card strong { font-size: 1rem; font-weight: 900; }
.phone__card--hero { color: #fff; background: var(--grad); }
.phone__card--hero small,
.phone__card--hero strong { color: #fff; }
.phone__list { display: grid; gap: 7px; }
.phone__list span { height: 9px; border-radius: 5px; background: var(--surface-2); }
.phone__list span:nth-child(2) { width: 80%; }
.phone__list span:nth-child(3) { width: 64%; }
.phone__nav {
  position: absolute;
  bottom: 10px;
  inset-inline: 12px;
  display: flex;
  justify-content: space-around;
  padding: 9px;
  border-radius: 16px;
  background: var(--surface-2);
}
.phone__nav i { width: 16px; height: 16px; border-radius: 6px; background: var(--line-strong); }
.phone__nav i.is-on { background: var(--primary); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: min(260px, calc(100% - 1.5rem));
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-elev) 80%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  animation: float 6s ease-in-out infinite;
  line-height: 1.5;
}
.float-card--chat { top: 2%; inset-inline-start: 0.5rem; }
.float-card--ai { bottom: 10%; inset-inline-start: 0.75rem; animation-delay: -3s; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  color: #fff;
  background: var(--grad);
}
.float-card--ai .float-card__icon { background: linear-gradient(135deg, #d946ef, #8b5cf6); }
.float-card__icon svg { width: 19px; height: 19px; }
.float-card strong { display: block; font-size: 0.84rem; font-weight: 800; }
.float-card p { color: var(--muted); font-size: 0.76rem; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero__body { margin-inline: auto; }
  .hero .cta-row,
  .hero .badge-row { justify-content: center; }
  .hero .cta-row { justify-content: center; }
  .stage {
    min-height: 0;
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
    padding: 1.25rem 0.75rem 3.5rem;
    text-align: start;
  }
  .app-window,
  [dir="rtl"] .app-window { transform: none; }
  .phone {
    width: clamp(120px, 28vw, 150px);
    height: clamp(240px, 56vw, 300px);
    inset-inline-end: 0.25rem;
  }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero__lede { font-size: clamp(1.05rem, 4.5vw, 1.25rem); }
  .hero .cta-row { width: 100%; }
  .hero .cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .stage { padding: 0.75rem 0 4.5rem; }
  .app-window__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi { padding: 8px; }
  .kpi strong { font-size: 0.85rem; }
  .chart-card { height: 110px; }
  .phone {
    width: 118px;
    height: 236px;
    border-radius: 28px;
    bottom: 0;
    inset-inline-end: 0.15rem;
  }
  .phone__screen { border-radius: 22px; padding: 32px 9px 9px; gap: 7px; }
  .phone__card { padding: 7px 9px; }
  .phone__card strong { font-size: 0.8rem; }
  .phone__notch { width: 44px; height: 14px; top: 12px; }
  .float-card { max-width: min(190px, calc(100% - 1rem)); padding: 0.55rem 0.7rem; }
  .float-card p { display: none; }
  .float-card--chat { top: 0.35rem; inset-inline-start: 0.35rem; }
  .float-card--ai { bottom: 0.75rem; inset-inline-start: 0.35rem; }
}

/* ---------- Marquee ---------- */

.marquee {
  direction: ltr;
  overflow: hidden;
  padding-block: 1.15rem;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 50%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
}
[dir="rtl"] .marquee__item { direction: rtl; }
.marquee__item svg { width: 20px; height: 20px; color: var(--primary); }

/* ---------- Platform ---------- */

.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.platform-grid > * { min-width: 0; }
.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border-radius: var(--radius-lg);
}
.platform-card__copy { padding: clamp(1.6rem, 3vw, 2.4rem); padding-bottom: 1rem; }
.platform-card__copy .icon-tile { margin-bottom: 1.3rem; }
.platform-card .kicker { margin-bottom: 0.3rem; }
.platform-card h3 { margin: 0 0 0.6rem; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 900; }
.platform-card p.prose { color: var(--muted); line-height: 1.9; }
.platform-card__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: auto;
  min-height: clamp(180px, 28vw, 240px);
  padding-inline: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%);
}
.platform-card__art--phone { min-height: clamp(200px, 32vw, 260px); }
.mini-window {
  display: flex;
  flex-direction: column;
  width: min(92%, 440px);
  height: clamp(160px, 24vw, 210px);
  border-radius: 16px 16px 0 0;
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow);
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 0.5s var(--ease);
}
.mini-window.has-shot { height: clamp(170px, 26vw, 220px); }
.mini-window__bar {
  display: flex;
  flex: none;
  gap: 5px;
  padding: 10px 12px;
  direction: ltr;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.mini-window__bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.mini-window__bar i:nth-child(2) { background: #febc2e; }
.mini-window__bar i:nth-child(3) { background: #28c840; }
.mini-window__body { display: grid; grid-template-columns: 44px 1fr; flex: 1; min-height: 0; }
.mini-window__side { border-inline-end: 1px solid var(--line); background: linear-gradient(to bottom, var(--primary-soft), transparent); }
.mini-window__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; align-content: start; }
.mini-window__grid b { height: 46px; border-radius: 10px; background: var(--surface-2); }
.mini-window__grid b:first-child { background: var(--grad); }
.mini-window__grid b.is-wide { grid-column: span 3; height: 56px; }
.mini-window__shot {
  display: grid;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--surface-2);
}
.mini-window__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mini-phone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: clamp(120px, 28vw, 156px);
  height: clamp(180px, 36vw, 230px);
  padding: 22px 12px 12px;
  border: 6px solid var(--frame);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
  transform: translateY(14px);
  transition: transform 0.5s var(--ease);
}
.mini-phone.has-shot {
  gap: 0;
  padding: 14px 8px 0;
  overflow: hidden;
}
.mini-phone__shot {
  display: grid;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: var(--surface-2);
}
.mini-phone__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mini-phone__card { height: 54px; border-radius: 12px; background: var(--grad); }
.mini-phone__row { height: 10px; border-radius: 5px; background: var(--surface-2); }
.mini-phone__row:nth-child(3) { width: 78%; }
.mini-phone__row:nth-child(4) { width: 60%; }
.platform-card:hover .mini-window,
.platform-card:hover .mini-phone { transform: translateY(0); }

@media (max-width: 860px) {
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-card { min-height: 0; }
  .platform-card__art { min-height: 200px; }
  .platform-card__art--phone { min-height: 220px; }
  .mini-window,
  .mini-window.has-shot { width: min(94%, 520px); height: 200px; }
  .mini-phone,
  .mini-phone.has-shot { width: 148px; height: 220px; }
}

/* ---------- Spotlight ---------- */

.spotlight-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 4rem);
  border-radius: 40px;
  color: var(--text);
  background:
    radial-gradient(60% 70% at 15% 0%, rgba(109, 93, 252, 0.14), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(6, 182, 212, 0.1), transparent 60%),
    radial-gradient(40% 50% at 85% 10%, rgba(217, 70, 239, 0.08), transparent 60%),
    var(--bg-elev);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.spotlight-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(12, 16, 34, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
html[data-theme="dark"] .spotlight-panel {
  --text: #f4f3ff;
  --muted: rgba(235, 233, 255, 0.72);
  --faint: rgba(235, 233, 255, 0.42);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --surface-solid: rgba(255, 255, 255, 0.04);
  --primary-strong: #c9c2ff;
  --primary-soft: rgba(139, 125, 255, 0.16);
  border-color: transparent;
  background:
    radial-gradient(60% 70% at 15% 0%, rgba(109, 93, 252, 0.55), transparent 60%),
    radial-gradient(50% 60% at 100% 100%, rgba(6, 182, 212, 0.35), transparent 60%),
    radial-gradient(40% 50% at 85% 10%, rgba(217, 70, 239, 0.28), transparent 60%),
    #0a0a1c;
}
html[data-theme="dark"] .spotlight-panel::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
}
.spotlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card--glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card--glass .icon-tile {
  color: var(--primary-strong);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
}
html[data-theme="dark"] .card--glass .icon-tile {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.spotlight-panel .card--glow:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent), var(--shadow);
}
html[data-theme="dark"] .spotlight-panel .card--glow:hover {
  box-shadow: inset 0 0 0 1px rgba(201, 194, 255, 0.4), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
  .spotlight-grid { grid-template-columns: minmax(0, 1fr); }
  .spotlight-panel {
    border-radius: 28px;
    padding: 1.6rem 1rem;
  }
}

/* ---------- Modules ---------- */

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.module-grid > * { min-width: 0; }
.module-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  color: var(--text);
  text-decoration: none;
}
.module-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.module-card h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.1rem 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
}
.module-card__text { color: var(--muted); font-size: 0.92rem; line-height: 1.85; }
a.module-card .module-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.module-card__image {
  display: block;
  width: calc(100% + 2.8rem);
  max-width: none;
  margin: -1.4rem -1.4rem 1.1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.go {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--primary);
  opacity: 0;
  translate: -6px 0;
  transition: opacity 0.25s, translate 0.25s var(--ease);
}
[dir="rtl"] .go { translate: 6px 0; }
.module-card:hover .go { opacity: 1; translate: 0 0; }
.band__more { margin-top: 2.5rem; text-align: center; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.stat-row li {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 220px;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  backdrop-filter: blur(12px);
  text-align: center;
}
.stat-row strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-row span { color: var(--muted); font-size: 0.9rem; font-weight: 700; }

.module-group { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.module-group:last-child { margin-bottom: 0; }
.module-group__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.module-group__head::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.module-group__head h2 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.module-group__count {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding-inline: 0.5rem;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

/* ---------- Audience ---------- */

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.role-grid > * { min-width: 0; }
.role-card { display: flex; gap: 1rem; padding: 1.4rem; }
.role-card--photo { flex-direction: column; }
.role-card--photo .card__media { margin: -1.4rem -1.4rem 0; }
.role-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 16px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 22px -10px rgba(109, 93, 252, 0.8);
}
.role-card:nth-child(3n + 2) .role-card__icon { background: linear-gradient(135deg, #06b6d4, #3b82f6); box-shadow: 0 10px 22px -10px rgba(6, 182, 212, 0.8); }
.role-card:nth-child(3n + 3) .role-card__icon { background: linear-gradient(135deg, #d946ef, #8b5cf6); box-shadow: 0 10px 22px -10px rgba(217, 70, 239, 0.7); }
.role-card__icon svg { width: 24px; height: 24px; }
.role-card h3 { margin: 0.15rem 0 0.35rem; font-size: 1.1rem; font-weight: 800; }
.role-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.85; }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-layout .band__head--side { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 0.75rem; }
.faq { border-radius: 20px; transition: box-shadow 0.3s; }
.faq[open] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 38%, transparent), var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.2rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  color: var(--primary-strong);
  background: var(--primary-soft);
}
.faq__icon svg { width: 20px; height: 20px; }
.faq__q { flex: 1; }
.faq__chev {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
}
.faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__chev { transform: rotate(45deg); background: var(--primary-soft); }
.faq__a { padding: 0 1.2rem 1.2rem; padding-inline-start: calc(1.2rem + 40px + 0.9rem); }
.faq__a p { color: var(--muted); line-height: 1.95; }
.faq[open] .faq__a { animation: fade-down 0.4s var(--ease); }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .band__head--side { position: static; text-align: center; }
  .faq__a { padding-inline-start: 1.2rem; }
}

/* ---------- Videos ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.card-grid > * { min-width: 0; }
.video-card a { display: block; color: var(--text); text-decoration: none; }
.play-wrap { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.play-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.video-card:hover .play-wrap img { transform: scale(1.05); }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
html[data-theme="dark"] .play { color: #4f3fe0; }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__body { display: block; padding: 1.1rem 1.25rem 1.3rem; }
.video-card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 800; }
.video-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Closing CTA ---------- */

.close-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.4rem, 6vw, 5.5rem) clamp(1.1rem, 4vw, 4rem);
  border-radius: clamp(24px, 4vw, 40px);
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #5b4cf0 0%, #8b5cf6 45%, #0ea5c6 100%);
  box-shadow: 0 50px 100px -40px rgba(91, 76, 240, 0.7);
}
.close-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.close-band__ring {
  position: absolute;
  z-index: -1;
  top: -320px;
  inset-inline-end: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.05), 0 0 0 140px rgba(255, 255, 255, 0.03);
}
.close-band__mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 20px 40px -16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
.close-band h2 { margin: 0 0 1rem; color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 900; line-height: 1.3; }
.close-band p { max-width: 62ch; margin-inline: auto; color: rgba(255, 255, 255, 0.86); font-size: 1.08rem; }
.close-band .cta-row { justify-content: center; margin-top: 2.2rem; }

/* ---------- Inner page hero ---------- */

.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero__inner { max-width: 840px; }
.page-hero h1 {
  margin: 1.1rem 0 0.9rem;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 900;
  line-height: 1.25;
}
html[lang="en"] .page-hero h1 { line-height: 1.08; letter-spacing: -0.035em; }
.page-hero .lede { max-width: 62ch; margin-inline: auto; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.page-hero--404 { padding-block: clamp(5rem, 12vw, 9rem); }
.page-hero--404 .cta-row { justify-content: center; margin-top: 2rem; }
.big-code {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Forms / info cards ---------- */

.info-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg); }

html[data-theme] .info-card :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], select, textarea) {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: none;
  transition: box-shadow 0.2s, background 0.2s;
}
html[data-theme] .info-card :is(input, select, textarea):focus {
  outline: none;
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1.5px var(--primary), 0 0 0 4px var(--primary-soft);
}
.info-card .field span { color: var(--text); font-size: 0.9rem; font-weight: 700; }
.info-card select { appearance: none; cursor: pointer; }
.info-card .btn { margin-top: 0.4rem; }

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.contact-layout.is-single { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
.contact-card__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.contact-card__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 22px -12px rgba(109, 93, 252, 0.7);
}
.contact-card__mark svg { width: 20px; height: 20px; }
.contact-card__kicker { color: var(--primary-strong); font-size: 0.74rem; font-weight: 800; }
.contact-card__head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }

.contact-form {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
}
.contact-form__head { margin-bottom: 0.95rem; }
.contact-form__kicker {
  display: inline-block;
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.contact-form__head h2 {
  margin: 0.2rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}
.contact-form .field { gap: 0.28rem; margin-bottom: 0.7rem; }
.contact-form .field span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}
.contact-form .form-row { gap: 0.7rem; }
html[data-theme] .contact-form :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], select, textarea) {
  padding: 0.58rem 0.78rem;
  border-radius: 11px;
  font-size: 0.9rem;
}
html[data-theme] .contact-form :is(input, select, textarea):focus {
  box-shadow: inset 0 0 0 1.5px var(--primary), 0 0 0 3px var(--primary-soft);
}
.contact-form textarea { min-height: 88px; }
.contact-form__submit {
  margin-top: 0.15rem;
  padding: 0.62rem 1.15rem;
  font-size: 0.88rem;
}

.contact-list { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
a.contact-item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 38%, transparent); }
.contact-item--address { align-items: flex-start; }
.contact-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  color: var(--primary-strong);
  background: var(--primary-soft);
}
.contact-ico svg { width: 20px; height: 20px; }
.contact-item__body { display: grid; min-width: 0; line-height: 1.6; }
.contact-label { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.contact-item strong { font-size: 0.98rem; overflow-wrap: anywhere; }
.contact-social { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.social-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-2);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.social-link:hover { color: #fff; background: var(--grad); transform: translateY(-3px); }
.social-mark { display: grid; }
.social-link svg { width: 20px; height: 20px; }

/* Downloads */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 940px;
  margin-inline: auto;
}
.download-grid > * { min-width: 0; }
.download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
}
.download-card__os {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #0078d4, #00bcf2);
  box-shadow: 0 16px 30px -14px rgba(0, 120, 212, 0.8);
}
.download-card--android .download-card__os { background: linear-gradient(135deg, #3ddc84, #079455); box-shadow: 0 16px 30px -14px rgba(16, 163, 90, 0.8); }
.download-card__os svg { width: 34px; height: 34px; }
.download-card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.download-card__badge,
.download-card__version {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.download-card__badge { color: var(--primary-strong); background: var(--primary-soft); }
.download-card__version { color: var(--muted); background: var(--surface-2); font-family: "Inter", sans-serif; }
.download-card h2 { margin: 0; font-size: 1.5rem; font-weight: 900; }
.download-card p { color: var(--muted); }
.download-card .btn { margin-top: auto; }

.trial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.trial-layout .band__head--side { position: sticky; top: 120px; }
.check-list { display: grid; gap: 0.7rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.check-list li::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--grad);
}
.trial-creds { margin-bottom: 1rem; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ok) 50%, transparent), var(--shadow); }
.trial-creds h3 { margin: 0 0 1rem; color: var(--ok); font-size: 1.05rem; }
.trial-creds__list { display: grid; gap: 0.6rem; margin: 0; }
.trial-creds__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--surface-2);
}
.trial-creds__list dt { color: var(--muted); font-weight: 700; }
.trial-creds__list dd { margin: 0; font-family: "Inter", ui-monospace, monospace; font-weight: 800; }

@media (max-width: 900px) {
  .contact-layout,
  .trial-layout { grid-template-columns: minmax(0, 1fr); }
  .trial-layout .band__head--side { position: static; text-align: center; }
  .trial-layout .check-list { justify-content: center; justify-items: center; }
  .download-grid { grid-template-columns: minmax(0, 1fr); }
}

/* About */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.4rem;
  align-items: stretch;
}
.about-intro.is-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-inline: auto; }
.about-mark {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, #5b4cf0 0%, #8b5cf6 50%, #0ea5c6 100%);
  box-shadow: 0 40px 80px -40px rgba(91, 76, 240, 0.8);
}
.about-mark::after {
  content: "";
  position: absolute;
  top: -120px;
  inset-inline-end: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.05);
}
.about-mark__badge {
  display: grid;
  place-items: stretch;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.6rem;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: default;
}
.about-mark__badge:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35);
}
.about-mark__badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 0.45s var(--ease);
}
.about-mark__badge:hover img {
  transform: scale(1.06);
}
.about-mark__glyph {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  font-size: 2rem;
  transition: transform 0.35s var(--ease);
}
.about-mark__badge:hover .about-mark__glyph {
  transform: scale(1.06);
}
.about-mark .kicker { color: rgba(255, 255, 255, 0.78); }
.about-mark .lede { margin-top: 0.5rem; color: #fff; font-size: 1.18rem; font-weight: 600; line-height: 1.95; }
.story {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: 1.06rem;
  line-height: 2.1;
}
.about-block { margin-top: clamp(4rem, 8vw, 6rem); }
.about-block .band__head { margin-bottom: 2rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.team-grid > * { min-width: 0; }
.person { padding: 2rem 1.4rem 1.6rem; text-align: center; }
.person__photo {
  display: grid;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.1rem;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--surface-solid), 0 0 0 6px color-mix(in srgb, var(--primary) 40%, transparent);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo:has(img) .person__fallback { display: none; }
.person__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  background: var(--grad);
  font-size: 2.2rem;
  font-weight: 900;
}
.person h3 { margin: 0; font-size: 1.12rem; font-weight: 800; }
.person .role { margin: 0.2rem 0 0.7rem; color: var(--primary-strong); font-size: 0.9rem; font-weight: 700; }
.person__bio { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .about-intro,
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Gallery */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.shot-grid > * { min-width: 0; }
.shot {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  cursor: zoom-in;
  text-align: start;
}
.shot img { display: block; width: 100%; transition: transform 0.7s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot__meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 0.2rem;
  padding: 3rem 1.1rem 1rem;
  color: #fff;
  background: linear-gradient(to bottom, transparent, rgba(6, 7, 13, 0.88));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.shot__meta strong { font-size: 1rem; }
.shot__meta span { font-size: 0.86rem; opacity: 0.82; }
.shot__zoom {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 10, 28, 0.45);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
}
.shot__zoom svg { width: 20px; height: 20px; }
.shot:hover .shot__meta,
.shot:focus-visible .shot__meta { opacity: 1; transform: none; }
.shot:hover .shot__zoom { opacity: 1; }
@media (hover: none) {
  .shot__meta { opacity: 1; transform: none; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(5, 6, 12, 0.88);
  backdrop-filter: blur(10px);
  animation: fade-in 0.25s ease;
}
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { display: block; max-height: 82vh; margin-inline: auto; border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8); }
.lightbox__caption { margin-top: 0.9rem; color: #fff; text-align: center; font-weight: 600; }
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  inset-inline-end: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }

/* Empty state */

.empty { padding: 4rem 1rem; text-align: center; }
.empty__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 24px;
  color: var(--primary-strong);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 24%, transparent);
}
.empty__icon svg { width: 34px; height: 34px; }
.empty p { color: var(--muted); font-weight: 600; }
.empty h1 { margin-top: 0; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  padding-block: 1.5rem 2rem;
  overflow: hidden;
}
.site-footer__aura {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.site-footer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: footer-orb 14s var(--ease) infinite alternate;
}
.site-footer__orb--a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -18%;
  inset-inline-start: -8%;
  background: color-mix(in srgb, var(--primary) 42%, transparent);
}
.site-footer__orb--b {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  bottom: -22%;
  inset-inline-end: -6%;
  background: color-mix(in srgb, var(--accent) 38%, transparent);
  animation-delay: -4s;
  animation-duration: 18s;
}
.site-footer__orb--c {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  top: 38%;
  inset-inline-start: 42%;
  background: color-mix(in srgb, #a78bfa 28%, transparent);
  animation-delay: -8s;
  animation-duration: 12s;
}
.site-footer__gridline {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.site-footer__shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border-radius: clamp(24px, 3.5vw, 36px);
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--bg-elev) 88%, transparent) 0%,
      color-mix(in srgb, var(--surface-solid) 72%, transparent) 100%
    );
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent),
    var(--shadow);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}
html[data-theme="dark"] .site-footer__shell {
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow);
}
.site-footer__watermark {
  pointer-events: none;
  position: absolute;
  inset-inline-end: -2%;
  bottom: -8%;
  z-index: 0;
  margin: 0;
  max-width: 70%;
  overflow: hidden;
  color: transparent;
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.07;
  transform: rotate(-6deg);
}
html[lang="en"] .site-footer__watermark { letter-spacing: -0.06em; }

.site-footer__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  padding: 1.1rem 1.25rem;
  border-radius: 20px;
  background:
    linear-gradient(
      120deg,
      color-mix(in srgb, var(--primary) 14%, transparent),
      color-mix(in srgb, var(--accent) 10%, transparent)
    );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
}
.site-footer__cta-copy { min-width: 0; flex: 1 1 14rem; }
.site-footer__cta .footer-kicker { margin-bottom: 0.35rem; color: var(--primary-strong); }
.site-footer__cta-text {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}
.site-footer__cta-btn {
  flex: none;
  gap: 0.55rem;
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--primary) 70%, transparent);
}
.site-footer__cta-btn svg { width: 18px; height: 18px; }

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.8rem, 4vw, 3rem);
}
.site-footer__grid.is-slim { grid-template-columns: minmax(0, 1fr); }
.site-footer__grid.is-duo { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.site-footer__grid.is-quad {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.05fr);
}
.footer-slogan__text {
  margin: 0;
  max-width: 28ch;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.footer-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}
.footer-brand__lockup:hover { transform: translateY(-2px); }
.footer-brand__logos {
  width: 52px;
  height: 52px;
  border-radius: 16px 12px 18px 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    0 12px 24px -12px color-mix(in srgb, var(--primary) 55%, transparent);
}
.footer-brand__logos .brand__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.footer-brand__mark {
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
  border-radius: 16px 12px 18px 14px;
}
.footer-brand__text { display: grid; gap: 0.15rem; min-width: 0; }
.footer-name {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.2;
}
.footer-tag {
  color: var(--primary-strong);
  font-size: 0.88rem;
  font-weight: 700;
}
.footer-copy {
  max-width: 42ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}
.footer-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.footer-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 80%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.footer-platforms span:hover {
  color: var(--text);
  background: var(--primary-soft);
  transform: translateY(-2px);
}
.footer-platforms svg { width: 15px; height: 15px; }

.footer-kicker {
  margin: 0 0 1rem;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.2rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.22s, transform 0.22s var(--ease);
}
.footer-nav__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 35%, var(--line-strong));
  box-shadow: 0 0 0 3px transparent;
  transition: background 0.22s, box-shadow 0.22s, transform 0.22s var(--ease);
}
.footer-nav a:hover {
  color: var(--primary-strong);
  transform: translateX(calc(var(--nav-nudge, 1) * 3px));
}
[dir="rtl"] .footer-nav a { --nav-nudge: -1; }
.footer-nav a:hover .footer-nav__dot,
.footer-nav a[aria-current="page"] .footer-nav__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: scale(1.15);
}
.footer-nav a[aria-current="page"] { color: var(--text); }

.footer-contact__list { display: grid; gap: 0.55rem; }
.footer-contact__list a,
.footer-contact__list p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
  transition: color 0.22s, background 0.22s, transform 0.22s var(--ease);
}
.footer-contact__list a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  transform: translateY(-1px);
}
.footer-contact__value { min-width: 0; line-height: 1.45; word-break: break-word; }
.footer-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  color: var(--primary-strong);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--primary) 14%, var(--surface-2)),
      color-mix(in srgb, var(--accent) 10%, var(--surface-2))
    );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 16%, transparent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.footer-contact__list a:hover .footer-ico {
  transform: rotate(-4deg) scale(1.04);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent),
    0 10px 18px -12px color-mix(in srgb, var(--primary) 55%, transparent);
}
.footer-ico svg { width: 17px; height: 17px; }
.footer-map { position: relative; }
.footer-map__arrow {
  margin-inline-start: auto;
  opacity: 0.45;
  transition: opacity 0.22s, transform 0.22s var(--ease);
}
.footer-map__arrow svg { width: 15px; height: 15px; }
.footer-map:hover .footer-map__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}
[dir="rtl"] .footer-map:hover .footer-map__arrow { transform: translate(-2px, -2px) scaleX(-1); }
[dir="rtl"] .footer-map__arrow { transform: scaleX(-1); }

.site-footer__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.site-footer__meta::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: min(180px, 40%);
  height: 2px;
  border-radius: 999px;
  background: var(--grad);
  opacity: 0.85;
}
.copyright { color: var(--faint); font-size: 0.88rem; font-weight: 600; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 85%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.28s, color 0.28s, transform 0.28s var(--ease), box-shadow 0.28s;
}
.footer-social a:hover {
  color: #fff;
  background: var(--grad);
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 14px 24px -12px color-mix(in srgb, var(--primary) 65%, transparent);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.45rem 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 80%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
[dir="rtl"] .footer-top { padding: 0.35rem 0.9rem 0.35rem 0.45rem; }
.footer-top:hover {
  color: var(--text);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent);
}
.footer-top__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--primary-strong);
  background: var(--bg-elev);
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -8px color-mix(in srgb, var(--primary) 40%, transparent);
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
}
.footer-top:hover .footer-top__icon {
  color: #fff;
  background: var(--grad);
  transform: translateY(-4px);
  animation: footer-top-bounce 0.7s var(--ease);
}
.footer-top__icon svg { width: 16px; height: 16px; }

@keyframes footer-orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -22px, 0) scale(1.08); }
}
@keyframes footer-top-bounce {
  0%, 100% { transform: translateY(-4px); }
  40% { transform: translateY(-8px); }
  70% { transform: translateY(-3px); }
}

@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__cta { text-align: center; justify-content: center; }
  .site-footer__cta-btn { width: 100%; justify-content: center; }
  .site-footer__meta { justify-content: center; text-align: center; }
  .site-footer__meta::before { inset-inline-start: 50%; transform: translateX(-50%); }
  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { text-align: center; }
  .footer-brand__lockup { justify-content: center; }
  .footer-platforms { justify-content: center; }
  .footer-copy { margin-inline: auto; }
  .footer-nav,
  .footer-slogan,
  .footer-contact { text-align: start; }
  .footer-slogan__text { max-width: none; }
  .site-footer__watermark { opacity: 0.045; font-size: clamp(3.5rem, 18vw, 6rem); }
}

/* ---------- Flashes ---------- */

.flashes, .banner { width: min(1200px, calc(100% - 2rem)); }
.flash, .banner { border-radius: 16px; font-weight: 600; }

/* ---------- Motion ---------- */

html.js [data-reveal]:not(.is-visible) { opacity: 0; }
html.js [data-reveal].is-visible {
  animation: reveal 0.9s var(--ease) backwards;
  animation-delay: var(--d, 0ms);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(26px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ping {
  0% { opacity: 0.7; transform: scale(0.6); }
  80%, 100% { opacity: 0; transform: scale(1.6); }
}
@keyframes grow { from { transform: scaleY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.blog-grid > * { min-width: 0; }
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line), 0 22px 40px -24px rgba(40, 30, 90, 0.35);
}
.blog-card__media {
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem 1.3rem 1.45rem;
  flex: 1;
}
.blog-card__date,
.blog-post__date {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}
.blog-card h2 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.45;
}
.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-card h2 a:hover { color: var(--primary-strong); }
.blog-card .prose {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.blog-card__more {
  margin-top: auto;
  color: var(--primary-strong);
  font-weight: 750;
  text-decoration: none;
}
.blog-card__more:hover { text-decoration: underline; }

.blog-post__crumb {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}
.blog-post__crumb a {
  color: var(--primary-strong);
  text-decoration: none;
}
.blog-post__cover {
  display: grid;
  max-width: 920px;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}
.blog-post__cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.blog-post__layout {
  max-width: 820px;
  display: grid;
  gap: 1.4rem;
}
.blog-post__body {
  white-space: pre-wrap;
  word-break: break-word;
}
.blog-share {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.blog-share__label {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
}
.blog-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.blog-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.blog-share__btn:hover {
  color: var(--primary-strong);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--primary), 0 10px 20px -16px rgba(109, 93, 252, 0.55);
}
.blog-share__btn.is-done {
  color: #0f7a4a;
  box-shadow: inset 0 0 0 1px rgba(15, 122, 74, 0.35);
}
.blog-post__back {
  margin: 0.2rem 0 0;
}
.blog-post__back a {
  color: var(--primary-strong);
  font-weight: 750;
  text-decoration: none;
}
.blog-post__back a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .blog-post__cover img { max-height: 260px; }
}

/* ---------- Shared responsive system ---------- */

@media (max-width: 1100px) {
  .module-grid,
  .role-grid,
  .card-grid,
  .blog-grid,
  .shot-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container,
  .flashes,
  .banner {
    width: min(1200px, calc(100% - 1.5rem));
  }

  .section { padding-block: clamp(2.6rem, 8vw, 4.5rem); }

  .page-hero { padding-block: clamp(2.6rem, 8vw, 4.5rem) clamp(1.4rem, 4vw, 2.4rem); }
  .page-hero h1 { font-size: clamp(1.85rem, 8vw, 2.8rem); }

  .band__head h2 { font-size: clamp(1.55rem, 6.5vw, 2.2rem); }
  .band__head .lede { font-size: 0.98rem; }

  .module-grid,
  .role-grid,
  .card-grid,
  .blog-grid,
  .shot-grid,
  .team-grid,
  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .role-card { align-items: flex-start; }
  .module-group__head { flex-wrap: wrap; }
  .module-group__head h2 { font-size: 1.25rem; }

  .faq summary {
    align-items: flex-start;
    gap: 0.7rem;
  }
  .faq__q { padding-top: 0.2rem; }

  .close-band h2 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .close-band p { font-size: 0.98rem; }
  .close-band .cta-row .btn {
    flex: 1 1 auto;
    white-space: normal;
  }

  .lightbox { padding: 1rem; }
  .lightbox__close {
    top: 0.75rem;
    inset-inline-end: 0.75rem;
  }

  .site-footer__shell { padding: 1.25rem 1rem; }
  .site-footer__cta { padding: 1rem; }
  .stat-row li { max-width: none; }
}

@media (max-width: 480px) {
  .container,
  .flashes,
  .banner {
    width: min(1200px, calc(100% - 1.1rem));
  }

  .header-inner { width: min(1200px, calc(100% - 1.1rem)); gap: 0.65rem; }
  .site-header .brand__name { font-size: 1.05rem; }

  .btn-lg {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .card,
  .module-card,
  .role-card,
  .download-card {
    padding: 1.15rem;
  }

  .card__media {
    margin: -1.15rem -1.15rem 1.1rem;
  }

  .module-card__image {
    width: calc(100% + 2.3rem);
    margin: -1.15rem -1.15rem 1rem;
  }

  .role-card--photo .card__media {
    margin: -1.15rem -1.15rem 0;
  }

  .badge-row {
    justify-content: center;
  }

  .badge-row li {
    font-size: 0.8rem;
  }

  .footer-nav ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal]:not(.is-visible) { opacity: 1; }
  html.js [data-reveal].is-visible,
  .phone,
  .float-card,
  .marquee__track,
  .chart-card__bars span,
  .live-dot::after,
  .site-footer__orb,
  .footer-top:hover .footer-top__icon { animation: none !important; }
  .chart-card__line path { stroke-dashoffset: 0; animation: none; }
  .blog-card,
  .blog-card__media img,
  .blog-share__btn,
  .footer-nav a,
  .footer-social a,
  .footer-platforms span { transition: none; }
}
