/* Free drum kit page (/free/<slug>): the old bot's flow on one screen. Steps with the service's mark, then
   sign in, screenshots, review, done. Built on tokens.css and base.css. */
.fk { padding-block: 18px 40px; }
.fk-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 6px; color: var(--muted); font-weight: 600; }
.fk-back::before { content: "\2190"; margin-right: 8px; }
.fk-back:hover { color: var(--text); }
.fk-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: start; }
.fk-side { display: grid; gap: var(--gap); position: sticky; top: calc(var(--nav-h) + 16px); }
.fk-main { display: grid; gap: var(--gap); min-width: 0; }

/* cover */
.fk-art { padding: 10px; }
.fk-cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: calc(var(--radius) - 8px); background: var(--surface-2); }
.fk-cover img { width: 100%; height: 100%; object-fit: cover; }
.fk-cover-blank { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 900; font-size: 84px; letter-spacing: -0.06em; color: rgb(var(--accent-rgb) / 0.3); }
.fk-tag { position: absolute; left: 12px; top: 12px; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); box-shadow: 0 8px 24px -8px var(--glow); }

/* the full kit beside it */
.fk-full { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; }
.fk-full-cv { width: 56px; height: 56px; overflow: hidden; border-radius: 13px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); display: grid; place-items: center; font-weight: 900; color: var(--muted); }
.fk-full-cv img { width: 100%; height: 100%; object-fit: cover; }
.fk-full-tx { display: grid; gap: 1px; min-width: 0; }
.fk-full-tx small { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fk-full-tx b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fk-full-tx i { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fk-full-go { color: var(--muted); font-size: 16px; transition: translate 0.4s var(--ease-out), color var(--dur); }
.fk-full:hover .fk-full-go { color: var(--text); translate: 3px 0; }

/* head */
.fk-head, .fk-steps, .fk-send { padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 10px; align-content: start; }
.fk-kicker { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.fk-h1 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; font-stretch: 116%; letter-spacing: -0.045em; line-height: 0.96; overflow-wrap: anywhere; }
.fk-h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.fk-desc { color: var(--muted); font-size: 16px; line-height: 1.5; white-space: pre-line; }
.fk-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.fk-meta span + span::before { content: "·"; margin-right: 14px; opacity: 0.6; }
.fk-note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.fk-note b { color: var(--text); font-weight: 700; }
.fk-fine { color: var(--muted); font-size: 13px; line-height: 1.5; }
.fk-fine b { color: var(--text); font-weight: 600; }
.fk-link { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline-2); cursor: pointer; }
.fk-link:hover { text-decoration-color: currentColor; }
.fk-n { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fk-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* steps: the bot's numbered list, every line a button to the right place */
.fk-steps-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fk-steps-n { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fk-step-list { display: grid; gap: 8px; }
.fp-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--hairline-2); transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), translate 0.4s var(--ease-out); }
a.fp-step:hover { background: rgb(var(--c, 255 255 255) / 0.12); box-shadow: inset 0 0 0 1px rgb(var(--c, 255 255 255) / 0.5); translate: 0 -1px; }
.fp-step.is-text { grid-template-columns: 44px minmax(0, 1fr); }
.fp-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, 0.07); color: var(--text); }
.fp-ic.is-brand { background: rgb(var(--c) / 0.16); color: rgb(var(--c)); }
.fp-ic .ic, .fp-ic svg { width: 22px; height: 22px; }
.fp-tx { display: grid; gap: 1px; min-width: 0; }
.fp-tx small { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fp-tx span { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.fp-go { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: rgba(255, 255, 255, 0.06); transition: color var(--dur), background-color var(--dur), translate 0.4s var(--ease-out); }
a.fp-step:hover .fp-go { color: var(--text); background: rgb(var(--c, 255 255 255) / 0.25); translate: 2px -2px; }

/* steps the buyer ticks one by one (free by email with steps): Open, then «I did it», the next row unlocks */
.fp-do { grid-template-columns: 44px minmax(0, 1fr) auto; cursor: default; }
.fp-act { display: flex; gap: 6px; flex: none; }
.fp-act .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.fp-do.is-now { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgb(var(--c, 255 255 255) / 0.45); }
.fp-do.is-locked { opacity: 0.42; }
.fp-do.is-locked .fp-act { pointer-events: none; }
.fp-done[disabled] { opacity: 0.45; cursor: not-allowed; }
.fp-ok { display: none; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--accent-ink); background: var(--accent); box-shadow: 0 6px 18px -8px var(--glow); }
.fp-do.is-done { background: rgb(var(--accent-rgb) / 0.07); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 0.35); }
.fp-do.is-done .fp-ic { background: var(--accent); color: var(--accent-ink); }
.fp-do.is-done .fp-act { display: none; }
.fp-do.is-done .fp-ok { display: grid; animation: fk-pop 0.4s var(--ease-out) both; }
.fp-do.is-done .fp-tx span { color: var(--muted); }
.fk-gate { position: relative; gap: 8px; padding: 6px 0 2px; }
.fk-gate-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, 0.06); color: var(--muted); margin-bottom: 4px; }
.fk-gate-ic svg { width: 22px; height: 22px; }

