/* Today's Lift page (/todayslift): the app's own brand inside the Bytes Of Jord shell.
   Everything is scoped under .tl with tl- classes and --tl-* tokens so nothing clashes with site.css or todayssplit.css.
   Colours are the app's Material 3 theme (android-app/.../Theme.kt): coral primary, warm neutrals, teal for "done".
   The dark tokens key on the same html[data-theme] and prefers-color-scheme as tokens.css, so the site's toggle switches these too. */

.tl {
  --tl-bg: #EFEBE3;
  --tl-surface: #FAF8F3;
  --tl-ink: #17191B;
  --tl-muted: #535A57;
  --tl-line: #D7D2C7;
  --tl-accent: #C24132;
  --tl-accent-ink: #FFFFFF;
  --tl-accent-soft: #FFDAD4;
  --tl-accent-soft-ink: #852117;
  --tl-done: #256D68;
  --tl-done-soft: #D8F1E8;
  --tl-bezel: #17191B;
  --tl-shadow: 0 30px 60px -20px rgba(23, 25, 27, .32);
  --tl-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --tl-body: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .tl {
    --tl-bg: #1A1E20; --tl-surface: #292E30; --tl-ink: #ECEBE6; --tl-muted: #B3B8B4; --tl-line: #3A4144;
    --tl-accent: #FF8A78; --tl-accent-ink: #32100C; --tl-accent-soft: #4A2520; --tl-accent-soft-ink: #FFDAD4;
    --tl-done: #69D6CB; --tl-done-soft: #164E45; --tl-bezel: #0B0D0E;
    --tl-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] .tl {
  --tl-bg: #1A1E20; --tl-surface: #292E30; --tl-ink: #ECEBE6; --tl-muted: #B3B8B4; --tl-line: #3A4144;
  --tl-accent: #FF8A78; --tl-accent-ink: #32100C; --tl-accent-soft: #4A2520; --tl-accent-soft-ink: #FFDAD4;
  --tl-done: #69D6CB; --tl-done-soft: #164E45; --tl-bezel: #0B0D0E;
  --tl-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
.tl * { box-sizing: border-box; }
.tl { background: var(--tl-bg); color: var(--tl-ink); font-family: var(--tl-body); font-size: 17px; line-height: 1.55; }
.tl .tl-wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.tl h1, .tl h2, .tl h3 { font-family: var(--tl-display); margin: 0; text-wrap: balance; }
.tl h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.02em; font-weight: 850; font-stretch: 112%; }
.tl h3 { font-size: 20px; line-height: 1.2; font-weight: 750; }
.tl p { margin: 0; max-width: 62ch; }
.tl .tl-muted { color: var(--tl-muted); }
.tl .tl-num { font-variant-numeric: tabular-nums; }
.tl a { color: var(--tl-accent); }
.tl :focus-visible { outline: 2px solid var(--tl-accent); outline-offset: 3px; }
.tl .tl-mark { display: flex; align-items: center; gap: 10px; font-family: var(--tl-display); font-weight: 850; font-stretch: 108%; font-size: 19px; color: var(--tl-ink); text-decoration: none; }
.tl .tl-mark svg { flex-shrink: 0; }
.tl .tl-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; font-weight: 600; font-size: 15px; }
.tl .tl-links a { color: var(--tl-ink); text-decoration: none; }
.tl .tl-links a:hover { color: var(--tl-accent); }
.tl .tl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; padding: 13px 22px; min-height: 48px; border-radius: 14px; background: var(--tl-accent); color: var(--tl-accent-ink); border: 0; cursor: pointer; transition: transform 100ms linear; }
.tl .tl-btn:hover { transform: translateY(-1px); color: var(--tl-accent-ink); }
.tl .tl-btn:active { transform: translateY(0) scale(.98); }
.tl .tl-btn.tl-alt, .tl .tl-btn.tl-alt:hover { background: var(--tl-accent-soft); color: var(--tl-accent-soft-ink); }
.tl .tl-btn.tl-small { padding: 9px 16px; min-height: 40px; font-size: 15px; border-radius: 12px; }
.tl .tl-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.tl .tl-links a.tl-btn, .tl .tl-links a.tl-btn:hover { color: var(--tl-accent-ink); }
.tl .tl-soon { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 14px; border: 1px dashed var(--tl-line); color: var(--tl-muted); font-weight: 600; font-size: 16px; }

