/* storefront.css — the public trainer page at /t/<slug>.

   Loads AFTER global.css and uses its tokens, so the page inherits the app's
   whole 12-accent system: storefront.js sets data-combo from the trainer's own
   theme, and every colour here derives from --accent. That is the white-label
   promise extended to the public page — the thing competitors charge
   $75–248/mo plus a setup fee for.

   Prefixed .sf-* throughout so nothing collides with the app's classes; this
   page loads no other stylesheet. */

.sf-wrap{max-width:920px;margin:0 auto;padding:0 24px 4rem;
  font-family:var(--font-family);color:var(--text)}
body{background:var(--bg)}

.sf-label{font-family:var(--font-display);font-size:.72rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--text);margin-bottom:.5rem}

.sf-wrap h1{font-family:var(--font-display);font-size:clamp(2rem,5vw,2.9rem);
  font-weight:800;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.sf-wrap h2{font-family:var(--font-display);font-size:clamp(1.3rem,3vw,1.7rem);
  font-weight:700;margin:.2rem 0 .5rem}
.sf-wrap h3{font-family:var(--font-display);font-size:1.05rem;font-weight:700}

.sf-wrap section{padding:2.6rem 0;border-top:1px solid var(--border)}
.sf-sub{color:var(--text-dim);margin-bottom:1.2rem}

/* ── Hero ── */
.sf-hero{display:flex;gap:1.6rem;align-items:center;padding:3.4rem 0 2.6rem}
@media (max-width:600px){.sf-hero{flex-direction:column;align-items:flex-start;gap:1.1rem}}
.sf-photo{width:120px;height:120px;border-radius:50%;object-fit:cover;flex:0 0 auto;
  border:2px solid var(--accent);background:var(--surface-2)}
.sf-headline{color:var(--text-dim);font-size:1.08rem;margin-top:.4rem;max-width:34rem}
.sf-hero-cta{margin-top:1.1rem}

.sf-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.9rem}
.sf-tag{font-size:.74rem;font-weight:700;letter-spacing:.03em;padding:.25rem .7rem;
  border-radius:0;border:1px solid var(--border);color:var(--text-dim)}
/* Coaching MODE is the thing a prospect scans for first — in person or remote. */
.sf-tag.on{border:2px solid var(--accent);background:transparent;color:var(--text)}

/* ── Buttons: the app's relief language, simplified ── */
.sf-btn{display:inline-block;font-family:var(--font-display);font-weight:900;text-transform:uppercase;letter-spacing:0.06em;
  font-size:.92rem;padding:.8rem 1.4rem;border-radius:var(--btn-radius,0px);
  border:1px solid transparent;cursor:pointer;text-decoration:none;text-align:center}
/* 5b: flat — no lip, no cast base. */
.sf-btn-primary{background:var(--accent);color:var(--accent-contrast)}
.sf-btn-primary:hover{filter:brightness(1.06)}
.sf-btn-ghost{border-color:var(--border-strong,var(--border));color:var(--text)}
.sf-btn-ghost:hover{border-color:var(--text);color:var(--text)}
@media (prefers-reduced-motion:reduce){.sf-btn-primary:hover{transform:none}}

.sf-prose p{color:var(--text-dim);line-height:1.65;margin-bottom:.9rem;max-width:44rem}

/* ── Packages ── */
.sf-pkgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.sf-pkg{background:var(--surface-2);border:1px solid var(--border);
  border-radius:0;padding:1.4rem;display:flex;flex-direction:column}
.sf-price{font-family:var(--font-display);font-size:1.5rem;font-weight:800;
  color:var(--text);margin:.3rem 0 .5rem}
.sf-blurb{color:var(--text-dim);font-size:.92rem;flex:1;margin-bottom:1rem}
.sf-pkg .sf-btn{width:100%}
/* Saying who takes the money, before they click. Trust is the conversion. */
.sf-fineprint{color:var(--text-dim);font-size:.8rem;margin-top:1rem}

/* ── Intake form ── */
.sf-form{max-width:34rem}
.sf-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
@media (max-width:560px){.sf-row{grid-template-columns:1fr}}
.sf-form label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-dim);margin:.9rem 0 .35rem}
.sf-form input,.sf-form select,.sf-form textarea{width:100%;min-height:44px;
  background:var(--surface-2);border:1px solid var(--border-strong,var(--border));
  border-radius:0;color:var(--text);font-family:var(--font-family);
  font-size:1rem;padding:.7rem .8rem}
