/* ═══════════════════════════════════════════════════════════
   iakimlabs — main stylesheet (on top of Bootstrap 5.3)
   Colors are tokens: change them here, both themes update.
   ═══════════════════════════════════════════════════════════ */

:root {
  --brand: #3ddc84;            /* Android green */
  --brand-2: #8b7bff;          /* violet accent */
  --brand-3: #33c6ff;          /* cyan accent */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 1.25rem;
  --radius-sm: .75rem;
  --header-h: 72px;
  --bs-body-font-family: var(--font-sans);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
}

[data-bs-theme="dark"] {
  --bs-body-bg: #0b0f14;
  --bs-body-color: #e6ebf1;
  --bs-secondary-color: #93a0b1;
  --bs-emphasis-color: #ffffff;
  --bs-border-color: rgba(255, 255, 255, .09);
  --bs-tertiary-bg: #121821;
  --surface: #11171f;
  --surface-2: #161e28;
  --surface-hover: #1a2430;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --brand-ink: #3ddc84;
  --on-brand: #04130a;
  --logo-ink: #0b0f14;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --grid-line: rgba(255, 255, 255, .035);
  --bs-link-color-rgb: 61, 220, 132;
  --bs-link-hover-color-rgb: 120, 235, 170;
}

[data-bs-theme="light"] {
  --bs-body-bg: #f6f7f9;
  --bs-body-color: #1a2230;
  --bs-secondary-color: #5a6575;
  --bs-emphasis-color: #0b1220;
  --bs-border-color: rgba(15, 23, 42, .1);
  --bs-tertiary-bg: #eef1f4;
  --surface: #ffffff;
  --surface-2: #f0f3f6;
  --surface-hover: #ffffff;
  --line: rgba(15, 23, 42, .08);
  --line-strong: rgba(15, 23, 42, .16);
  --brand-ink: #0a8f4a;
  --on-brand: #04130a;
  --logo-ink: #ffffff;
  --shadow: 0 20px 45px -25px rgba(15, 23, 42, .3);
  --grid-line: rgba(15, 23, 42, .045);
  --bs-link-color-rgb: 10, 143, 74;
  --bs-link-hover-color-rgb: 6, 105, 54;
}

/* ─── Base ─────────────────────────────────────────────── */
[hidden] { display: none !important; }
code { color: var(--brand-ink); }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  top: 0 !important; /* Google Translate pushes body down — keep it in place */
}
h1, h2, h3, h4, .brand, .btn-play span { font-family: var(--font-display); letter-spacing: -.02em; }
a { text-underline-offset: .2em; }
::selection { background: color-mix(in srgb, var(--brand) 35%, transparent); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--brand); color: var(--on-brand); padding: .5rem 1rem; border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.container { --bs-gutter-x: 2rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-ink);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .75rem;
}
.eyebrow .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 0%, transparent); } }

.text-gradient {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-3) 50%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn { font-weight: 600; border-radius: 999px; padding: .6rem 1.25rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .35rem .85rem; }
.btn-brand {
  --bs-btn-bg: var(--brand); --bs-btn-color: var(--on-brand);
  --bs-btn-hover-bg: #5ae89a; --bs-btn-hover-color: var(--on-brand);
  --bs-btn-active-bg: #2fc472; --bs-btn-active-color: var(--on-brand);
  --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--brand) 70%, transparent);
}
.btn-ghost {
  --bs-btn-color: var(--bs-emphasis-color);
  --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-bg: var(--surface-2); --bs-btn-hover-color: var(--bs-emphasis-color);
  --bs-btn-hover-border-color: var(--line-strong);
  --bs-btn-active-bg: var(--surface-2);
  --bs-btn-disabled-color: var(--bs-secondary-color); --bs-btn-disabled-border-color: var(--line);
}
.btn-icon {
  border: 0; background: transparent; color: var(--bs-body-color);
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; gap: .25rem;
  font-size: 1.15rem;
}
.btn-icon:hover, .btn-icon:focus-visible { background: var(--surface-2); color: var(--bs-emphasis-color); }
.btn-icon .lang-code { font-family: var(--font-mono); font-size: .62rem; font-weight: 500; }
.dropdown > .btn-icon { width: auto; padding: 0 .65rem; border-radius: 999px; }