/* Sub-nav under the sticky site header (76px tall) */
.tl-subnav { position: sticky; top: 76px; z-index: 15; background: color-mix(in srgb, var(--tl-bg) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--tl-line); }
.tl-subnav .tl-wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.tl-subnav .tl-mark { flex: 1; min-width: 0; }
.tl [id] { scroll-margin-top: 152px; }
.tl .tl-crumb { font-family: var(--font-mono); font-size: 12px; color: var(--tl-muted); padding-top: 28px; display: flex; gap: 8px; }
.tl .tl-crumb a { color: var(--tl-muted); }

/* Hero */
.tl .tl-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 24px 80px; }
.tl .tl-hero h1 { font-size: clamp(56px, 8.6vw, 118px); line-height: .9; letter-spacing: -.035em; font-weight: 900; font-stretch: 115%; }
.tl .tl-hero h1 span { color: var(--tl-accent); display: block; }
.tl .tl-lede { font-size: 20px; margin-top: 26px; color: var(--tl-muted); }
.tl .tl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tl .tl-fine { margin-top: 14px; font-size: 14px; color: var(--tl-muted); }
.tl .tl-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.tl .tl-plate { position: absolute; width: min(540px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, transparent 0 17%, var(--tl-accent) 17% 19%, transparent 19% 100%), var(--tl-accent-soft); opacity: .55; }
.tl .tl-phone { position: relative; width: 258px; border-radius: 44px; background: var(--tl-bezel); padding: 8px; box-shadow: var(--tl-shadow); }
.tl .tl-phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.tl .tl-phone.tl-back { position: absolute; width: 220px; }
.tl .tl-phone.tl-l { left: 2%; top: 70px; transform: rotate(-6deg); }
.tl .tl-phone.tl-r { right: 0; top: 120px; transform: rotate(6deg); }
.tl .tl-toast { position: absolute; left: -8px; bottom: 70px; z-index: 2; background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--tl-shadow); display: flex; gap: 12px; align-items: center; font-size: 14px; animation: tl-rise 600ms 400ms cubic-bezier(.17,.89,.32,1.12) both; }
.tl .tl-toast b { display: block; font-size: 15px; }
.tl .tl-toast .tl-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--tl-done-soft); color: var(--tl-done); display: grid; place-items: center; flex-shrink: 0; }
@keyframes tl-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Sections */
.tl section { padding-block: 80px; border-top: 1px solid var(--tl-line); }
.tl .tl-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-accent); margin-bottom: 14px; }
.tl .tl-intro { margin-top: 16px; }
.tl .tl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; counter-reset: tls; }
.tl .tl-step { background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 22px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.tl .tl-step::before { counter-increment: tls; content: counter(tls, decimal-leading-zero); font-family: var(--tl-display); font-weight: 900; font-stretch: 115%; font-size: 44px; line-height: 1; color: var(--tl-accent); }
.tl .tl-step img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--tl-line); margin-top: 6px; aspect-ratio: 323 / 420; object-fit: cover; object-position: top; }
.tl .tl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tl .tl-feats { display: grid; gap: 20px; margin-top: 30px; }
.tl .tl-feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.tl .tl-feat .tl-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--tl-accent-soft); color: var(--tl-accent-soft-ink); display: grid; place-items: center; }
.tl .tl-feat .tl-ic svg { width: 22px; height: 22px; }
.tl .tl-feat p { font-size: 16px; color: var(--tl-muted); }
.tl .tl-feat strong { display: block; color: var(--tl-ink); font-size: 17px; }
.tl .tl-panel { background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 24px; padding: 22px; display: grid; gap: 14px; box-shadow: var(--tl-shadow); }
.tl .tl-ex-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tl .tl-ex-head small { color: var(--tl-muted); font-size: 14px; }

