/* JLift web — estilo "Cristal", el mismo de la app (AppTheme.swift + Glass.swift):
   fondo azul tinta / menta con brillos lima y turquesa, tarjetas de cristal translúcido,
   degradado lima → turquesa y radios generosos (tarjetas 24px, controles 16px, botones cápsula). */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Fondo */
  --paper: #F2F4F6;
  --paper-2: #F2F4F6;
  /* Cristal */
  --surface: #FFFFFF;
  --surface-solid: #FFFFFF;
  --subtle: #F6F8F9;
  --hi: rgba(255, 255, 255, 0.95);
  --line: rgba(15, 26, 23, 0.08);
  /* Texto */
  --ink: #0F1A17;
  --ink-2: #3E4C48;
  --ink-3: #5D6B67;
  /* Marca */
  --lime: #14B8A0;
  --teal: #14B8A0;
  --accent-text: #0A7F6F;
  --on-accent: #03211C;
  --grad: var(--lime);
  --glow-a: transparent;
  --glow-b: transparent;
  /* Alias usados por el HTML/JS */
  --green: var(--lime);
  --green-text: var(--accent-text);
  --on-green: var(--on-accent);
  --green-wash: rgba(20, 184, 160, 0.14);
  --amber: #B8720E;
  --amber-wash: rgba(214, 138, 30, 0.15);
  --red: #C23B52;
  --red-wash: rgba(224, 60, 100, 0.13);
  /* Grupos musculares (MuscleGroupPalette) */
  --g-pecho: #E03C64; --g-espalda: #286EE6; --g-piernas: #D6820A; --g-hombros: #7C50E6;
  --g-biceps: #0A96BE; --g-triceps: #E26028; --g-core: #14A064;
  --shadow: 0 1px 2px rgba(20, 30, 40, 0.05), 0 14px 32px -18px rgba(20, 30, 40, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1015; --paper-2: #0B1015;
    --surface: rgba(255, 255, 255, 0.075); --surface-solid: #141B22; --subtle: rgba(255, 255, 255, 0.05);
    --hi: rgba(255, 255, 255, 0.2); --line: rgba(255, 255, 255, 0.10);
    --ink: #F2F6F8; --ink-2: #B6C2C6; --ink-3: #8B9894;
    --lime: #35E0C1; --teal: #35E0C1; --accent-text: #5CEBD0;
    --glow-a: transparent; --glow-b: transparent;
    --green-wash: rgba(53,224,193, 0.14);
    --amber: #FFB848; --amber-wash: rgba(255, 184, 72, 0.14);
    --red: #FF6688; --red-wash: rgba(255, 102, 136, 0.14);
    --g-pecho: #FF6688; --g-espalda: #5CA4FF; --g-piernas: #FFB848; --g-hombros: #AA82FF;
    --g-biceps: #48D6F5; --g-triceps: #FF8E58; --g-core: #62E6A4;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 44px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1015; --paper-2: #0B1015;
  --surface: rgba(255, 255, 255, 0.075); --surface-solid: #141B22; --subtle: rgba(255, 255, 255, 0.05);
  --hi: rgba(255, 255, 255, 0.2); --line: rgba(255, 255, 255, 0.10);
  --ink: #F2F6F8; --ink-2: #B6C2C6; --ink-3: #8B9894;
  --lime: #35E0C1; --teal: #35E0C1; --accent-text: #5CEBD0;
  --glow-a: transparent; --glow-b: transparent;
  --green-wash: rgba(53,224,193, 0.14);
  --amber: #FFB848; --amber-wash: rgba(255, 184, 72, 0.14);
  --red: #FF6688; --red-wash: rgba(255, 102, 136, 0.14);
  --g-pecho: #FF6688; --g-espalda: #5CA4FF; --g-piernas: #FFB848; --g-hombros: #AA82FF;
  --g-biceps: #48D6F5; --g-triceps: #FF8E58; --g-core: #62E6A4;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 44px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Archivo", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Fondo liso, fijo detrás de todo (como GlassBackdrop) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 100% 0%, var(--glow-a), transparent 60%),
    radial-gradient(55vmax 55vmax at 0% 45%, var(--glow-b), transparent 60%),
    radial-gradient(50vmax 50vmax at 90% 100%, color-mix(in srgb, var(--glow-a) 45%, transparent), transparent 60%),
    linear-gradient(var(--paper), var(--paper-2));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--lime); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 12px; z-index: 30; }