.btn-play {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: .9rem; padding: .55rem 1.2rem .55rem 1rem;
}
.btn-play:hover { background: #111; color: #fff; }
.btn-play i { font-size: 1.7rem; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.15rem; text-align: left; }
.btn-play small { font-family: var(--font-sans); font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--brand-ink); display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ─── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: color-mix(in srgb, var(--bs-body-bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.3rem; color: var(--bs-emphasis-color); text-decoration: none;
}
.brand b { color: var(--brand-ink); font-weight: 700; }
.brand:hover { color: var(--bs-emphasis-color); }
.logo-mark { color: var(--brand); flex: none; }

.navbar-nav .nav-link {
  font-weight: 500; color: var(--bs-secondary-color);
  padding: .5rem .9rem !important; border-radius: 999px;
}
.navbar-nav .nav-link:hover { color: var(--bs-emphasis-color); }
.navbar-nav .nav-link.active { color: var(--bs-emphasis-color); background: var(--surface-2); }
.navbar-toggler { border: 0; box-shadow: none !important; font-size: 1.5rem; }

@media (max-width: 991.98px) {
  .navbar-collapse { order: 10; width: 100%; }
  .navbar-nav { padding: .75rem 0 1rem; gap: .15rem; }
  .navbar-nav .nav-link { padding: .7rem 1rem !important; }
}

.dropdown-menu {
  --bs-dropdown-bg: var(--surface);
  --bs-dropdown-border-color: var(--line);
  --bs-dropdown-link-hover-bg: var(--surface-2);
  --bs-dropdown-link-active-bg: color-mix(in srgb, var(--brand) 18%, transparent);
  --bs-dropdown-link-active-color: var(--bs-emphasis-color);
  border-radius: 1rem; padding: .5rem; box-shadow: var(--shadow);
}
.dropdown-item { border-radius: .6rem; }
.lang-menu { max-height: min(70vh, 460px); overflow-y: auto; min-width: 12rem; }
.lang-menu .dropdown-item.active::after { content: "\F26E"; font-family: "bootstrap-icons"; float: right; color: var(--brand-ink); }

/* Theme toggle icons */
[data-bs-theme="dark"] .theme-icon-light, [data-bs-theme="light"] .theme-icon-dark { display: none; }

/* ─── Sections ─────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
[data-bs-theme="dark"] .section--alt { background: #0e141b; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; margin-bottom: .75rem; color: var(--bs-emphasis-color); }
.section-title-sm { font-size: 1.4rem; font-weight: 600; margin-bottom: 1.25rem; color: var(--bs-emphasis-color); }
.section-lead { color: var(--bs-secondary-color); max-width: 40rem; margin: 0; font-size: 1.1rem; }

/* ─── Hero ─────────────────────────────────────────────── */
.hero { position: relative; padding: 4.5rem 0 5rem; overflow: hidden; }
.hero__bg, .app-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 80% 20%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%),
    radial-gradient(500px 380px at 10% 80%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem); font-weight: 700; line-height: 1.05; color: var(--bs-emphasis-color); margin-bottom: 1.25rem; }
.hero__lead { font-size: 1.15rem; color: var(--bs-secondary-color); max-width: 34rem; }
.hero__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--bs-secondary-color); font-size: .95rem; }
.hero__facts i { color: var(--brand-ink); margin-right: .4rem; }

