/* ==========================================================================
   Maono Download Center
   One accent, one surface system. Amber is the signal, never the wallpaper.
   ========================================================================== */

:root {
  --ink-950: #08090b;
  --ink-900: #0b0c0f;
  --ink-850: #0e1013;
  --ink-800: #13161b;
  --ink-750: #171b21;
  --ink-700: #1d222a;
  --line: #262a30;
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f2f4f7;
  --text-2: #98a0ab;
  --text-3: #6e7783;
  --amber: #f2af0d;
  --amber-hi: #ffc53d;
  --amber-deep: #c08a06;
  --amber-wash: rgba(242, 175, 13, 0.1);
  --ok: #3ed598;
  --danger: #ff7373;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shell: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, monospace;
  --sans: Inter, "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  background: var(--ink-900);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(242, 175, 13, 0.055), transparent 60%),
    var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--amber); color: #15130c; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--amber);
  color: #15130c;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding: 72px 0 64px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 34rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 18px;
}
.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 175, 13, 0.14);
}

.hero-title { display: flex; flex-direction: column; gap: 10px; }
.hero-title-main {
  font-size: clamp(2.55rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.hero-title-sub {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--text-2);
  max-width: 24ch;
}

.lede {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.quick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.quick-label { font-size: 13px; color: var(--text-3); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* signal graphic */
.signal {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  aspect-ratio: 1;
  isolation: isolate;
}

.signal-rings {
  position: absolute;
  inset: -12%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 37px, rgba(242, 175, 13, 0.13) 37px 38px, transparent 38px 76px);
  mask-image: radial-gradient(circle at 50% 50%, #000 18%, rgba(0, 0, 0, 0.75) 46%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 18%, rgba(0, 0, 0, 0.75) 46%, transparent 72%);
  opacity: 0.85;
}

.signal-sweep {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, transparent 0deg, rgba(242, 175, 13, 0.16) 34deg, transparent 70deg);
  mask-image: radial-gradient(circle, transparent 40%, #000 41%, #000 68%, transparent 69%);
  -webkit-mask-image: radial-gradient(circle, transparent 40%, #000 41%, #000 68%, transparent 69%);
  animation: sweep 26s linear infinite;
}

@keyframes sweep { to { transform: rotate(1turn); } }

.signal-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
}

.signal-bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 128px;
}
.signal-bars span {
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--amber-hi), rgba(242, 175, 13, 0.28));
  transform-origin: center;
  animation: bar-in 0.7s var(--ease) both;
}
@keyframes bar-in {
  from { transform: scaleY(0.04); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.signal-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(242, 244, 247, 0.38);
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--amber);
  color: #16130a;
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-hi); border-color: var(--amber-hi); }
.btn-primary[disabled] { background: var(--ink-700); color: var(--text-3); border-color: var(--line); cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #3d444d; background: rgba(255, 255, 255, 0.03); }
.btn-quiet {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
  padding-inline: 10px;
}
.btn-quiet:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
.btn.is-done { background: transparent; color: var(--ok); border-color: rgba(62, 213, 152, 0.4); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(242, 175, 13, 0.4);
  padding: 0 0 2px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.text-link span { color: var(--amber); transition: transform 0.18s var(--ease); }
.text-link:hover { color: var(--amber); border-color: var(--amber); }
.text-link:hover span { transform: translateX(3px); }

.detect-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 14px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s;
}
.detect-pill:hover { border-color: rgba(242, 175, 13, 0.5); color: var(--text); }
.detect-icon { display: inline-flex; width: 15px; height: 15px; color: var(--amber); }
.detect-icon svg { width: 15px; height: 15px; }
.detect-change { color: var(--text-3); font-weight: 500; }
.detect-pill[data-state="unknown"] .detect-icon { color: var(--text-3); }

/* --------------------------------------------------------------- sections */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); letter-spacing: -0.03em; }
.section-note {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
  max-width: 60ch;
}

