/* Full Time Shooter: the community, coaching, apply and gear pages (Nov 26, 2026). Loaded after fts.css and uses only
   its tokens: the "camera brand" look, black/graphite/white/silver, no hue accent, light and dark themes, text never
   under 12px. Written by hand for _build/money.py. */

/* ---------- Page top: copy on the left, the price card on the right (lane-page grid) ---------- */
.m-hero { padding-top: clamp(48px, 7vw, 104px); }
.m-hero h1 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: 0.01em; line-height: 1; max-width: 16ch; }
.m-hero .lede { margin-top: 24px; }
.m-hero .note { margin-top: 22px; max-width: 56ch; font-size: 16px; color: var(--text-3); }
.m-hero .note .link { color: var(--text-2); }
.m-hero .inside { margin-top: 36px; }

/* ---------- Price card ---------- */
.offer-card { background: var(--bg-2); padding: clamp(24px, 3.2vw, 44px); border-radius: 2px; }
.offer-card > .caps { color: var(--text-2); }
.offer-card .btn { width: 100%; min-height: 52px; margin-top: 12px; }
.offer-card .terms + .btn, .offer-card .sum + .btn { margin-top: 28px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 10px; }
.price .num { font-size: clamp(44px, 5vw, 72px); font-weight: 500; letter-spacing: 0; line-height: 1; }
.price .per { color: var(--text-2); font-size: 17px; }
.terms { margin-top: 22px; border-top: 1px solid var(--line-strong); }
.terms li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text-2); }
.terms li b { color: var(--text); font-weight: 600; }

/* The coaching summary: name and price on one line, the terms under them. */
.sum { margin-top: 18px; border-top: 1px solid var(--line-strong); }
.sum li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sum .t { font-size: 19px; font-weight: 500; letter-spacing: 0; }
.sum .p { font-family: var(--mono); font-size: 14px; color: var(--text); text-align: right; white-space: nowrap; }
.sum .d { grid-column: 1 / -1; color: var(--text-2); font-size: 15px; }

/* ---------- An offer: the price, with its rule printed right beside it, then the details ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.offer-price { padding: 28px 32px 28px 0; }
.offer-price .price { margin-top: 0; }
.offer-rule { padding: 28px 0 28px 32px; border-left: 1px solid var(--line); }
.offer-rule > .caps { display: block; margin-bottom: 12px; color: var(--text-2); }
.offer-rule p { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 58ch; }
.offer-rule p + p { margin-top: 14px; }
.offer-rule p.sub { font-size: 16px; color: var(--text-2); }
.offer-rule p.sub b { color: var(--text); font-weight: 600; }
.offer + .objs { margin-top: 0; border-top: 0; max-width: none; }
.offer-acts { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.offer-acts .btn { min-height: 52px; }

/* ---------- Application form extras (the base field styles are in fts.css) ---------- */
.field textarea {
  width: 100%; min-height: 104px; padding: 12px 14px;
  background: var(--field); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 2px;
  font: inherit; font-size: 17px; line-height: 1.5; resize: vertical;
}
.field textarea:hover { border-color: var(--text-3); }
.field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.field .hint { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.field .hint a { color: var(--text-2); }
.field.check { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 6px 12px; cursor: pointer; }
.field.check input { width: 22px; height: 22px; padding: 0; margin: 1px 0 0; -webkit-appearance: auto; appearance: auto; accent-color: var(--text); cursor: pointer; }
.field.check .check-txt { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.field.check .check-txt a { color: var(--text); }
.field.check .err { grid-column: 2; }
.field.check [aria-invalid="true"] { outline: 1px solid var(--err); outline-offset: 2px; }

/* ---------- /gear/ ---------- */
.p-head .gear-disc { margin-top: 28px; }
.gear-list { border-top: 1px solid var(--line-strong); }
.gear-list > li { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr) minmax(0, 0.7fr); gap: 10px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.gear-list h3 { font-size: 22px; letter-spacing: 0.01em; }
.gear-list .for { color: var(--text-2); font-size: 16px; max-width: 62ch; }
.gear-list .used { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.gear-list .used a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.gear-list .g-links { justify-content: flex-end; }

/* ---------- A pay or join button whose link isn't pasted yet (money.btn): visibly off, no href, nothing to click ---------- */
.btn.is-off { flex-direction: column; gap: 2px; cursor: not-allowed; opacity: .5; }
.btn.is-off small { font-size: 12px; letter-spacing: 0.06em; text-transform: none; font-weight: 500; }
.btn-solid.is-off:hover { background: var(--btn-bg); }
.btn-line.is-off:hover { border-color: var(--line-strong); }

/* ---------- /apply/: the refund rule printed next to the box (form.js shows only the chosen program's) ---------- */
.apply-rules { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.apply-rules .caps { color: var(--text-2); }
.apply-rules p:not(.caps) { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.apply-rules p b { color: var(--text); font-weight: 600; }
.apply-rules p[hidden] { display: none; }

/* ---------- /gear/: a long "Used in" list folds after 8 lessons ---------- */
.gear-list .used details { display: inline; }
.gear-list .used summary { display: inline; cursor: pointer; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.gear-list .used summary::-webkit-details-marker { display: none; }
.gear-list .used summary::marker { content: ""; }
.gear-list .used details[open] summary { display: none; }

@media (max-width: 900px) {
  .offer { grid-template-columns: 1fr; }
  .offer-price { padding: 24px 0 0; }
  .offer-rule { padding: 20px 0 24px; border-left: 0; }
  .gear-list > li { grid-template-columns: 1fr; }
  .gear-list .g-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .offer-rule p { font-size: 17px; }
  .offer-acts .btn { width: 100%; }
}