/* Phone visual */
.hero-visual { position: relative; max-width: 420px; margin: 0 auto; padding: 1rem 2.5rem; }
.phone {
  position: relative; aspect-ratio: 9 / 18.5; width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 2.6rem; padding: .7rem;
  background: linear-gradient(160deg, #2a3442, #0f141b);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: rotate(-4deg);
}
.phone__notch { position: absolute; top: 1.15rem; left: 50%; width: .7rem; height: .7rem; border-radius: 50%; background: #05070a; transform: translateX(-50%); z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 2rem; overflow: hidden; padding: 2.4rem 1.1rem 1.1rem;
  background:
    radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--brand-2) 55%, #0b0f14), transparent 70%),
    radial-gradient(120% 60% at 100% 100%, color-mix(in srgb, var(--brand) 45%, #0b0f14), transparent 70%),
    #0b0f14;
  display: flex; flex-direction: column; color: #fff;
}
.phone__status { position: absolute; top: 1.05rem; left: 2rem; right: 2rem; display: flex; justify-content: space-between; font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.85); }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem .5rem; margin-top: .75rem; }
.phone__app { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .62rem; color: rgba(255,255,255,.9); text-align: center; }
.phone__app img, .phone__app .tile { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 8px 18px -6px rgba(0,0,0,.6); }
.phone__app .tile { display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.35); font-size: 1.2rem; }
.phone__feature {
  display: flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: .7rem;
  border-radius: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.phone__feature img { width: 42px; height: 42px; border-radius: 12px; }
.phone__feature b { display: block; font-size: .8rem; }
.phone__feature small { font-size: .62rem; color: rgba(255,255,255,.7); }
.phone__lines { margin-top: .9rem; display: grid; gap: .45rem; }
.phone__lines span { height: 8px; border-radius: 6px; background: rgba(255,255,255,.1); }
.phone__lines span:nth-child(2) { width: 75%; } .phone__lines span:nth-child(3) { width: 55%; }
.phone__card {
  margin-top: auto; padding: .9rem; border-radius: 1.1rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.phone__card-label { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.phone__card-meta { font-size: .66rem; color: rgba(255,255,255,.75); }
.progress-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin: .5rem 0 .4rem; }
.progress-days span { height: 18px; border-radius: 4px; background: rgba(255,255,255,.15); }
.progress-days span.on { background: var(--brand); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--surface); color: var(--bs-emphasis-color);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-chip i { color: var(--brand-ink); }
.float-chip--a { top: 12%; left: -4%; }
.float-chip--b { top: 46%; right: -6%; animation-delay: -2s; }
.float-chip--c { bottom: -2%; left: -2%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ─── App cards & grid ─────────────────────────────────── */
.app-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.app-card {
  --app-accent: var(--brand);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  text-decoration: none; color: inherit; min-height: 250px;
}
.app-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--app-accent) 45%, var(--line)); box-shadow: var(--shadow); }
.app-card__glow {
  position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--app-accent) 30%, transparent), transparent 65%);
  opacity: .55; transition: opacity .25s;
}
.app-card:hover .app-card__glow { opacity: 1; }
.app-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.app-icon { border-radius: 22%; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); background: var(--surface-2); }
.app-icon--xl { width: 128px; height: 128px; border-radius: 28px; flex: none; }
.app-card__title { font-size: 1.35rem; font-weight: 600; margin-bottom: .4rem; }
.app-card__title a { color: var(--bs-emphasis-color); text-decoration: none; }
.app-card__tagline { color: var(--bs-secondary-color); margin-bottom: 1.25rem; font-size: .97rem; }
.app-card__meta { margin-top: auto; display: flex; align-items: center; gap: .9rem; font-size: .85rem; color: var(--bs-secondary-color); }
.app-card__meta i { margin-right: .35rem; }
.app-card__arrow {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--bs-emphasis-color); transition: background .25s, color .25s;
}
.app-card__arrow i { margin: 0; }
.app-card:hover .app-card__arrow { background: var(--app-accent); color: #0b0f14; }

.app-card--placeholder { border-style: dashed; background: transparent; justify-content: center; }
.app-card--placeholder:hover { color: inherit; border-color: var(--line-strong); }
.placeholder-icon { width: 72px; height: 72px; border-radius: 22%; display: grid; place-items: center; font-size: 1.8rem; background: var(--surface-2); color: var(--brand-ink); margin-bottom: 1.25rem; }

/* Status badge & chips */
.status, .chip {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  font-size: .76rem; font-weight: 600; padding: .32rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--bs-secondary-color);
}
.status--live { color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 14%, transparent); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.status--closed-testing { color: #c98a00; background: rgba(245, 165, 36, .14); border-color: rgba(245, 165, 36, .35); }
[data-bs-theme="dark"] .status--closed-testing { color: #ffc35a; }
.status--in-development { color: var(--brand-2); background: color-mix(in srgb, var(--brand-2) 14%, transparent); border-color: color-mix(in srgb, var(--brand-2) 35%, transparent); }

/* ─── Catalog ──────────────────────────────────────────── */
.catalog-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--line); background: var(--surface); color: var(--bs-body-color);
  font-weight: 500; padding: .5rem 1rem; border-radius: 999px; transition: all .15s;
}
.filter span { font-family: var(--font-mono); font-size: .72rem; padding: .05rem .45rem; border-radius: 999px; background: var(--surface-2); color: var(--bs-secondary-color); }
.filter:hover { border-color: var(--line-strong); }
.filter.active { background: var(--bs-emphasis-color); color: var(--bs-body-bg); border-color: var(--bs-emphasis-color); }
.filter.active span { background: color-mix(in srgb, var(--bs-body-bg) 20%, transparent); color: inherit; }
.search { position: relative; flex: 1 1 240px; max-width: 320px; margin: 0; }
.search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--bs-secondary-color); }
.search input {
  width: 100%; padding: .6rem 1rem .6rem 2.6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--bs-body-color);
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--bs-secondary-color); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state i { font-size: 2rem; display: block; margin-bottom: .75rem; }

