/* ==========================================================================
   Iyal — shared design system
   Single source of truth for every page. Do not duplicate these rules inline.

   Theming: set data-app on <body> to inherit an app's real in-product colour.
     <body data-app="brand">    house pages (hub, support, privacy)
     <body data-app="pace">     IyalPace   — gold   #F1BD1D
     <body data-app="sip">      IyalSip    — blue   #42A5F5
     <body data-app="garage">   IyalGarage — orange #E76F00
     <body data-app="gym">      IyalGym    — lemon  #E8F430 (coming soon)
   Accents are pixel-sampled from the shipped app screenshots so the site and
   the product are the same colour, not approximately the same colour.
   Cards that show another app set --card-accent to that app's colour.

   Motion: every animation here is decoration on top of content that reads
   fine without it, and all of it stops under prefers-reduced-motion (§21).
   ========================================================================== */

/* --- 0. Typeface ---------------------------------------------------------- */
/* Inter, served from this site — no request to Google. Variable, 400–900.
   © The Inter Project Authors · SIL Open Font License 1.1 · assets/fonts/LICENSE.txt */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Brand constants — from the Iyal mark. Never themed. */
  --brand-green: #2e5e3e;
  --brand-green-bright: #4a8a5c;
  --brand-terracotta: #c2683d;
  --brand-terracotta-deep: #a0552f;
  --brand-cream: #f5f0e4;

  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;

  /* Ink — shared across all themes */
  --text: #f2efe9;
  --text-soft: rgba(242, 239, 233, 0.74);
  --text-mute: rgba(242, 239, 233, 0.54);
  --line: rgba(242, 239, 233, 0.12);
  --line-soft: rgba(242, 239, 233, 0.07);

  /* Layout */
  --w: 1120px;
  --w-narrow: 720px;
  --gut: 24px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Default (brand) surface + accent — overridden per theme below */
  --bg: #0c120e;
  --surface: #141c16;
  --surface-2: #1b251e;
  --accent: #c2683d;
  --accent-ink: #1c0e06;
  --glow: rgba(194, 104, 61, 0.3);
}

body[data-app="brand"] {
  --bg: #0c120e;
  --surface: #141c16;
  --surface-2: #1b251e;
  --accent: #c2683d;
  --accent-ink: #1c0e06;
  --glow: rgba(194, 104, 61, 0.28);
}

body[data-app="pace"] {
  --bg: #0a0908;
  --surface: #13110e;
  --surface-2: #1c1913;
  --accent: #f1bd1d;
  --accent-ink: #1a1400;
  --glow: rgba(241, 189, 29, 0.24);
}

body[data-app="sip"] {
  --bg: #090e1b;
  --surface: #0f1829;
  --surface-2: #152239;
  --accent: #42a5f5;
  --accent-ink: #04121f;
  --glow: rgba(66, 165, 245, 0.26);
}

body[data-app="garage"] {
  --bg: #111111;
  --surface: #1a1918;
  --surface-2: #232120;
  --accent: #e76f00;
  --accent-ink: #1a0e00;
  --glow: rgba(231, 111, 0, 0.26);
}

body[data-app="gym"] {
  --bg: #0f1113;
  --surface: #16191c;
  --surface-2: #1e2226;
  --accent: #e8f430;
  --accent-ink: #171900;
  --glow: rgba(232, 244, 48, 0.17);
}

/* --- 2. Reset ------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

/* Smooth only once the page has loaded (iyal.js adds the class): a link from
   another page lands on its section instantly; in-page links still glide. */