.skip:focus { top: 12px; }

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

/* Superficie de cristal reutilizable */
.glass, .cell, .demo, .faq details, .facts li, .mini-list div, .wheel, .groups li {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--hi);
}

/* Tipografía */
.display, h1, h2 {
  font-stretch: 100%;
  font-weight: 760;
  letter-spacing: -0.038em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.35rem); }
h3 { font-size: 1.1875rem; font-weight: 680; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 6px; }
p { margin: 0; }
.lede { font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3rem); color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.muted { color: var(--ink-3); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Navegación: cápsula de cristal flotante, como la barra de pestañas de la app */
.nav { position: sticky; top: 0; z-index: 20; padding-top: 12px; }
.nav .wrap {
  display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 10px 0 16px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.nav.scrolled .wrap {
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 740; letter-spacing: -0.03em; font-size: 1.15rem; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--ink-2); font-size: 0.975rem; padding: 8px 14px; border-radius: 999px; transition: background-color 160ms ease, color 160ms ease; }
.nav ul a:hover { color: var(--ink); background: var(--subtle); }
.btn-small {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  background: var(--grad); color: var(--on-accent); border-radius: 999px; text-decoration: none;
  font-weight: 680; font-size: 0.95rem; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 8px 22px -8px color-mix(in srgb, var(--lime) 70%, transparent);
  transition: transform 160ms var(--ease-out), box-shadow 160ms ease;
}
.btn-small:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 10px 28px -8px color-mix(in srgb, var(--lime) 90%, transparent); }
.btn-small:active { transform: scale(0.97); }
@media (max-width: 860px) { .nav ul { display: none; } .nav .btn-small { margin-left: auto; } }

/* Botón App Store: sustituir por el badge oficial de Apple (ver README) */
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px;
  background: #000; color: #FFFFFF; border-radius: 14px; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 14px 30px -14px rgba(0,0,0,0.55);
  transition: transform 160ms var(--ease-out);
}
.store:active { transform: scale(0.97); }
.store .icon { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: 0.72rem; opacity: 0.86; font-weight: 450; }
.store strong { font-size: 1.35rem; font-weight: 620; letter-spacing: -0.01em; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--accent-text);
  text-decoration: none; padding: 8px 2px;
}
.link-arrow::after { content: "→"; transition: transform 160ms var(--ease-out); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 6px; }
.eyebrow {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi);
}
.eyebrow b { background: var(--grad); color: var(--on-accent); border-radius: 999px; padding: 2px 9px; font-size: 0.78rem; }
.req { font-size: 0.9rem; color: var(--ink-3); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; }
}

