/* JIRI COMBAT — website. Same look as the app: near-black, one Volt,
   Barlow Condensed for the loud words, Barlow for everything else.
   Fonts are served from this site — no Google Fonts request, no third party. */

@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/Barlow_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/BarlowCondensed_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/BarlowCondensed_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #050506;
  --bg2: #0a0b0e;
  --card: #0d0f12;
  --card2: #15171c;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #f4f5f7;
  --mute: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.4);
  --volt: #ccff00;
  --volt-soft: rgba(204, 255, 0, 0.1);
  --volt-line: rgba(204, 255, 0, 0.35);
  --alert: #ff5e57;
  --radius: 22px;
  --gutter: clamp(18px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--volt); color: #000; }

/* Film grain over everything, like the app's backdrop. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--volt);
}
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
}
.dot { color: var(--volt); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--mute); max-width: 560px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--mute); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn-volt { background: var(--volt); color: #050505; box-shadow: 0 0 0 rgba(204,255,0,0); }
.btn-volt:hover { box-shadow: 0 8px 26px -10px rgba(204, 255, 0, 0.6); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line2); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav-links .btn-volt, .nav-links .btn-volt:hover { color: #050505; }
.nav-right { display: flex; align-items: center; gap: 10px; order: 2; }
.nav-inner > .nav-links { order: 1; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line2); }
.lang a { text-decoration: none; font: 700 12px var(--body); letter-spacing: 0.12em; color: var(--dim); padding: 6px 10px; border-radius: 999px; }
.lang a.active { background: var(--text); color: #050505; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
}
/* the side menu (phones): quiet type, one accent, an iOS-like slide */
.scrim, .drawer { display: none; }
@media (max-width: 860px) {
  .scrim { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); opacity: 0; transition: opacity 0.4s ease; }
  .scrim[hidden] { display: none; }
  .drawer { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(80vw, 340px);
    padding: 18px 24px calc(22px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #0e0f12 0%, #09090b 100%); border-left: 1px solid rgba(255,255,255,0.07);
    transform: translateX(100%); transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1); overflow-y: auto; }
  html.menu-open { overflow: hidden; }
  html.menu-open .scrim { opacity: 1; }
  html.menu-open .drawer { transform: none; box-shadow: -24px 0 60px rgba(0,0,0,0.5); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 26px; }
  .drawer-head .eyebrow { color: var(--volt); font-size: 11.5px; letter-spacing: 0.24em; }
  .drawer-close { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); background: transparent; cursor: pointer;
    transform: rotate(-90deg); opacity: 0; transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1) 0.1s, opacity 0.3s ease 0.1s, background 0.2s; }
  html.menu-open .drawer-close { transform: none; opacity: 1; }
  .drawer-close:active { background: rgba(255,255,255,0.06); }
  .drawer-close::before, .drawer-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--mute); border-radius: 2px; }
  .drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
  .drawer-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
  .drawer-links { display: flex; flex-direction: column; }
  .drawer-links a { position: relative; display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em;
    opacity: 0; transform: translateY(10px); filter: blur(4px);
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.32, 0.72, 0, 1), filter 0.45s ease, color 0.2s; }
  .drawer-links a span { font: 600 11px var(--body); letter-spacing: 0.14em; color: rgba(255,255,255,0.32); width: 18px; }
  .drawer-links a::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid rgba(255,255,255,0.22); border-top: 1.5px solid rgba(255,255,255,0.22); transform: rotate(45deg); transition: transform 0.25s ease, border-color 0.2s; }
  .drawer-links a:active { color: var(--text); }
  .drawer-links a:active::after { transform: translateX(3px) rotate(45deg); }
  .drawer-links a.active { color: var(--volt); }
  .drawer-links a.active span { color: var(--volt); }
  .drawer-links a.active::before { content: ''; position: absolute; left: -24px; top: 50%; width: 2px; height: 18px; margin-top: -9px; background: var(--volt); border-radius: 0 2px 2px 0; }
  html.menu-open .drawer-links a { opacity: 1; transform: none; filter: none; }
  html.menu-open .drawer-links a:nth-child(1) { transition-delay: 0.12s; }
  html.menu-open .drawer-links a:nth-child(2) { transition-delay: 0.16s; }
  html.menu-open .drawer-links a:nth-child(3) { transition-delay: 0.2s; }
  html.menu-open .drawer-links a:nth-child(4) { transition-delay: 0.24s; }
  html.menu-open .drawer-links a:nth-child(5) { transition-delay: 0.28s; }
  .drawer-cta, .drawer-note { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease 0.32s, transform 0.55s cubic-bezier(0.32, 0.72, 0, 1) 0.32s; }
  html.menu-open .drawer-cta, html.menu-open .drawer-note { opacity: 1; transform: none; }
  .drawer-cta { margin-top: 28px; justify-content: center; color: #050505; padding: 13px 18px; font-size: 13.5px; letter-spacing: 0.08em; }
  .drawer-note { margin: 12px 0 0; text-align: center; color: rgba(255,255,255,0.35); font-size: 12.5px; }
  .drawer-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .drawer-foot a { color: rgba(255,255,255,0.35); font-size: 12.5px; text-decoration: none; }
  @media (prefers-reduced-motion: reduce) { .drawer, .drawer *, .scrim { transition: none !important; } }
}

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d='1'] { transition-delay: 0.08s; }
.reveal[data-d='2'] { transition-delay: 0.16s; }
.reveal[data-d='3'] { transition-delay: 0.24s; }
.reveal[data-d='4'] { transition-delay: 0.32s; }

