:root {
  --bg: #f6f1ea; --surface: #fffdf9; --ink: #1b1714; --muted: #6d645b; --line: #e4dbd0;
  --accent: #e2462f; --accent-ink: #fff; --soft: #fbe3dc; --err: #a8261a;
  --radius: 14px; --shadow: 0 1px 2px rgba(40, 25, 10, .06), 0 8px 24px rgba(40, 25, 10, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141210; --surface: #1d1a17; --ink: #f3ece4; --muted: #a99d91; --line: #322c27;
    --accent: #ff6a50; --accent-ink: #1b0b07; --soft: #3a1f19; --err: #ff8f80; --shadow: none; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
main { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.top { max-width: 760px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand span { color: var(--accent); }
.top nav { display: flex; gap: 4px; }
.top nav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; color: var(--muted); font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { background: var(--surface); color: var(--ink); }

.hero { padding: 28px 0 8px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 12px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: 22px; letter-spacing: -.01em; margin: 48px 0 14px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; max-width: 34em; }

.grab { display: flex; gap: 10px; flex-wrap: wrap; }
.field { flex: 1 1 320px; display: flex; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.field:focus-within { border-color: var(--accent); }
.field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 15px 16px; outline: none; }
.paste { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; padding: 0 16px; cursor: pointer; border-left: 1px solid var(--line); }
.paste:hover { color: var(--ink); }
.go { flex: 0 0 auto; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; padding: 15px 26px; cursor: pointer; }
.go:disabled { opacity: .65; cursor: wait; }
@media (max-width: 520px) { .go { flex: 1 1 100%; } }

.out { margin-top: 18px; }
.out:empty { display: none; }
.wait { color: var(--muted); }
.err { background: var(--soft); color: var(--err); padding: 12px 16px; border-radius: var(--radius); margin: 0; }
.result { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.result img { width: 120px; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; background: var(--line); flex: 0 0 auto; }
.result .info { min-width: 0; flex: 1; }
.result p { margin: 0 0 6px; }
.who { font-weight: 700; }
.who span { font-weight: 400; color: var(--muted); }
.cap { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta, .hint { color: var(--muted); font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn small { font-weight: 400; opacity: .8; }
.btn.main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.loading { opacity: .6; }
.btn.loading::after { content: "…"; }
@media (max-width: 520px) { .result { flex-direction: column; } .result img { width: 100%; height: 200px; aspect-ratio: auto; object-position: center 30%; } .btn { flex: 1 1 auto; justify-content: center; } }
.date .when { font-size: clamp(24px, 5vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.date .when::first-letter { text-transform: uppercase; }
.date .time { font-size: 20px; font-weight: 600; }
.date .time span { font-weight: 400; color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.steps p { margin: 2px 0 0; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card b { display: block; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.card .arrow { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 15px; }
.card.soon { box-shadow: none; background: transparent; border-style: dashed; }
.tag { display: inline-block; margin-top: 12px; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-weight: 700; }
.cards.big { margin-top: 12px; }

footer { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 0 0 6px; }
.prose h2 { margin-top: 32px; }
.prose p { color: var(--muted); max-width: 40em; }
.prose a { color: var(--accent); }

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.jump a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; font-weight: 600; }
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.platform { scroll-margin-top: 16px; }
.platform h2 { display: flex; align-items: center; gap: 10px; }
.platform h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.more { margin-top: 14px; }
.more a { color: var(--accent); font-weight: 700; text-decoration: none; }
.prose { margin-top: 8px; }
.yt img.big { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: var(--line); display: block; }
footer .foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
footer .foot a { color: var(--ink); text-decoration: none; }
footer .foot a:hover { text-decoration: underline; }

.soonlist { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soonlist li { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; font-size: 15px; color: var(--muted); }
.soonlist .tag { margin: 0; font-size: 12px; padding: 1px 8px; }