/* ------------------------------------------------------------------- finder */

.finder {
  padding: 68px 0 24px;
  border-bottom: 1px solid var(--line-soft);
}

.finder-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.finder-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); letter-spacing: -0.03em; }

.progress { display: flex; align-items: center; gap: 0; }
.progress li { display: flex; align-items: center; gap: 0; }
.progress li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--ink-850);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.progress li i {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--line);
}
.progress li:last-child i { display: none; }
.progress li.is-done span { background: var(--amber); border-color: var(--amber); color: #16130a; }
.progress li.is-done i { background: rgba(242, 175, 13, 0.45); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.step {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
  min-width: 0;
}
.step[data-locked="true"] { opacity: 0.45; pointer-events: none; }
.step[data-state="active"] { border-color: rgba(242, 175, 13, 0.32); background: linear-gradient(180deg, rgba(242, 175, 13, 0.035), transparent 40%), var(--ink-800); }
.step[data-state="done"] { border-color: rgba(242, 175, 13, 0.18); }

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.step-head h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.step-n {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink-700);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 800;
  flex: none;
  transition: background 0.2s, color 0.2s;
}
.step[data-state="active"] .step-n,
.step[data-state="done"] .step-n { background: var(--amber); color: #16130a; }
.step-change {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 2px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.step-change:hover { border-color: currentColor; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.chips-scroll {
  max-height: 232px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
}
.chips-scroll::-webkit-scrollbar { width: 6px; }
.chips-scroll::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 3px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-850);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.14s, background 0.14s, color 0.14s;
  text-align: left;
}
.chip:hover { border-color: #3d444d; color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--amber);
  border-color: var(--amber);
  color: #16130a;
  font-weight: 700;
}
.chip .chip-sub { margin-left: 2px; font-weight: 500; opacity: 0.55; font-size: 12px; font-variant-numeric: tabular-nums; }.chip[aria-pressed="true"] .chip-sub { opacity: 0.75; }
.chip svg { width: 14px; height: 14px; flex: none; }

.step-foot {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}

.chip-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.chip-search input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s;
}
.chip-search input::placeholder { color: var(--text-3); }
.chip-search input:focus { border-color: rgba(242, 175, 13, 0.55); }
.chip-search input:disabled { opacity: 0.5; }
.chip-search-hint {
  position: absolute;
  right: 10px;
  font-size: 11.5px;
  color: var(--text-3);
  pointer-events: none;
}

/* ------------------------------------------------------------------- result */

.result-host { margin-top: 18px; }

.result {
  border: 1px solid rgba(242, 175, 13, 0.22);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(242, 175, 13, 0.04), transparent 30%), var(--ink-850);
  overflow: hidden;
  animation: result-in 0.32s var(--ease) both;
}
@keyframes result-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.result-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.result-glyph {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--amber-wash);
  border: 1px solid rgba(242, 175, 13, 0.25);
  display: grid;
  place-items: center;
  color: var(--amber);
}
.result-glyph svg { width: 26px; height: 26px; }
.result-id { min-width: 0; flex: 1; }
.result-eyebrow { font-size: 12px; color: var(--text-3); margin-bottom: 3px; }
.result-name { font-size: 24px; letter-spacing: -0.03em; }
.result-desc { margin-top: 5px; color: var(--text-2); font-size: 14px; max-width: 62ch; }
.result-apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.app-tag {
  font-size: 11.5px;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
}
.result-tools { display: flex; gap: 8px; flex: none; }

