:root {
  color-scheme: dark;
  --bg: #080908;
  --bg-soft: #10110f;
  --surface: #151614;
  --surface-raised: #1c1d1a;
  --surface-high: #242520;
  --ink: #f4f1ea;
  --muted: #a59d8d;
  --muted-strong: #d3c8b3;
  --line: rgba(211, 200, 179, 0.18);
  --line-strong: rgba(244, 197, 66, 0.34);
  --accent: #f4c542;
  --accent-soft: #ffe4a8;
  --accent-dim: #806514;
  --success: #53e16f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-data: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 197, 66, 0.14) 0, rgba(244, 197, 66, 0) 46%),
    linear-gradient(180deg, #0a0a0a 0, #080908 62%, #050505 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-soft);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffffff;
}

svg {
  display: block;
}

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------------- *
 * Header / Nav (shared)                                            *
 * ---------------------------------------------------------------- */
.site-header,
.site-footer {
  padding: 16px 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(211, 200, 179, 0.12);
  background: rgba(18, 19, 17, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.landing-page .site-header {
  position: fixed;
  right: 0;
  left: 0;
  border-bottom-color: rgba(44, 44, 46, 0.55);
  background: rgba(12, 12, 11, 0.55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: padding 300ms var(--ease), background-color 300ms var(--ease),
    border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.landing-page .site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom-color: rgba(44, 44, 46, 0.78);
  background: rgba(8, 9, 8, 0.86);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
}

.nav {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(244, 197, 66, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--muted-strong);
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links .nav-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #211900;
  box-shadow: 0 14px 36px rgba(244, 197, 66, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-links .nav-action:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
  box-shadow: 0 18px 44px rgba(244, 197, 66, 0.32);
}

.main {
  flex: 1;
}

.wrap {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

/* ---------------------------------------------------------------- *
 * Typography (shared)                                              *
 * ---------------------------------------------------------------- */
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.04;
}

h1 {
  max-width: 920px;
  margin-top: 30px;
  font-size: clamp(2.5rem, 7vw, 4.9rem);
  font-weight: 800;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 26px;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- *
 * Hero                                                             *
 * ---------------------------------------------------------------- */
.hero {
  padding: 56px 0 36px;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: -10% 0 auto;
  height: 760px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(244, 197, 66, 0.18) 0, rgba(244, 197, 66, 0) 60%),
    linear-gradient(115deg, rgba(244, 197, 66, 0.12), rgba(244, 197, 66, 0) 56%),
    linear-gradient(180deg, rgba(255, 228, 168, 0.05), rgba(8, 9, 8, 0));
  will-change: transform;
}

.hero-center {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 132px 0 64px;
  text-align: center;
  will-change: transform, opacity;
}

.release-pill {
  position: relative;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 16px;
  border: 1px solid rgba(244, 197, 66, 0.44);
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

.release-dot {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  animation: dot-pulse 2s ease-in-out infinite;
}

.release-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent);
  animation: dot-ping 2s ease-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

@keyframes dot-ping {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

.landing-hero h1 {
  margin-top: 34px;
}

.landing-hero h1 .line-mask:first-child {
  color: var(--ink);
}

.landing-hero h1 .line-mask.accent {
  color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-center .actions {
  justify-content: center;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease,
    background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  background: var(--accent);
  color: #151000;
  box-shadow: 0 18px 48px rgba(244, 197, 66, 0.18);
}

.button.primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 22px 56px rgba(244, 197, 66, 0.34);
}

.button.secondary {
  border-color: rgba(211, 200, 179, 0.72);
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.button:hover {
  transform: translateY(-2px);
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 60px;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.app-store-badge {
  width: 180px;
  height: auto;
  display: block;
}

.trust-strip {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  color: var(--muted);
}

.hero-center .trust-strip {
  justify-content: center;
}

.trust-strip div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
}

.trust-strip svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.trust-strip strong {
  line-height: 1.2;
  color: var(--muted-strong);
  font-weight: 600;
}

.trust-strip > span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-dim);
}

/* ---------------------------------------------------------------- *
 * Sections                                                         *
 * ---------------------------------------------------------------- */
.section {
  padding: 64px 0;
}

.landing-main {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.bento-section {
  padding-top: 40px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 26px;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)) , #16171a;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(244, 197, 66, 0.12), rgba(244, 197, 66, 0) 60%);
  transition: opacity 300ms var(--ease);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 197, 66, 0.4);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.bento-card:hover::before {
  opacity: 1;
}

.shimmer-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -65%;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  transform: skewX(-18deg);
  animation: shimmer 5s infinite;
}

@keyframes shimmer {
  0%, 12% { transform: translateX(0) skewX(-18deg); }
  100% { transform: translateX(360%) skewX(-18deg); }
}

.bento-icon,
.science-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154, 144, 123, 0.35);
  border-radius: 999px;
  background: #23241f;
  color: var(--accent);
}

.bento-icon.green {
  color: var(--success);
}

.bento-icon svg,
.science-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.bento-card h3 {
  margin-top: 20px;
  font-size: 1.35rem;
}

.bento-card p {
  margin-top: 10px;
  color: var(--muted-strong);
}

/* ---- Bento: Log in Seconds (wide) + native set UI -------------- */
.bento-wide {
  display: grid;
  gap: 26px;
  align-items: center;
}

.bento-copy h3 {
  margin-top: 18px;
}

.bento-copy p {
  max-width: 420px;
}

.feature-shot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: 1px solid #2c2c2e;
  border-radius: 12px;
  background: #0a0a0a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-shot-login {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1024 / 1100;
  justify-self: center;
}