/* Teléfono: recreación de la pantalla de Inicio de la app */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% -10% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--lime) 40%, transparent), transparent);
  filter: blur(10px); opacity: 0.8;
}
.phone {
  width: min(340px, 86vw);
  aspect-ratio: 9 / 19;
  border-radius: 50px;
  padding: 11px;
  background: #05070A;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 50px 90px -34px rgba(10, 40, 34, 0.55), 0 14px 28px -14px rgba(0,0,0,0.4);
  position: relative;
}
.screen {
  --paper: #0B1015; --surface: rgba(255,255,255,0.075); --subtle: rgba(255,255,255,0.05); --hi: rgba(255,255,255,0.2);
  --line: rgba(255,255,255,0.10); --ink: #F2F6F8; --ink-2: #B6C2C6; --ink-3: #8B9894;
  --lime: #35E0C1; --teal: #35E0C1; --accent-text: #5CEBD0;
  --grad: #35E0C1;
  height: 100%; border-radius: 40px; overflow: hidden; position: relative;
  color: var(--ink);
  background:
    #0B1015;
  display: flex; flex-direction: column;
  font-size: 13px; line-height: 1.3;
}
.island { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 96px; height: 28px; background: #000; border-radius: 20px; z-index: 2; }
.statusbar { display: flex; justify-content: space-between; padding: 14px 28px 0; font-weight: 650; font-size: 13px; height: 42px; }
.app-greet { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 12px; }
.app-greet small { display: block; color: var(--ink-3); font-size: 11.5px; }
.app-greet b { display: block; font-size: 25px; font-weight: 740; letter-spacing: -0.04em; line-height: 1.05; }
.app-date { font-size: 10.5px; font-weight: 650; color: var(--ink-2); padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.g-card { margin: 0 12px 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); border-radius: 20px; }
.goal { display: flex; align-items: center; gap: 14px; padding: 13px; }
.ring { position: relative; width: 74px; height: 74px; flex: none; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.ring .track { fill: none; stroke: rgba(255,255,255,0.10); stroke-width: 8; }
.ring .bar { fill: none; stroke: url(#ringGrad); stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(53,224,193,0.6)); transition: stroke-dashoffset 900ms var(--ease-out); }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .c b { font-size: 17px; font-weight: 740; letter-spacing: -0.03em; line-height: 1; }
.ring .c small { font-size: 8.5px; color: var(--ink-3); }
.streak b { display: flex; align-items: baseline; gap: 5px; font-size: 26px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.streak b span { font-size: 13px; color: var(--ink-2); font-weight: 600; letter-spacing: 0; }
.streak .flame { width: 18px; height: 18px; align-self: center; fill: url(#flameGrad); filter: drop-shadow(0 0 4px rgba(255,142,88,0.55)); }
.streak small { display: block; color: var(--ink-3); font-size: 10.5px; margin-top: 3px; }
.streak em { display: block; font-style: normal; color: var(--accent-text); font-size: 10.5px; font-weight: 650; margin-top: 6px; }
.week { display: flex; justify-content: space-between; padding: 10px 12px; }
.week div { display: grid; justify-items: center; gap: 5px; font-size: 9.5px; color: var(--ink-3); }
.week i {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: 10px; font-weight: 650; border: 1.5px solid rgba(255,255,255,0.12); color: var(--ink-3);
  transition: background 400ms var(--ease-out), border-color 400ms ease, box-shadow 400ms ease;
}
.week .done i { background: var(--grad); border-color: transparent; color: var(--on-accent); box-shadow: 0 0 8px rgba(53,224,193,0.5); }
.week .done i::before { content: "✓"; font-size: 12px; font-weight: 800; }
.week .done i span { display: none; }
.week .today i { border-color: var(--lime); border-width: 2px; color: var(--ink); }
.week .today { color: var(--accent-text); font-weight: 700; }
.app-cta { margin: 4px 12px 14px; height: 44px; border-radius: 999px; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font-weight: 720; font-size: 13.5px; box-shadow: 0 10px 22px -8px rgba(53,224,193,0.6); }
.app-sec { padding: 0 16px 8px; font-size: 16px; font-weight: 740; letter-spacing: -0.02em; }
.routines { display: flex; gap: 8px; padding: 0 12px; }
.routine { flex: 1; padding: 11px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); display: grid; gap: 22px; }
.routine b { font-size: 13.5px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.routine small { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tile { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.tile .icon { width: 16px; height: 16px; }
.tabbar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; height: 50px; border-radius: 999px;
  background: rgba(20, 28, 34, 0.72); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 24px -10px rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; align-items: center; gap: 2px; padding: 0 7px;
}
.tabbar span { width: 38px; height: 36px; display: grid; place-items: center; color: var(--ink-3); flex: none; }
.tabbar span .icon { width: 17px; height: 17px; }
.tabbar .on { flex: 1; width: auto; border-radius: 999px; background: var(--grad); color: var(--on-accent); display: flex; gap: 6px; justify-content: center; font-weight: 720; font-size: 11.5px; box-shadow: 0 0 12px rgba(53,224,193,0.45); }

/* Secciones */
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }

/* Demo de progresión */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 28px; box-shadow: inset 0 1px 0 var(--hi), var(--shadow); overflow: hidden; }
.demo-in { padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; align-content: start; }
.demo-out { padding: clamp(22px, 3vw, 36px); background: var(--subtle); display: grid; gap: 18px; align-content: start; border-left: 1px solid var(--line); }
.field-label { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; display: block; }
.select-wrap { position: relative; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-3); }
select, input[type="number"] {
  font: inherit; color: var(--ink); background: var(--subtle); border: 1px solid var(--line);
  border-radius: 16px; height: 46px; padding: 0 14px; width: 100%;
  font-variant-numeric: tabular-nums;
}
select { appearance: none; padding-right: 38px; font-weight: 600; }
select option { background: var(--surface-solid); color: var(--ink); }
input[type="number"] { text-align: right; font-weight: 650; -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
select:focus-visible, input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.log { display: grid; gap: 8px; }
.log-row { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr; gap: 10px; align-items: center; }
.log-row.head { font-size: 0.85rem; color: var(--ink-3); font-weight: 600; }
.log-row.head span:not(:first-child) { text-align: right; padding-right: 15px; }
.log-row label { font-size: 0.95rem; color: var(--ink-2); }
.log-help { font-size: 0.875rem; color: var(--ink-3); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button {
  font: inherit; font-size: 0.9rem; font-weight: 650; color: var(--ink-2); background: var(--subtle);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.presets button:hover { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.presets button:active { transform: scale(0.97); }
.verdict { display: grid; gap: 14px; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
.verdict.swap { opacity: 0; transform: translateY(4px); }
.verdict-title { display: flex; align-items: center; gap: 12px; font-weight: 740; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.05; }
.verdict p { color: var(--ink-2); max-width: 52ch; }
.next { display: flex; align-items: baseline; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 4px; flex-wrap: wrap; }
.next small { font-size: 0.95rem; color: var(--ink-2); }
.next b {
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); font-weight: 780; letter-spacing: -0.045em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trend-chart { width: 100%; height: 86px; overflow: visible; }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .demo-out { border-left: 0; border-top: 1px solid var(--line); }
}

/* Funciones (bento) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cell { border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 8px; min-height: 250px; overflow: hidden; position: relative; }
.cell p { color: var(--ink-2); font-size: 0.98rem; max-width: 44ch; }
.cell .vis { margin-top: auto; padding-top: 18px; }
.c-rest {
  grid-column: span 3; color: #F2F6F8; border-color: rgba(255,255,255,0.10);
  background:
    #0B1015;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), var(--shadow);
}
.c-rest p { color: #B6C2C6; }
.c-stats { grid-column: span 3; }
.c-rout, .c-cal, .c-body { grid-column: span 2; }
.c-goal { grid-column: span 4; }
.c-prefs { grid-column: span 2; }
@media (max-width: 960px) {
  .c-rest, .c-stats { grid-column: span 6; }
  .c-rout, .c-cal, .c-body { grid-column: span 3; }
  .c-body, .c-goal, .c-prefs { grid-column: span 6; }
}
@media (max-width: 620px) { .bento > .cell { grid-column: span 6; } }

.live { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.10); border-radius: 26px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; max-width: 380px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
.live-ic { width: 40px; height: 40px; border-radius: 13px; background: #35E0C1; color: #08110C; display: grid; place-items: center; }
.live-ic .icon { width: 22px; height: 22px; }
.live small { display: block; opacity: 0.7; font-size: 0.8rem; }
.live b { font-weight: 620; }
.live .t {
  margin-left: auto; font-size: 1.9rem; font-weight: 760; letter-spacing: -0.03em;
  color: #35E0C1;
}

.chart-legend { display: flex; gap: 18px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 6px; flex-wrap: wrap; }
.chart-legend b { color: var(--ink); font-size: 1.05rem; display: block; font-weight: 700; }
.mini-list { display: grid; gap: 6px; }
.mini-list div { display: flex; align-items: center; gap: 10px; border-radius: 16px; padding: 9px 12px 9px 9px; font-weight: 650; font-size: 0.95rem; }
.mini-list .tile { width: 28px; height: 28px; border-radius: 9px; }
.mini-list small { margin-left: auto; color: var(--ink-3); font-weight: 500; font-size: 0.82rem; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; font-size: 0.78rem; text-align: center; }
.cal span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3); background: var(--subtle); border: 1px solid var(--line); }
.cal .h { aspect-ratio: auto; font-weight: 650; background: none; border: 0; text-transform: uppercase; font-size: 0.7rem; }
.cal .on { background: var(--grad); border-color: transparent; color: var(--on-accent); font-weight: 700; box-shadow: 0 0 10px color-mix(in srgb, var(--lime) 45%, transparent); }
.cal .today { box-shadow: inset 0 0 0 2px var(--accent-text); color: var(--ink); font-weight: 700; }
.bw { display: flex; align-items: baseline; gap: 10px; }
.bw b { font-size: 2.6rem; font-weight: 760; letter-spacing: -0.045em; line-height: 1; }
.bw-line { width: 100%; height: 56px; margin-top: 10px; overflow: visible; }

/* Objetivo semanal y racha */
.goal-vis { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.goal-vis .ring { width: 104px; height: 104px; }
.goal-vis .ring .track { stroke: var(--line); stroke-width: 10; }
.goal-vis .ring .bar { stroke-width: 10; }
.goal-vis .ring .c b { font-size: 24px; }
.goal-vis .ring .c small { font-size: 11px; }
.goal-vis .streak b { font-size: 2.6rem; }
.goal-vis .streak b span { font-size: 1.1rem; }
.goal-vis .streak .flame { width: 28px; height: 28px; }
.goal-vis .streak small { font-size: 0.9rem; }
.goal-vis .streak em { font-size: 0.9rem; }

/* Biblioteca de ejercicios */
.library { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.library figure { margin: 0; scroll-snap-align: start; padding: 8px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi); }
.library img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #0B1015; }
.library figcaption { padding: 10px 8px 4px; font-weight: 650; }
.library figcaption small { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-3); font-size: 0.875rem; }
.library figcaption small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--lime)); }
.groups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.groups li { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 15px 7px 11px; font-size: 0.92rem; color: var(--ink-2); }
.groups li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--lime)); box-shadow: 0 0 8px var(--dot, var(--lime)); }
.groups b { color: var(--ink); }

/* Privacidad */
.privacy .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.privacy h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border-radius: 24px; }
.facts .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--grad); color: var(--on-accent); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--lime) 70%, transparent); }
.facts p { color: var(--ink-2); }
@media (max-width: 860px) { .privacy .wrap { grid-template-columns: 1fr; } }