html.smooth {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* --- 3. Layout ---------------------------------------------------------- */

.wrap {
  width: min(var(--w), calc(100% - var(--gut) * 2));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(var(--w-narrow), calc(100% - var(--gut) * 2));
  margin-inline: auto;
}

.section {
  padding: clamp(68px, 9vw, 116px) 0;
}

.section-tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

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

.rule {
  height: 1px;
  background: var(--line-soft);
  border: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-top {
  align-items: start;
}

.split-flip > *:first-child {
  order: 2;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --- 4. Typography ------------------------------------------------------ */

h1,
h2,
h3,
h4 {
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.h-xl {
  font-size: clamp(40px, 6.6vw, 74px);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.h-lg {
  font-size: clamp(30px, 4.4vw, 48px);
}

.h-md {
  font-size: clamp(24px, 3vw, 32px);
}

.h-sm {
  font-size: clamp(18px, 2.1vw, 21px);
  letter-spacing: -0.015em;
}

.lead {
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  text-wrap: pretty;
}

.small {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}

.eyebrow-c {
  justify-content: center;
}

.eyebrow-c::after {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}

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

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* Heading rhythm: eyebrow → heading → body, the same everywhere */
.eyebrow + h2 {
  margin-top: 18px;
  margin-bottom: 16px;
}

.eyebrow + h2.section-h {
  margin-bottom: 28px;
}

.section-head .eyebrow + h2 {
  margin-bottom: 0;
}

.section-head .lead {
  margin-top: 16px;
}

.sub-head {
  margin-top: clamp(64px, 9vw, 104px);
}

.section-h {
  margin: 16px 0 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
}

.text-link svg {
  transition: transform 0.2s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* --- 5. Header / nav ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  width: min(var(--w), calc(100% - var(--gut) * 2));
  margin-inline: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand svg {
  flex: none;
}

.brand .mark {
  width: 28px;
  height: 28px;
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .mark {
  transform: rotate(-8deg) scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--text-mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.18s, background 0.18s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

.nav-app img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex: none;
  box-shadow: 0 0 0 1px var(--line-soft);
}

.nav-app[aria-current="page"] {
  color: var(--app) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app) 30%, transparent);
}

.nav-cta {
  padding: 9px 16px !important;
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  font-weight: 760 !important;
  margin-left: 8px;
}

.nav-cta svg {
  width: 15px;
  height: 15px;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

/* EN · DE, between the app links and the CTA (in the menu sheet on phones) */
.lang-pick {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

.lang-pick .lp-cur {
  padding: 8px 5px;
  color: var(--text);
}

.nav-links .lang-pick a {
  padding: 8px 5px;
  font-size: 13px;
  font-weight: 720;
}

.lp-sep {
  opacity: 0.55;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* --- 6. Buttons --------------------------------------------------------- */

.btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-row-c {
  justify-content: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 730;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.18s var(--ease), filter 0.18s, background 0.18s,
    border-color 0.18s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 26px -10px var(--glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-accent {
  background: var(--card-accent, var(--accent));
  color: #121110;
  padding: 12px 18px;
}

.btn-accent:hover {
  filter: brightness(1.08);
}

.btn-accent svg {
  transition: transform 0.2s var(--ease);
}

.btn-accent:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}

/* App Store badge — real proportions, no fake Play badge anywhere */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 18px;
  border-radius: 13px;
  background: var(--text);
  color: #0b0b0b;
  text-decoration: none;
  transition: transform 0.18s var(--ease), filter 0.18s, box-shadow 0.18s;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px var(--glow);
}

.btn-store svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.btn-store .bs-txt {
  display: block;
  line-height: 1.15;
}

.btn-store .bs-txt span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.66;
}

.btn-store .bs-txt strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- 7. Tags, tiers & pills --------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  white-space: nowrap;
}

.tag-live {
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 15%, transparent);
  color: var(--card-accent, var(--accent));
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 34%, transparent);
}

.tag-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 2.4s ease-in-out infinite;
}

.tag-soon {
  background: transparent;
  color: var(--text-soft);
  border: 1px dashed var(--line);
}

.tag-planned {
  background: var(--surface-2);
  color: var(--text-mute);
  border: 1px solid var(--line-soft);
}

.tier {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  white-space: nowrap;
}

.tier-free {
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.tier-pro {
  background: var(--accent);
  color: var(--accent-ink);
}

.tier-soon {
  border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--accent);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.pills li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 620;
}

/* --- 8. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 10% auto -20%;
  height: 680px;
  background: radial-gradient(ellipse at 30% 40%, var(--glow), transparent 62%);
  opacity: 0.8;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 10%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  margin: 20px 0 22px;
}

.hero .lead {
  max-width: 52ch;
}

/* Entry choreography: copy rises line by line, the visual lands after */
.hero-copy > * {
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.26s; }
.hero-copy > :nth-child(5) { animation-delay: 0.36s; }
.hero-copy > :nth-child(6) { animation-delay: 0.44s; }
.hero-copy > :nth-child(7) { animation-delay: 0.52s; }

.hero-visual {
  animation: heroIn 1.2s var(--ease-out) 0.2s both;
}

/* The accent word gets an underline that draws itself */
.hero h1 .accent {
  background: linear-gradient(
      color-mix(in srgb, var(--accent) 45%, transparent),
      color-mix(in srgb, var(--accent) 45%, transparent)
    )
    no-repeat 0 94% / 0% 0.09em;
  animation: underline 0.9s var(--ease-out) 1s forwards;
}

.app-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.app-id b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 5px;
}

.hero-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.hero-fact strong {
  display: block;
  font-size: 15px;
  font-weight: 740;
  letter-spacing: -0.01em;
}

.hero-fact span {
  display: block;
  font-size: 13.5px;
  color: var(--text-mute);
}

.store-row {
  margin-top: 32px;
}

.store-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-mute);
}

/* --- 9. Phone frame + floating chips ------------------------------------ */
/* One device frame for every screenshot on the site. Width via --pw.       */

.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  max-width: 100%;
  padding: calc(var(--pw) * 0.027);
  border-radius: calc(var(--pw) * 0.155);
  background: #050505;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 50px 90px -34px rgba(0, 0, 0, 0.9);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: calc(var(--pw) * 0.13);
  background: var(--surface);
}

.phone::after {
  content: "";
  position: absolute;
  inset: calc(var(--pw) * 0.027);
  border-radius: calc(var(--pw) * 0.13);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 32%);
  pointer-events: none;
}

.phone-sm {
  --pw: 240px;
}

.phone-glow {
  position: absolute;
  inset: 12% 0;
  background: radial-gradient(ellipse at center, var(--glow), transparent 66%);
  filter: blur(34px);
  pointer-events: none;
}

.phone-float {
  animation: float 7s ease-in-out 1.4s infinite;
}