/* Big words rise letter-line by letter-line. */
/* Room above the tight 0.92 line for Ä/Ö/Ü dots, which the clip would otherwise cut. */
.rise-line { display: block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; }
.rise-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.in .rise-line > span, .rise-line.in > span { transform: none; }
.rise-line:nth-child(2) > span { transition-delay: 0.08s; }
.rise-line:nth-child(3) > span { transition-delay: 0.16s; }

/* ---------------------------------------------------------------- phone */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 300 / 640;
  border-radius: calc(var(--w) * 0.165);
  padding: calc(var(--w) * 0.032);
  background: linear-gradient(160deg, #26292e, #121316 45%, #1c1e22);
  /* The glow hugs the frame — a thin Volt edge light, not a halo behind it. */
  box-shadow:
    0 0 0 1px rgba(204, 255, 0, 0.22),
    0 0 18px -2px rgba(204, 255, 0, 0.28),
    0 0 46px -10px rgba(204, 255, 0, 0.32),
    0 40px 90px -30px rgba(0, 0, 0, 0.95);
  flex-shrink: 0;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--w) * 0.135);
  overflow: hidden;
  background: #050505;
}
.phone-screen .shot {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%;
  top: calc(var(--w) * 0.12);
  height: auto;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.phone-screen .shot.out { opacity: 0; transform: scale(1.04); }
.phone-screen video.shot.dip { opacity: 0; transition-duration: 0.4s; }
.phone-screen video.shot { transition: opacity 0.45s var(--ease); }
/* Recordings start under the status bar; the screen keeps its width. */
.phone-screen video.shot, .phone-screen img.vposter { object-fit: cover; object-position: top; height: calc(100% - var(--w) * 0.12); background: #050505; }
.phone-screen video.shot.wait { opacity: 0; }
.status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  height: calc(var(--w) * 0.12);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--w) * 0.085) 0 calc(var(--w) * 0.1);
  font: 600 calc(var(--w) * 0.05)/1 -apple-system, 'SF Pro Text', var(--body);
  color: #fff;
  background: linear-gradient(#050505, rgba(5,5,5,0.85));
}
.status svg { height: calc(var(--w) * 0.04); width: auto; fill: #fff; margin-left: 5px; }
.island {
  position: absolute; z-index: 4;
  top: calc(var(--w) * 0.03); left: 50%; transform: translateX(-50%);
  width: 32%; height: calc(var(--w) * 0.085);
  border-radius: 999px; background: #000;
}
.phone.sm { --w: 240px; }
.phone.xs { --w: 200px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,5,6,0.55), var(--bg) 88%),
    url('../img/cage.jpg') center 30% / cover no-repeat;
  filter: saturate(0.6);
  opacity: 0.75;
  transform: scale(1.06);
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.14) translate(-1.5%, 1%); } }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(50px, 7.2vw, 104px); line-height: 1.02; }
.hero .lead { margin: 26px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--dim); font-size: 14px; }
.hero-note b { color: var(--volt); font-weight: 600; }
.hero .lead { color: #c9cbcf; }
.hero-phone { animation: phoneIn 0.9s var(--ease) 0.1s both; }
/* The first screen never waits for the script: words and buttons are just there. */
.hero .reveal { opacity: 1; transform: none; }
/* The headline rises on first paint, without waiting for the script. */
.hero .rise-line > span { animation: lineIn 0.75s var(--ease) both; }
.hero .rise-line:nth-child(2) > span { animation-delay: 0.06s; }
.hero .rise-line:nth-child(3) > span { animation-delay: 0.12s; }
@keyframes lineIn { from { transform: translateY(105%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .rise-line > span { animation: none; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-phone { animation: none; } }
.hero-phone { display: flex; justify-content: center; perspective: 1400px; }
.hero-phone .phone { --w: min(330px, 72vw); transform-style: preserve-3d; transition: transform 0.6s var(--ease); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
/* A fine measuring grid behind the device, fading out at the edges. */
.grid-lines {
  position: absolute; inset: -12% -30%; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(204,255,0,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,255,0,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
/* A few specks of light drifting slowly — dust in the cage light. */
.specks { position: absolute; inset: -10% -25%; z-index: -1; pointer-events: none; }
.specks i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--volt); opacity: 0.55; box-shadow: 0 0 6px rgba(204,255,0,0.8); animation: speck 14s ease-in-out infinite alternate; }
@keyframes speck { to { transform: translate(18px, -26px); opacity: 0.15; } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--dim); font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--volt), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-phone { margin-top: 28px; }
  .hero .lead { margin: 18px 0 24px; }
  .scroll-cue { display: none; }
}

/* ---------------------------------------------------------------- marquee */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; color: rgba(255,255,255,0.16); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 14px var(--volt); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- section */
section { position: relative; }
.section { padding: clamp(90px, 12vw, 160px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(44px, 6.4vw, 88px); margin: 14px 0 18px; }

/* Feature overview chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .section { padding: 72px 0; }
}
.chip { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--mute); font-weight: 500; font-size: 15px; text-decoration: none; transition: all 0.25s var(--ease); }
.chip:hover { color: #050505; background: var(--volt); border-color: var(--volt); transform: translateY(-2px); }

/* ---------------------------------------------------------------- tour */
.tour { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tour-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.tour-stage { position: relative; }
.tour-stage::before { content: ''; position: absolute; inset: -20% -45%; z-index: -1; background-image: linear-gradient(rgba(204,255,0,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(204,255,0,0.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); }
.tour-stage .phone { --w: min(330px, 34vw); }
.tour-steps { padding: 12vh 0 18vh; }
.step { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.4; transition: opacity 0.6s var(--ease); }
.step.active { opacity: 1; }
.step .num { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.2em; color: var(--volt); }
.step h3 { font-size: clamp(40px, 5vw, 72px); margin: 10px 0 18px; }
.step p { color: var(--mute); font-size: 18px; max-width: 470px; margin: 0 0 16px; }
.step ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.step li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 16px; }
.step li::before { content: ''; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.step .inline-phone { display: none; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-sticky { display: none; }
  .tour-steps { padding: 0; }
  .step { min-height: auto; opacity: 1; padding: 44px 0; border-top: 1px solid var(--line); }
  .step h3 { margin: 6px 0 12px; }
  .step p { font-size: 16px; }
  .step .inline-phone { margin-top: 26px; }
  .step .inline-phone .phone { --w: min(260px, 64vw); }
  .step .inline-phone { display: flex; justify-content: center; margin-top: 34px; position: relative; }
}

/* Widgets floating next to the phone — one per step. */
.widget {
  position: absolute; z-index: 6;
  opacity: 0; transform: translateY(16px) scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.widget.show { opacity: 1; transform: none; }
.glass {
  background: rgba(20, 22, 27, 0.78);
  border: 1px solid var(--line2);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
/* readiness ring */
.w-ring { left: -110px; top: 60px; padding: 18px; width: 190px; text-align: center; }
.w-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.w-ring .ring-bg { stroke: rgba(255,255,255,0.1); }
.w-ring .ring-fg { stroke: var(--volt); stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(204,255,0,0.7)); transition: stroke-dashoffset 1.6s var(--ease); }
.w-ring .ring-num { font-family: var(--display); font-weight: 800; font-size: 44px; margin-top: -86px; height: 86px; }
.w-ring small { display: block; color: var(--volt); letter-spacing: 0.2em; font-size: 11px; font-weight: 600; }
/* chat */
.w-chat { right: -150px; top: 90px; width: 270px; padding: 14px; display: grid; gap: 10px; }
.bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; max-width: 92%; }
.bubble.me { justify-self: end; background: var(--volt); color: #0b0b0b; border-bottom-right-radius: 5px; font-weight: 500; }
.bubble.jiri { background: rgba(255,255,255,0.08); border-bottom-left-radius: 5px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.2; transform: translateY(-2px); } }
/* voice */
.w-voice { left: -140px; bottom: 120px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; width: 260px; }
.mic { width: 44px; height: 44px; border-radius: 50%; background: var(--volt); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(204,255,0,0.5); animation: ping 1.6s infinite; flex-shrink: 0; }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(204,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(204,255,0,0); } }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { width: 3px; border-radius: 2px; background: var(--volt); animation: wave 1s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 30px; } }
.w-voice small { display: block; color: var(--mute); font-size: 12.5px; }
/* lock screen notification */
.w-notif { left: 50%; top: 70px; width: 300px; transform: translate(-50%, -30px) scale(0.92); padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.w-notif.show { transform: translate(-50%, 0); }
.w-notif img { width: 38px; height: 38px; border-radius: 9px; }
.w-notif b { display: flex; justify-content: space-between; font-size: 14px; }
.w-notif b small { color: var(--dim); font-weight: 400; }
.w-notif span { color: var(--mute); font-size: 13.5px; }
/* league xp */
.w-xp { right: -120px; top: 140px; padding: 16px 20px; text-align: left; }
.w-xp .xp { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--volt); line-height: 1; }
.w-xp span { color: var(--mute); font-size: 13px; }
/* language */
.w-lang { right: -110px; bottom: 140px; padding: 8px; display: flex; gap: 4px; }
.w-lang button { border: 0; padding: 10px 16px; border-radius: 12px; background: transparent; color: var(--mute); font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.1em; cursor: pointer; pointer-events: auto; }
.w-lang button.on { background: var(--volt); color: #050505; }
/* memory */
.w-memory { left: -150px; top: 120px; width: 260px; padding: 16px; }
.w-memory div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); padding: 7px 0; border-bottom: 1px solid var(--line); }
.w-memory div:last-child { border: 0; }
.w-memory div::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); margin-top: 7px; flex-shrink: 0; }
/* plan chips */
.w-plan { right: -130px; top: 110px; padding: 14px; width: 230px; display: grid; gap: 8px; }
.w-plan .row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.05); font-size: 13.5px; }
.w-plan .row b { color: var(--volt); font-weight: 600; }
/* exercise still */
.w-still { left: -130px; top: 150px; width: 220px; padding: 12px; }
.w-still .mini { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.w-still .mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-still .mini img + img { animation: still 3.2s ease-in-out infinite; }
.w-still b { display: block; font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.w-still span { color: var(--mute); font-size: 13px; }
/* recovery go */
.w-go { right: -80px; bottom: 150px; }
.w-go .btn { box-shadow: 0 0 0 0 rgba(204,255,0,0.55); animation: ping 1.8s infinite; white-space: nowrap; }
/* intro voice */
.w-intro { left: -150px; bottom: 110px; width: 270px; padding: 16px 18px; }
.w-intro .wave { margin-bottom: 10px; }
.w-intro p { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.05; min-height: 70px; }
.w-intro p::after { content: '▌'; color: var(--volt); animation: blink 1s steps(1) infinite; }
/* sound for the onboarding recording */
.w-sound { right: -70px; bottom: 120px; pointer-events: auto; }
.sound-btn { white-space: nowrap; }
.sound-btn.on { background: var(--text); }
@media (max-width: 1150px) {
  .w-sound { right: -30px; }
  .w-ring, .w-voice, .w-memory, .w-still, .w-intro { left: -40px; }
  .w-chat, .w-xp, .w-plan, .w-lang, .w-go { right: -40px; }
}
@media (max-width: 900px) {
  .widget { display: none; }
  .inline-phone .widget { display: block; position: absolute; opacity: 1; transform: none; }
  /* On a phone the widgets tuck in at the edges of the device, never past the screen. */
  .inline-phone .w-ring { left: -46px; top: 40px; width: 150px; padding: 12px; }
  .inline-phone .w-ring svg { width: 90px; height: 90px; }
  .inline-phone .w-ring .ring-num { font-size: 34px; margin-top: -66px; height: 66px; }
  .inline-phone .w-chat { right: -46px; left: auto; top: 70px; width: 220px; }
  .inline-phone .w-chat .bubble { font-size: 13px; }
  .inline-phone .w-voice { left: -46px; bottom: 70px; width: 220px; }
  .inline-phone .w-notif { width: 230px; top: 50px; transform: translate(-50%, 0); }
  .inline-phone .w-xp { right: -46px; top: 90px; }
  .inline-phone .w-plan { right: -46px; top: 80px; width: 190px; }
  .inline-phone .w-lang { right: -46px; bottom: 80px; }
  .inline-phone .w-memory { left: -46px; top: 90px; width: 210px; }
  .inline-phone .w-still { left: -46px; top: 110px; width: 160px; }
  .inline-phone .w-go { right: -40px; bottom: 90px; }
  .inline-phone .w-go .btn { font-size: 13px; padding: 11px 16px; }
  .inline-phone .w-sound { right: -24px; top: 64px; bottom: auto; }
  .inline-phone .w-intro { left: -46px; bottom: 70px; width: 220px; }
  .inline-phone .w-intro p { font-size: 18px; min-height: 58px; }
}

/* ---------------------------------------------------------------- stats */

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.still { margin: 0; position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.still img + img { animation: still 4.4s ease-in-out infinite; }
.still:nth-child(2n) img + img { animation-delay: -2.2s; }
@keyframes still { 0%, 30% { opacity: 0; } 50%, 80% { opacity: 1; } 100% { opacity: 0; } }
.still:hover img { transform: scale(1.06); }
.still figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 18px; letter-spacing: 0.04em; text-shadow: 0 2px 12px #000; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } .still figcaption { font-size: 15px; left: 10px; bottom: 8px; } }

/* ---------------------------------------------------------------- privacy teaser */
.privacy-band { background: var(--bg2); border-block: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.tile h4 { margin: 0 0 8px; font-size: 19px; }
.tile p { margin: 0; color: var(--mute); font-size: 15.5px; }
.tile .big { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.9; font-size: clamp(56px, 7vw, 96px); margin: 4px 0 14px; }
.tile .big em { font-style: normal; color: var(--volt); }
.tile .mono { font: 500 13px ui-monospace, 'SF Mono', Menlo, monospace; color: var(--dim); }
.t-a { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; min-height: 330px; }
.t-b { grid-column: span 2; }
.t-c { grid-column: span 2; }
.t-d { grid-column: span 3; }
.t-e { grid-column: span 3; }
.t-a .coords { display: flex; gap: 22px; flex-wrap: wrap; }
.t-a .coords div { border-top: 1px solid var(--line2); padding-top: 10px; min-width: 120px; }
.t-a .coords small { display: block; color: var(--dim); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.t-a .coords b { font-size: 16px; }
.never { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.never li { color: var(--mute); font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(255,94,87,0.7); text-decoration-thickness: 2px; }
.never li span { text-decoration: none; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: auto; grid-row: auto; min-height: 0; } }
@media (max-width: 760px) {
  /* Phones: the privacy facts as a row of cards to swipe, the next one peeking in. */
  .bento { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
  .bento::-webkit-scrollbar { display: none; }
  .bento .tile { flex: 0 0 80%; scroll-snap-align: start; padding: 18px; }
  .bento .tile.reveal { opacity: 1; transform: none; }
  /* About a fifth smaller than the desktop tiles, so a card reads at a glance. */
  .tile .big { font-size: 43px; margin: 2px 0 10px; }
  .tile h4 { font-size: 16px; }
  .tile p { font-size: 14px; }
  .tile .eyebrow { font-size: 10.5px; letter-spacing: 0.22em; }
  .t-a .coords { display: grid; grid-template-columns: repeat(3, auto); gap: 12px; margin-top: 14px; }
  .t-a .coords div { min-width: 0; padding-top: 8px; }
  .t-a .coords small { font-size: 10px; }
  .t-a .coords b { font-size: 14px; }
  .flow { margin-top: 40px; }
  .flow > .eyebrow { font-size: 10.5px; letter-spacing: 0.2em; margin-bottom: 12px !important; }
}

/* A thin neon line between the tour and the rest – bright in the middle,
   fading out to both sides, with a soft glow. */
.neon-rule { position: relative; width: min(78%, 760px); height: 1px; margin: clamp(56px, 7vw, 96px) auto 0;
  background: linear-gradient(90deg, transparent, var(--volt) 50%, transparent); box-shadow: 0 0 10px rgba(204,255,0,0.45); }
.neon-rule::after { content: ''; position: absolute; left: 20%; right: 20%; top: -6px; height: 13px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(204,255,0,0.5), transparent); filter: blur(3px); }
.section.after-rule { padding-top: clamp(56px, 7vw, 96px); }

/* price: one calm card, a year/month switch */
.plan { position: relative; overflow: hidden; isolation: isolate; max-width: 440px; margin: 0 auto; text-align: center; border-radius: 28px; padding: 30px 24px 24px;
  background: linear-gradient(180deg, #14170c 0%, var(--card) 46%); border: 1px solid var(--volt-line);
  box-shadow: 0 30px 80px -40px rgba(204,255,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06); }
.plan::before { content: ''; position: absolute; z-index: -1; left: 50%; top: -120px; width: 340px; height: 240px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(204,255,0,0.22), transparent); }
.plan-soon { width: fit-content; margin: 0 auto 18px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--volt); background: var(--volt-soft); border: 1px solid var(--volt-line); }
.plan-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0,0,0,0.45); border: 1px solid var(--line); }
.plan-toggle button { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1 var(--body); border: 0; background: none; color: var(--mute); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.plan-toggle button.on { background: var(--text); color: #050505; }
.plan-save { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 6px; border-radius: 6px; background: var(--volt); color: #050505; }
.plan-trial { display: block; margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--volt); }
.plan-amt .amt { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; margin: 10px 0 8px; }
.plan-amt .amt small { font-size: 18px; color: var(--mute); font-weight: 700; }
.plan-sub { color: var(--mute); font-size: 15px; margin: 0; }
.plan .btn { width: 100%; justify-content: center; margin-top: 24px; }
.plan-free { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14.5px; }
.plan-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 16px; }

/* 2) the short swipe after the tour: no floating cards running off the edge */
.tour-swipe.compact .widget { display: none; }

.text-link { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line2); padding-bottom: 2px; }

/* founder: one sentence, a real person behind the app */
.founder { max-width: 560px; margin: 0 auto 64px; }
.founder blockquote { margin: 0; color: var(--mute); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6; }
.founder figcaption { margin-top: 14px; font-size: 14px; color: var(--dim); }
.founder a { color: var(--text); text-decoration: none; }

/* data flow */
.flow { margin-top: 56px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.flow svg { width: 100%; height: auto; display: block; }
.flow-v { display: none; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) {
  .flow { padding: 18px; }
  .flow svg { display: none; }
  .flow-v { display: grid; gap: 0; }
  .flow-v li:not(.hop) { background: #15171c; border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 11px 14px; display: grid; gap: 2px; }
  .flow-v b { font-size: 14px; }
  .flow-v span { color: var(--mute); font-size: 12.5px; }
  .flow-v .hop { position: relative; padding: 10px 0 10px 34px; color: var(--volt); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
  .flow-v .hop::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; border-left: 2px dashed rgba(255,255,255,0.18); }
  .flow-v .hop::after { content: ''; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); animation: hop 2.4s ease-in-out infinite; }
}
@keyframes hop { 0% { transform: translateY(-14px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.flow .node rect { fill: #15171c; stroke: rgba(255,255,255,0.14); }
.flow .node text { fill: #f4f5f7; font: 600 15px var(--body); }
.flow .node .sub { fill: rgba(255,255,255,0.55); font: 400 12.5px var(--body); }
.flow .path { stroke: rgba(255,255,255,0.14); stroke-width: 2; fill: none; stroke-dasharray: 4 6; }
.flow .packet { fill: var(--volt); filter: drop-shadow(0 0 6px var(--volt)); }
.flow .label { fill: var(--volt); font: 600 12px var(--body); letter-spacing: 0.08em; }

/* ---------------------------------------------------------------- pricing */

/* ---------------------------------------------------------------- faq / accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--volt); transition: transform 0.3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .ans { color: var(--mute); padding: 0 0 22px; max-width: 760px; animation: open 0.4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- cta + footer */
.cta { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 60%, transparent 0%, var(--bg) 70%), linear-gradient(180deg, var(--bg), rgba(5,5,6,0.4) 50%, var(--bg)), url('../img/cage.jpg') center 40% / cover no-repeat; filter: saturate(0.6); opacity: 0.8; }
.cta h2 { font-size: clamp(56px, 10vw, 150px); }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 14px; background: #fff; color: #000; text-decoration: none; font-weight: 600; }
.store small { display: block; font-size: 11px; font-weight: 500; line-height: 1; }
.store b { display: block; font-size: 20px; line-height: 1.1; }
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; color: var(--dim); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: var(--mute); }
.foot nav a:hover { color: var(--volt); }

/* ---------------------------------------------------------------- legal pages */
.legal-hero { padding-top: 150px; padding-bottom: 40px; }
.legal-hero h1 { font-size: clamp(54px, 8vw, 110px); }
.legal-hero .meta { margin-top: 18px; color: var(--dim); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.draft { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,94,87,0.4); color: #ff8a84; font-size: 13px; }
.legal { display: grid; grid-template-columns: 250px 1fr; gap: 60px; padding-bottom: 120px; }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--dim); text-decoration: none; font-size: 14.5px; transition: all 0.2s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--volt); border-color: var(--volt); }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4vw, 48px); line-height: 1; margin: 70px 0 16px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 34px 0 10px; }
.prose p, .prose li { color: rgba(255,255,255,0.78); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--volt); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--dim); font-weight: 600; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.ph { background: rgba(255,94,87,0.14); color: #ff9f9a; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.callout { border: 1px solid var(--volt-line); background: var(--volt-soft); border-radius: 18px; padding: 18px 20px; margin: 20px 0; color: var(--text); }
.callout.red { border-color: rgba(255,94,87,0.4); background: rgba(255,94,87,0.08); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .toc { display: none; } }

/* 30-second summary */
.tldr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 70px; }
.tldr div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.tldr b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; color: var(--volt); line-height: 1.05; margin-bottom: 6px; }
.tldr span { color: var(--mute); font-size: 15px; }
@media (max-width: 760px) { .tldr { grid-template-columns: 1fr; } }