/* Example squat card */
.tl .tl-hint { display: inline-flex; align-items: center; gap: 8px; justify-self: start; border: 1.5px solid var(--tl-done); color: var(--tl-done); border-radius: 10px; padding: 6px 12px; font-weight: 700; font-size: 15px; background: var(--tl-done-soft); }
.tl .tl-sets { display: grid; border: 1px solid var(--tl-line); border-radius: 16px; overflow: hidden; }
.tl .tl-set { display: grid; grid-template-columns: 64px minmax(0, 1fr) 70px 30px; gap: 10px; align-items: center; padding: 12px 14px; font-size: 15px; }
.tl .tl-set + .tl-set { border-top: 1px solid var(--tl-line); }
.tl .tl-set .tl-lbl { font-weight: 700; }
.tl .tl-set .tl-tot { color: var(--tl-muted); font-size: 13px; display: block; }
.tl .tl-chk { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--tl-line); display: grid; place-items: center; }
.tl .tl-chk.tl-on { background: var(--tl-done); border-color: var(--tl-done); color: var(--tl-surface); }
.tl .tl-rest { display: flex; align-items: center; gap: 10px; background: var(--tl-done-soft); border-radius: 14px; padding: 10px 12px; font-size: 15px; }
.tl .tl-rest b { flex: 1; }
.tl .tl-rest span { background: var(--tl-surface); border-radius: 9px; padding: 5px 10px; font-weight: 700; font-size: 14px; color: var(--tl-accent); }
.tl .tl-why { border-top: 1px dashed var(--tl-line); padding-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.tl .tl-why div { display: flex; justify-content: space-between; gap: 12px; }

/* Library */
.tl .tl-shots { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.tl .tl-shots .tl-phone { width: 232px; }
.tl .tl-shots .tl-phone + .tl-phone { margin-top: 48px; }
.tl .tl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tl .tl-chip { border: 1px solid var(--tl-line); background: var(--tl-surface); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.tl .tl-chip code { font-family: var(--font-mono); color: var(--tl-accent); font-size: 13px; margin-right: 4px; }

/* Progress panel */
.tl .tl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tl .tl-stat { background: var(--tl-bg); border-radius: 14px; padding: 12px; }
.tl .tl-stat b { display: block; white-space: nowrap; font-family: var(--tl-display); font-size: 24px; font-weight: 850; letter-spacing: -.01em; }
.tl .tl-stat small { color: var(--tl-muted); font-size: 13px; }
.tl .tl-bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; height: 120px; position: relative; padding-top: 8px; }
.tl .tl-bars i { display: block; border-radius: 6px 6px 2px 2px; background: var(--tl-accent); height: calc(var(--n) / 5 * 112px); }
.tl .tl-bars i.tl-miss { background: color-mix(in srgb, var(--tl-accent) 35%, var(--tl-surface)); }
.tl .tl-bars i.tl-now { background: repeating-linear-gradient(135deg, var(--tl-line) 0 5px, transparent 5px 9px); border: 1px dashed var(--tl-muted); }
.tl .tl-target { position: absolute; left: 0; right: 0; bottom: calc(4 / 5 * 112px); border-top: 2px dashed var(--tl-ink); opacity: .5; }
.tl .tl-target span { position: absolute; right: 0; top: -22px; font-size: 12px; font-weight: 700; }
.tl .tl-pr { display: grid; font-size: 15px; }
.tl .tl-pr div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tl-line); }
.tl .tl-pr em { font-style: normal; color: var(--tl-done); font-weight: 700; font-size: 13px; background: var(--tl-done-soft); padding: 2px 8px; border-radius: 99px; margin-left: 8px; }

