/* B.Lifted - shared look for the site, member area and coach app. */

:root {
  /* Palette A - Lifted Signature: Red, Orange, Ivory, Charcoal, Stone */
  color-scheme: light;
  --bg:        #f9f6f1;   /* Ivory */
  --surface:   #ffffff;
  --surface-2: #efe9e2;
  --line:      #d8cfc5;   /* Stone */
  --text:      #242323;   /* Charcoal */
  --muted:     #57524c;
  --faint:     #6c665f;

  --red:    #b5091a;
  --orange: #bf4f14;
  --logo-orange: #dc5e1b; /* Orange - large or decorative use; --orange is the text-safe shade */
  --volt:   var(--red);       /* program colour keys kept from v0.1 */
  --flame:  var(--orange);
  --ice:    #242323;
  --violet: #9a6c14;
  --accent: var(--red);
  --on-accent: #ffffff;

  --good: #1e7a43;
  --warn: #9a5200;
  --bad:  #b5091a;

  --f-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1120px;
}

.accent-volt   { --accent: var(--volt); }
.accent-flame  { --accent: var(--flame); }
.accent-ice    { --accent: var(--ice); }
.accent-violet { --accent: var(--violet); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 7.5vw, 80px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.hide { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 26px/1 var(--f-head); color: var(--red); text-decoration: none; letter-spacing: -.02em; }
.logo img { height: 38px; width: auto; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); background: var(--surface); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 15px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  background: var(--accent); color: var(--on-accent); transition: transform .12s, filter .12s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--muted); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn.danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bad) 45%, transparent); }
.btn.full { width: 100%; }

/* ---------- home ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--logo-orange) 14%, transparent), transparent);
  pointer-events: none;
}
.hero .kicker { color: var(--orange); font: 800 14px/1 var(--f-head); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 560px; margin: 22px 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .wrap { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; position: relative; }
.hero .brand-art { width: 100%; max-width: 360px; justify-self: end; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .brand-art { display: none; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 72px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step .n { font: 800 32px/1 var(--f-head); color: var(--logo-orange); }
.step h3 { margin: 12px 0 6px; }
.step p { color: var(--muted); font-size: 15px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 80px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 1px 2px #0000000a, 0 14px 30px -24px #5a2a0a55;
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.card .band {
  height: 150px; position: relative; padding: 18px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, color-mix(in srgb, var(--accent) 6%, transparent) 18px 36px),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface-2) 75%);
}
.card .band .big { position: absolute; right: 16px; bottom: 6px; font: 800 64px/1 var(--f-head); color: var(--accent); }
.card .band .big small { font-size: 16px; letter-spacing: .1em; margin-left: 4px; }
.chip { display: inline-block; font: 700 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; background: var(--surface); color: var(--text); }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .body p { color: var(--muted); font-size: 15px; }
.card .foot { display: flex; align-items: center; justify-content: space-between; padding: 0 20px 20px; gap: 12px; }
.price { font: 800 24px/1 var(--f-head); }
.price small { font: 600 14px/1 var(--f-body); color: var(--muted); margin-left: 2px; }

/* ---------- program page ---------- */
.prog-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent); }
.prog-hero h1 { font-size: clamp(36px, 7vw, 72px); margin: 14px 0 12px; color: var(--accent); }
.prog-hero .tag { color: var(--muted); font-size: 19px; max-width: 640px; }
.prog-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 36px 0 80px; align-items: start; }
.buybox { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; }
.buybox .price { font-size: 40px; }
.buybox ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.buybox li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 8px; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.facts .chip { background: var(--surface-2); }
.desc { color: var(--muted); font-size: 17px; white-space: pre-line; margin-bottom: 30px; }
.outline h3 { margin: 22px 0 10px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.outline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.outline li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.outline li .d { font: 800 13px/1 var(--f-head); color: var(--faint); min-width: 44px; text-transform: uppercase; }
.lock { margin-left: auto; color: var(--faint); font-size: 14px; }

/* ---------- forms ---------- */
.narrow { max-width: 440px; margin: 56px auto 80px; padding: 0 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--muted); }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.err { color: var(--bad); font-weight: 600; font-size: 15px; min-height: 1em; }
.note { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.note.good { color: var(--good); }
.note.warn { color: var(--warn); }

/* ---------- account + training ---------- */
.page { padding: 44px 0 80px; }
.page > .wrap > h2 { margin-bottom: 8px; }
.subs { display: grid; gap: 12px; margin-top: 26px; }
.sub { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.sub .what { flex: 1; min-width: 200px; }
.sub .what h3 { margin-bottom: 4px; }
.pill { font: 700 12px/1 var(--f-body); padding: 6px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.pill.active { background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); }
.pill.cancelled { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.pill.pending { background: var(--surface-2); color: var(--muted); }
.pill.ended { background: var(--surface-2); color: var(--faint); }

.week { margin-top: 34px; }
.week > h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.workouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.wo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 12px; align-content: start; }
.wo.done { border-color: color-mix(in srgb, var(--good) 50%, var(--line)); }
.wo header { display: flex; gap: 10px; align-items: baseline; }
.wo header .d { font: 800 13px/1 var(--f-head); color: var(--faint); text-transform: uppercase; }
.wo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.wo li { padding: 8px 10px; background: var(--bg); border-radius: 8px; font-size: 15px; }
.wo .check { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; cursor: pointer; }
.wo .check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--good); }
.progress { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 18px 0 4px; max-width: 420px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }

