/* ===== Wakazi — marketing site (2026 redesign) ===== */
/* Dark premium hero + demo, light content middle, dark bookends.
   Brand: #0D47A1 primary, #082F6B primary-dark, #1E88E5 accent, #F7F9FC bg.
   Motion is gated behind `html.motion` (set by JS only when the user has
   NOT requested reduced motion). No external fonts, CDNs or libraries. */

:root {
  --primary: #0D47A1;
  --primary-dark: #082F6B;
  --accent: #1E88E5;
  --cyan: #26C6DA;
  --navy-0: #020913;
  --navy-1: #04122E;
  --navy-2: #061A3F;
  --bg: #F7F9FC;
  --surface: #ffffff;
  --text: #17233B;
  --muted: #54657F;
  --line: #E3EAF5;
  --ink-on-dark: #EAF2FF;
  --muted-on-dark: #A8BEDD;
  --shadow: 0 14px 34px rgba(13, 71, 161, 0.12);
  --shadow-sm: 0 4px 16px rgba(13, 71, 161, 0.08);
  --radius: 16px;
  --grad-cta: linear-gradient(135deg, #1E88E5 0%, #26C6DA 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Header / nav (dark glass) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 18, 46, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.45);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  margin-inline-start: auto;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.25rem 0.8rem;
  color: rgba(234, 242, 255, 0.82);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline-start: auto;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

/* Language picker: globe icon + native <select>, dark glass */
.lang-picker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding-inline-start: 0.85rem;
  min-height: 48px;
  color: var(--muted-on-dark);
}

.lang-picker svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.lang-picker select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  padding-inline-end: 1.35rem;
  padding-inline-start: 0.1rem;
  font: inherit;
  font-weight: 600;
  color: #ffffff;
  background: transparent
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" fill="none" stroke="%23A8BEDD" stroke-width="1.6" stroke-linecap="round"/></svg>')
    no-repeat right center;
  cursor: pointer;
  min-height: 46px;
  max-width: 8rem;
  text-overflow: ellipsis;
}

.lang-picker select option {
  color: var(--text);
  background: #ffffff;
}

[dir="rtl"] .lang-picker select {
  background-position: left center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.18s ease, background-color 0.15s ease, border-color 0.15s ease;
}

@media (max-width: 480px) {
  .nav-cta {
    padding: 0.55rem 0.95rem;
    font-size: 0.92rem;
  }

  .lang-picker select {
    max-width: 6.2rem;
  }
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn-primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 136, 229, 0.55);
}

.btn-glow {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(30, 136, 229, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30, 136, 229, 0.6),
    0 0 34px rgba(38, 198, 218, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 32px rgba(2, 9, 19, 0.5);
}

.btn-like {
  background: linear-gradient(135deg, #10b981, #26c6da);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.4);
}

.btn-like:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.55);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-1) 0%, var(--primary-dark) 52%, var(--primary) 115%);
  color: var(--ink-on-dark);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 2.5rem 0 4rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 3.5rem 0 4.5rem;
  }
}

/* aurora blobs */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.blob.b1 {
  width: 55vmin;
  height: 55vmin;
  inset-inline-start: -12vmin;
  top: -10vmin;
  background: radial-gradient(circle at 35% 35%, rgba(30, 136, 229, 0.85), transparent 65%);
}

.blob.b2 {
  width: 48vmin;
  height: 48vmin;
  inset-inline-end: -10vmin;
  top: 22%;
  background: radial-gradient(circle at 60% 40%, rgba(38, 198, 218, 0.6), transparent 65%);
}

.blob.b3 {
  width: 60vmin;
  height: 60vmin;
  inset-inline-start: 28%;
  bottom: -28vmin;
  background: radial-gradient(circle at 50% 50%, rgba(13, 71, 161, 0.9), transparent 68%);
}

html.motion .blob.b1 {
  animation: drift1 22s ease-in-out infinite alternate;
}

html.motion .blob.b2 {
  animation: drift2 26s ease-in-out infinite alternate;
}

html.motion .blob.b3 {
  animation: drift3 30s ease-in-out infinite alternate;
}

@keyframes drift1 {
  to {
    transform: translate(9vmin, 7vmin) scale(1.18);
  }
}

@keyframes drift2 {
  to {
    transform: translate(-8vmin, 9vmin) scale(0.86);
  }
}

@keyframes drift3 {
  to {
    transform: translate(-10vmin, -6vmin) scale(1.12);
  }
}