/* Preguntas frecuentes */
.faq .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.faq .wrap > div:last-child { display: grid; gap: 10px; }
.faq details { border-radius: 22px; padding: 0 22px; transition: background-color 200ms ease; }
.faq details[open] { background: color-mix(in srgb, var(--surface) 100%, var(--green-wash)); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 220ms var(--ease-out); color: var(--ink-3); margin-top: 3px; }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--accent-text); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } .faq .sec-head { position: static; } }

/* Llamada final */
.final .wrap {
  display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: 36px; position: relative; overflow: hidden;
  color: #F2F6F8;
  background:
    #0B1015;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), var(--shadow);
}
.final .req { color: #B6C2C6; }
.final img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 18px 40px -12px rgba(53,224,193,0.45); }
.final .copy { display: grid; gap: 22px; justify-items: start; }
@media (max-width: 700px) { .final .wrap { grid-template-columns: 1fr; } }

/* Pie */
footer { padding: 40px 0 56px; color: var(--ink-3); font-size: 0.93rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* Páginas legales */
.doc { padding-block: 40px 96px; }
.doc .wrap { max-width: 760px; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--hi), var(--shadow); }
.doc h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; letter-spacing: -0.03em; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 12px; max-width: 68ch; }
.doc ul { padding-left: 1.2em; }
.doc li::marker { color: var(--accent-text); }
.doc .todo { background: var(--amber-wash); color: var(--ink); padding: 2px 6px; border-radius: 6px; }