/* data map */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.filters button { border: 1px solid var(--line2); background: transparent; color: var(--mute); padding: 9px 15px; border-radius: 999px; font: 500 14.5px var(--body); cursor: pointer; transition: all 0.2s; }
.filters button.on { background: var(--volt); border-color: var(--volt); color: #050505; }
.datamap { display: grid; gap: 12px; }
.datum { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color 0.3s, opacity 0.3s; }
.datum.hide { display: none; }
.datum summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.datum summary::-webkit-details-marker { display: none; }
.datum summary .tag { margin-left: auto; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--mute); white-space: nowrap; }
.datum summary .tag.health { background: rgba(255,94,87,0.12); color: #ff9f9a; }
.datum summary .tag.public { background: var(--volt-soft); color: var(--volt); }
.datum summary .tag.device { background: rgba(120,180,255,0.12); color: #9cc6ff; }
.datum summary h4 { margin: 0; font-size: 17px; }
.datum summary p { margin: 2px 0 0; color: var(--dim); font-size: 14px; }
.datum[open] { border-color: var(--volt-line); }
.datum .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.datum .grid div { background: var(--card); padding: 14px 16px; }
.datum .grid small { display: block; color: var(--volt); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.datum .grid span { font-size: 14.5px; color: rgba(255,255,255,0.8); }
@media (max-width: 760px) { .datum .grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- motion off */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise-line > span { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- feature switcher */
/* One big phone, one feature at a time. The list picks; the phone shows. */
.switcher { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; overflow-x: clip; overflow-y: visible; padding: 40px 0; margin: -40px 0; }
.sw-list { display: flex; flex-direction: column; }
.sw-hint { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--mute); font-size: 14.5px; }
.tap-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--volt); flex: 0 0 10px; }
.tap-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--volt); animation: tap 1.8s ease-out infinite; }
@keyframes tap { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.sw-go { margin-left: auto; align-self: center; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: all 0.3s var(--ease); }
.sw-go::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: translate(-65%, -50%) rotate(-45deg); transition: border-color 0.3s; }
.sw-item:hover .sw-go { border-color: var(--volt); }
.sw-item.on .sw-go { background: var(--volt); border-color: var(--volt); }
.sw-item.on .sw-go::after { border-color: #050505; }
.sw-item { position: relative; display: flex; gap: 22px; align-items: flex-start; text-align: left; width: 100%;
  padding: 22px 0; background: none; border: 0; border-top: 1px solid var(--line); color: inherit; cursor: pointer; font: inherit; }
.sw-item:last-child { border-bottom: 1px solid var(--line); }
.sw-num { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.12em; color: var(--dim); padding-top: 5px; transition: color 0.3s; }
.sw-body b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: rgba(255,255,255,0.32); transition: color 0.35s var(--ease); }
.sw-text { display: grid; grid-template-rows: 0fr; color: var(--mute); font-size: 16.5px; line-height: 1.55; max-width: 470px; transition: grid-template-rows 0.5s var(--ease), margin 0.5s var(--ease), opacity 0.4s; opacity: 0; overflow: hidden; }
.sw-item:hover .sw-body b { color: rgba(255,255,255,0.7); }
.sw-item.on .sw-num { color: var(--volt); }
.sw-item.on .sw-body b { color: var(--text); }
.sw-item.on .sw-text { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.sw-text > span { min-height: 0; overflow: hidden; }
/* The thin line that fills while a feature is shown on its own. */
.sw-bar { position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.sw-item.on .sw-bar { animation: swbar var(--sw-ms, 6s) linear forwards; }
.switcher.held .sw-item.on .sw-bar { animation: none; width: 100%; }
@keyframes swbar { to { width: 100%; } }
.sw-stage { position: relative; display: flex; justify-content: center; }
.sw-stage .phone { --w: min(340px, 30vw); }
.sw-stage .grid-lines { inset: -14% -40%; }
@media (max-width: 900px) {
  .switcher { grid-template-columns: 1fr; gap: 32px; }
  .sw-stage { order: -1; }
  .sw-stage .phone { --w: min(300px, 74vw); }
  .sw-item { padding: 18px 0; gap: 16px; }
  .sw-body b { font-size: 24px; }
  .sw-text { font-size: 15px; }
}

/* A quieter section head: title left, one line of context right, on a hairline. */
.split-head { display: grid; grid-template-columns: 1fr minmax(280px, 400px); gap: 40px; align-items: end; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.split-head h2 { font-size: clamp(40px, 4.6vw, 64px); margin: 14px 0 0; line-height: 0.95; }
.split-head p { margin: 0; color: var(--mute); font-size: 16.5px; line-height: 1.6; }
@media (max-width: 760px) { .split-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------------------------------------------------------------- tour, small screens: one iPhone to swipe */
.tour-swipe { display: none; }
@media (max-width: 900px) {
  .tour { display: none; }
  .tour-swipe { display: block; }
  .ts-bars { display: flex; gap: 6px; margin: 0 0 22px; }
  .ts-bar { flex: 1; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
  .ts-bar i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.16); transition: background 0.3s var(--ease); }
  .ts-bar.done i { background: rgba(204,255,0,0.45); }
  .ts-bar.on i { background: var(--volt); box-shadow: 0 0 8px rgba(204,255,0,0.6); }
  .ts-view { position: relative; }
  .ts-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); overscroll-behavior-x: contain; }
  .ts-track::-webkit-scrollbar { display: none; }
  .ts-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; padding: 0 var(--gutter); box-sizing: border-box; }
  .ts-slide .inline-phone { display: flex; justify-content: center; position: relative; }
  .ts-slide .inline-phone .phone { --w: min(270px, 68vw); }
  .ts-arrow { position: absolute; top: 368px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(10,11,13,0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; z-index: 3; }
  .ts-arrow[hidden] { display: none; }
  .ts-arrow::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); }
  .ts-arrow.prev { left: 0; }
  .ts-arrow.next { right: 0; }
  .ts-arrow.prev::after { transform: translate(-30%, -50%) rotate(135deg); }
  .ts-arrow.next::after { transform: translate(-70%, -50%) rotate(-45deg); }
  .ts-arrow.next { animation: nudge 2.4s ease-in-out 1s 3; }
  @keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
  .chips { display: none; }
  .switcher { display: none; }
  .tour-swipe.compact { border-bottom: 0; }
  .tour-swipe.compact .ts-head { min-height: 0; margin-bottom: 14px; }
  .tour-swipe.compact .ts-head h3 { font-size: 30px; }
  .tour-swipe.compact .inline-phone .phone { --w: min(230px, 58vw); }
  .tour-swipe.compact .ts-arrow { top: 320px; }
  .tour-swipe.compact .ts-copy { margin: 20px auto 8px; }
  .tour-swipe.compact .ts-copy p { margin: 0; }
  .tour-swipe { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .ts-head { min-height: 82px; margin-bottom: 18px; }
  .ts-head .num { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.2em; color: var(--volt); }
  .ts-head h3 { font-size: 36px; line-height: 1; margin: 6px 0 0; }
  .ts-copy { margin: 24px auto 40px; max-width: 340px; text-align: left; }
  .ts-copy p { color: #d4d6da; font-size: 16.5px; line-height: 1.5; font-weight: 500; margin: 0 0 14px; }
  .ts-copy ul { list-style: none; padding: 14px 0 0; margin: 0; display: grid; gap: 8px; border-top: 1px solid var(--line); }
  .ts-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
  .ts-copy li::before { content: ''; flex: 0 0 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }

  /* Under each phone three short points that sum it up, on the same left
     edge as the heading above – no paragraph to read through. */
  .tour-swipe:not(.compact) .ts-copy { margin: 24px 0 0; max-width: 520px; }
  .tour-swipe:not(.compact) .ts-copy p { display: none; }
  .tour-swipe:not(.compact) .ts-copy ul { border-top: 0; padding-top: 0; gap: 10px; }
  .tour-swipe:not(.compact) .ts-copy li { font-size: 15.5px; }

  /* The tour ends on its last line, no rule and no empty stretch after it. */
  .tour-swipe { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .tour-swipe:not(.compact) .ts-copy { margin-bottom: 0; }
  .split-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 26px; }

  /* The rest of the week reads differently from the tour above: a row of
     smaller phones to flick through, the next one peeking in – no bars, no
     step numbers, no arrows. */
  .tour-swipe.compact .ts-bars, .tour-swipe.compact .ts-arrow, .tour-swipe.compact .ts-head .num { display: none; }
  .tour-swipe.compact .ts-track { scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter); gap: 14px; }
  .tour-swipe.compact .ts-slide { flex: 0 0 min(64%, 250px); padding: 0; scroll-snap-align: start; scroll-snap-stop: normal; display: flex; flex-direction: column; }
  .tour-swipe.compact .ts-head { order: 2; margin: 16px 0 0; }
  .tour-swipe.compact .ts-head h3 { font-size: 24px; }
  .tour-swipe.compact .inline-phone { order: 1; justify-content: flex-start; }
  .tour-swipe.compact .inline-phone .phone { --w: 100%; }
  .tour-swipe.compact .ts-copy { display: none; }
}