/* ─── Features / values ────────────────────────────────── */
.feature {
  position: relative; padding: 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); height: 100%;
  transition: border-color .2s, transform .2s;
}
.section--alt .feature { background: var(--bs-body-bg); }
.feature--link:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-3px); }
.feature__icon {
  width: 2.75rem; height: 2.75rem; border-radius: .8rem; display: inline-grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--app-accent, var(--brand)) 15%, transparent);
  color: var(--app-accent, var(--brand-ink)); font-size: 1.25rem; margin-bottom: 1rem;
}
.feature__title { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; color: var(--bs-emphasis-color); }
.feature__title a { color: inherit; text-decoration: none; }
.feature__text { color: var(--bs-secondary-color); margin: 0; font-size: .95rem; }

.value { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--bs-body-bg); border: 1px solid var(--line); height: 100%; }
.value > i { font-size: 1.4rem; color: var(--brand-ink); }
.value h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.value p { margin: 0; color: var(--bs-secondary-color); font-size: .93rem; }

/* ─── Testing ──────────────────────────────────────────── */
.testing-teaser {
  padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(500px 300px at 100% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius-sm); background: var(--bs-body-bg); border: 1px solid var(--line); }
.step__num { font-family: var(--font-mono); font-size: .85rem; color: var(--brand-ink); padding-top: .15rem; }
.step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: .25rem; }
.step p { margin: 0; font-size: .92rem; color: var(--bs-secondary-color); }

.rule-card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rule-card__label { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bs-secondary-color); }
.rule-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 1.25rem; }
.rule-stats div { padding: 1rem; border-radius: var(--radius-sm); background: var(--surface-2); }
.rule-stats b { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--brand-ink); }
.rule-stats span { font-size: .88rem; color: var(--bs-secondary-color); }
.rule-card__note { font-size: .9rem; color: var(--bs-secondary-color); margin: 0; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: none; }
.timeline li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.timeline__num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; font-family: var(--font-display); margin-bottom: 1rem; }
.timeline h3 { font-size: 1.05rem; font-weight: 600; }
.timeline p { color: var(--bs-secondary-color); font-size: .93rem; margin: 0; }