/* Movimiento: una sola secuencia en el hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 70ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 140ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 210ms; }
  .hero-visual { animation: rise 900ms var(--ease-out) 120ms both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  .pop { animation: pop 520ms var(--ease-out); }
  @keyframes pop { 40% { transform: scale(1.12); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.verdict-title .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--tc, var(--lime)); box-shadow: 0 0 12px var(--tc, var(--lime)); }

/* Funciones: registro y progresión */
.c-log { grid-column: span 3; }
.c-stats { grid-column: span 4; }
.c-prog { grid-column: span 2; }
.c-prog .link-arrow { margin-top: 4px; padding: 0; }
.c-prog .vis { padding-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 9px 3px 7px; font-size: 11px; font-weight: 650; }
.pill .icon { width: 12px; height: 12px; }
.pill.amber { background: var(--amber-wash); color: var(--amber); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amber) 35%, transparent); }
.pill.green { background: var(--green-wash); color: var(--accent-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lime) 40%, transparent); }
.pill.red { background: var(--red-wash); color: var(--red); }
.pill.big { font-size: 0.9rem; padding: 7px 14px 7px 11px; }
.pill.big .icon { width: 15px; height: 15px; }
.wheel { display: grid; justify-items: center; gap: 4px; border-radius: 24px; padding: 14px; max-width: 320px; }
.wheel span { font-weight: 650; font-size: 1.15rem; color: var(--ink-3); opacity: 0.7; }
.wheel .sel { opacity: 1; color: var(--ink); font-size: 2rem; font-weight: 760; letter-spacing: -0.04em; width: 100%; text-align: center; border-radius: 14px; background: var(--green-wash); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lime) 40%, transparent); padding-block: 4px; }
.wheel small { font-size: 1rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 960px) {
  .c-log, .c-rest, .c-stats { grid-column: span 6; }
  .c-prog { grid-column: span 6; min-height: 0; }
}
.streak strong { display: inline-block; font-weight: inherit; }
.last { display: flex; align-items: center; gap: 11px; padding: 10px; }
.last-d { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: var(--on-accent); display: grid; place-content: center; text-align: center; font-size: 7.5px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.last-d b { font-size: 15px; }
.last b { display: block; font-size: 12.5px; font-weight: 680; }
.last small { color: var(--ink-3); font-size: 10.5px; }
.brand + .btn-small { margin-left: auto; }

/* JLift: logotipo de texto, como JLiftWordmark en la app ("J" con degradado) */
.wordmark { font-weight: 800; letter-spacing: -0.035em; }

/* Iconos de músculo (GymGlyphs.swift): baldosa suave, fondo tenue y figura del color del grupo */
.gtile {
  flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  color: var(--t); background: color-mix(in srgb, var(--t) 16%, transparent);
}
.gtile svg { width: 66%; height: 66%; fill: currentColor; }
.gtile.sm { width: 22px; height: 22px; border-radius: 7px; box-shadow: none; }

/* Mapa muscular de rutina (RoutineMuscleTile): silueta tenue y músculos en su color */
.mmtile {
  flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--subtle); border: 1px solid var(--line);
}
.mmtile svg { width: 84%; height: 84%; }
.mm-body { fill: var(--ink); opacity: 0.2; }
.routine .mmtile { width: 38px; height: 38px; border-radius: 12px; }

