/* unFragged DVS public site - AMOLED control-room skin.
   Local assets only. No web fonts, CDN, trackers, or remote scripts. */

:root {
  --bg: #000000;
  --ink: #ebe8df;
  --platinum: #f3f5f6;
  --platinum-mid: #c7ccd1;
  --platinum-dim: #8e969d;
  --muted: #9a9f9e;
  --line: rgba(232, 236, 238, 0.16);
  --line-strong: rgba(246, 248, 249, 0.28);
  --panel: #070808;
  --panel-strong: #0c0d0d;
  --panel-raised: #111313;
  --accent: #d8dde1;
  --accent-dark: #f3f5f6;
  --amber: #e8c36a;
  --red: #ff8177;
  --blue: #8bbfe7;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.54), 0 1px 0 rgba(255, 255, 255, 0.035);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  --bevel-border: rgba(246, 248, 249, 0.2);
  --bevel-border-strong: rgba(246, 248, 249, 0.34);
  --bevel-fill: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025) 46%, rgba(0, 0, 0, 0.28));
  --bevel-fill-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035) 48%, rgba(0, 0, 0, 0.34));
  --bevel-shadow: 0 18px 46px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.42);
  --bevel-shadow-subtle: 0 10px 26px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.36);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -120px, rgba(246, 248, 249, 0.08), transparent 410px),
    radial-gradient(circle at 84% 130px, rgba(126, 134, 138, 0.09), transparent 360px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0) 320px),
    var(--bg);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.58;
  font-size: 17px;
  min-height: 100vh;
}

.stage-banner {
  color: var(--amber);
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(232, 195, 106, 0.34);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
}
header.site .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(216, 221, 225, 0.34);
  border-radius: 5px;
  background: #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.58),
    0 0 24px rgba(216, 221, 225, 0.08);
  overflow: hidden;
}
header.site .brand {
  background: linear-gradient(180deg, #ffffff 0%, var(--platinum-mid) 58%, var(--platinum-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0.01em;
}
header.site .tagline {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

nav.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}
nav.site a:hover,
nav.site a.active {
  color: var(--platinum);
  border-color: var(--line-strong);
  background: var(--bevel-fill);
  box-shadow: var(--bevel-shadow-subtle);
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 22px 54px;
}

.hero,
.note,
.notlist,
.question-form,
table,
pre.shape {
  border: 1px solid var(--line);
  background: var(--bevel-fill);
  border-radius: 18px;
  box-shadow: var(--bevel-shadow-subtle);
}
.hero {
  padding: 30px;
  margin: 8px 0 22px;
}
.eyebrow,
.caption {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
h1 {
  background: linear-gradient(180deg, #ffffff 0%, var(--platinum) 24%, var(--platinum-mid) 66%, var(--platinum-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.02;
  margin: 10px 0 16px;
  letter-spacing: -0.02em;
}
h2 { color: var(--accent); font-size: 24px; margin: 34px 0 12px; }
h3 { color: var(--ink); font-size: 18px; margin: 22px 0 8px; }
p { margin: 12px 0; }
.subhead { color: var(--muted); font-size: 18px; max-width: 760px; }
a { color: var(--blue); }

ul.bullets { padding-left: 22px; }
ul.bullets li { margin: 8px 0; }

.note {
  background: var(--panel-strong);
  border-left: 5px solid var(--accent);
  padding: 16px 18px;
  margin: 18px 0;
}
.notlist {
  border-color: rgba(255, 129, 119, 0.34);
  padding: 18px 20px;
  margin: 18px 0;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
  margin: 16px 0;
  font-size: 15px;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
tr:last-child td { border-bottom: 0; }
th { color: var(--accent); background: rgba(255,255,255,0.055); }
td .tag { color: var(--muted); font-size: 13px; font-style: italic; }

pre.shape {
  color: #d7e2ef;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
  font-family: ui-monospace, "Cascadia Code", "Consolas", "Courier New", monospace;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 6px; }
.cta,
.question-form button {
  display: inline-block;
  background: linear-gradient(180deg, #eef6ff, #9fbedf);
  color: #050606;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 10px 22px rgba(0,0,0,0.35);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 760;
}
.cta.secondary {
  background: rgba(255,255,255,0.025);
  color: var(--platinum);
}

.question-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  margin: 18px 0 26px;
}
.question-form label {
  display: grid;
  gap: 7px;
  color: var(--accent);
  font-weight: 700;
}
.question-form input,
.question-form textarea,
.question-form select {
  width: 100%;
  color: var(--ink);
  background: rgba(0,0,0,0.62);
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
}
.question-form textarea { resize: vertical; }
.question-form button {
  justify-self: start;
  cursor: pointer;
}
.hidden-field { display: none; }

.guide-shell {
  border: 1px solid var(--line);
  background: var(--bevel-fill);
  border-radius: 18px;
  box-shadow: var(--bevel-shadow-subtle);
  padding: 18px;
  margin: 18px 0 20px;
}
.guide-log {
  min-height: 220px;
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 10px;
  padding: 4px 2px 14px;
}
.guide-message {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 82%;
  background: rgba(255,255,255,0.035);
}
.guide-message.user {
  justify-self: end;
  border-color: rgba(139, 191, 231, 0.36);
}
.guide-message.assistant {
  justify-self: start;
  border-left: 5px solid var(--blue);
}
.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}
.guide-chips button,
#guide-ask {
  color: var(--platinum);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.guide-input {
  display: grid;
  gap: 7px;
  color: var(--accent-dark);
  font-weight: 700;
}
.guide-input input {
  width: 100%;
  color: var(--ink);
  background: rgba(0,0,0,0.62);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  margin-bottom: 12px;
}

.demo-video-card {
  margin: 18px 0 22px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018));
  box-shadow: var(--bevel-shadow);
}
.demo-video {
  display: block;
  width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  background: #000;
}
.demo-video-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

footer.site {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.78);
  color: var(--muted);
  font-size: 13px;
  padding: 24px 22px 34px;
}
footer.site .inner { max-width: var(--maxw); margin: 0 auto; }
footer.site strong { color: var(--ink); }
footer.site .site-id { margin-top: 8px; font-weight: 800; color: var(--accent-dark); }
footer.site .links { margin-top: 10px; }
footer.site .links a { color: var(--accent); margin-right: 14px; text-decoration: none; }

@media (max-width: 700px) {
  header.site .inner { grid-template-columns: auto 1fr; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { padding: 24px 20px; }
  nav.site { gap: 7px; }
}
