:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #111317;
  --panel-2: #17191f;
  --line: #2a2e38;
  --text: #f5f7fb;
  --muted: #969eab;
  --muted-2: #69717d;
  --accent: #d8ff62;
  --accent-ink: #172000;
  --danger: #ff8e91;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { color: var(--text); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(100%, 1080px); min-height: 100vh; margin: auto; padding: 24px clamp(20px, 5vw, 56px) 28px; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.brand { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 650; letter-spacing: -.02em; display: inline-flex; gap: 9px; align-items: center; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 800; }
.secure-pill { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; font-size: 12px; display: inline-flex; gap: 7px; align-items: center; }
.dot { display: block; width: 6px; height: 6px; border-radius: 100%; background: var(--accent); box-shadow: 0 0 12px #d8ff6299; }
.hero { width: min(100%, 710px); margin: clamp(72px, 15vh, 148px) auto 0; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 11px; line-height: 1; letter-spacing: .22em; font-weight: 700; }
h1 { margin: 0; font-size: clamp(40px, 7vw, 74px); line-height: .98; letter-spacing: -.065em; font-weight: 700; }
.lede { max-width: 530px; margin: 24px auto 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.55; letter-spacing: -.01em; }
.download-form { margin-top: 36px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.input-wrap { min-width: 0; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); background: var(--panel); border-radius: 15px; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: #596272; box-shadow: 0 0 0 4px #ffffff0a; }
.link-icon { color: var(--accent); font-size: 21px; transform: rotate(-35deg); }
input { width: 100%; min-width: 0; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 16px; }
input::placeholder { color: var(--muted-2); }
.clear-button { width: 26px; height: 26px; flex: 0 0 26px; color: var(--muted); background: #242832; border: 0; border-radius: 50%; font-size: 20px; line-height: 1; }
.primary-button { height: 60px; padding: 0 20px; border: 0; border-radius: 15px; display: inline-flex; gap: 18px; align-items: center; color: var(--accent-ink); background: var(--accent); font-size: 15px; font-weight: 700; transition: transform .15s, filter .15s; }
.primary-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.primary-button:disabled { opacity: .6; cursor: wait; transform: none; }
.recognition { min-height: 28px; margin-top: 18px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; }
.recognition-icon { color: var(--accent); font-size: 17px; }
.hint { margin: 24px 0 0; color: var(--muted-2); font-size: 12px; line-height: 1.45; }
.result-card { width: min(100%, 710px); margin: 44px auto 0; padding: 20px; border: 1px solid var(--line); background: var(--panel); border-radius: 18px; text-align: left; }
.result-row { display: flex; align-items: flex-start; gap: 14px; }
.result-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #20251a; color: var(--accent); font-size: 18px; flex: 0 0 auto; }
.result-copy { min-width: 0; flex: 1; }
.result-title { margin: 1px 0 4px; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.result-meta { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.result-link { display: inline-flex; max-width: 100%; margin-top: 16px; color: var(--accent); text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.error .result-icon { background: #2a1d1e; color: var(--danger); }
.error .result-title { color: var(--danger); }
.spinner { display: inline-block; width: 13px; height: 13px; border: 2px solid #17200055; border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer { margin-top: auto; padding-top: 72px; text-align: center; color: var(--muted-2); font-size: 11px; }
.footer-sep { margin: 0 8px; color: #343944; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  .shell { padding: 18px 16px 22px; }
  .secure-pill { padding: 7px 9px; font-size: 11px; }
  .hero { margin-top: 88px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .lede { margin-top: 18px; font-size: 15px; }
  .download-form { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .input-wrap, .primary-button { height: 58px; border-radius: 14px; }
  .primary-button { justify-content: space-between; padding: 0 18px; }
  .footer { padding-top: 56px; line-height: 1.7; }
}