/* ---------- playbook ---------- */
.kicker-sm { color: var(--orange); font: 700 13px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.pbbar { display: grid; gap: 12px; margin: 24px 0 20px; }
.pbbar input { max-width: 420px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 14px/1 var(--f-body); padding: 0 14px; min-height: 40px; border-radius: 99px; cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.exgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ex { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ex:hover { transform: translateY(-2px); border-color: var(--red); }
.ex .thumb { aspect-ratio: 16 / 10; position: relative; display: block;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--red) 6%, transparent) 14px 28px), linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--logo-orange) 14%, var(--surface))); }
.ex .thumb .m { position: absolute; left: 12px; bottom: 10px; font: 800 13px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.ex .playbig { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 8px 20px -8px #b5091a88; }
.ex .exbody { padding: 14px; display: grid; gap: 4px; }
.ex .exbody .muted { font-size: 14px; }
.pill.free { position: absolute; top: 10px; right: 10px; }
.exwrap { max-width: 820px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #111; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video.placeholder { background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--logo-orange) 18%, var(--surface))); display: grid; place-items: center; }
.video.placeholder span { font: 800 22px/1 var(--f-head); color: var(--red); letter-spacing: .1em; text-transform: uppercase; }
.cue-head { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 18px 0 10px; }
.cues { margin: 0; padding: 0; list-style: none; counter-reset: cue; display: grid; gap: 8px; }
.cues li { counter-increment: cue; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 50px; position: relative; }
.cues li::before { content: counter(cue); position: absolute; left: 14px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px/24px var(--f-body); text-align: center; }
.exlink { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; cursor: pointer; }
.exlink .play { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.exlink:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 6px; }
dialog.sheet { border: 0; padding: 0; background: transparent; width: min(760px, calc(100% - 24px)); max-height: calc(100% - 24px); }
dialog.sheet::backdrop { background: #242323b3; }
.sheet-in { background: var(--bg); border-radius: var(--r-lg); padding: 20px; color: var(--text); }
.sheet-in header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sheet-in h2 { font-size: 26px; }

/* ---------- round 1: dashboard, log, timer ---------- */
.dash { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 12px; margin-top: 22px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; justify-content: center; }
.tile b { font: 800 28px/1.1 var(--f-head); }
.tile span { color: var(--muted); font-size: 14px; }
.tile.goal { flex-direction: row; align-items: center; gap: 14px; }
.tile.next { border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, var(--surface)); }
.tile.next:hover { background: color-mix(in srgb, var(--red) 10%, var(--surface)); }
.ring { width: 72px; height: 72px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: var(--surface-2); }
.ring .fg { stroke: var(--red); stroke-linecap: round; transition: stroke-dashoffset .5s; }
.goalpick { display: flex; flex-direction: row; align-items: center; gap: 6px; font-size: 13px; margin-top: 4px; }
.goalpick select { min-height: 32px; padding: 2px 8px; width: auto; }
.sec3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 30px 0 12px; }
.prs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pr { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.pr b { font: 800 22px/1.1 var(--f-head); color: var(--red); }
.pr span:first-child { font-weight: 600; }
.wo.next { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 12%, transparent); }
.good-line { color: var(--good); font-weight: 600; font-size: 14px; }
.logform { display: grid; gap: 14px; max-height: calc(100vh - 40px); overflow-y: auto; }
.restbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.exlog { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px; margin: 0; background: var(--surface); }
.exlog legend { font-weight: 700; padding: 0 6px; }
.setrow { display: grid; grid-template-columns: 34px 1fr 1fr 1.3fr; gap: 8px; align-items: center; margin-top: 6px; }
.setrow.head span { font-size: 12px; color: var(--faint); font-weight: 700; text-transform: uppercase; }
.setrow .n { font: 800 16px/1 var(--f-head); color: var(--faint); text-align: center; }
.setrow input { min-height: 44px; padding: 8px 10px; }
.setrow .pl { font-size: 12px; line-height: 1.2; }
.rest { position: fixed; z-index: 100; left: 50%; transform: translateX(-50%); bottom: 18px; background: var(--text); color: var(--bg); border-radius: 99px; padding: 6px 6px 6px 18px; display: flex; gap: 8px; align-items: center; box-shadow: 0 12px 30px -10px #0006; }
.rest .t { font: 800 18px/1 var(--f-head); min-width: 110px; }
.rest .btn.ghost { color: var(--bg); box-shadow: inset 0 0 0 2px #fff4; min-height: 36px; }
.rest.done { background: var(--good); }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr 1fr; } .tile.goal, .tile.next { grid-column: span 2; } }
@media (max-width: 420px) { .setrow { grid-template-columns: 26px 1fr 1fr; } .setrow .pl { grid-column: 2 / 4; } }

/* ---------- round 3-4: check-in, board, news, shop ---------- */
.news { margin-top: 18px; background: color-mix(in srgb, var(--logo-orange) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--logo-orange) 30%, var(--line)); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 4px; }
.news span { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; align-items: start; }
.cif { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.cif .wide { grid-column: 1 / -1; }
.energy { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; gap: 8px; align-items: center; }
.energy legend { font-weight: 600; font-size: 14px; color: var(--muted); float: left; margin-right: 8px; }
.energy label { display: block; }
.energy input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.energy span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 700; cursor: pointer; }
.energy input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.energy input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.reply { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.reply span { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.chart { width: 100%; height: auto; margin-top: 6px; }
.chart .line { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; }
.chart circle { fill: var(--surface); stroke: var(--red); stroke-width: 2; }
.chart .lbl { font: 600 10px var(--f-body); fill: var(--faint); }
.board { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.board li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; background: var(--bg); border-radius: 10px; }
.board li.me { background: color-mix(in srgb, var(--red) 10%, var(--surface)); font-weight: 700; }
.board .rk { text-align: center; font-weight: 800; }
.board b { font: 800 18px/1 var(--f-head); color: var(--red); }
.shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.item img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.item .noimg { aspect-ratio: 4 / 5; background: var(--surface-2); }
.ibody { padding: 16px; display: grid; gap: 6px; flex: 1; align-content: start; }
.ibody p.muted { font-size: 15px; }
.ifoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cif { grid-template-columns: 1fr 1fr; } }

/* ---------- round 5 ---------- */
.heat { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(7, 1fr); gap: 4px; max-width: 420px; }
.hd { aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); }
.hd.l1 { background: color-mix(in srgb, var(--red) 55%, var(--surface)); }
.hd.l2 { background: var(--red); }
.hd.fut { opacity: .35; }
.linkbtn { all: unset; cursor: pointer; color: var(--red); font-weight: 700; font-size: 14px; justify-self: start; margin-top: 4px; }
.linkbtn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bump { background: color-mix(in srgb, var(--good) 10%, var(--surface)); color: var(--text); border-radius: 10px; padding: 8px 10px; font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.bump .btn { min-height: 34px; }
.short { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--text); flex-direction: row; }
.short input { width: 22px; height: 22px; min-height: 0; accent-color: var(--red); }
.logform.is-short [data-extra] { display: none; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 50; max-width: calc(100% - 32px); }

@media (max-width: 860px) {
  .prog-grid { grid-template-columns: 1fr; }
  .buybox { position: static; order: -1; }
  .steps { grid-template-columns: 1fr; margin-bottom: 48px; }
}
@media (max-width: 520px) {
  .top nav a { padding: 10px 8px; font-size: 14px; }
  .hero { padding: 44px 0 40px; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
