/* site.css — the website chrome. The console additionally loads the document
 * client's own stylesheet, so the two look like one program rather than two. */

:root, [data-theme="light"] {
  /* the logo: blue #205fe2, navy #0a33a6, orange #fd6714, red #d41b29 */
  --brand-blue: #205fe2;  --brand-navy: #0a33a6;  --brand-orange: #fd6714;  --brand-red: #d41b29;
  --brand-stripe: linear-gradient(90deg, #205fe2 0%, #fd6714 55%, #d41b29 100%);
  --bg: #f3f5fa;  --surface: #ffffff;  --text: #141b2d;  --muted: #5d6b82;
  --line: #d3dae8;  --accent: #205fe2;  --critical: #b8141f;  --high: #c2410c;
  --link: #1a52cc;  --cta: #fd6714;  --cta-text: #ffffff;
}
[data-theme="dark"] {
  --brand-blue: #4f86f0;  --brand-navy: #8fb0ff;  --brand-orange: #ff8a3d;  --brand-red: #ff5a5f;
  --brand-stripe: linear-gradient(90deg, #4f86f0 0%, #ff8a3d 55%, #ff5a5f 100%);
  --bg: #0f1420;  --surface: #171e2d;  --text: #e3e9f4;  --muted: #8e9ab0;
  --line: #2b3549;  --accent: #3b78f0;  --critical: #ff6b6b; --high: #ff9a52;
  --link: #82a9ff;  --cta: #fd6714;  --cta-text: #ffffff;
}

* { box-sizing: border-box; }
/* the hidden attribute must win over display rules such as .gate's flex */
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }
.error { color: var(--critical); }
.warn { color: var(--high); }
.spacer { flex: 1; }
a { color: var(--link); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .88em;
       background: var(--bg); padding: 1px 6px; border-radius: 5px;
       border: 1px solid var(--line); }

.site-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-head .brand { height: 34px; }
.site-foot { padding: 22px; text-align: center; }

main { max-width: 940px; margin: 0 auto; padding: 22px; }
.hero { padding: 40px 0 26px; }
.hero h1 { font-size: 30px; line-height: 1.25; margin: 0 0 14px; }
.lede { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 0 22px; }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; margin-bottom: 18px;
}
.panel h2 { margin: 0 0 14px; font-size: 18px; }
.panel h3 { margin: 0 0 8px; font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.two ul { margin: 0; padding-left: 20px; }
.two li { margin-bottom: 7px; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 11px; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

button, .button, input, select {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px;
}
button, .button { cursor: pointer; }
a.button { display: inline-block; text-decoration: none; }
button.primary, .button.primary { background: var(--accent); color: #fff; border-color: transparent; }
.marketing .button.primary { background: var(--cta); color: var(--cta-text); }
.marketing .button.primary:hover { filter: brightness(1.06); }
button.compact, .button.compact { padding: 8px 14px; }
button.ghost, .button.ghost { background: transparent; }
button:hover, .button:hover { border-color: var(--accent); }
.button.big { padding: 12px 20px; font-size: 16px; font-weight: 600; }

/* -- the sign-in / unlock panels -------------------------------------- */
.gate {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.gate-card { width: min(400px, 100%); }
.gate-card.wide { width: min(520px, 100%); }
.gate-logo { height: 42px; margin-bottom: 6px; }
.gate-card h2 { margin: 6px 0 2px; font-size: 18px; }
.gate-card label { display: block; margin: 14px 0 4px; font-size: 13px; }
.gate-card input { width: 100%; }
.gate-card button.primary { width: 100%; margin-top: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px;
}

.conn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        max-width: 30vw; }

@media (max-width: 760px) {
  .two { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .conn { display: none; }
}

/* -- the website's strip above the mounted client ---------------------- */
.site-strip {
  display: flex; align-items: center; gap: 14px; padding: 6px 18px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-strip a { color: var(--muted); text-decoration: none; }
.site-strip a:hover { color: var(--link); }
@media (max-width: 760px) { #siteConn { display: none; } }

/* -- brand ----------------------------------------------------------------- */
.brand-stripe { height: 3px; background: var(--brand-stripe); }
.brand-stripe.thin { height: 3px; border-radius: 3px; margin: 10px 0 4px; }
.light-only { display: inline; }  .dark-only { display: none; }
[data-theme="dark"] .light-only { display: none; }  [data-theme="dark"] .dark-only { display: inline; }
.accent-orange { color: var(--brand-orange); }
.brand-link { display: inline-flex; align-items: center; }
.site-nav { display: flex; gap: 18px; margin-left: 18px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--brand-blue); }
.foot-mark { vertical-align: middle; margin-right: 6px; }

/* -- marketing pages ------------------------------------------------------- */
main.wide { max-width: 1160px; }
.hero2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; padding: 40px 0 34px; }
.hero-logo { width: min(420px, 100%); height: auto; margin-bottom: 8px; }
.hero2 h1 { font-size: 36px; line-height: 1.2; margin: 6px 0 14px; color: var(--brand-navy); }
[data-theme="dark"] .hero2 h1 { color: var(--text); }
.hero2-shot img, .split img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10, 51, 166, .14); }
.section-title { text-align: center; font-size: 26px; margin: 18px 0 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.feature h3 { margin: 10px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 3px solid; }
.dot.blue { border-color: var(--brand-blue); } .dot.orange { border-color: var(--brand-orange); } .dot.red { border-color: var(--brand-red); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; margin: 14px 0 34px; }
.split h2 { font-size: 24px; margin: 0 0 12px; }
.ticks { padding-left: 20px; } .ticks li { margin-bottom: 9px; }
.big-steps li { font-size: 16px; }
.cta { text-align: center; padding: 30px 0 40px; }
.cta h2 { font-size: 26px; margin: 0 0 16px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl h2 { margin-top: 0; }
pre.code { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  overflow-x: auto; font: 13px/1.5 ui-monospace, Consolas, monospace; }
code.hash { word-break: break-all; font-size: 11px; }

@media (max-width: 900px) {
  .hero2, .split, .dl-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 600px) {
  .grid3 { grid-template-columns: 1fr; }
  .hero2 h1 { font-size: 28px; }
  .site-head .button.ghost { display: none; }
}

/* download page: the optional away-from-home steps, folded away */
details.optional { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
details.optional summary { cursor: pointer; }
details.optional[open] summary { margin-bottom: 8px; }
