/* decomp.wtf homepage. Builds on styles.css (tokens, header, bands, footer). */
[hidden] { display: none !important; }

.l-hero { padding-bottom: 0; }
.l-title { max-width: 13.5em; font-size: clamp(2.6rem, 7vw, 6rem); }
.l-hero-row { display: grid; gap: 28px; margin-top: 34px; align-items: end; }
@media (min-width: 1000px) { .l-hero-row { grid-template-columns: minmax(0, 32em) minmax(0, 30em); justify-content: space-between; margin-top: 44px; } }

.l-get { display: grid; gap: 10px; }
.l-os { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; justify-self: start; background: var(--panel); }
.l-os button { border: 0; background: none; font: 500 13px/1 var(--sans); color: var(--muted); padding: 8px 12px; border-radius: 7px; cursor: pointer; }
.l-os button.on { background: var(--ink); color: var(--btn-ink); }
.l-cmd { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 12px; background: var(--term); color: var(--term-ink); font: 13.5px/1.4 var(--mono); box-shadow: var(--shadow); min-width: 0; }
.l-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding: 10px 0; }
.l-cmd code::-webkit-scrollbar { display: none; }
.l-copy { flex: none; border: 1px solid var(--term-line); background: transparent; color: var(--term-ink); font: 500 12.5px/1 var(--sans); padding: 10px 13px; border-radius: 8px; cursor: pointer; }
.l-copy:hover { background: var(--term-line); }
.l-get-note { font-size: 13.5px; color: var(--muted); }
.l-get-note a, .l-dl a, .l-details a { color: inherit; text-underline-offset: 3px; }

.l-shot { margin: 56px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 1px 0 var(--line-soft), 0 60px 120px -60px rgba(20, 18, 10, .55); }
@media (min-width: 960px) { .l-shot { margin-top: 72px; } }
.l-shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-soft); }
.l-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.l-shot-bar span { margin-left: 12px; font: 12px/1 var(--mono); color: var(--muted); }
.l-shot img { display: block; width: 100%; height: auto; }
.l-shot figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); }

.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .l-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.l-steps li { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: grid; gap: 10px; align-content: start; }
.l-n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--match-bg); color: var(--match-ink); font: 500 14px/1 var(--mono); }
.l-steps h3 { font-size: 20px; letter-spacing: -.02em; margin-top: 8px; }
.l-steps p { color: var(--ink-2); font-size: 15.5px; }

.l-proof { display: grid; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .l-proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.l-proof h2 { margin: 0 0 18px; }
.l-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.l-points li { padding-left: 18px; position: relative; color: var(--ink-2); font-size: 15.5px; }
.l-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--match); }
.l-points b { color: var(--ink); font-weight: 600; }
.l-code { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--term); box-shadow: var(--shadow); }
.l-code-head { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; font: 12px/1.3 var(--mono); color: var(--term-muted); border-bottom: 1px solid var(--term-line); }
.l-code-head + pre + .l-code-head { border-top: 1px solid var(--term-line); }
.l-ok { color: #4fcf8c; }
.l-code pre { margin: 0; padding: 16px; font: 13px/1.65 var(--mono); color: var(--term-ink); overflow-x: auto; }
.l-asm span { color: var(--term-muted); }
.l-asm .l-lbl { color: #e5b04b; }
.l-c b { color: #86e3b0; font-weight: 400; }

.l-head-note { max-width: 30em; font-size: 15px; }
.l-agents { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .l-agents { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .l-agents { grid-template-columns: repeat(3, 1fr); } }
.l-agent { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.l-agent b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.l-agent span { font-size: 14px; color: var(--muted); }
.l-fine { margin-top: 16px; }
.l-tools { margin-top: 64px; display: grid; gap: 28px; padding-top: 40px; border-top: 1px solid var(--line-soft); }
@media (min-width: 1000px) { .l-tools { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; } }
.l-tools h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.l-tools ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 32px; }
@media (min-width: 700px) { .l-tools ul { grid-template-columns: 1fr 1fr; } }
.l-tools li { font-size: 14.5px; color: var(--muted); display: grid; gap: 3px; }
.l-tools li b { color: var(--ink); font-weight: 600; font-size: 15.5px; }

.l-rules { display: grid; gap: 14px; }
@media (min-width: 760px) { .l-rules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .l-rules { grid-template-columns: repeat(4, 1fr); } }
.l-rules > div { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.l-rules h3 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 8px; }
.l-rules p { font-size: 15px; color: var(--ink-2); }

.l-download { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .l-download { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; } }
.l-download h2 { margin: 0 0 18px; }
.l-dl { display: grid; gap: 26px; }
.l-dl-row { display: grid; gap: 10px; }
.l-dl-row h3 { font-size: 15px; font-weight: 600; }
.l-details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--panel); font-size: 15px; color: var(--ink-2); }
.l-details summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.l-details ol { margin: 14px 0 10px; padding-left: 20px; display: grid; gap: 6px; }

.l-faq { display: grid; gap: 10px; max-width: 860px; }
.l-faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 0 22px; }
.l-faq summary { cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); }
.l-faq details[open] summary::after { content: "−"; }
.l-faq p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; max-width: 46em; }