.phone-stage {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.phone-stage .phone {
  --pw: 296px;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 32px auto;
  column-gap: 11px;
  align-items: center;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.85);
  opacity: 0;
  animation: chipIn 0.8s var(--ease-out) var(--d, 0.8s) forwards,
    bob 6s ease-in-out calc(var(--d, 0.8s) + 0.8s) infinite;
}

.float-chip i {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  position: relative;
}

.float-chip i::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}

.float-chip span {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--text-mute);
  line-height: 1.25;
  white-space: nowrap;
}

.float-chip b {
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fc-tl { top: 4%; left: -8%; }
.fc-mr { top: 47%; right: -6%; animation-duration: 0.8s, 7s; }
.fc-bl { bottom: 13%; left: 0; animation-duration: 0.8s, 6.5s; }

/* --- 10. Marquee --------------------------------------------------------- */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 18px 0;
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee ul {
  display: flex;
  flex: none;
  list-style: none;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-soft);
  white-space: nowrap;
}

.marquee li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* --- 11. Cards ---------------------------------------------------------- */

.card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}

.section-alt .card {
  background-color: var(--bg);
}

.card-hover:hover {
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 42%, transparent);
  transform: translateY(-4px);
}

.card-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 9px;
}

.card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* App card — themed per app via --card-accent */
.app-card {
  --card-accent: var(--accent);
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  text-decoration: none;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--card-accent);
}

.app-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--card-accent) 20%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

.app-card > * {
  position: relative;
  z-index: 1;
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
}

.app-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 14px 30px -12px var(--glow);
}

.app-icon-ph {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--card-accent) 18%, var(--surface-2));
}

.app-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.app-card .kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--card-accent-text, var(--card-accent));
  margin-bottom: 12px;
}

.app-card p {
  flex: 1;
  margin-bottom: 20px;
}

.app-card .pills {
  margin-top: auto;
}

.app-card .go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 740;
  color: var(--card-accent);
  text-decoration: none;
}

.app-card .go svg {
  transition: transform 0.2s var(--ease);
}

.app-card:hover .go svg,
.app-card .go:hover svg {
  transform: translateX(4px);
}

.card-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}

.store-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.store-mini svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.store-mini:hover {
  color: var(--text);
  border-color: var(--card-accent, var(--accent));
  background: var(--surface-2);
}

.coming-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-mute);
}

.coming-row b {
  color: var(--card-accent-text);
  font-weight: 760;
  margin-right: 3px;
}

.coming-row em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: 1px;
}

/* Cursor spotlight (iyal.js sets --mx/--my) */
.spot {
  --mx: -999px;
  --my: -999px;
  background-image: radial-gradient(
    380px circle at var(--mx) var(--my),
    color-mix(in srgb, var(--card-accent, var(--accent)) 11%, transparent),
    transparent 60%
  );
}

/* --- 12. Ticks, steps & timeline --------------------------------------- */

.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--text-soft);
}

.ticks li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.ticks li b {
  color: var(--text);
  font-weight: 680;
}

.timeline {
  display: grid;
  border-left: 1px solid var(--line);
  margin-left: 8px;
}

.tl-item {
  position: relative;
  padding: 0 0 30px 28px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.tl-item.is-later::before {
  background: var(--bg);
  border: 2px solid var(--text-mute);
  box-shadow: none;
}

.tl-when {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.tl-item.is-later .tl-when {
  color: var(--text-mute);
}

.tl-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.tl-item p {
  color: var(--text-soft);
  font-size: 14.5px;
}

/* --- 13. Motion stage (shared by all live demos) ------------------------ */

.stage {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--surface-2), var(--bg) 70%);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.stage-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.stage-label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.stage-label span.accent {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stage-figure {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stage-sub {
  margin: 8px 0 14px;
}

.stage svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.d-grid line {
  stroke: var(--line-soft);
  stroke-width: 1;
}

.d-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.d-fc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 5 6;
  opacity: 0.62;
  animation: march 1.1s linear infinite;
}

.d-now {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0.45;
}

.d-end {
  fill: var(--accent);
}

.d-end-label {
  fill: var(--accent);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.d-head {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 2;
}

.d-head-pulse {
  fill: var(--accent);
  opacity: 0.45;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-in-out infinite;
}

.d-axis {
  fill: var(--text-mute);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.d-dots circle {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.45s var(--ease-out) both;
}

/* Recent-entries feed under a demo */
.feed {
  list-style: none;
  display: grid;
  gap: 7px;
  margin-top: 16px;
  min-height: 122px;
}

.feed li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--line-soft);
  font-size: 13.5px;
  animation: feedIn 0.5s var(--ease-out) both;
  transition: opacity 0.4s;
}

.feed li:nth-child(2) { opacity: 0.66; }
.feed li:nth-child(3) { opacity: 0.38; }

.feed li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  flex: none;
}

.feed li span {
  flex: 1;
  min-width: 0;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed li em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
  padding: 0 6px;
}

.feed li b {
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.demo-cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-mute);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

/* IyalSip — interactive gauge */
.sip-vessel {
  position: relative;
}

.sip-glass {
  fill: rgba(242, 239, 233, 0.03);
  stroke: rgba(242, 239, 233, 0.14);
}

.sip-water {
  transform: translateY(232px);
  transition: transform 1.1s cubic-bezier(0.3, 1.25, 0.5, 1);
}

.sip-wave {
  animation: sipWave 5.5s linear infinite;
}

.sip-wave-2 {
  animation-duration: 8s;
  animation-direction: reverse;
}

.sip-bubble {
  fill: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: sipRise 4.6s ease-in infinite;
}

.sip-drop {
  fill: #8fcbfa;
  opacity: 0;
}

.sip-drop.is-falling {
  animation: drop 0.55s cubic-bezier(0.5, 0, 0.9, 0.6) forwards;
}

.sip-goal {
  stroke: #8fcbfa;
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
  opacity: 0.8;
}

.sip-tick {
  fill: var(--text-mute);
  font-size: 10.5px;
  font-weight: 700;
}

.sip-done {
  position: absolute;
  left: 50%;
  top: 46%;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0b2a4a;
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.demo-sip.is-done .sip-done {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.quick-log {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.quick-log button {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 760;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  color: var(--accent);
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.3s;
}

.quick-log button:hover {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

.quick-log button:active,
.quick-log button.is-pressed {
  transform: scale(0.94);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent);
}

.quick-log .is-custom {
  background: transparent;
  border-style: dashed;
  color: var(--text-soft);
}

.demo-sip.is-hinting .quick-log button:first-child {
  animation: nudge 1.6s ease-in-out infinite;
}

.demo-reset {
  display: block;
  margin: 14px auto 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.demo-sip.is-done .demo-reset {
  opacity: 1;
  pointer-events: auto;
}

/* IyalGarage — projection split bar */
.g-split {
  display: flex;
  gap: 2px;
  height: 10px;
  margin-top: 12px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--surface);
}

.g-split i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.6s var(--ease-out);
}

.g-split [data-g-seg="logged"] { background: var(--accent); }
.g-split [data-g-seg="rec"] { background: color-mix(in srgb, var(--accent) 55%, var(--surface)); }
.g-split [data-g-seg="day"] {
  background: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--accent) 35%, var(--surface)) 0 4px,
    color-mix(in srgb, var(--accent) 18%, var(--surface)) 4px 8px
  );
}

