/* Remyva website (ADR-051). Neon brand theme (packages/tokens/src/themes.ts), self-hosted fonts, no
   script, no inline style: every visual is a class here, so the edge CSP stays `style-src 'self'`. */
@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url(/assets/fonts/montserrat-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url(/assets/fonts/montserrat-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Remyva Logo";
  src: url(/assets/fonts/montserrat-800i.woff2) format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: block;
}

:root {
  color-scheme: light dark;
  --ink: #0b1110;
  --ink-2: #4a5651;
  --bg: #f3f7f1;
  --surface: #ffffff;
  --soft: #eefbd9;
  --sunken: #eef2ec;
  --line: #dfe6dc;
  --line-2: #c5d0c1;
  --strong: #2e6b0c;
  --vivid: #0f8f66;
  --lime: #b3f62a;
  --mint: #16e0a0;
  --on-lime: #0b1110;
  --hero: #07110f;
  --hero-2: #0a231c;
  --hero-3: #0f3b2c;
  --on-hero: #ffffff;
  --on-hero-2: #b9c9c2;
  --hero-line: rgba(255, 255, 255, 0.12);
  --warn: #b45309;
  --warn-soft: #fff5e5;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(7, 17, 15, 0.06), 0 8px 24px rgba(7, 17, 15, 0.08);
  --shadow-l: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: Manrope, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: Montserrat, Manrope, "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f7f3;
    --ink-2: #a8b8b1;
    --bg: #050a09;
    --surface: #0d1715;
    --soft: #13240f;
    --sunken: #0a1311;
    --line: #1b2a26;
    --line-2: #2a3d37;
    --strong: #b3f62a;
    --vivid: #2ee6b6;
    --warn: #f59e0b;
    --warn-soft: #2a1e0b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px / 1.6 var(--font);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
}
h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}
h3 {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--lime);
  color: var(--on-lime);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-s {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font: 700 1rem / 1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary {
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 10px 30px rgba(179, 246, 42, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(179, 246, 42, 0.4);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--on-hero);
}
.btn-ghost:hover {
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline {
  border-color: var(--line-2);
  color: var(--ink);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--strong);
}
.btn-l {
  min-height: 60px;
  padding: 16px 30px;
  font-size: 1.08rem;
}
.btn small {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  opacity: 0.8;
}
.btn-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 15, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hero-line);
  color: var(--on-hero);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-hero);
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 44px;
  height: 32px;
}
.wordmark {
  font:
    italic 800 1.62rem / 1 "Remyva Logo",
    Montserrat,
    var(--font);
  letter-spacing: -0.04em;
}
.wordmark b {
  font-weight: 800;
  background: linear-gradient(45deg, var(--mint), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  color: var(--on-hero-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 12px;
  border-radius: 10px;
  transition:
    color 0.15s,
    background-color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--on-hero);
  background: rgba(255, 255, 255, 0.07);
}
.nav .btn {
  min-height: 44px;
  padding: 10px 18px;
  margin-left: 8px;
  color: var(--on-lime);
}
.nav .btn:hover,
.nav .btn[aria-current="page"],
.menu-panel .btn[aria-current="page"],
.menu-panel a.btn:hover {
  background: var(--lime);
  color: var(--on-lime);
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--on-hero);
  border: 1px solid var(--hero-line);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .x {
  display: none;
}
.menu[open] .x {
  display: block;
}
.menu[open] .bars {
  display: none;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 58px;
  width: min(86vw, 320px);
  background: var(--hero);
  border: 1px solid var(--hero-line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-l);
  display: grid;
  gap: 2px;
}
.menu-panel a {
  color: var(--on-hero);
  text-decoration: none;
  padding: 14px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.menu-panel a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.menu-panel .btn {
  margin-top: 6px;
  color: var(--on-lime);
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  color: var(--on-hero);
  background: var(--hero) url(/assets/img/hero.webp) center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(22, 224, 160, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(7, 17, 15, 0.35), rgba(7, 17, 15, 0.1) 50%, rgba(7, 17, 15, 0.6));
}
.hero .wrap > * {
  min-width: 0;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(179, 246, 42, 0.12);
  border: 1px solid rgba(179, 246, 42, 0.35);
  color: var(--lime);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(179, 246, 42, 0.2);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--mint), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.26rem);
  color: var(--on-hero-2);
  max-width: 36em;
  margin-bottom: 30px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--on-hero-2);
  font-size: 0.92rem;
}
.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.meta-row .icon {
  color: var(--lime);
}
.reveal {
  animation: rise 0.7s var(--ease) both;
}
.reveal-2 {
  animation-delay: 0.08s;
}
.reveal-3 {
  animation-delay: 0.16s;
}
.reveal-4 {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

/* devices */
.devices {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 560px;
}
.phone {
  position: relative;
  margin-right: 170px;
  width: min(300px, 72vw);
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  background: #020403;
  padding: 11px;
  box-shadow:
    var(--shadow-l),
    inset 0 0 0 1.5px #2a3d37;
  transform: rotate(-3deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 12px;
  background: #020403;
  z-index: 2;
}
.screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #050a09;
  color: #f1f7f3;
  padding: 46px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  line-height: 1.35;
}
.scr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scr-top b {
  font: 800 19px / 1 var(--display);
}
.scr-top span {
  color: #a8b8b1;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--lime));
}
.ring-card {
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(150deg, #0b1a16, #0f3b2c);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #1b2a26;
}
.ring {
  --p: 66%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--lime) 0 var(--p), #1b2a26 0);
}
.ring::after {
  content: "";
  grid-area: 1 / 1;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #0b1a16;
}
.ring span {
  grid-area: 1 / 1;
  z-index: 1;
  text-align: center;
  font: 800 18px / 1.05 var(--display);
}
.ring small {
  display: block;
  font: 600 10px / 1.2 var(--font);
  color: #b9c9c2;
}
.macros {
  display: grid;
  gap: 8px;
  flex: 1;
}
.macro {
  display: grid;
  gap: 4px;
}
.macro div {
  display: flex;
  justify-content: space-between;
  color: #b9c9c2;
  font-size: 11px;
}
.bar {
  height: 6px;
  border-radius: 9px;
  background: #1b2a26;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 9px;
}
.b-62 {
  width: 62%;
}
.b-48 {
  width: 48%;
}
.b-71 {
  width: 71%;
}
.b-80 {
  width: 80%;
}
.b-55 {
  width: 55%;
}
.b-35 {
  width: 35%;
}
.c-1 {
  background: #5eead4;
}
.c-2 {
  background: #4ade80;
}
.c-3 {
  background: #d9f99d;
}
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tile {
  border-radius: 18px;
  background: #0d1715;
  border: 1px solid #1b2a26;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.tile .icon {
  width: 18px;
  height: 18px;
  color: var(--lime);
}
.tile b {
  font: 800 16px / 1.1 var(--display);
}
.tile span {
  color: #a8b8b1;
  font-size: 11px;
}
.meal {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: #0d1715;
  border: 1px solid #1b2a26;
  padding: 8px;
}
.meal img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.meal div {
  flex: 1;
  display: grid;
}
.meal span {
  color: #a8b8b1;
  font-size: 11px;
}
.meal em {
  font-style: normal;
  font-weight: 700;
  color: var(--lime);
}
.tabbar {
  margin-top: auto;
  margin-inline: -16px;
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 18px;
  background: #070e0d;
  border-top: 1px solid #1b2a26;
  color: #a8b8b1;
  font-size: 10px;
  font-weight: 600;
}
.tabbar span {
  display: grid;
  justify-items: center;
  gap: 3px;
}
.tabbar .icon {
  width: 18px;
  height: 18px;
}
.tabbar .on {
  color: #0b1110;
  background: var(--lime);
  border-radius: 12px;
  padding: 4px 10px;
}
.watch {
  position: absolute;
  right: max(0px, calc(50% - 290px));
  bottom: 36px;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background: #020403;
  padding: 9px;
  box-shadow:
    var(--shadow-l),
    inset 0 0 0 1.5px #2a3d37;
  transform: rotate(4deg);
}
.watch::before,
.watch::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 84px;
  margin-left: -42px;
  height: 40px;
  background: #111a18;
  z-index: -1;
  border-radius: 14px;
}
.watch::before {
  top: -26px;
}
.watch::after {
  bottom: -26px;
}
.watch-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #0f3b2c, #050a09 70%);
  display: grid;
  place-items: center;
  text-align: center;
  color: #f1f7f3;
  position: relative;
}
.watch-face::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 0 72%, #1b2a26 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}
.watch-face small {
  display: block;
  color: #b9c9c2;
  font-size: 10px;
  font-weight: 600;
}
.watch-face b {
  display: block;
  font: 800 24px / 1.05 var(--display);
}
.watch-face i {
  display: block;
  font-style: normal;
  color: var(--lime);
  font-weight: 700;
  font-size: 11px;
  margin-top: 2px;
}