.list-card { padding: 2rem; border-radius: var(--radius); background: var(--bs-body-bg); border: 1px solid var(--line); }
.list-card__title { font-size: 1.3rem; font-weight: 600; display: flex; gap: .6rem; align-items: center; margin-bottom: 1.25rem; }
.list-card__title i { color: var(--brand-ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -.05rem; font-size: 1.2rem; color: var(--brand-ink); }
.check-list--muted li::before { content: "\F287"; font-size: .55rem; top: .45rem; left: .45rem; color: var(--bs-secondary-color); }

.faq { --bs-accordion-bg: var(--surface); --bs-accordion-border-color: var(--line); --bs-accordion-active-bg: var(--surface); --bs-accordion-active-color: var(--bs-emphasis-color); --bs-accordion-btn-focus-box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: var(--radius); }
.faq .accordion-button { font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; padding: 1.15rem 1.35rem; }
.faq .accordion-body { color: var(--bs-secondary-color); padding: 0 1.35rem 1.25rem; }

/* ─── CTA ──────────────────────────────────────────────── */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(400px 260px at 0% 100%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(400px 260px at 100% 0%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.cta-band > div:first-child { max-width: 36rem; }
.cta-band__title { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); font-weight: 700; color: var(--bs-emphasis-color); }

/* ─── Page hero & prose ────────────────────────────────── */
.page-hero { padding: 4rem 0 2.5rem; }
.page-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); font-weight: 700; color: var(--bs-emphasis-color); margin-bottom: 1rem; line-height: 1.1; }
.page-lead { color: var(--bs-secondary-color); max-width: 44rem; font-size: 1.15rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--bs-secondary-color); --bs-breadcrumb-item-active-color: var(--bs-secondary-color); font-size: .9rem; margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; }

.prose { max-width: 46rem; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.45rem; font-weight: 600; margin: 2.2rem 0 .8rem; color: var(--bs-emphasis-color); }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.8rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose code { color: var(--brand-ink); background: var(--surface-2); padding: .1rem .35rem; border-radius: .35rem; }
.prose strong { color: var(--bs-emphasis-color); }
.prose > :first-child { margin-top: 0; }

/* ─── App page ─────────────────────────────────────────── */
.app-hero { position: relative; padding: 2.5rem 0 1rem; overflow: hidden; isolation: isolate; }
.app-hero__bg {
  background:
    radial-gradient(700px 380px at 15% 0%, color-mix(in srgb, var(--app-accent) 26%, transparent), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px;
}
.app-hero__main { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.app-hero__text { flex: 1 1 320px; }
.app-title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); font-weight: 700; color: var(--bs-emphasis-color); margin-bottom: .4rem; }
.app-tagline { font-size: 1.2rem; color: var(--bs-secondary-color); max-width: 38rem; margin: 0; }
.app-page .btn-brand { --bs-btn-bg: var(--app-accent); --bs-btn-hover-bg: color-mix(in srgb, var(--app-accent) 85%, #fff); --bs-btn-active-bg: var(--app-accent); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--app-accent) 70%, transparent); }
.app-page .feature__icon { color: color-mix(in srgb, var(--app-accent) 80%, var(--bs-emphasis-color)); }

.shots { position: relative; }
.shots__track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.25rem; scrollbar-width: thin;
}
.shot { flex: 0 0 auto; width: clamp(180px, 22vw, 240px); margin: 0; scroll-snap-align: start; }
.shot img { width: 100%; border-radius: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shots__nav {
  position: absolute; top: 45%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--bs-emphasis-color); box-shadow: var(--shadow);
}
.shots__nav--prev { left: -10px; } .shots__nav--next { right: -10px; }
@media (hover: none) { .shots__nav { display: none; } }

.shots-empty { position: relative; display: flex; width: fit-content; max-width: 100%; gap: 1rem; overflow: hidden; padding: .5rem 0 1rem; }
.phone-ghost {
  flex: 0 0 auto; width: clamp(150px, 20vw, 200px); aspect-ratio: 9 / 19; border-radius: 1.4rem;
  display: grid; place-items: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--app-accent) 20%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
}
.phone-ghost img { border-radius: 14px; opacity: .85; }
.phone-ghost:nth-child(2) img { opacity: .5; } .phone-ghost:nth-child(3) img { opacity: .3; }
.shots-empty__note {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0;
  padding: .55rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong);
  font-size: .9rem; color: var(--bs-secondary-color); white-space: nowrap; box-shadow: var(--shadow);
}