/* ---------------------------------------------------------------- über JIRI */
.story-hero { position: relative; overflow: hidden; isolation: isolate; padding: 170px 0 90px; }
.story-hero .hero-bg { z-index: -1; }
.story-hero h1 { font-size: clamp(50px, 8vw, 116px); margin: 18px 0 26px; line-height: 0.92; }
.story-hero .lead { max-width: 640px; color: #c9cbcf; font-size: clamp(18px, 1.8vw, 22px); }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.answer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.answer b { display: block; font-family: var(--display); font-weight: 800; font-size: 25px; text-transform: uppercase; color: var(--volt); margin-bottom: 10px; line-height: 1; }
.answer p { margin: 0; color: var(--mute); font-size: 16px; line-height: 1.6; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { border-top: 2px solid var(--volt); padding-top: 18px; }
.value h4 { margin: 0 0 8px; font-size: 18px; }
.value p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.6; }
.story-end { font-size: clamp(35px, 5.3vw, 74px); line-height: 0.95; max-width: 1000px; margin: 0 auto; }
.story-question { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.05; max-width: 760px; margin: 0 0 20px; color: var(--text); }
.story-problem { padding: 90px var(--gutter) 70px; }
.story-problem h2 { font-size: clamp(35px, 4.9vw, 68px); line-height: 0.95; margin: 14px 0 26px; }
.story-problem p { color: var(--mute); font-size: clamp(16px, 1.35vw, 17.5px); line-height: 1.65; max-width: 720px; margin: 0 0 14px; }
.story-problem p b, .letter p b { color: var(--text); font-weight: 600; }
.letter { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(28px, 5vw, 60px); background: linear-gradient(180deg, #111317, #0c0d10); border: 1px solid var(--line2); border-radius: 26px; box-shadow: 0 40px 100px -40px rgba(0,0,0,0.8); }
.letter::before { content: ''; position: absolute; left: 0; top: 40px; bottom: 40px; width: 3px; background: var(--volt); border-radius: 0 3px 3px 0; box-shadow: 0 0 14px rgba(204,255,0,0.5); }
.letter-label { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--volt); margin-bottom: 22px; }
.letter p { font-size: clamp(16px, 1.45vw, 18px); line-height: 1.7; color: #d4d6da; margin: 0 0 18px; }
.letter-sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.letter-sign img { width: 40px; height: 40px; border-radius: 10px; }
.letter-sign span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 18px; }
.story-road { padding: 100px var(--gutter) 40px; }
.road { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.road::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--volt), rgba(204,255,0,0.15)); }
.road li { position: relative; padding: 34px 26px 0 0; }
.road-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #050506; border: 2px solid var(--volt); }
.road li:last-child .road-dot { background: var(--volt); box-shadow: 0 0 14px var(--volt); }
.road b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 25px; line-height: 1; margin-bottom: 10px; }
.road p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.6; max-width: 300px; }
.mission { margin: 70px 0 0; padding: 70px 0; border-block: 1px solid var(--line); }
.mission .display { font-size: clamp(35px, 5.6vw, 80px); line-height: 0.95; margin: 14px 0 0; max-width: 1100px; }
.value span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--volt); margin-bottom: 8px; }
.story-sign { color: var(--volt); margin-top: 22px; font-size: 16px; letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .story-hero { padding: 130px 0 50px; }
  .story-problem { padding: 60px var(--gutter) 46px; }
  .letter { border-radius: 20px; }
    .story-road { padding: 70px var(--gutter) 20px; }
  .road { grid-template-columns: 1fr; }
  .road::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--volt), rgba(204,255,0,0.15)); }
  .road li { padding: 0 0 30px 38px; }
  .road b { font-size: 21px; }
  .mission { margin-top: 46px; padding: 46px 0; }
  .answers { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .value h4 { font-size: 15.5px; }
  .value p { font-size: 13.5px; }
  .story .section-head { margin-bottom: 26px; }
  .answer { padding: 18px 20px; }
  .answer b { font-size: 19px; margin-bottom: 6px; }
  .answers { gap: 10px; }
}