/* send */
.fk-panel { display: grid; gap: 12px; }
.fk-form { display: grid; gap: 8px; }
.fk-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.fk-inline { display: flex; gap: 8px; }
.fk-inline .field { flex: 1 1 200px; min-width: 0; font-size: 16px; }
.fk-inline .btn { flex: none; min-height: 50px; }
.fk-code { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.fk-declined { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--danger) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 35%, transparent); font-size: 14px; line-height: 1.45; }
.fk-declined b { color: color-mix(in srgb, var(--danger) 70%, #fff); }
.fk-declined span { color: var(--text); }
.fk-drop { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 84px; padding: 14px; border-radius: 18px; cursor: pointer; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--hairline-2); outline: 1.5px dashed var(--hairline-2); outline-offset: -6px; transition: background-color var(--dur) var(--ease-out), outline-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.fk-drop:hover, .fk-drop.is-over { background: rgb(var(--accent-rgb) / 0.07); outline-color: rgb(var(--accent-rgb) / 0.6); }
.fk-drop:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px rgb(var(--accent-rgb) / 0.12); }
.fk-drop > input { position: absolute; }   /* .tile gives every input position: relative, which would seat the hidden file input in the first grid cell */
.fk-drop-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: rgba(255, 255, 255, 0.06); color: var(--accent); }
.fk-drop-ic svg { width: 26px; height: 26px; }
.fk-drop-tx { display: grid; gap: 2px; min-width: 0; }
.fk-drop-tx b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.fk-drop-tx i { font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.35; }
.fk-drop-btn { pointer-events: none; }
.fk-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.fk-shot { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); animation: fk-pop 0.4s var(--ease-out) both; }
.fk-shot img { width: 100%; height: 100%; object-fit: cover; }
.fk-shot b { position: absolute; left: 6px; bottom: 6px; height: 22px; min-width: 22px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--accent-ink); background: var(--accent); }
.fk-shot button { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgb(0 0 0 / 0.6); font-size: 16px; line-height: 1; transition: background-color var(--dur); }
.fk-shot button:hover { background: var(--danger); }
@keyframes fk-pop { from { opacity: 0; transform: scale(0.9); } }
.fk-note-in { min-height: 56px; font-size: 16px; }
.fk-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; min-height: 44px; padding-top: 2px; cursor: pointer; color: var(--muted); }
.fk-check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
.fk-check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline-2); }
.fk-check a:hover { text-decoration-color: currentColor; }
.fk-cta { min-height: 52px; }
.fk-err { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--danger) 12%, transparent); color: color-mix(in srgb, var(--danger) 60%, #fff); font-size: 14px; line-height: 1.45; }
.fk-who { margin-top: -4px; }

/* status: three dots of the way */
.fk-status { gap: 14px; }
.fk-status.is-ok { background: radial-gradient(120% 90% at 100% 0%, rgb(var(--accent-rgb) / 0.16), rgb(var(--accent-rgb) / 0) 60%), var(--surface); }
.fk-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: fk; }
.fk-track li { position: relative; display: grid; gap: 8px; padding-top: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.fk-track li i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.fk-track li.is-done i { background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.fk-track li.is-now:not(.is-done) i::after { content: ""; display: block; width: 40%; height: 100%; border-radius: 4px; background: var(--accent); animation: fk-run 1.6s var(--ease-in-out) infinite alternate; }
.fk-track li.is-now span { color: var(--text); }
.fk-track li.is-done span { color: var(--accent); }
@keyframes fk-run { from { translate: 0 0; } to { translate: 150% 0; } }

@media (max-width: 860px) {
  .fk-grid { grid-template-columns: minmax(0, 1fr); }
  .fk-side { position: static; grid-template-columns: minmax(0, 1fr); }
  .fk-art { max-width: 420px; }
  .fk-inline { flex-wrap: wrap; }
  .fk-inline .btn, .fk-inline .field { flex: 1 1 100%; }
  .fk-drop { grid-template-columns: 44px minmax(0, 1fr); }
  .fk-drop-ic { width: 44px; height: 44px; }
  .fk-drop-btn { display: none; }
  .fp-step { gap: 12px; }
  .fp-do { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "ic tx ok" "ic act act"; row-gap: 8px; }
  .fp-do .fp-ic { grid-area: ic; align-self: start; }
  .fp-do .fp-tx { grid-area: tx; }
  .fp-do .fp-act { grid-area: act; }
  .fp-do .fp-ok { grid-area: ok; }
  .fp-do.is-done { grid-template-areas: "ic tx ok"; }
  .fk-track li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .fk-shot, .fp-do.is-done .fp-ok { animation: none; }
  .fk-track li.is-now:not(.is-done) i::after { animation: none; width: 100%; opacity: 0.5; }
}