.g-split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
}

.g-split-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.g-split-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.g-split-legend .s1 { background: var(--accent); }
.g-split-legend .s2 { background: color-mix(in srgb, var(--accent) 55%, var(--surface)); }
.g-split-legend .s3 { background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }

/* --- 14. How it works (signature section) ------------------------------- */

.sig-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.sig-copy h2 {
  margin: 18px 0 16px;
}

.legend {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.legend li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  color: var(--text-soft);
}

.legend b {
  color: var(--text);
  font-weight: 720;
}

.lg {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
}

.lg::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 9px;
  height: 3px;
  border-radius: 3px;
}

.lg-solid::before { background: var(--accent); }

.lg-dash::before {
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px);
  opacity: 0.75;
}

.lg-num::before {
  content: "123";
  inset: 0;
  height: auto;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 850;
  color: var(--accent);
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.lg-fill::before {
  inset: 0;
  height: auto;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: linear-gradient(transparent 45%, var(--accent) 45%);
}

/* --- 15. Feature tour --------------------------------------------------- */

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}

.tour-phone {
  position: sticky;
  top: 84px;
  height: calc(100vh - 100px);
  max-height: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tour-phone .phone {
  --pw: min(300px, calc((100vh - 220px) * 0.45));
}

.phone-stack {
  display: grid;
}

.phone-stack img {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease-out);
}

.phone-stack img.is-active {
  opacity: 1;
  transform: none;
}

.tour-dots {
  display: flex;
  gap: 8px;
  list-style: none;
  margin-top: 22px;
}

.tour-dots li {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--line);
  transition: width 0.4s var(--ease-out), background 0.3s;
}

.tour-dots li.is-active {
  width: 26px;
  background: var(--accent);
}

.tour-steps {
  list-style: none;
}

.tour-step {
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  opacity: 0.3;
  transition: opacity 0.45s var(--ease);
}

.tour-step.is-active {
  opacity: 1;
}

.tour-step:first-child {
  min-height: 52vh;
  justify-content: flex-start;
  padding-top: 12vh;
}

/* Room under the last step so the pinned phone stays whole while it's read */
.tour-step:last-child {
  padding-bottom: 24vh;
}

.tour-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tour-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 4px;
}

.tour-step h3 {
  font-size: clamp(25px, 3vw, 34px);
  margin-bottom: 12px;
}

.tour-step p {
  color: var(--text-soft);
  font-size: clamp(15.5px, 1.7vw, 17.5px);
  line-height: 1.65;
  max-width: 44ch;
}

.tour-inline {
  display: none;
}

/* --- 16. Plans (Free vs Pro) ------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}

/* One plan only (an app that is free with everything in it). */
.plans-solo {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.plan {
  position: relative;
  padding: 32px 30px 30px;
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.plan-pro {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 11%, var(--bg)), var(--bg) 58%);
  box-shadow: 0 30px 80px -44px var(--glow);
}

.plan-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.plan-pro .plan-name {
  color: var(--accent);
}

.plan-price {
  margin-top: 10px;
  font-size: 42px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.plan-price span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-mute);
}

