@font-face {
  font-family: "Guttural";
  src: url("guttural.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  --background: #0b0c0e;
  --surface: #1b1c1e;
  --line: #393638;
  --accent: #ec6960;
  --text: #f2eeeb;
  --muted: #bcb3b3;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 14% 0%, #b6302b29, transparent 29rem), linear-gradient(145deg, #141517, var(--background) 58%);
}
main { max-width: 1120px; margin: auto; padding: clamp(1.25rem, 4vw, 3rem); }
.masthead { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.masthead img { width: min(36%, 330px); height: auto; object-fit: contain; }
.eyebrow { color: var(--accent); margin: 0; font-size: .75rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; }
h1 { font-family: "Guttural", Georgia, serif; font-weight: 400; font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.15; margin: .6rem 0; }
.tagline { color: var(--muted); }
.dashboard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.2rem; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: #1b1c1eea; }
h2 { font-size: 1.6rem; letter-spacing: -.025em; margin: .7rem 0; }
p { line-height: 1.5; }
.muted, .fine-print, footer { color: var(--muted); }
form { display: grid; gap: .6rem; margin-top: 1.25rem; }
input, button, .download-link { min-height: 2.8rem; padding: .7rem .9rem; font: inherit; border-radius: 6px; }
input { width: 100%; color: var(--text); background: #101113; border: 1px solid #595355; margin-bottom: .4rem; }
button, .download-link { border: 1px solid #6b6060; background: #303032; color: white; cursor: pointer; font-weight: 600; text-align: center; }
button:hover, .download-link:hover { background: #414042; }
.primary { background: #b83b35; border-color: #b83b35; }
.primary:hover { background: #cf4b43; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid #f18b7f; outline-offset: 3px; }
#status:empty { display: none; }
.installer { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.installer h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.installer p { margin: .45rem 0; }
.installer code { display: block; font-size: .7rem; overflow-wrap: anywhere; color: var(--muted); }
.download-link { display: block; text-decoration: none; margin-top: .8rem; }
.fine-print { font-size: .8rem; margin-top: 2rem; }
footer { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .85rem; }
footer span { color: var(--accent); font-weight: 700; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .masthead img { width: min(100%, 270px); }
  .dashboard { grid-template-columns: 1fr; }
}