.story .section-head h2 { font-size: clamp(38px, 5.6vw, 77px); }

/* ---------------------------------------------------------------- feature index */
.idx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; }
.idx a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 500; font-size: 16px; transition: color 0.2s, padding 0.3s var(--ease); }
.idx a i { font-style: normal; font-size: 11px; letter-spacing: 0.16em; color: var(--dim); width: 20px; }
.idx a::after { content: '→'; margin-left: auto; color: var(--dim); transition: transform 0.3s var(--ease), color 0.2s; }
.idx a:hover { color: var(--volt); padding-left: 6px; }
.idx a:hover::after { color: var(--volt); transform: translateX(4px); }
@media (max-width: 900px) { .idx { grid-template-columns: 1fr 1fr; gap: 0 22px; } }
@media (max-width: 760px) { .idx { display: none; } }

/* ---------------------------------------------------------------- sports band: outline, every third in volt */
@keyframes bandSlide { to { transform: translateX(-50%); } }
.sports-band { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); }
.sports-band .band-track { display: flex; width: max-content; gap: 36px; animation: bandSlide 60s linear infinite; }
.sports-band span { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.28); }
.sports-band span:nth-child(3n) { color: var(--volt); -webkit-text-stroke: 0; }
@media (max-width: 760px) { .sports-band { padding: 18px 0; } .sports-band span { font-size: 36px; } .sports-band .band-track { gap: 26px; } }