.plan .ticks {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.plan-ribbon {
  position: absolute;
  top: 24px;
  right: 22px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
}

.plan-extra,
.plan-how {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.plan-extra {
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* Monthly / Yearly / Lifetime in a Pro card that offers all three. */
.plan-terms {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.plan-terms div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.plan-terms dt {
  font-size: 15px;
  font-weight: 800;
}

.plan-terms dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-mute);
  text-align: right;
}

/* Hub: the same three plans in every app, and where each app stands. */
.pro-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.pro-plan h3 {
  font-size: 22px;
  font-weight: 820;
  letter-spacing: -0.02em;
}

.pro-plan p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-mute);
}

.pro-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
}

.pro-apps a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s;
}

.pro-apps a:hover {
  border-color: color-mix(in srgb, var(--card-accent) 42%, transparent);
}

.pro-apps img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.pro-app {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-mute);
}

.pro-app b {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.pro-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-badge.is-now {
  background: var(--card-accent);
  color: #0c120e;
}

.pro-badge.is-next {
  border: 1px dashed var(--line);
  color: var(--text-mute);
}

.pro-note {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}

@media (max-width: 760px) {
  .pro-plans,
  .pro-apps {
    grid-template-columns: 1fr;
  }
}

/* --- 17. Privacy visual + "never" tiles -------------------------------- */

.privacy-viz {
  margin: 0;
  text-align: center;
}

.privacy-viz svg {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  overflow: visible;
}

.pv-boundary {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.4;
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  transform-box: view-box;
  transform-origin: 180px 150px;
  animation: spin 50s linear infinite;
}

.pv-b2 {
  stroke-opacity: 0.16;
  animation-duration: 80s;
  animation-direction: reverse;
}

.pv-phone rect:first-child {
  fill: var(--surface-2);
  stroke: var(--line);
  stroke-width: 1.5;
}

.pv-island {
  fill: var(--bg);
}

/* All motion stays inside the ring: the zone breathes, entries appear one by
   one as if being logged, then a lock settles on the phone. Nothing moves out. */
.pv-zone {
  fill: var(--accent);
  opacity: 0.05;
  transform-box: view-box;
  transform-origin: 180px 150px;
  animation: zoneBreath 4.5s ease-in-out infinite;
}

.pv-entries circle,
.pv-app {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.pv-entries circle {
  fill: var(--accent);
}

.privacy-viz.is-in .pv-entries circle {
  animation: pvIn 0.45s var(--ease-out) calc(0.25s + var(--n) * 0.12s) forwards,
    twinkle 3.2s ease-in-out calc(2.2s + var(--n) * 0.12s) infinite;
}

.privacy-viz.is-in .pv-app {
  animation: pvIn 0.55s var(--ease-out) calc(0.3s + var(--n) * 0.22s) forwards,
    appBreath 4s ease-in-out calc(2s + var(--n) * 0.5s) infinite;
}

.pv-lock {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.privacy-viz.is-in .pv-lock {
  animation: pvIn 0.5s var(--ease-out) 1.9s forwards;
}

.pv-lock circle {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 3;
}

.pv-lock-shackle {
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.pv-lock-body {
  fill: var(--accent-ink);
}

/* Outside the ring: still, dimmed, struck through */
.pv-dest {
  opacity: 0.6;
}

.pv-dest path,
.pv-dest rect {
  fill: none;
  stroke: var(--text-mute);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-dest text {
  fill: var(--text-mute);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.pv-dest .pv-x {
  stroke: #f2645a;
  stroke-width: 2.6;
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
}

.privacy-viz.is-in .pv-x {
  animation: draw 0.7s var(--ease-out) forwards;
}

.privacy-viz.is-in .pv-d2 .pv-x { animation-delay: 0.25s; }
.privacy-viz.is-in .pv-d3 .pv-x { animation-delay: 0.5s; }

.privacy-viz figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-mute);
}

.privacy-viz figcaption b {
  color: var(--accent);
  font-size: 22px;
  font-weight: 850;
  margin-right: 4px;
}

.never-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 24px;
}

.never-grid li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.nv-ico {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.nv-ico svg {
  width: 22px;
  height: 22px;
}

.nv-ico .strike {
  stroke-width: 2.2;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  transition: stroke-dashoffset 0.6s var(--ease-out);
}

.is-in .never-grid li .strike {
  stroke-dashoffset: 0;
}

.is-in .never-grid li:nth-child(1) .strike { transition-delay: 0.3s; }
.is-in .never-grid li:nth-child(2) .strike { transition-delay: 0.45s; }
.is-in .never-grid li:nth-child(3) .strike { transition-delay: 0.6s; }
.is-in .never-grid li:nth-child(4) .strike { transition-delay: 0.75s; }

.never-grid b {
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.3;
}

.never-grid li > span:last-child {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.35;
}

/* --- 18. Download CTA, signup & forms ---------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 84px) clamp(22px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
}

.cta .lead {
  max-width: 50ch;
  margin: 14px auto 0;
}

.cta .store-note {
  margin-top: 14px;
}

.cta-icon {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}

.cta-icon img {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 22px 50px -14px var(--glow);
}

.cta-icon .ring {
  position: absolute;
  inset: -4px;
  border-radius: 26px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: ring 3.2s var(--ease-out) infinite;
}

.cta-icon .r2 {
  animation-delay: 1.6s;
}

.cta-signup {
  max-width: 520px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.cta-signup > p:first-child {
  font-size: 14.5px;
  color: var(--text-soft);
}

.cta-signup .form {
  margin: 16px auto 0;
}

.signup {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
}

.signup::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 320px;
  background: radial-gradient(ellipse at center, var(--glow), transparent 66%);
  pointer-events: none;
}

.signup > * {
  position: relative;
}

.signup h2 {
  margin: 16px 0 14px;
}

.signup .lead {
  max-width: 52ch;
}

.form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  max-width: 480px;
  flex-wrap: wrap;
}

.form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.18s;
}

.form input[type="email"]::placeholder {
  color: var(--text-mute);
}

.form input[type="email"]:focus {
  border-color: var(--accent);
  outline: none;
}

.form button {
  padding: 14px 26px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 760;
  transition: filter 0.18s, transform 0.18s var(--ease);
}

.form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-note {
  margin-top: 13px;
  font-size: 13px;
  color: var(--text-mute);
}

.form-note a {
  color: var(--text-soft);
}

/* --- 19. Hub: studio hero, what we do, principles, showcase rows ------- */

.hero-studio {
  position: relative;
}

.hero-studio .phone-glow {
  inset: 8% 12%;
}

.hero-studio .privacy-viz svg {
  max-width: 520px;
}

.flow {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

/* The line that joins the three steps draws itself left to right */
.flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 17%;
  right: 17%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}

.flow.is-in::before {
  transform: scaleX(1);
}

.flow li {
  position: relative;
}

.flow-n {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s, transform 0.6s var(--ease-out);
  transition-delay: calc(0.25s + var(--i) * 0.45s);
}

.flow.is-in .flow-n {
  opacity: 1;
  transform: none;
}

.flow h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.flow p {
  max-width: 30ch;
  margin-inline: auto;
  color: var(--text-soft);
  font-size: 15px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle .card-num {
  position: absolute;
  top: 28px;
  right: 24px;
  margin: 0;
}

.principle-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  transition: transform 0.4s var(--ease-out);
}

.principle-ico svg {
  width: 24px;
  height: 24px;
}

.principle:hover .principle-ico {
  transform: rotate(-6deg) scale(1.06);
}

.principles-foot {
  margin-top: 26px;
  text-align: center;
}

.contact-addr {
  margin: 22px 0 18px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 760;
  letter-spacing: -0.01em;
  color: var(--text);
  user-select: all;
  overflow-wrap: anywhere;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--text);
  color: #121110;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  pointer-events: none;
  overflow-wrap: anywhere;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.btn[data-copy].is-copied {
  border-color: var(--accent);
  color: var(--accent);
}

.showcase-list {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(26px, 4vw, 48px);
  padding-bottom: 0;
  border-radius: var(--r-xl);
  background: radial-gradient(ellipse at 15% 100%, color-mix(in srgb, var(--card-accent) 10%, transparent), transparent 55%),
    var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.3s;
}

.showcase:hover {
  border-color: color-mix(in srgb, var(--card-accent) 35%, transparent);
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--card-accent);
}

.showcase-flip {
  grid-template-columns: minmax(0, 1fr) 300px;
  background: radial-gradient(ellipse at 85% 100%, color-mix(in srgb, var(--card-accent) 10%, transparent), transparent 55%),
    var(--surface);
}

.showcase-flip .showcase-media {
  order: 2;
}

.showcase-media {
  position: relative;
  align-self: end;
  display: grid;
  justify-items: center;
}

.showcase-media .phone-glow {
  inset: 10% -10% 0;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--card-accent) 30%, transparent), transparent 66%);
}

