/* © 2026 LFM Labs. All rights reserved. */
/* site-brief.css: the brief sheet (site-brief.js), the style samples it shares with the
   style switcher, "What a site needs today" with the live speed badge (site-sell.js),
   and the portfolio offer. Tokens only (index.html :root). */

/* --------------------------------------------------------------- Chips */
.brief-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; outline: none; }
.brief-chip {
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius-pill);
  background: none; color: var(--ink); font: 500 15px/1.2 var(--type); cursor: pointer; text-align: left;
  transition: background 200ms var(--ease-lfm-out), border-color 200ms var(--ease-lfm-out);
}
.brief-chip:hover { border-color: var(--ink); }
.brief-chip[aria-pressed="true"], .brief-chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.brief-chip:focus-visible, .brief-look:focus-visible, .std-more:focus-visible, .mk-tabs .brief-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.brief-chips[aria-invalid="true"], .brief-looks[aria-invalid="true"] { border-radius: 14px; box-shadow: 0 0 0 1px var(--danger); }

/* --------------------------------------------------------------- Brief */
.brief-head { margin: 0 0 6px; }
.brief-progress { height: 4px; margin: 0 0 14px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.brief-progress span { display: block; height: 100%; border-radius: 2px; background: var(--ink); transition: width 300ms var(--ease-lfm-out); }
.brief-hint { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.brief-noted { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 14px; }
.brief-sub { margin: 18px 0 8px; font: 600 14px/1.3 var(--type); color: var(--ink-2); }
.brief-sub:first-child { margin-top: 4px; }
.brief-other { margin-top: 14px; }
.brief-other[hidden] { display: none; }
.brief-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--rule-strong); color: var(--ink-2); font-size: 14px; }
.brief-note[hidden] { display: none; }
.brief-privacy { display: inline-block; margin-top: 4px; font-size: 14px; }
.brief-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; outline: none; }
.brief-look { display: grid; gap: 4px; padding: 8px 8px 10px; border: 1px solid var(--rule-strong); border-radius: 16px; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.brief-look[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface); }
.brief-look-name { font: 600 14px/1.2 var(--type); padding: 2px 2px 0; }
.brief-look-words { color: var(--ink-2); font-size: 12.5px; padding: 0 2px; }
.brief-chip.wide { grid-column: span 3; justify-self: start; }
/* Another service fits the problem too (D31b): a quiet line and a link, beside our pick. */
.brief-points { margin: 12px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.brief-point { padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 14px; }
.brief-start { margin-top: 4px; }
.brief-sum { margin: 0 0 18px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.brief-sum div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.brief-sum dt { color: var(--ink-2); font-size: 14px; }
.brief-sum dd { margin: 0; overflow-wrap: anywhere; }
.brief-pick { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--ink); }
.brief-pick-h { margin: 0; font: 300 26px/1.2 var(--type); letter-spacing: -0.015em; }
.brief-pick-why { margin: 6px 0 0; color: var(--ink-2); }

/* A look, drawn small: its own paper, ink and accent (the --look-* tokens). */
.look-sample { display: grid; gap: 5px; align-content: start; aspect-ratio: 16 / 10; padding: 9px; border-radius: 10px;
  background: var(--s-bg); border: 1px solid var(--rule); box-sizing: border-box; }
.look-sample > span { display: block; border-radius: 3px; background: var(--s-ink); }
.ls-bar { height: 4px; width: 40%; opacity: 0.7; }
.ls-h { height: 9px; width: 78%; margin-top: 4px; }
.ls-line { height: 4px; width: 60%; opacity: 0.5; }
.ls-btn { height: 10px; width: 34%; margin-top: auto; border-radius: 999px !important; background: var(--s-acc) !important; }
.look-sample[data-sample="paper"] { --s-bg: var(--look-paper-bg); --s-ink: var(--look-paper-ink); --s-acc: var(--look-paper-ink); }
.look-sample[data-sample="neon"] { --s-bg: var(--look-neon-bg); --s-ink: var(--look-neon-ink); --s-acc: var(--look-neon-acc); }
.look-sample[data-sample="neon"] .ls-h { box-shadow: 0 0 6px var(--look-neon-acc); }
.look-sample[data-sample="signal"] { --s-bg: var(--look-signal-bg); --s-ink: var(--look-signal-ink); --s-acc: var(--look-signal-acc); }
.look-sample[data-sample="signal"] > span { border-radius: 0; }
.look-sample[data-sample="terminal"] { --s-bg: var(--look-terminal-bg); --s-ink: var(--look-terminal-ink); --s-acc: var(--look-terminal-acc); }
.look-sample[data-sample="comic"] { --s-bg: var(--look-comic-bg); --s-ink: var(--look-comic-ink); --s-acc: var(--look-comic-acc); border: 2px solid var(--look-comic-ink); }
.look-sample[data-sample="blueprint"] { --s-bg: var(--look-blueprint-bg); --s-ink: var(--look-blueprint-ink); --s-acc: var(--look-blueprint-acc);
  background-image: linear-gradient(var(--look-blueprint-acc) 1px, transparent 1px), linear-gradient(90deg, var(--look-blueprint-acc) 1px, transparent 1px);
  background-size: 10px 10px; background-blend-mode: soft-light; }
.look-sample[data-sample="ink"] { --s-bg: var(--look-ink-bg); --s-ink: var(--look-ink-ink); --s-acc: var(--look-ink-acc); }
.look-sample[data-sample="ink"] .ls-h { height: 7px; border-radius: 0; }

/* --------------------------------------------- What a site needs today */
.std-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.std-group { padding: 20px; border-radius: var(--radius-card); border: 1px solid var(--rule); background: var(--surface); }
.std-group[data-group="ai"] { grid-column: span 2; border-color: var(--rule-strong); }
.std-group-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 16px/1.3 var(--type); }
.std-icon { flex: none; width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border-radius: 10px; background: var(--accent-soft);
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.std-group[data-group="yours"] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.std-group[data-group="yours"] .std-group-h { margin: 0; }
.std-group[data-group="yours"] .std-tile { border-top: 0; padding: 0; }
.std-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.std-group[data-group="ai"] .std-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.std-tile { padding: 10px 0; border-top: 1px solid var(--rule); }
.std-claim { margin: 0; font: 500 15px/1.4 var(--type); }
.std-more { margin: 4px 0 0; padding: 4px 0; display: inline-flex; gap: 6px; align-items: center; border: 0; background: none; color: var(--ink-2); font: 500 13px/1.3 var(--type); cursor: pointer; }
.std-more[aria-expanded="true"] .std-caret { rotate: 45deg; }
.std-caret { transition: rotate 200ms var(--ease-lfm-out); }
.std-why { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.std-why[hidden] { display: none; }
.speed-badge { margin: 14px 0 0; padding: 12px 14px; display: grid; gap: 2px; border-radius: 14px; background: var(--ink); color: var(--on-ink); font-size: 14px; }
.speed-badge[hidden] { display: none; }
.speed-badge strong { font-weight: 600; }
.speed-src { opacity: 0.7; font-size: 12px; }
/* The fuller version, in the What's included sheet: one column, the why always shown. */
.inc-standard { margin: 8px 0 18px; }
.std-groups.open { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.std-groups.open .std-group { padding: 14px 16px; }
.std-groups.open .std-group[data-group="ai"] { grid-column: auto; }
.std-groups.open .std-group[data-group="ai"] .std-tiles { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 960px) {
  .std-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .std-groups { grid-template-columns: minmax(0, 1fr); }
  .std-group[data-group="ai"] { grid-column: auto; }
  .std-group[data-group="ai"] .std-tiles { grid-template-columns: minmax(0, 1fr); }
  .brief-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-chip.wide { grid-column: span 2; }
  .brief-sum div { grid-template-columns: 6rem minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .brief-chip, .brief-progress span, .std-caret { transition: none; }
}

/* ------------------------------------------- Portfolio sites (D23) */
/* The offer under the budget question and in its own sheet: a calm panel, the terms
   behind "What's the trade?". The quiet line under the plans is in site-sell.css. */
.brief-offer { border-style: solid; border-color: var(--rule-strong); background: var(--surface); color: var(--ink); }
.offer-lead { margin: 0 0 8px; color: var(--ink-2); }
.offer-line { margin: 0; font-size: 15px; line-height: 1.45; }
.brief-offer .std-more { margin-top: 6px; }
.offer-terms { margin: 8px 0 0; }
.offer-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.offer-deposit { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.offer-sheet { margin: 0 0 14px; }
.offer-sheet .offer-line { font: 300 22px/1.3 var(--type); letter-spacing: -0.01em; margin-bottom: 14px; }
.offer-how { margin-top: 4px; }

/* The deposit sheet (site-pay.js), shown only while the pay flag is on. */
.pay-refund { margin: 1rem 0; font-weight: 500; }
.pay-consent { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 0.6rem; align-items: start; }
.pay-consent .field-err { grid-column: 1 / -1; }
.pay-general:empty { display: none; }
.pay-mount { min-height: 420px; }

/* The referral share card and the arrival greeting (site-refer.js), refer flag only. */
.refer-join { display: grid; gap: 0.6rem; }
.refer-tick { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 0.6rem; align-items: start; }
.refer-tick .field-err { grid-column: 1 / -1; }
.refer-general:empty { display: none; }
.story-ref { margin-top: 0.75rem; font-weight: 500; }