.tabs {
  display: flex;
  gap: 4px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  background: none;
  border: 0;
  padding: 14px 12px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
}
.tab:hover { color: var(--text-2); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.tab-count {
  margin-left: 6px;
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.tab[aria-selected="true"] .tab-count { color: var(--amber); }

.result-body { padding: 18px 24px 22px; }

.os-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.os-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.os-pill svg { width: 14px; height: 14px; }
.os-pill:hover { border-color: #3d444d; color: var(--text); }
.os-pill[aria-pressed="true"] {
  background: var(--ink-700);
  border-color: #343b44;
  color: var(--text);
}
.os-pill[data-detected="true"]::after {
  content: "detected";
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.downloads { display: flex; flex-direction: column; }
.dl-item + .dl-item { border-top: 1px solid var(--line-soft); }
.dl-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
}
.downloads > .dl-item:first-child > .dl-row { padding-top: 4px; }
.dl-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.dl-icon svg { width: 17px; height: 17px; }
.dl-initial { font-size: 15px; font-weight: 700; color: var(--amber); letter-spacing: -0.02em; }
.dl-main { min-width: 0; }
.dl-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dl-title strong { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
.dl-version {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  background: var(--ink-800);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 1px 6px;
}
.dl-meta {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-variant-numeric: tabular-nums;
}
.dl-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.icon-btn:hover { background: var(--ink-800); color: var(--text); border-color: var(--line); }
.icon-btn svg { width: 16px; height: 16px; }

.notes {
  margin-top: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: var(--ink-900);
  padding: 14px 16px;
  animation: fade-in 0.2s var(--ease) both;
}
.notes h4 { font-size: 11.5px; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; margin-bottom: 8px; }
.notes ul { display: grid; gap: 5px; }
.notes li { font-size: 13px; color: var(--text-2); padding-left: 14px; position: relative; line-height: 1.55; }
.notes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 1px; background: var(--amber-deep); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.empty {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.015);
}
.empty h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.empty p { color: var(--text-2); font-size: 13.5px; max-width: 62ch; }
.empty .btn { margin-top: 14px; }
.empty .os-row { margin-top: 12px; }
.req-list-tight { margin-top: 14px; }

.result-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--text-3);
}

/* prompt before a model is picked */
.result-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  color: var(--text-3);
  font-size: 13.5px;
}
.result-prompt svg { width: 18px; height: 18px; color: var(--amber-deep); flex: none; }

/* ----------------------------------------------------------------- software */

.software { padding: 72px 0 12px; border-bottom: 1px solid var(--line-soft); }

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.software-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.18s, background 0.18s, transform 0.18s var(--ease);
  cursor: pointer;
  text-align: left;
}
.software-card:hover { border-color: rgba(242, 175, 13, 0.4); background: var(--ink-750); transform: translateY(-2px); }
.software-card.is-open { border-color: rgba(242, 175, 13, 0.42); background: var(--ink-750); transform: none; cursor: default; }
.software-card.is-flash { animation: card-flash 1.1s var(--ease); }
@keyframes card-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 175, 13, 0); }
  24% { box-shadow: 0 0 0 3px rgba(242, 175, 13, 0.32); }
}
.software-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  animation: fade-in 0.22s var(--ease) both;
}
.software-detail .downloads { margin-top: 2px; }
.software-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.software-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--amber-wash);
  border: 1px solid rgba(242, 175, 13, 0.22);
  display: grid;
  place-items: center;
  color: var(--amber);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.software-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.software-version { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }
.software-blurb { font-size: 13.5px; color: var(--text-2); line-height: 1.6; flex: 1; }
.software-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.os-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--text-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 1px 6px;
}
.os-badge svg { width: 11px; height: 11px; }

/* ------------------------------------------------------------- requirements */

.requirements { padding: 68px 0; border-bottom: 1px solid var(--line-soft); }
.requirements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1040px) {
  .requirements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.req-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-850);
}
.req-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.req-card h3 span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); font-weight: 400; }
.req-list { display: grid; gap: 0; }
.req-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}
.req-row:first-child { border-top: 0; padding-top: 0; }
.req-row dt { color: var(--text-3); }
.req-row dd { margin: 0; color: var(--text-2); }

/* ------------------------------------------------------------------- notice */