/* ------------------------------------------------------------------ strips & sections */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.98rem;
}
.trust .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--strong);
  flex: none;
}
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--strong);
  margin-bottom: 12px;
}
.section-head {
  max-width: 740px;
  margin-bottom: 48px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 1.1rem;
}
.center {
  text-align: center;
  margin-inline: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.section-alt .card {
  background: var(--bg);
}
.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--hero);
  color: var(--lime);
  margin-bottom: 18px;
}
.card p {
  color: var(--ink-2);
  margin-bottom: 12px;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.ticks .icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--strong);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split + .split {
  margin-top: clamp(64px, 9vw, 112px);
}
.split.flip > :first-child {
  order: 2;
}
.split h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.split .lead2 {
  color: var(--ink-2);
  font-size: 1.08rem;
}
.figure {
  position: relative;
  border-radius: 28px;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(150deg, var(--hero), var(--hero-3));
  box-shadow: var(--shadow);
  color: #f1f7f3;
  overflow: hidden;
}
.figure figcaption {
  margin-top: 14px;
  color: #b9c9c2;
  font-size: 0.8rem;
}
.recipes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rcard {
  border-radius: 18px;
  background: #0d1715;
  border: 1px solid #1b2a26;
  overflow: hidden;
}
.rcard img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.rcard div {
  padding: 10px 12px 12px;
  display: grid;
  gap: 3px;
}
.rcard b {
  font-size: 0.92rem;
  line-height: 1.25;
}
.rcard span {
  color: #a8b8b1;
  font-size: 0.78rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #0d1715;
  border: 1px solid #2a3d37;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d7e3dd;
}
.chip.on {
  background: var(--lime);
  border-color: var(--lime);
  color: #0b1110;
}
.basket {
  display: grid;
  gap: 10px;
}
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #0d1715;
  border: 1px solid #1b2a26;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: #a8b8b1;
}
.seg span {
  padding: 8px 4px;
  border-radius: 10px;
}
.seg .on {
  background: var(--lime);
  color: #0b1110;
}
.shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #0d1715;
  border: 1px solid #1b2a26;
}
.shop.best {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime) inset;
}
.mono {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 0.9rem / 1 var(--display);
  background: #1b2a26;
  color: #f1f7f3;
  flex: none;
}
.shop.best .mono {
  background: var(--lime);
  color: #0b1110;
}
.shop div {
  flex: 1;
  display: grid;
}
.shop span {
  color: #a8b8b1;
  font-size: 0.78rem;
}
.price {
  font: 800 1.1rem / 1 var(--display);
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(179, 246, 42, 0.16);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
  margin-left: 6px;
  vertical-align: middle;
}
.note {
  color: #b9c9c2;
  font-size: 0.78rem;
}
.sets {
  display: grid;
  gap: 8px;
}
.set {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #0d1715;
  border: 1px solid #1b2a26;
  font-size: 0.9rem;
}
.set .n {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1b2a26;
  font-weight: 800;
  font-size: 0.8rem;
}
.set.done .n {
  background: var(--lime);
  color: #0b1110;
}
.set span {
  color: #a8b8b1;
  font-size: 0.78rem;
}
.pr {
  color: var(--lime);
  font-weight: 800;
  font-size: 0.78rem;
}
.workout-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.workout-head b {
  font: 800 1.2rem / 1.1 var(--display);
}
.workout-head span {
  color: #b9c9c2;
  font-size: 0.82rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.principle {
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.principle .big {
  font: 800 1.9rem / 1 var(--display);
  color: var(--strong);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.principle p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}

.privacy {
  background: linear-gradient(150deg, var(--hero), var(--hero-2) 60%, var(--hero-3));
  color: var(--on-hero);
}
.privacy .kicker {
  color: var(--lime);
}
.privacy .section-head p {
  color: var(--on-hero-2);
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pitem {
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hero-line);
}
.pitem .icon {
  color: var(--lime);
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
}
.pitem h3 {
  color: var(--on-hero);
}
.pitem p {
  color: var(--on-hero-2);
  margin: 0;
  font-size: 0.95rem;
}
.privacy a {
  color: var(--lime);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  font: 800 1.1rem / 1 var(--display);
  margin-bottom: 16px;
}
.steps p {
  color: var(--ink-2);
  margin: 0;
  font-size: 0.95rem;
}

.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
  transition: border-color 0.2s;
}
.faq details[open] {
  border-color: var(--line-2);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.04rem;
  min-height: 56px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  transition: transform 0.2s var(--ease);
  color: var(--strong);
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq details > div {
  padding-bottom: 20px;
  color: var(--ink-2);
}
.faq details p:last-child {
  margin: 0;
}

.cta-band {
  background: var(--hero) url(/assets/img/hero.webp) center / cover;
  color: var(--on-hero);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.cta-band p {
  color: var(--on-hero-2);
  margin: 0;
  font-size: 1.08rem;
}
.cta-band h2 {
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--hero);
  color: var(--on-hero-2);
  font-size: 0.95rem;
  margin-top: clamp(64px, 9vw, 112px);
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-block: 64px 40px;
}
.site-footer h2 {
  font: 800 0.82rem / 1.2 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-hero);
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.site-footer a {
  color: var(--on-hero-2);
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
}
.site-footer a:hover {
  color: var(--lime);
  text-decoration: underline;
}
.site-footer .brand {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--on-hero);
}
.site-footer .brand:hover {
  text-decoration: none;
}
.site-footer .fine {
  border-top: 1px solid var(--hero-line);
  padding-block: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.site-footer address {
  font-style: normal;
}

/* ------------------------------------------------------------------ inner pages */
.page-hero {
  background: linear-gradient(150deg, var(--hero), var(--hero-2) 60%, var(--hero-3));
  color: var(--on-hero);
}
.page-hero .wrap {
  padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 64px);
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--on-hero-2);
  font-size: 1.1rem;
  max-width: 44em;
  margin: 0;
}
.crumbs {
  font-size: 0.88rem;
  margin-bottom: 18px;
  color: var(--on-hero-2);
}
.crumbs a {
  color: var(--on-hero-2);
}
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-block: 48px 0;
}
.toc {
  position: sticky;
  top: 96px;
  font-size: 0.92rem;
}
.toc h2 {
  font: 800 0.78rem / 1.2 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.toc a {
  display: block;
  padding: 7px 14px;
  color: var(--ink-2);
  text-decoration: none;
  margin-left: -2px;
  border-left: 2px solid transparent;
}
.toc a:hover {
  color: var(--ink);
  border-left-color: var(--strong);
}
.toc-m {
  display: none;
}
.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  min-width: 0;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
  padding-top: 0.2em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.prose li {
  margin: 0.35em 0;
}
.prose li::marker {
  color: var(--strong);
}
.prose code {
  font:
    600 0.9em / 1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  background: var(--sunken);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 6px;
}
.prose .table {
  overflow-x: auto;
  margin: 0 0 1.4em;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 0.94rem;
}
.prose td a {
  overflow-wrap: anywhere;
}
.prose th,
.prose td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th {
  background: var(--sunken);
  font-weight: 700;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose thead:has(th:empty) {
  display: none;
}
.prose td:first-child {
  font-weight: 600;
}
.prose .meta {
  color: var(--ink-2);
  font-size: 0.95rem;
}
@media (max-width: 1000px) {
  .doc {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
  }
  .toc {
    position: static;
  }
  .toc-d {
    display: none;
  }
  .toc-m {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 4px 16px;
  }
  .toc-m summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }
  .toc-m summary::-webkit-details-marker {
    display: none;
  }
  .toc-m[open] summary .icon {
    transform: rotate(180deg);
  }
  .toc-m ol {
    margin-bottom: 12px;
  }
}

/* download page */
.dl {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.dl-card h2 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dl-card h2 .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--hero);
  color: var(--lime);
}
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 22px 0 0;
  font-size: 0.95rem;
}
.facts dt {
  color: var(--ink-2);
}
.facts dd {
  margin: 0;
  font-weight: 700;
  min-width: 0;
}
.hash {
  font:
    600 0.78rem / 1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  word-break: break-all;
  font-weight: 500;
}
.install {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.install li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}
.install li::before {
  content: counter(s);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--strong);
  font-weight: 800;
}
.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  font-size: 0.95rem;
  margin-top: 20px;
}
.callout .icon {
  color: var(--warn);
  margin-top: 2px;
}
.callout p {
  margin: 0;
}
.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.adv {
  margin-top: 18px;
}
.adv summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.adv ol {
  padding-left: 1.3em;
  color: var(--ink-2);
}
.adv code {
  font:
    600 0.86em / 1 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  background: var(--sunken);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}