.showcase-media .phone {
  --pw: 250px;
  margin-bottom: -170px;
  transform: translateY(0) rotate(-2deg);
  transition: transform 0.6s var(--ease-out);
}

.showcase:hover .showcase-media .phone {
  transform: translateY(-14px) rotate(0);
}

.showcase-copy {
  padding-bottom: clamp(26px, 4vw, 48px);
}

.showcase-copy .tag-live,
.showcase .accent {
  --accent: var(--card-accent);
}

.showcase .kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-accent);
}

.showcase h3 {
  margin: 10px 0 12px;
}

.showcase-copy > p:not(.kicker) {
  color: var(--text-soft);
  font-size: 15.5px;
  max-width: 54ch;
}

.showcase-stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 20px 0 18px;
}

.showcase-stat b {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--card-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.showcase-stat span {
  color: var(--text-mute);
  font-size: 14px;
}

.showcase .pills {
  margin-bottom: 24px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg);
  padding: 26px 24px;
}

.stat b {
  display: block;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 14px;
  color: var(--text-soft);
}

/* --- 19b. Coming-soon pages (IyalGym) ---------------------------------- */
/* Same template as a live app; these are the teaser-only pieces.           */

.tag-pulse {
  color: var(--card-accent, var(--accent));
  border: 1px dashed color-mix(in srgb, var(--card-accent, var(--accent)) 60%, transparent);
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 8%, transparent);
}

.tag-pulse::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.3s ease-in-out infinite;
}