/* Biblioteca: icono + nombre + grupo y material */
.library figcaption { display: flex; align-items: center; gap: 10px; }
.library figcaption small::before { content: none; }
.groups li::before { content: none; }
.groups li { padding-left: 7px; }
.mini-list .mmtile { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); }
.library figcaption { align-items: flex-start; }
.library figcaption .gtile { margin-top: 2px; }

/* Acento turquesa plano: sin degradados ni halos de color */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--grad:#35E0C1;--on-accent:#04120F}}
:root[data-theme="dark"]{--grad:#35E0C1;--on-accent:#04120F}
.screen{--grad:#35E0C1;--on-accent:#04120F}
.hero-visual::before{display:none}
.ring .bar{filter:none}
.week .done i,.tabbar .on,.app-cta{box-shadow:none}
.final img{box-shadow:0 18px 40px -12px rgba(0,0,0,.35)}
.btn-small,.btn-small:hover{box-shadow:none}
.cal .on,.facts .icon{box-shadow:none}
.groups li::before,.verdict-title .dot{box-shadow:none}
.streak .flame{filter:none}

/* Distintivo oficial del App Store (assets/app-store-badge.svg, de Apple Marketing Tools).
   Mientras no esté el archivo, se muestra un botón de texto sin logo. */
.store.store-badge { background: none; padding: 0; box-shadow: none; }
.store.store-badge .badge { display: block; height: 53px; width: auto; }
.store.store-badge .fallback { display: none; }
.store.store-badge.no-badge { background: #000; color: #fff; padding: 10px 20px; }
.store.store-badge.no-badge .badge { display: none; }
.store.store-badge.no-badge .fallback { display: flex; }
/* Demo de progresión: escala de repeticiones a todo el ancho */
#v-chart { height: auto; aspect-ratio: 400 / 96; }

/* Selector de idioma (ES / EN) */
.lang {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 10px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2);
  font-weight: 680; font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none;
  margin-left: 12px; margin-right: 8px;
}
@media (max-width: 860px) { .nav .lang { margin-left: auto; } .nav .lang + .btn-small { margin-left: 0; } }
.lang:hover { color: var(--ink); background: var(--subtle); }

.lang .flag { width: 21px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px var(--line); }

/* ---- Actualización: progreso, equilibrio, confianza, tema ---- */
/* Tarjeta de progreso */
.pbars { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.pbars i { flex: 1; border-radius: 4px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pbars i.sel { background: var(--lime); }
.pweek { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 10px; padding: 10px 12px; border-radius: 14px; background: var(--subtle); border: 1px solid var(--line); flex-wrap: wrap; }
.pweek b { display: block; font-size: 0.95rem; }
.pweek small { color: var(--ink-3); font-size: 0.82rem; }
.pdays { display: flex; gap: 4px; }
.pdays span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--ink-3); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pdays span.on { background: var(--lime); color: var(--on-accent); }
/* Equilibrio muscular */
.c-bal { grid-column: span 3; }
.bal { display: grid; gap: 8px; }
.brow { display: grid; grid-template-columns: 22px 78px 1fr 24px; align-items: center; gap: 8px; font-size: 0.85rem; }
.brow .bn { color: var(--ink-2); }
.brow b { text-align: right; font-variant-numeric: tabular-nums; }
.bt { height: 7px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.bt i { display: block; height: 100%; border-radius: 9px; }
.bal .pill { justify-self: start; margin-top: 4px; }
/* Rejilla: objetivo + equilibrio en una fila, "A tu manera" debajo */
.c-goal { grid-column: span 3; }
.c-prefs { grid-column: span 6; min-height: 0; }
@media (max-width: 980px) { .c-goal, .c-bal { grid-column: span 6; } }
/* Maqueta: rutinas en carrusel como en la app */
.routines { overflow: hidden; padding-right: 0; }
.routine { flex: 0 0 44%; }
/* Franja de confianza */
.trust { padding-block: 0 8px; }
.trust ul { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--subtle); }
.trust li { display: flex; align-items: center; gap: 9px; font-weight: 620; font-size: 0.95rem; color: var(--ink-2); }
.trust .icon { width: 20px; height: 20px; color: var(--accent-text); }
.trust .flag { width: 21px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
/* Botón de tema */
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink-2); cursor: pointer; margin-left: 12px; padding: 0; }
.theme-toggle:hover { color: var(--ink); background: var(--subtle); }
.theme-toggle .icon { width: 17px; height: 17px; }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }
.nav .theme-toggle + .lang { margin-left: 8px; }
@media (max-width: 860px) { .nav .theme-toggle { margin-left: auto; } .nav .theme-toggle + .lang { margin-left: 8px; } }

/* Mapa muscular */
.map-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.bm-card { border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.bm-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bm-figs > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bm-figs [data-side] { aspect-ratio: 1 / 2; max-height: 520px; }
.bm-figs svg { width: 100%; height: 100%; }
.bm-figs small { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--ink-3); }
.bm-figs path.decor { fill: color-mix(in srgb, var(--ink) 16%, transparent); }
.bm-figs path.m { stroke: var(--paper); stroke-width: 2.5; cursor: pointer; transition: fill .2s var(--ease-out), opacity .2s; }
.bm-figs path.lv0 { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.bm-figs path.lv1 { fill: color-mix(in srgb, var(--lime) 35%, transparent); }
.bm-figs path.lv2 { fill: color-mix(in srgb, var(--lime) 68%, transparent); }
.bm-figs path.lv3 { fill: var(--lime); }
.bm-figs path.sel { stroke: var(--ink); stroke-width: 6; }
.bm-figs path[data-id]:hover { opacity: .8; }
.bm-figs path[data-id]:focus-visible { outline: none; stroke: var(--ink); stroke-width: 6; }
.bm-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bm-sex { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--subtle); border: 1px solid var(--line); }
.bm-sex button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 0.85rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.bm-sex button[aria-pressed="true"] { background: var(--lime); color: var(--on-accent); }
.bm-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.78rem; color: var(--ink-3); }
.bm-legend span { display: inline-flex; align-items: center; gap: 5px; }
.bm-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.bm-side { display: grid; gap: 14px; align-content: start; }
.bm-groups { border-radius: 24px; padding: 18px 20px; display: grid; gap: 10px; }
.bm-row { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 10px; font-size: 0.95rem; }
.bm-row b { font-weight: 700; }
.bm-row .bm-bar { height: 8px; }
.bm-row em { font-style: normal; font-weight: 800; text-align: right; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.bm-row.warn em { color: var(--amber); }
.bm-bar { display: block; height: 6px; border-radius: 99px; background: var(--subtle); overflow: hidden; }
.bm-bar > i { display: block; height: 100%; border-radius: 99px; background: var(--lime); }
.bm-row.warn .bm-bar > i { background: var(--amber); }
.bm-missing { border-radius: 20px; padding: 14px 16px; background: var(--amber-wash); color: var(--ink); font-size: 0.95rem; }
.bm-missing b { color: var(--amber); }
.bm-info { border-radius: 24px; padding: 18px 20px; display: grid; gap: 16px; min-height: 150px; color: var(--ink-2); }
.bm-portion { display: grid; gap: 6px; }
.bm-portion > b { font-size: 1.15rem; color: var(--ink); }
.bm-sets { font-size: 0.85rem; font-weight: 700; color: var(--accent-text); }
.bm-portion p { font-size: 0.95rem; }
.bm-portion ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bm-portion li { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-wash); color: var(--accent-text); }
.bm-note { margin-top: 18px; font-size: 0.82rem; color: var(--ink-3); max-width: 80ch; }