.notice-band { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.notice {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid rgba(242, 175, 13, 0.28);
  background: linear-gradient(120deg, rgba(242, 175, 13, 0.09), rgba(242, 175, 13, 0.02));
  border-radius: var(--r-lg);
}
.notice-icon { color: var(--amber); }
.notice-icon svg { width: 26px; height: 26px; }
.notice h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.notice p { color: var(--text-2); font-size: 13.5px; line-height: 1.65; max-width: 78ch; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notice-actions .btn { min-height: 36px; padding: 6px 12px; font-size: 13px; }

/* ---------------------------------------------------------------------- faq */

.questions { padding: 68px 0; border-bottom: 1px solid var(--line-soft); }
.questions-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
}
.questions-intro h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); letter-spacing: -0.03em; }
.questions-intro .text-link { margin-top: 20px; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 2px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber); }
.faq .faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}
.faq .faq-plus::before,
.faq .faq-plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--text-3);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.faq .faq-plus::after { transform: rotate(90deg); }
.faq details[open] .faq-plus::before { background: var(--amber); }
.faq details[open] .faq-plus::after { transform: rotate(0deg); background: var(--amber); }
.faq details[open] summary { color: var(--text); }
.faq .faq-a {
  padding: 0 40px 18px 0;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
  animation: fade-in 0.2s var(--ease) both;
}

/* ------------------------------------------------------------------- support */

.support { padding: 64px 0; }
.support-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 220px at 92% 20%, rgba(242, 175, 13, 0.1), transparent 70%),
    var(--ink-850);
  overflow: hidden;
}
.support-card h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.025em; }
.support-card p { margin-top: 8px; color: var(--text-2); font-size: 14px; max-width: 54ch; }
.support-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }


/* ------------------------------------------------------------------- toast */

.toast-region {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 60;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink-750);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  color: var(--text);
  animation: toast-in 0.24s var(--ease) both;
}
.toast[data-tone="ok"] { border-color: rgba(62, 213, 152, 0.4); }
.toast[data-tone="err"] { border-color: rgba(255, 115, 115, 0.45); }
.toast svg { width: 15px; height: 15px; flex: none; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ embed */

body.is-embed .hero { padding: 40px 0 36px; }
body.is-embed .signal { opacity: 0.6; }
body.is-embed .shell { padding-inline: 20px; }
body.is-embed .finder { padding-top: 44px; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); gap: 24px; }
  .signal { width: min(100%, 400px); }
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero { padding: 56px 0 44px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .signal { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step[data-locked="true"] { display: none; }
  .step-foot { padding-top: 10px; }
  .chips-scroll { max-height: none; }
  .result-head { flex-wrap: wrap; }
  .result-tools { width: 100%; }
  .dl-row { grid-template-columns: 34px minmax(0, 1fr); row-gap: 10px; }
  .dl-actions { grid-column: 2; justify-content: flex-start; }
  .questions-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .requirements-grid { grid-template-columns: minmax(0, 1fr); }
  .notice { grid-template-columns: 32px minmax(0, 1fr); }
  .notice-actions { grid-column: 2; }
  .support-card { flex-direction: column; align-items: flex-start; padding: 26px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .finder-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .progress { align-self: flex-start; }
}

@media (max-width: 620px) {
  .shell { padding-inline: 18px; }
  .software-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title-main { font-size: 2.3rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-primary { width: 100%; }
  .detect-pill { width: 100%; justify-content: flex-start; }
  .detect-change { display: none; }
  .result-head { padding: 18px; }
  .result-body { padding: 14px 18px 18px; }
  .tabs { flex-wrap: wrap; padding-inline: 12px; }
  .tab { padding-inline: 9px; }
  .dl-actions { grid-column: 1 / -1; justify-content: space-between; }
  .dl-actions .btn { margin-left: auto; min-width: 132px; }
  .result-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
    .hero, .finder, .notice-band, .support { display: none; }
}