/* Coming-soon marker: a dot on the app icon's corner, pinging softly */
.ico-soon {
  position: relative;
  display: inline-flex;
  flex: none;
}

.ico-soon i {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--app, var(--accent));
  box-shadow: 0 0 0 2px var(--ring, var(--bg));
}

.ico-soon i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: soonPing 2.4s var(--ease-out) infinite;
}

.site-footer .ico-soon {
  --ring: var(--surface);
}

.coming-row em.soon {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 1px 7px;
  color: var(--text-mute);
}

.coming-row a {
  color: inherit;
  text-decoration: none;
}

.coming-row a:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coming-row em.soon {
  color: var(--card-accent-text);
  border-color: color-mix(in srgb, var(--card-accent-text) 55%, transparent);
}

.hero-signup .form {
  margin-top: 30px;
}

.peek-link {
  margin-top: 14px;
}

.cta-form .form {
  margin: 30px auto 0;
  justify-content: center;
}

/* A slow light sweep across the screenshot, and a badge that says what it is */
.phone-peek::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: calc(var(--pw) * 0.027);
  border-radius: calc(var(--pw) * 0.13);
  background: linear-gradient(
      110deg,
      transparent 38%,
      color-mix(in srgb, var(--card-accent, var(--accent)) 20%, transparent) 50%,
      transparent 62%
    )
    no-repeat;
  background-size: 260% 100%;
  background-position: 150% 0;
  animation: sweep 5s ease-in-out 1.8s infinite;
  pointer-events: none;
}

.peek-badge {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 99px;
  background: var(--card-accent, var(--accent));
  color: #151600;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.75);
}

.showcase-media .peek-badge {
  top: 4px;
}

.built-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--line);
}

.upcoming-solo {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  margin-top: 22px;
}

.lg-ring::before {
  inset: 1px 9px;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
}