.section-gap {
  margin-top: 24px;
}
.center-row {
  justify-content: center;
}
.meta {
  color: var(--ink-2);
}
.nf {
  text-align: center;
  padding-block: clamp(72px, 12vw, 140px);
}
.nf .big {
  font: 800 clamp(4rem, 14vw, 8rem) / 1 var(--display);
  background: linear-gradient(90deg, var(--mint), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .hero .wrap,
  .split,
  .dl,
  .cta-band {
    grid-template-columns: 1fr;
  }
  .split.flip > :first-child {
    order: 0;
  }
  .devices {
    min-height: 520px;
    margin-top: 8px;
  }
  .pgrid,
  .steps {
    grid-template-columns: 1fr;
  }
  .phone {
    margin-right: 150px;
  }
  .watch {
    right: max(0px, calc(50% - 250px));
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .features,
  .principles,
  .trust ul,
  .site-footer .grid {
    grid-template-columns: 1fr;
  }
  .recipes {
    grid-template-columns: 1fr 1fr;
  }
  .recipes .rcard:nth-child(3) {
    display: none;
  }
  .phone {
    margin-right: 0;
    width: min(300px, 80vw);
  }
  .devices {
    min-height: 0;
  }
  .watch {
    display: none;
  }
  .watch-face b {
    font-size: 19px;
  }
  .cta-row .btn {
    width: 100%;
  }
  .site-header .wrap {
    min-height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .toc,
  .skip {
    display: none;
  }
  .prose {
    border: 0;
    padding: 0;
  }
  body {
    background: #fff;
    color: #000;
  }
}