/* Phones: the feature intro runs straight into the swipe tour, no dead band between. */
@media (max-width: 760px) {
  #funktionen, #features { padding-bottom: 0; }
  #funktionen .section-head, #features .section-head { margin-bottom: 0; }
  .tour-swipe:not(.compact) { margin-top: 28px; }
}

/* 404 */
.notfound { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 120px; }
.notfound h1 { font-size: clamp(80px, 16vw, 220px); line-height: 0.85; margin: 14px 0 20px; }
.notfound .lead { margin: 0 auto 30px; }

/* Phones: every link and switch easy to hit (44 pt, like iOS asks). */
@media (max-width: 760px) {
  .lang a { padding: 12px 13px; }
  .foot nav { gap: 0 20px; }
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .drawer-foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .ts-bar { height: 44px; }
  .ts-bars { margin-top: -13px; margin-bottom: 9px; }
}

/* Phones, seen on a real iPhone: everything a size calmer – smaller devices,
   smaller headline, small chips instead of big buttons over the screens. */
@media (max-width: 760px) {
  .hero { padding: 104px 0 36px; min-height: 0; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 56px); margin-top: 0 !important; }
  .hero .eyebrow { display: none; }
  .hero .lead { font-size: 16px; margin: 14px 0 20px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn, .hero-cta .store { height: 52px; padding: 0 20px; }
  .hero-cta .btn { font-size: 15px; }
  .hero-cta .store b { font-size: 18px; }
  .hero-note { font-size: 12.5px; margin-top: 10px; }
  .hero-phone { margin-top: 18px; }
  .hero-phone .phone { --w: min(225px, 56vw); }
  .ts-slide .inline-phone .phone { --w: min(230px, 58vw); }
  .tour-swipe.compact .inline-phone .phone { --w: min(205px, 52vw); }
  .ts-head h3 { font-size: 30px; }
  .ts-head { min-height: 0; }
  .ts-arrow { width: 38px; height: 38px; top: 290px; }
  .tour-swipe.compact .ts-arrow { top: 260px; }
  .inline-phone .w-sound { right: -10px; top: 46px; }
  .inline-phone .sound-btn { font-size: 12px; padding: 8px 12px; gap: 6px; }
  .inline-phone .sound-btn .spk { font-size: 13px; }
  .inline-phone .widget.glass { transform: scale(0.82); }
  .ts-copy p { font-size: 15.5px; }
  .ts-copy li { font-size: 13.5px; }
}