/* ---- Bento: Smart Rest Timer ---------------------------------- */
.bento-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.timer-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 22px;
}

.timer-svg {
  width: 100%;
  height: 100%;
}

.ring-track {
  fill: none;
  stroke: #2c2d28;
  stroke-width: 9;
}

.ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 326.726;
  stroke-dashoffset: 326.726;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  filter: drop-shadow(0 0 6px rgba(244, 197, 66, 0.45));
}

.bento-timer.is-visible .ring-progress {
  animation:
    ring-fill 1.4s var(--ease) forwards,
    ring-cycle 6s 1.4s infinite;
}

/* Wind up to a full ring once the card appears. */
@keyframes ring-fill {
  from { stroke-dashoffset: 326.726; }
  to { stroke-dashoffset: 0; }
}

/* Loops without a hard snap: steady count-down to empty, then a
 * smooth wind back to full. Start and end both sit at offset 0, so
 * the loop boundary is seamless. */
@keyframes ring-cycle {
  0% { stroke-dashoffset: 0; animation-timing-function: linear; }
  72% { stroke-dashoffset: 326.726; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  100% { stroke-dashoffset: 0; }
}

.timer-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.timer-time {
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.timer-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---- Bento: See Your Progress --------------------------------- */
.mini-chart {
  height: 104px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 28px;
  border-bottom: 1px solid #2c2c2e;
}

.mini-chart i {
  display: block;
  height: var(--h, 30%);
  border-radius: 4px 4px 0 0;
  background: #343539;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 700ms var(--ease);
}

.mini-chart i.peak {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(244, 197, 66, 0.28);
}

.bento-card.is-visible .mini-chart i {
  transform: scaleY(1);
}

.bento-card.is-visible .mini-chart i:nth-child(1) { transition-delay: 60ms; }
.bento-card.is-visible .mini-chart i:nth-child(2) { transition-delay: 130ms; }
.bento-card.is-visible .mini-chart i:nth-child(3) { transition-delay: 200ms; }
.bento-card.is-visible .mini-chart i:nth-child(4) { transition-delay: 270ms; }
.bento-card.is-visible .mini-chart i:nth-child(5) { transition-delay: 340ms; }
.bento-card.is-visible .mini-chart i:nth-child(6) { transition-delay: 410ms; }

/* ---- Bento: Readiness Score ----------------------------------- */
.readiness-card {
  display: grid;
  gap: 24px;
  align-items: center;
}

.readiness-score {
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #121317;
  border-top-color: var(--success);
  border-right-color: var(--success);
  border-radius: 999px;
  background: #16171a;
  box-shadow: inset 0 0 0 10px #16171a, 0 0 30px rgba(83, 225, 111, 0.12);
}

.readiness-num {
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 2rem;
  font-weight: 700;
}

.readiness-card h3 .readiness-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(154, 144, 123, 0.35);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.64rem;
  vertical-align: middle;
  text-transform: uppercase;
}

.health-line {
  margin-top: 16px;
}

.health-badge {
  width: 142px;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------- *
 * Beta section                                                     *
 * ---------------------------------------------------------------- */
.beta-section {
  padding-top: 64px;
  padding-bottom: 96px;
}

.beta-panel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 28px;
  border: 1px solid #2c2c2e;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)), #16171a;
  text-align: center;
  overflow: hidden;
}

.beta-glow {
  position: absolute;
  inset: -40% 0 auto;
  height: 320px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(244, 197, 66, 1) 0, rgba(244, 197, 66, 0) 70%);
  opacity: 0.05;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.12; }
}