.lg-pair::before {
  content: "A1";
  inset: 0;
  height: auto;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 850;
  color: var(--accent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

/* IyalGym — live session demo */
.gy-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 22px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.gy-hero > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
}

.gy-k {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.gy-vol {
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
  gap: 0 !important;
}

.gy-hero b {
  display: block;
  white-space: nowrap;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

.gy-clock.is-rest b,
.gy-clock.is-rest .gy-k {
  color: var(--accent);
}

.stage .gy-ring {
  width: 44px;
  height: 44px;
  flex: none;
  overflow: hidden;
  transform: rotate(-90deg);
}

.gy-ring circle {
  fill: none;
  stroke-width: 4;
}

.gy-ring .t {
  stroke: var(--line);
}

.gy-ring .p {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
}

.gy-block {
  position: relative;
  padding: 18px 14px 14px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
}

.gy-chip {
  position: absolute;
  top: -10px;
  left: 14px;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gy-ex + .gy-ex {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.gy-ex-h {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 720;
}

.gy-ex-h b {
  padding: 1px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 850;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.gy-sets {
  list-style: none;
  display: grid;
  gap: 5px;
  min-height: 108px;
  align-content: start;
}

.gy-sets li {
  display: grid;
  grid-template-columns: 20px 1fr 16px 1fr 24px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  animation: feedIn 0.4s var(--ease-out) both;
  transition: box-shadow 0.4s;
}

.gy-sets li.is-live {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);
}

.gy-sets .n {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
}

.gy-sets .w,
.gy-sets .r {
  padding: 2px 0;
  border-radius: 7px;
  background: var(--surface-2);
  font-weight: 720;
  text-align: center;
  min-height: 24px;
}

.gy-sets .r:empty::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 14px;
  vertical-align: -2px;
  background: var(--accent);
  animation: blink 0.9s steps(1) infinite;
}

.gy-sets .x {
  color: var(--text-mute);
  text-align: center;
}

.gy-sets .ok {
  justify-self: end;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: background-color 0.3s, border-color 0.3s;
}

.gy-sets li.is-done .ok {
  border-color: var(--accent);
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171900' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  animation: pop 0.4s var(--ease-out);
}

.gy-toast {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.gy-toast i {
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171900' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.demo-gym.is-done .gy-toast {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --- 20. Prose, docs & FAQ (privacy / support) ------------------------- */

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: 18px;
  margin-top: 32px;
}

.prose p,
.prose li {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.prose strong {
  color: var(--text);
  font-weight: 680;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  display: grid;
  gap: 9px;
}

.prose a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 2px 6px;
}

.callout {
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
}

.callout p {
  font-size: 15px;
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.toc strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}

.toc ol {
  list-style: none;
  display: grid;
  gap: 9px;
}

.toc a {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  line-height: 1.45;
}

.toc a:hover {
  color: var(--accent);
}

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq details {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.2s;
}

.section-alt .faq details {
  background: var(--bg);
}

.faq details[open] {
  border-color: var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 22px;
  font-size: 15.5px;
  font-weight: 680;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.18s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: currentColor;
  opacity: 0.5;
  transition: transform 0.22s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.faq summary:hover {
  color: var(--accent);
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq .faq-body {
  padding: 0 22px 20px;
}

.faq .faq-body p {
  color: var(--text-soft);
  font-size: 15px;
}

.faq .faq-body p + p {
  margin-top: 12px;
}

.split .faq + .text-link {
  margin-top: 18px;
}

/* --- 21. Footer --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  padding: clamp(44px, 6vw, 64px) 0 36px;
}

main > section:last-child.section-alt + .site-footer,
main:has(> section.section-alt:last-child) + .site-footer {
  border-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--text-mute);
  font-size: 14px;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.18s;
}

.footer-col a img {
  border-radius: 5px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col .muted {
  color: var(--text-mute);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col .muted em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 1px 7px;
}

.footer-base {
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.footer-base a {
  color: var(--text-soft);
  font-weight: 650;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-base a:hover,
.footer-base a[aria-current="page"] {
  color: var(--accent);
}

/* --- 22. Scroll reveal -------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* --- 23. Keyframes ------------------------------------------------------ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(36px) scale(0.96); }
}

@keyframes underline {
  to { background-size: 100% 0.09em; }
}

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

@keyframes chipIn {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

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

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes march {
  to { stroke-dashoffset: -22; }
}

@keyframes pop {
  0% { opacity: 0; transform: scale(0.2); }
  70% { transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0; transform: scale(2.2); }
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
}

@keyframes sipWave {
  to { transform: translateX(-260px); }
}

@keyframes sipRise {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 0.7; }
  80% { opacity: 0.35; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.05); }
}

@keyframes drop {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(var(--fall, 140px)); }
}

@keyframes nudge {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); }
  50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); }
}

@keyframes ring {
  0% { opacity: 0.7; transform: scale(0.94); }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes appBreath {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

@keyframes soonPing {
  0% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.8); }
}

@keyframes sweep {
  0% { background-position: 150% 0; }
  45%, 100% { background-position: -50% 0; }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes pvIn {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes zoneBreath {
  0%, 100% { opacity: 0.04; transform: scale(0.96); }
  50% { opacity: 0.11; transform: scale(1); }
}

/* --- 24. Responsive ----------------------------------------------------- */

/* Four app links + EN · DE + CTA need ~830px of row (Gym's English CTA is the
   longest); collapse below 860 to leave room for wider font rendering. */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gut) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .lang-pick {
    justify-content: center;
    margin: 6px 0 0;
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
    font-size: 15px;
  }

  .lang-pick .lp-cur,
  .nav-links .lang-pick a {
    padding: 10px 14px;
    font-size: 15px;
  }

  .nav-toggle {
    display: grid;
  }
}

@media (max-width: 1000px) {
  .showcase,
  .showcase-flip {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .showcase-flip {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .showcase-media .phone {
    --pw: 220px;
  }
}

@media (max-width: 940px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .sig-grid,
  .tour-grid {
    grid-template-columns: 1fr;
  }

  .split-flip > *:first-child {
    order: 0;
  }

  .hero-visual {
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
  }

  .tour-phone {
    display: none;
  }

  .tour-step,
  .tour-step:first-child,
  .tour-step:last-child {
    min-height: 0;
    opacity: 1;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .tour-step + .tour-step {
    margin-top: 64px;
  }

  .tour-meta {
    justify-content: center;
  }

  .tour-inline {
    display: block;
    --pw: 250px;
    margin: 0 auto 26px;
  }

  .privacy-viz svg {
    max-width: 340px;
  }
}

@media (max-width: 760px) {
  .showcase,
  .showcase-flip {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .showcase-flip .showcase-media {
    order: 0;
  }

  .showcase-media {
    order: 2;
    height: 280px;
    overflow: hidden;
    align-self: stretch;
    margin-inline: calc(-1 * clamp(26px, 4vw, 48px));
  }

  .showcase-flip .showcase-media {
    order: 2;
  }

  .showcase-copy {
    padding-bottom: 0;
  }

  .showcase-media .phone {
    margin-bottom: 0;
    margin-top: 10px;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .flow::before {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --gut: 16px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    gap: 16px 24px;
  }

  .phone-stage .phone {
    --pw: 240px;
  }

  .float-chip {
    padding: 8px 12px 8px 8px;
    grid-template-columns: 26px auto;
    column-gap: 9px;
  }

  .float-chip i {
    width: 26px;
    height: 26px;
  }

  .float-chip i::after {
    inset: 9px;
  }

  .float-chip b {
    font-size: 15px;
  }

  .fc-tl { left: 0; }
  .fc-mr { right: 0; }


  .never-grid {
    grid-template-columns: 1fr;
  }

  .built-list {
    grid-template-columns: 1fr;
  }

  .gy-hero > div {
    padding: 12px;
    gap: 9px;
  }

  .stage .gy-ring {
    width: 34px;
    height: 34px;
  }

  .stage {
    padding: 18px;
  }

  .feed li {
    font-size: 12.5px;
  }
}

/* --- 25. Reduced motion / print ----------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }

  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .marquee ul[aria-hidden="true"] {
    display: none;
  }

  .marquee ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

  .float-chip,
  .flow-n {
    opacity: 1;
    transform: none;
  }

  .flow::before {
    transform: none;
  }

  .pv-x,
  .nv-ico .strike {
    stroke-dashoffset: 0 !important;
  }

  .sip-bubble {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .signup,
  .stage,
  .marquee,
  .tour-phone,
  .cta-signup {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .prose p,
  .prose li {
    color: #333;
  }
}
