:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0d1017;
  --card: #121620;
  --card-2: #171c28;
  --line: rgba(242, 244, 248, .08);
  --text: #f2f4f8;
  --muted: rgba(242, 244, 248, .66);
  --faint: rgba(242, 244, 248, .42);
  --brand: #f5b641;
  --recovery: #34d399;
  --sleep: #5b8def;
  --exertion: #f5b641;
  --load: #2bb3a3;
  --swim: #38bdf8;
  --journal: #f87171;
  --cycle: #e879f9;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; letter-spacing: -.022em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Background glow */
.glow { position: absolute; inset: 0 0 auto 0; height: 1100px; pointer-events: none; z-index: -1; overflow: hidden; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.glow::before { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(52, 211, 153, .35), transparent 70%); }
.glow::after { width: 700px; height: 700px; right: -220px; top: -120px; background: radial-gradient(circle, rgba(245, 182, 65, .32), transparent 70%); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); background: rgba(7, 9, 13, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .lang { position: relative; }
.nav .lang summary { list-style: none; cursor: pointer; color: var(--text); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; user-select: none; }
.nav .lang summary::-webkit-details-marker { display: none; }
.nav .lang summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid var(--faint); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nav .lang[open] summary { background: rgba(242, 244, 248, .06); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 190px; padding: 6px; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.nav .lang-menu a { padding: 8px 12px; border-radius: 9px; white-space: nowrap; }
.nav .lang-menu a:hover, .nav .lang-menu a[aria-current] { background: rgba(242, 244, 248, .06); color: var(--text); }
@media (max-width: 760px) { .nav .sec { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); background: rgba(242, 244, 248, .06); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--recovery); box-shadow: 0 0 12px var(--recovery); }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; margin: 20px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #ffd27a, var(--brand) 45%, var(--recovery)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: #0b0d12; font-weight: 650; padding: 13px 22px; border-radius: 14px; }
.store:hover { text-decoration: none; }
.store svg { width: 20px; height: 20px; }
.store.soon { background: rgba(242, 244, 248, .1); color: var(--text); border: 1px solid var(--line); }
.ghost { color: var(--text); padding: 13px 18px; border-radius: 14px; border: 1px solid var(--line); }
.ghost:hover { background: rgba(242, 244, 248, .05); text-decoration: none; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--faint); font-size: 14px; list-style: none; padding: 0; }
.facts li::before { content: "✓"; color: var(--recovery); margin-right: 6px; }

.phones { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; width: 100%; margin: 0 auto; }
.phone { position: absolute; width: 46%; border-radius: 13% / 6%; padding: 2.2%; background: linear-gradient(160deg, #343b4d, #141822 55%); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { border-radius: 11.5% / 5.3%; width: 100%; }
.phones .p1 { left: 27%; top: 0; z-index: 3; }
.phones .p2 { left: 0; top: 11%; transform: rotate(-7deg); z-index: 2; opacity: .92; }
.phones .p3 { right: 0; top: 11%; transform: rotate(7deg); z-index: 1; opacity: .92; }
@media (max-width: 880px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin: 0 auto; }
  .cta, .facts { justify-content: center; }
  .phones { max-width: 440px; }
}

/* Sections */
section { padding: 72px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.head h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; margin: 10px 0 14px; font-weight: 750; }
.head p { color: var(--muted); font-size: 18px; }

/* Score cards */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.score { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.ring { --c: var(--recovery); --v: 66; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(242, 244, 248, .08) 0); display: grid; place-items: center; margin-bottom: 18px; }
.ring::after { content: attr(data-v); width: 50px; height: 50px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.score h3 { font-size: 22px; margin-bottom: 8px; }
.score p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .scores { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 18px; }
.steps li::before { content: "0" counter(s); display: block; font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 8px; letter-spacing: .08em; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature:nth-child(even) .shot { order: -1; }
.feature .chip { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c, var(--brand)); margin-bottom: 12px; }
.feature h3 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin-bottom: 16px; font-weight: 750; }
.feature p { color: var(--muted); font-size: 18px; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 16px; }
.feature li { padding: 6px 0 6px 22px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); }
.shot { position: relative; display: flex; justify-content: center; }
.shot::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--brand)) 30%, transparent), transparent 70%); filter: blur(30px); top: 15%; }
.shot .phone { position: relative; width: min(300px, 72vw); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .feature:nth-child(even) .shot { order: 0; }
}

/* Watch */
.watch-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.watch { border-radius: 30%/25%; padding: 9px; background: linear-gradient(160deg, #3a4153, #161a24); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.watch img { border-radius: 27%/22%; width: 100%; }
.watch-row figcaption { text-align: center; color: var(--faint); font-size: 14px; margin-top: 12px; }
.watch-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.watch-points div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.watch-points h3 { font-size: 17px; margin-bottom: 6px; }
.watch-points p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .watch-row { grid-template-columns: repeat(2, 1fr); } .watch-points { grid-template-columns: 1fr; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 22px; top: 0; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c, var(--brand)); }
.tile.wide { grid-column: span 2; }
.tile h3 { font-size: 17px; margin: 6px 0 6px; }
.tile p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } }

/* Privacy */
.privacy { text-align: center; background: radial-gradient(ellipse at 50% 0, rgba(52, 211, 153, .12), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); }
.shield { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: rgba(52, 211, 153, .12); color: var(--recovery); }
.shield svg { width: 30px; height: 30px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; list-style: none; padding: 0; }
.pills li { border: 1px solid var(--line); background: rgba(242, 244, 248, .04); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* Final CTA */
.final { text-align: center; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.final h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 12px; }
.final p { color: var(--muted); font-size: 18px; }
.final .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Reveal on scroll, only when JS runs and motion is fine */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Long compound words (German especially) must wrap on phones; en and uk are untouched. */
:lang(de), :lang(es), :lang(fr), :lang(pt) { overflow-wrap: break-word; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) .kicker, :lang(de) .chip,
:lang(es) h1, :lang(es) h2, :lang(es) h3,
:lang(fr) h1, :lang(fr) h2, :lang(fr) h3,
:lang(pt) h1, :lang(pt) h2, :lang(pt) h3 { -webkit-hyphens: auto; hyphens: auto; }
:lang(ja) { line-break: strict; overflow-wrap: anywhere; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0; word-break: auto-phrase; }