.info-card { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-card__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.info-list { margin: 0 0 1.25rem; }
.info-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.info-list dt { font-weight: 500; color: var(--bs-secondary-color); }
.info-list dd { margin: 0; text-align: right; color: var(--bs-emphasis-color); }
.info-links { display: grid; gap: .25rem; }
.info-links a { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: .6rem; text-decoration: none; color: var(--bs-body-color); font-weight: 500; }
.info-links a:hover { background: var(--surface-2); }
.info-links i { color: var(--app-accent); }

/* ─── About / contact ──────────────────────────────────── */
.person-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.person-card__avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--on-brand); background: linear-gradient(135deg, var(--brand), var(--brand-3)); }
.person-card__name { font-size: 1.3rem; font-weight: 600; margin: 0; }
.person-card__role { margin: 0; color: var(--bs-secondary-color); }
.person-card__links { width: 100%; display: flex; gap: .5rem; }

.contact-form { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form-control, .form-select { background-color: var(--bs-body-bg); border-color: var(--line-strong); padding: .7rem .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); background-color: var(--bs-body-bg); }
.form-label { font-weight: 500; font-size: .92rem; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s; }
.contact-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: inherit; }
.contact-card .feature__icon { margin: 0; }
.contact-card small { display: block; color: var(--bs-secondary-color); font-size: .8rem; }
.contact-card b { color: var(--bs-emphasis-color); font-weight: 600; word-break: break-all; }

.not-found { padding: 7rem 0; }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 9rem); font-weight: 700; line-height: 1; margin-bottom: 1rem; }
.not-found__code { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Footer ───────────────────────────────────────────── */
.site-footer { margin-top: 2rem; padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: var(--surface); }
[data-bs-theme="dark"] .site-footer { background: #0e141b; }
.footer-about { max-width: 26rem; margin-top: 1rem; }
.footer-title { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--bs-secondary-color); margin-bottom: 1rem; font-weight: 500; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: var(--bs-body-color); text-decoration: none; display: inline; }
.footer-links a:hover { color: var(--brand-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; }

/* ─── Google Translate: hide its own UI, keep ours ─────── */
.gt-holder { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate > iframe, iframe.skiptranslate,
#goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* ─── Responsive tweaks ────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero { padding-top: 2.5rem; }
  .hero-visual { max-width: 340px; }
  .section { padding: 3.75rem 0; }
}
@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2rem; }
  .float-chip { font-size: .75rem; padding: .45rem .7rem; }
  .float-chip--a { left: -2%; } .float-chip--b { right: -2%; }
  .app-hero__main { gap: 1.25rem; }
  .app-icon--xl { width: 96px; height: 96px; border-radius: 22px; }
  .search { max-width: none; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Privacy policy index ─────────────────────────────── */
.policy-list { display: grid; gap: .75rem; margin: 1rem 0 2rem; }
.policy-item {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: border-color .2s, transform .2s;
}
.policy-item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: inherit; transform: translateX(3px); }
.policy-item img { border-radius: 22%; flex: none; }
.policy-item__text { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.policy-item__text b { color: var(--bs-emphasis-color); font-family: var(--font-display); font-size: 1.1rem; }
.policy-item__text small { color: var(--bs-secondary-color); font-size: .85rem; }
.policy-item > i { color: var(--brand-ink); }