/* faint grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.badge.glass {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #cfe6ff;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 1.2rem;
  box-shadow: 0 4px 18px rgba(2, 9, 19, 0.35);
}

.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
  color: #ffffff;
  font-weight: 800;
}

/* per-word spans injected by JS (works for every translation) */
.hero h1 .w {
  display: inline-block;
}

html.motion .hero h1 .w {
  opacity: 0;
  transform: translateY(0.45em) rotate(1.5deg);
  animation: word-up 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(0.25s + var(--wi, 0) * 0.07s);
}

@keyframes word-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1 .grad {
  background: linear-gradient(92deg, #90caf9 0%, var(--accent) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.14rem;
  color: var(--muted-on-dark);
  max-width: 34rem;
  margin: 0 0 1.7rem;
}

/* staggered load-in for the hero copy blocks */
html.motion .hero-copy > .badge,
html.motion .hero-copy > .hero-sub,
html.motion .hero-copy > .cta-row,
html.motion .hero-copy > .cta-note {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

html.motion .hero-copy > .badge {
  animation-delay: 0.1s;
}

html.motion .hero-copy > .hero-sub {
  animation-delay: 0.85s;
}

html.motion .hero-copy > .cta-row {
  animation-delay: 1s;
}

html.motion .hero-copy > .cta-note {
  animation-delay: 1.15s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-center {
  justify-content: center;
}

.cta-note {
  color: var(--muted-on-dark);
  font-size: 0.9rem;
  margin: 0.9rem 0 0;
}

/* phone: bob wrapper + JS 3D tilt + cross-fading screenshots */
.hero-phone {
  display: flex;
  justify-content: center;
}

html.motion .hero-phone {
  animation: bob 6s ease-in-out infinite;
}

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

.phone-tilt {
  position: relative;
  will-change: transform;
}

.phone {
  position: relative;
  width: min(280px, 74vw);
  aspect-ratio: 1320 / 2868;
  background: #0b1526;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(2, 9, 19, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

@media (max-width: 480px) {
  .phone {
    width: min(225px, 60vw);
    border-radius: 38px;
  }

  .ph-shot {
    border-radius: 30px;
  }
}

.ph-shot {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 37px;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.ph-shot.active {
  opacity: 1;
}

.phone-glow {
  position: absolute;
  inset-inline: 6%;
  bottom: -34px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(30, 136, 229, 0.55), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* ---------- Interactive swipe demo (dark, continues the hero) ---------- */

.demo {
  background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: var(--ink-on-dark);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.demo .section-head h2 {
  color: #ffffff;
}

.demo .section-head p {
  color: var(--muted-on-dark);
}

.kicker {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.deck-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.deck {
  position: relative;
  width: min(320px, 86vw);
  height: 400px;
  border-radius: 22px;
  touch-action: pan-y;
}

.demo-card {
  position: absolute;
  inset: 0;
  background: #ffffff;
  color: var(--text);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(2, 9, 19, 0.55);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  transform: translateY(calc(var(--i, 0) * 14px)) scale(calc(1 - var(--i, 0) * 0.055));
  z-index: calc(10 - var(--i, 0));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: grab;
}

.demo-card.dragging {
  transition: none;
  cursor: grabbing;
}

.demo-card .dc-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(30, 136, 229, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.demo-card .dc-title {
  margin: 1rem 0 0.4rem;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.demo-card .dc-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.demo-card .dc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: auto;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.14), rgba(38, 198, 218, 0.16));
  color: var(--accent);
  box-shadow: 0 10px 26px rgba(30, 136, 229, 0.18) inset;
}

.demo-card .dc-visual svg {
  width: 52px;
  height: 52px;
}

.demo-card .dc-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.demo-card .dc-watermark {
  position: absolute;
  inset-inline-end: -0.4rem;
  bottom: 2.6rem;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(13, 71, 161, 0.06);
  transform: rotate(-90deg);
  transform-origin: bottom right;
  pointer-events: none;
}

.stamp {
  position: absolute;
  top: 1.2rem;
  padding: 0.3rem 0.8rem;
  border: 3px solid currentColor;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0;
  pointer-events: none;
}

.stamp-like {
  inset-inline-start: 1.1rem;
  color: #10b981;
  transform: rotate(-12deg);
}

.stamp-pass {
  inset-inline-end: 1.1rem;
  color: #ef4444;
  transform: rotate(12deg);
}

.demo-actions {
  display: flex;
  gap: 0.9rem;
}

.demo-hint {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 0.85rem;
}

.deck-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: var(--ink-on-dark);
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  padding: 1.5rem;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 55%, var(--cyan) 130%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.35);
  position: relative;
  z-index: 1;
}

.trust-bar p {
  margin: 0;
  padding: 0.95rem 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

/* ---------- Sections (light middle) ---------- */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.6rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  color: var(--primary-dark);
  margin: 0 0 0.6rem;
  letter-spacing: -0.015em;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- Feature cards (hover 3D tilt) ---------- */

.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(227, 234, 245, 0.7);
  padding: 1.7rem 1.5rem;
  transition: transform 0.18s ease-out, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  box-shadow: 0 22px 48px rgba(13, 71, 161, 0.18);
}

.card h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.14rem;
  color: var(--primary-dark);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 136, 229, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .icon-badge {
  transform: translateZ(24px) rotate(-6deg) scale(1.08);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 620px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- How it works (gradient connector + bubbles) ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  position: relative;
}

.step {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(227, 234, 245, 0.7);
  padding: 1.7rem 1.5rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 22px rgba(30, 136, 229, 0.45),
    0 0 0 6px rgba(30, 136, 229, 0.12);
  position: relative;
  z-index: 1;
}

.step h3 {
  margin: 1rem 0 0.4rem;
  color: var(--primary-dark);
  font-size: 1.14rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  /* gradient line connecting the bubbles */
  .steps::before {
    content: "";
    position: absolute;
    top: calc(1.7rem + 24px);
    inset-inline: 16%;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(30, 136, 229, 0) 0%, var(--accent) 18%, var(--cyan) 82%, rgba(38, 198, 218, 0) 100%);
  }
}

/* ---------- Screenshots strip (3D perspective) ---------- */

.shots-strip {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.2rem 0.25rem 1.6rem;
  -webkit-overflow-scrolling: touch;
}

.shots-strip figure {
  margin: 0;
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: transform 0.35s ease;
  will-change: transform;
}

.shots-strip figure:hover,
.shots-strip figure:focus-within {
  transform: none !important;
}

.shots-strip img {
  width: clamp(190px, 44vw, 240px);
  height: auto;
  border-radius: 26px;
  box-shadow: 0 20px 46px rgba(13, 71, 161, 0.22);
  display: block;
}

.shots-strip::-webkit-scrollbar {
  height: 8px;
}

.shots-strip::-webkit-scrollbar-thumb {
  background: #c9d8ee;
  border-radius: 99px;
}

/* ---------- Dark bookends: languages + download ---------- */

.section.dark {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy-1) 100%);
  color: var(--ink-on-dark);
}

.section.dark .section-head h2 {
  color: #ffffff;
}

.section.dark .section-head p {
  color: var(--muted-on-dark);
}

.dark-end {
  padding-top: 0;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  padding: 0;
  margin: 0 auto;
  max-width: 46rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 600;
  color: var(--ink-on-dark);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(38, 198, 218, 0.5);
}

/* download glass panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  text-align: center;
  padding: 3.2rem 1.6rem;
  box-shadow: 0 30px 70px rgba(2, 9, 19, 0.55),
    0 0 90px rgba(30, 136, 229, 0.14) inset;
}

.glass-panel h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.glass-panel p {
  color: var(--muted-on-dark);
  margin: 0 0 1.8rem;
}

.glass-panel .cta-note {
  color: var(--muted-on-dark);
  margin: 1rem 0 0;
}

/* ---------- Footer (darkest) ---------- */

.site-footer {
  background: var(--navy-0);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0 2.6rem;
  text-align: center;
  color: var(--muted-on-dark);
}

.site-footer a {
  color: #9cc8ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.site-footer p {
  margin: 0.35rem 0;
}

/* ---------- Prose (privacy policy, light page) ---------- */

.prose {
  max-width: 46rem;
  padding: 1.5rem 0 4rem;
}

.prose h1 {
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.prose h2 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin: 2.2rem 0 0.6rem;
}

.prose h3 {
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin: 1.4rem 0 0.4rem;
}

.prose p,
.prose li {
  color: #37455c;
}

.prose ul {
  padding-inline-start: 1.3rem;
}

.prose li {
  margin: 0.35rem 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- Scroll reveal (JS adds .in; stagger via inline delay) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion: everything calm ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ph-shot {
    transition: none;
  }
}
