/* app.torquex.live: прототип. Токены общие с gen.torquex.live (графит и триколор M), без внешних шрифтов и картинок. */
:root {
  color-scheme: dark;
  --bg: #0B0F17; --surface: #131A26; --surface-2: #1C2433;
  --line: #2A364F; --line-strong: #5B6B88;
  --text: #F1F5F9; --muted: #94A3B8;
  --accent: #6DB1FF; --brand: #0F6FE0; --brand-ink: #FFFFFF;
  --ok: #10B981; --warn: #FF8A3D;
  --m-1: #81c4ff; --m-2: #0653b6; --m-3: #e7222e;
  --stripe: linear-gradient(90deg, var(--m-1) 0 33.333%, var(--m-2) 33.333% 66.666%, var(--m-3) 66.666% 100%);
  --radius: 8px; --max: 1040px; --pad: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; font-size: 16px; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
header.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(11,15,23,.92); backdrop-filter: blur(6px); z-index: 5; }
header.top::after { content: ""; display: block; height: 3px; background: var(--stripe); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.brand { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: none; font-size: 15px; }
.brand span { font-weight: 200; color: var(--muted); letter-spacing: .12em; margin-left: 6px; }
nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; letter-spacing: .04em; }
nav a:hover, nav a[aria-current] { color: var(--text); }
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-weight: 200; letter-spacing: .04em; font-size: clamp(32px, 6vw, 56px); line-height: 1.12; margin: 0 0 18px; }
.hero p.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 640px; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 4px; font-weight: 700; letter-spacing: .06em; text-decoration: none; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); font-size: 15px; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-weight: 200; letter-spacing: .05em; font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; text-align: center; }
section p.sub { color: var(--muted); text-align: center; margin: 0 auto 32px; max-width: 620px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: .03em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.num { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.price-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; margin: 0 auto; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.price.main { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.price .amount { font-size: 44px; font-weight: 200; letter-spacing: .02em; margin: 6px 0 2px; }
.price .amount small { font-size: 15px; color: var(--muted); letter-spacing: .04em; }
.price ul { padding-left: 18px; margin: 14px 0 20px; color: var(--muted); font-size: 15px; }
.price ul li { margin: 6px 0; }
.tag { position: absolute; top: 14px; right: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.cmp th { font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.yes { color: var(--ok); font-weight: 700; } .no { color: var(--muted); }
.log { max-width: 760px; margin: 0 auto; }
.log article { border-bottom: 1px solid var(--line); padding: 18px 0; }
.log h3 { margin: 0 0 6px; font-size: 17px; }
.log time { color: var(--muted); font-size: 13px; font-family: ui-monospace, Consolas, monospace; }
.log ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin: 10px auto; max-width: 760px; }
summary { padding: 16px 0; cursor: pointer; font-weight: 600; }
details p { margin: 0 0 16px; color: var(--muted); }
.notice { background: var(--surface-2); border-left: 3px solid var(--warn); padding: 14px 18px; border-radius: 4px; color: var(--muted); font-size: 14px; max-width: 760px; margin: 24px auto 0; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
footer a { color: var(--muted); display: block; margin: 6px 0; text-decoration: none; }
footer a:hover { color: var(--text); }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 64px; }
.legal h1 { font-weight: 200; letter-spacing: .04em; font-size: 34px; }
.legal h2 { text-align: left; font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: #CBD5E1; }
form.buy { max-width: 560px; margin: 0 auto; }
.field { margin: 18px 0; }
.field label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input[type=text] { width: 100%; padding: 13px 14px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 16px; font-family: ui-monospace, Consolas, monospace; }
.field .hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.methods { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.method { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px; cursor: pointer; background: var(--surface); }
.method input { margin-right: 8px; }
.method b { display: block; margin-bottom: 4px; }
.method span { color: var(--muted); font-size: 13px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; }
.total strong { font-size: 30px; font-weight: 200; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: var(--muted); font-size: 14px; }
.blocks { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.block .square { display: flex; flex-direction: column; justify-content: center; align-items: center; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--surface)); text-decoration: none; color: var(--text); position: relative; overflow: hidden; padding: 16px; text-align: center; }
.block .square::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--stripe); }
.block .square b { font-size: clamp(52px, 9vw, 84px); font-weight: 200; letter-spacing: .06em; line-height: 1; }
.block .square small { color: var(--muted); letter-spacing: .08em; margin-top: 12px; font-size: 13px; text-transform: uppercase; }
.block .square .chip { position: absolute; top: 16px; right: 14px; }
.block .square.live { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, 0 10px 30px rgba(15,111,224,.15); }
.block .square:not(.live) { opacity: .75; }
.models { list-style: none; margin: 12px 0 0; padding: 0; }
.models li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.models li span { color: var(--text); }
.models li em { font-style: normal; color: var(--accent); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; white-space: nowrap; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.tile.live { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.tile h3 { margin: 10px 0 4px; font-size: 24px; font-weight: 300; letter-spacing: .04em; }
.tile .eng { color: var(--accent); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; letter-spacing: .06em; margin: 0 0 10px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.chip { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); }
.chip.ok { border-color: var(--ok); color: var(--ok); }
.chip.soon { border-color: var(--warn); color: var(--warn); }
@media (max-width: 780px) { nav { display: none; } .bar { min-height: 52px; } .methods { grid-template-columns: 1fr; } .hero { padding: 48px 0 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

[hidden] { display: none !important; }