.beta-panel > *:not(.beta-glow) {
  position: relative;
  z-index: 1;
}

.beta-panel .science-icon {
  margin: 0 auto;
}

.beta-panel h2 {
  margin-top: 18px;
}

.beta-panel p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted-strong);
}

.beta-actions {
  justify-content: center;
}

.beta-panel small {
  display: block;
  margin-top: 16px;
  color: rgba(211, 200, 179, 0.62);
  font-weight: 700;
}

/* ---------------------------------------------------------------- *
 * Footer (shared)                                                  *
 * ---------------------------------------------------------------- */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid rgba(211, 200, 179, 0.12);
  color: var(--muted);
  background: rgba(5, 5, 5, 0.72);
}

.footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-transform: uppercase;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
}

.footer-links a {
  color: var(--muted-strong);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------------- *
 * Shared content styles (legal pages: privacy/support/impressum)   *
 * ---------------------------------------------------------------- */
.content {
  max-width: 790px;
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel > * + * {
  margin-top: 14px;
}

.list {
  padding-left: 1.15rem;
  margin: 0;
  color: var(--muted-strong);
}

.list li + li {
  margin-top: 8px;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.meta-list div {
  display: grid;
  gap: 3px;
}

.meta-list dt {
  color: var(--ink);
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  color: var(--muted-strong);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq details p {
  margin-top: 10px;
  color: var(--muted-strong);
}

.app-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------- *
 * Scroll reveal system                                             *
 * ---------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 480ms var(--ease), transform 560ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

[data-reveal].reveal-done {
  will-change: auto;
}

/* line-mask reveal (hero h1) — only the inner span moves */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  opacity: 1 !important;
  transform: none !important;
}

.line-mask > span {
  display: block;
  transform: translateY(115%);
  transition: transform 850ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform;
}

.line-mask.is-visible > span {
  transform: none;
}

/* word split reveal (h2 headings) */
.split-head {
  opacity: 1 !important;
  transform: none !important;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.28em;
  justify-content: center;
}

.beta-panel .split,
.section-heading .split {
  justify-content: center;
}

.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.06em;
}

.word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform;
}

.split-head.is-visible .word > span,
.beta-panel.is-visible .word > span {
  transform: none;
}

/* ---------------------------------------------------------------- *
 * Responsive                                                       *
 * ---------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Smaller reveal travel + no parallax on mobile */
  [data-reveal] {
    transform: translateY(20px);
  }

  .hero-bg {
    transform: none !important;
  }

  .hero-center {
    transform: none !important;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .site-footer .footer-inner {
    transform: none !important;
  }

  .landing-page .site-header {
    padding: 12px 18px;
  }

  .landing-page .nav-links a:not(.nav-action) {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }

  .trust-strip > span {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .bento-card {
    min-height: auto;
  }
}

@media (min-width: 740px) {
  .site-header,
  .site-footer {
    padding-inline: 28px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    font-size: 0.94rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bento-wide {
    grid-column: span 7;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    align-items: center;
  }

  .bento-timer {
    grid-column: span 5;
  }

  .progress-card,
  .readiness-card {
    grid-column: span 6;
  }

  .readiness-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (min-width: 980px) {
  .bento-wide {
    min-height: 460px;
    column-gap: 36px;
  }
}

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

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

  [data-reveal],
  .line-mask > span,
  .word > span {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-bg,
  .hero-center,
  .footer-inner {
    transform: none !important;
  }

  .ring-progress {
    stroke-dashoffset: 82 !important;
    animation: none !important;
  }

  .mini-chart i {
    transform: scaleY(1) !important;
  }

  .beta-glow {
    opacity: 0.09 !important;
    animation: none !important;
  }
}

/* Landing page: show the actual workout UI and keep the copy first. */
.landing-page [data-reveal] {
  transform: translateY(16px) scale(0.985);
}

.landing-page .hero-layout {
  width: min(100% - 40px, 1180px);
  min-height: min(820px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding-top: 118px;
  padding-bottom: 72px;
}

.landing-page .hero-copy-block {
  text-align: left;
}

.landing-page .landing-hero h1 {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(3.2rem, 6.1vw, 5.9rem);
  line-height: 0.99;
  letter-spacing: -0.075em;
}

.landing-page .landing-hero h1 .line-mask.accent {
  color: var(--accent);
}

.landing-page .lead {
  max-width: 610px;
  margin-top: 24px;
}

.landing-page .hero-actions {
  margin-top: 28px;
}

.landing-page .hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-page .trust-strip {
  grid-template-columns: auto 5px auto 5px auto;
  justify-content: start;
  gap: 12px;
  margin-top: 34px;
  font-size: 0.82rem;
}

.landing-page .trust-strip div {
  justify-content: flex-start;
}

.landing-page .trust-strip strong {
  font-size: 0.82rem;
}

.landing-page .trust-strip > span {
  width: 4px;
  height: 4px;
  background: var(--accent-dim);
}

.landing-page .release-dot,
.landing-page .release-dot::after {
  animation: none;
}

.landing-page .hero-screenshot {
  width: min(100%, 320px);
  justify-self: center;
  padding: 6px;
  border: 5px solid #292a2d;
  border-radius: 40px;
  background: #000;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42);
}

.landing-page .hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 31px;
}

.landing-page .hero-screenshot.is-visible {
  transition-duration: 700ms;
}

.landing-page .section-heading {
  max-width: 700px;
}

.landing-page .section-heading h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.055em;
}

.landing-page .section-heading p {
  max-width: 620px;
  margin-inline: auto;
}

.landing-page .bento-card {
  border-radius: 22px;
  background: var(--surface);
}

.landing-page .bento-card:hover {
  transform: translateY(-2px);
}

.landing-page .bento-card::before {
  display: none;
}

.landing-page .bento-card h3 {
  margin-top: 18px;
  letter-spacing: -0.035em;
}

.landing-page .screen-card {
  grid-column: span 4;
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.landing-page .screen-card:hover {
  transform: none;
  box-shadow: none;
}

.landing-page .screen-card:nth-child(2) {
  transition-delay: 80ms;
}

.landing-page .screen-card:nth-child(3) {
  transition-delay: 160ms;
}

.landing-page .screen-shot {
  width: min(100%, 260px);
  overflow: hidden;
  margin: 0 auto 22px;
  border: 5px solid #292a2d;
  border-radius: 34px;
  background: #000;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
  scroll-snap-align: center;
}

.landing-page .screen-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-page .screen-card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.035em;
}

.landing-page .screen-card p {
  max-width: 320px;
  margin: 0 auto;
  color: var(--muted-strong);
}

.landing-page .privacy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.landing-page .privacy-panel > div {
  max-width: 730px;
}

.landing-page .privacy-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.landing-page .privacy-panel p {
  color: var(--muted-strong);
}

.landing-page .faq-section {
  padding-top: 36px;
}

.landing-page .faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
}

.landing-page .faq-layout .section-heading {
  margin: 0;
  text-align: left;
}

.landing-page .faq-layout .section-heading p {
  margin-inline: 0;
}

.landing-page .faq {
  gap: 10px;
}

.landing-page .faq details {
  border-radius: 16px;
}

.landing-page .faq summary {
  list-style: none;
}

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

.landing-page .faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.landing-page .faq details[open] summary::after {
  content: "−";
}

.landing-page .closing-section {
  padding-top: 28px;
  padding-bottom: 72px;
}

.landing-page .beta-panel {
  border-radius: 26px;
  background: var(--surface);
}

.landing-page .beta-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.055em;
}

.landing-page .beta-panel small {
  color: var(--muted);
  font-weight: 500;
}

.landing-page .site-footer {
  margin-top: 0;
}

.landing-page .button:active,
.landing-page .store-badge-link:active {
  transform: scale(0.98);
  transition-duration: 100ms;
}

.landing-page a:focus-visible,
.landing-page summary:focus-visible,
.landing-page .feature-grid:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .landing-page .hero-layout {
    width: min(100% - 36px, 560px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .landing-page .landing-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .landing-page .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .landing-page .trust-strip > span {
    display: none;
  }

  .landing-page .hero-screenshot {
    width: min(100%, 300px);
  }

  .landing-page .faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .landing-page .privacy-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}

@media (max-width: 979px) {
  .landing-page .feature-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 4px 20px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .landing-page .feature-grid > .screen-card {
    flex: 0 0 min(84vw, 330px);
    grid-column: auto;
    scroll-snap-align: center;
  }
}

@media (min-width: 980px) {
  .landing-page .feature-grid {
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .button:active,
  .landing-page .store-badge-link:active {
    transform: none;
  }
}