.sf-form textarea{min-height:96px;resize:vertical}
.sf-form input:focus,.sf-form select:focus,.sf-form textarea:focus{
  outline:2px solid var(--accent);outline-offset:1px;border-color:transparent}
.sf-submit{margin-top:1.2rem;width:100%}
/* Honeypot. Positioned off-canvas rather than display:none — some bots skip
   fields they can tell are hidden, and this one should look fillable to them.
   aria-hidden + tabindex="-1" in the markup keep it away from real users. */
.sf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sf-note{margin-top:.7rem;font-size:.85rem;color:var(--text-dim);min-height:1.2rem}
.sf-note.bad{color:var(--danger,var(--warning))}
.sf-done{background:var(--surface-2);border:1px solid var(--accent);
  border-radius:0;padding:1.2rem;color:var(--text-dim)}
.sf-done b{color:var(--text)}

/* ── Empty / error states ── */
.sf-empty{padding:5rem 0;text-align:center}
.sf-empty .sf-label{margin-bottom:.6rem}
.sf-empty p{color:var(--text-dim);margin:.6rem 0 1.4rem}

.sf-foot{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  border-top:1px solid var(--border);padding-top:1.6rem;margin-top:2.6rem;
  color:var(--text-dim);font-size:.85rem}
.sf-foot a{color:var(--text-dim);text-decoration:none}
.sf-foot a:hover{color:var(--text)}

/* Ways to pay that have no link — Zelle, cash, bank transfer (v92).
   Styled as a quiet panel rather than a button on purpose: this is a handle
   to copy, not a destination to tap. Nothing in here is ever an anchor. */
.sf-paynote{display:flex;flex-direction:column;gap:.25rem;margin-top:1rem;
  padding:.85rem 1rem;border:1px dashed var(--border-strong,var(--border));
  border-radius:0;background:var(--surface-2)}
.sf-paynote-label{font-size:.7rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text)}
/* user-select:all so a tap-and-hold grabs the whole handle cleanly on mobile,
   which is the actual interaction — read it, copy it, paste it into a bank app. */
.sf-paynote-text{color:var(--text);font-size:.95rem;user-select:all;
  overflow-wrap:anywhere}

/* Contact row in the hero (v98). Present only when the trainer opted in; the
   columns that feed it are held null by the schema otherwise, so an opted-out
   coach's page has nothing to hide because it was never sent anything. */
.sf-contact {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
  margin-top: .9rem; font-size: .85rem;
}
.sf-contact-link {
  color:var(--text); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent), transparent 65%);
  padding-bottom: 1px;
}
.sf-contact-link:hover { border-bottom-color:var(--text); }

/* ── A published article (v117): /t/<slug>/a/<public_slug> ── */
.sf-article { max-width:42rem; margin:0 auto; padding:1.5rem 1.25rem 3rem; }
.sf-article-back { display:inline-block; margin-bottom:1.2rem; color:var(--text-dim); text-decoration:none; font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:.8rem; }
.sf-article h1 { font-family:var(--font-display); font-size:2rem; line-height:1.15; margin:0 0 .5rem; text-wrap:balance; }
.sf-article-meta { color:var(--text-dim); font-size:.9rem; margin-bottom:1.6rem; }
/* The colour half of a resource header (v130). The image half needs a signed
   URL and a stranger has no credential to sign with, so this page gets the
   ground and never the picture. */
.sf-article-hero { width:100%; aspect-ratio:3 / 1; border-radius:0; margin:0 0 1.2rem; }
.sf-article-body { font-size:1.05rem; line-height:1.6; }
.sf-article-body h2 { font-size:1.4rem; margin:1.6rem 0 .5rem; }
.sf-article-body h3 { font-size:1.15rem; margin:1.3rem 0 .4rem; }
.sf-article-body p { margin:0 0 1rem; }
.sf-article-body ul { margin:0 0 1rem 1.3rem; padding:0; }
.sf-article-body li { margin:.3rem 0; }
.sf-article-body a { color:inherit; text-decoration:underline; }