/* Checks, privacy diagram */
.tl .tl-checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.tl .tl-checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.tl .tl-checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--tl-done-soft); color: var(--tl-done); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 1px; }
.tl .tl-flow { background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 24px; padding: 30px 24px; display: grid; gap: 18px; }
.tl .tl-flow-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.tl .tl-dev { display: grid; justify-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.tl .tl-dev .tl-box { width: 58px; height: 98px; border-radius: 15px; border: 3px solid var(--tl-ink); display: grid; place-items: center; }
.tl .tl-pipe { display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 13px; color: var(--tl-muted); }
.tl .tl-pipe .tl-line { width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--tl-accent) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: tl-flow 1.2s linear infinite; }
@keyframes tl-flow { to { background-position: 28px 0; } }
.tl .tl-pipe code { font-family: var(--font-mono); font-size: 12px; background: var(--tl-accent-soft); color: var(--tl-accent-soft-ink); padding: 4px 8px; border-radius: 8px; }
.tl .tl-nothing { display: flex; gap: 12px; align-items: center; border-top: 1px dashed var(--tl-line); padding-top: 16px; font-size: 15px; }
.tl .tl-nothing svg { color: var(--tl-done); flex-shrink: 0; }

/* Comparison */
.tl .tl-cmp-wrap { overflow-x: auto; margin-top: 34px; }
.tl table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 16px; }
.tl th, .tl td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--tl-line); }
.tl th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--tl-muted); }
.tl td:first-child { font-weight: 600; }
.tl td.tl-us, .tl th.tl-us { background: var(--tl-accent-soft); }
.tl th.tl-us { color: var(--tl-accent-soft-ink); }
.tl .tl-y { color: var(--tl-done); font-weight: 700; }
.tl .tl-n { color: var(--tl-muted); }

/* FAQ: a custom chevron instead of the hanging browser marker, like the Today's Split page */
.tl .tl-faq { display: grid; gap: 10px; margin-top: 32px; max-width: 840px; }
.tl details { background: var(--tl-surface); border: 1px solid var(--tl-line); border-radius: 16px; }
.tl summary { cursor: pointer; font-weight: 700; padding: 18px 24px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tl summary::-webkit-details-marker { display: none; }
.tl summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--tl-muted); border-bottom: 2px solid var(--tl-muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform 180ms cubic-bezier(.2,0,0,1); flex-shrink: 0; }
.tl details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.tl details p { padding: 0 24px 20px; color: var(--tl-muted); }

.tl .tl-final { text-align: center; display: grid; justify-items: center; gap: 18px; padding-block: 96px; }
.tl .tl-final h2 { font-size: clamp(44px, 7.5vw, 92px); font-stretch: 115%; }
.tl .tl-final h2 span { color: var(--tl-accent); }
.tl .tl-final .tl-cta { justify-content: center; margin-top: 8px; }

@media (max-width: 900px) {
.tl .tl-hero, .tl .tl-two { grid-template-columns: minmax(0, 1fr); }
.tl .tl-steps { grid-template-columns: minmax(0, 1fr); }
.tl .tl-stage { min-height: 540px; }
.tl .tl-links a:not(.tl-btn) { display: none; }
.tl .tl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl .tl-shots .tl-phone { width: 44%; }
.tl section { padding-block: 56px; }
.tl .tl-first { order: -1; }
}
@media (max-width: 480px) {
.tl .tl-wrap { padding-inline: 16px; }
.tl .tl-phone.tl-back { display: none; }
.tl .tl-stage { min-height: 0; padding-block: 12px 24px; }
.tl .tl-toast { left: 0; bottom: 24px; }
.tl .tl-set { grid-template-columns: 52px minmax(0, 1fr) 54px 28px; padding: 10px; }
.tl .tl-flow-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.tl .tl-pipe .tl-line { width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--tl-accent) 0 6px, transparent 6px 10px); animation: none; }
}
@media (prefers-reduced-motion: reduce) {
.tl *, .tl *::before, .tl *::after { animation: none !important; transition: none !important; }
}
