/* /beta — тот же язык V1: светлое поле, белые карточки r28, сквиркл продукта с предметом, пилюли. Генерируется tools/build_beta.py */
.intro { padding-block: clamp(28px, 4vw, 56px) clamp(28px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 16px 48px; align-items: end; }
.intro h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: var(--lh-tight); letter-spacing: var(--track-display); font-weight: 800; }
.intro p { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); text-wrap: pretty; max-width: 32em; }
.intro p + p { margin-top: 8px; }

.list { display: grid; gap: 12px; }
.prod { background: var(--card); border-radius: var(--r-tile); padding: 28px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr); grid-template-rows: auto auto 1fr; grid-template-areas: "head chs" "build chs" "obs chs"; gap: 16px 40px; scroll-margin-top: 16px; }
.prod-head { grid-area: head; display: flex; gap: 16px; align-items: center; }
.prod .sq { flex: none; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; }
.prod .sq img { width: 56px; height: 56px; object-fit: contain; }
.prod h2 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: var(--track-head); font-weight: 800; }
.prod .who { margin-top: 4px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.soon { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--fill); font-size: 14px; font-weight: 700; letter-spacing: 0; vertical-align: 4px; }
.c-delay { background: var(--t-delay); } .c-split { background: var(--t-split); } .c-kids { background: var(--t-kids); } .c-sp { background: var(--t-sp); } .c-kiy { background: var(--t-kiy); }

.build { grid-area: build; margin: 0; display: grid; gap: 12px; align-content: start; }
.build dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.build dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.build code { display: block; font: 500 13.5px/1.55 ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, monospace; letter-spacing: 0.01em; color: var(--ink-2); background: var(--bg); border-radius: 12px; padding: 10px 12px; word-spacing: 0.15em; overflow-wrap: anywhere; }
.copy { margin-top: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--fill); color: var(--ink); font: 600 14px var(--font); cursor: pointer; transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.copy:hover { background: var(--fill-hover); }
.copy:active { transform: scale(0.97); }
.copy.done { background: var(--accent-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.obs { grid-area: obs; align-self: start; font-size: 13px; color: var(--muted); }

.chs { grid-area: chs; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; align-self: start; }
.ch { background: var(--bg); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
/* «Нет» — компактно и тише, чтобы вес был у доступных путей */
.ch.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fill); padding: 14px 18px; gap: 4px; }
.ch.off .ch-name { font-size: 15px; color: var(--ink-2); }
.ch.off .ch-note { font-size: 14px; color: var(--muted); }
.ch-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ch-name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.pill { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }
.pill.on { background: #D9F2E1; color: #145C2E; }
.pill.wait { background: #FFE9C7; color: #6E4300; }
.pill.off { background: var(--fill); color: var(--muted); }
.ch-note { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.ch-act { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.ch-btn.soft { box-shadow: inset 0 0 0 1.5px var(--fill-hover); }
.ch-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.ch-btn:hover { background: var(--accent-press); }
.ch-btn:active { transform: scale(0.97); }
.ch-btn.soft { background: var(--card); color: var(--ink); }
.ch-btn.soft:hover { background: var(--fill); }

.verify { margin-top: 12px; background: var(--fill); border-radius: var(--r-tile); padding: 24px 28px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr); gap: 8px 40px; }
.verify h2 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.verify p { color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.verify-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.link-btn.on-card { background: var(--card); margin-top: 4px; }
.verify code { font: 500 14px ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace; background: var(--card); padding: 2px 6px; border-radius: 6px; }

@media (max-width: 1100px) {
  .prod { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "chs" "build" "obs"; }
  .verify { grid-template-columns: 1fr; }
}
@media (max-width: 960px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .chs { grid-template-columns: 1fr; }
  .chs .ch { grid-column: auto !important; }
}
@media (max-width: 640px) {
  .intro { padding-top: 20px; }
  .prod { padding: 22px 20px; border-radius: 24px; gap: 16px; }
  .prod .sq { width: 60px; height: 60px; border-radius: 18px; }
  .prod .sq img { width: 46px; height: 46px; }
  .prod h2 { font-size: 24px; }
  .ch { padding: 16px; border-radius: 18px; }
  .ch-act .ch-btn { flex: 1 1 auto; }
  .build code { font-size: 13px; }
  .verify { padding: 22px 20px; border-radius: 24px; }
}

/* вынесено из атрибутов style (CSP style-src self) */
.chs .span2 { grid-column: span 2; }
.chs .span3 { grid-column: span 3; }