/* Logros y notas (bento) */
.c-ach, .c-notes { grid-column: span 3; }
@media (max-width: 980px) { .c-ach, .c-notes { grid-column: span 6; } }
.medals { display: flex; gap: 10px; flex-wrap: wrap; }
.medal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green-wash); border: 2px solid var(--lime); color: var(--accent-text); }
.medal svg { width: 24px; height: 24px; fill: currentColor; }
.medal.off { background: var(--subtle); border-color: var(--line); color: var(--ink-3); }
.note-card { border-radius: 18px; padding: 12px 14px; display: grid; gap: 3px; background: var(--subtle); border: 1px solid var(--line); }
.note-card + .note-card { margin-top: 8px; }
.note-card small { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); }
.note-card span { font-size: 0.95rem; color: var(--ink); }
.done-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--green-wash); color: var(--accent-text); font-weight: 700; font-size: 0.85rem; }

/* "Qué trabaja cada ejercicio" card */
.musc { display: flex; align-items: center; gap: 14px; }
.mmtile.lg { width: 72px; height: 72px; border-radius: 20px; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchip { font-size: 0.8rem; font-weight: 650; padding: 6px 10px; border-radius: 99px; background: color-mix(in srgb, var(--lime) 16%, transparent); color: var(--ink); }
.mchip.main { background: var(--lime); color: #05332B; }

/* Funciones reducidas (oct 2026): 6 tarjetas en 3 filas */
.bento .c-log, .bento .c-rest { grid-column: span 3; }
.bento .c-stats { grid-column: span 4; }
.bento .c-rout { grid-column: span 2; }
.bento .c-goal, .bento .c-ach { grid-column: span 3; }
@media (max-width: 980px) {
  .bento .c-log, .bento .c-rest, .bento .c-stats, .bento .c-rout, .bento .c-goal, .bento .c-ach { grid-column: span 6; }
}
