/* lanyard.tv: one static page, no build step, no web fonts, no scripts. */

:root {
  --bg: #0b0d10;
  --bg-band: #0f1216;
  --surface: #14181d;
  --surface-2: #1b2027;
  --line: rgba(238, 243, 247, 0.09);
  --line-2: rgba(238, 243, 247, 0.16);
  --text: #eef3f7;
  --muted: #929ba6;
  --accent: #4cc2ff;
  --accent-ink: #4cc2ff;
  --accent-soft: rgba(76, 194, 255, 0.12);
  --on-accent: #04141d;
  --ok: #3ddc84;
  --beta: #ffb347;
  --soon: #a4acb6;
  --bad: #ff5c5c;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --sans: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7f9;
    --bg-band: #ebeff3;
    --surface: #ffffff;
    --surface-2: #eef2f5;
    --line: rgba(11, 13, 16, 0.09);
    --line-2: rgba(11, 13, 16, 0.16);
    --text: #0b0d10;
    --muted: #525b66;
    --accent-ink: #0b6fa8;
    --accent-soft: rgba(11, 111, 168, 0.09);
    --ok: #13834a;
    --beta: #a35d00;
    --soon: #66707b;
    --bad: #c8322f;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.88em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */

.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 520px) { .nav a:not(.btn) { display: none; } }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, white); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }

/* Hero */

.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.eyebrow { color: var(--accent-ink); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 700; letter-spacing: -0.03em; }
.accent { color: var(--accent-ink); }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 19px); margin-top: 22px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 4px var(--accent-soft), inset 0 0 0 7px var(--accent-ink);
}

/* Hero picture: the viewer, drawn in SVG so it follows the theme. */

.hero-shot { margin: 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35)); }
.hero-shot svg { width: 100%; height: auto; }
.s-frame { fill: var(--surface); stroke: var(--line-2); }
.s-bar { fill: var(--surface-2); }
.s-dot { fill: var(--line-2); }
.s-tab { fill: transparent; stroke: var(--line-2); }
.s-tab-on { fill: var(--accent-soft); stroke: var(--accent-ink); }
.s-tab-text { fill: var(--muted); font: 600 11px var(--sans); }
.s-tab-text-on { fill: var(--accent-ink); }
.s-stats { fill: var(--muted); font: 500 11px var(--mono); }
.s-desk { fill: #1d3a52; }
.s-win { fill: #f3f6f9; }
.s-win-2 { fill: #e8eef3; }
.s-win-bar { fill: #dde5ec; }
.s-line { fill: #0b6fa8; }
.s-line-dim { fill: #b9c6d1; }
.s-chip { fill: #0b6fa8; }
.s-graph { fill: none; stroke: #0b6fa8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.s-task { fill: rgba(11, 13, 16, 0.55); }
.s-task-icon { fill: rgba(238, 243, 247, 0.75); }
.s-cursor { fill: #ffffff; stroke: #0b0d10; stroke-width: 1.2; stroke-linejoin: round; }
@media (prefers-color-scheme: light) {
  .hero-shot { filter: drop-shadow(0 24px 48px rgba(11, 30, 50, 0.16)); }
  .s-desk { fill: #2b5e86; }
}

/* At a glance */

.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; padding-block: 0 clamp(48px, 7vw, 80px); }
@media (max-width: 880px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
.facts li { padding: 4px 20px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 880px) { .facts li:nth-child(odd) { border-left: 0; padding-left: 0; } }
.facts b { display: block; font-size: 20px; letter-spacing: -0.015em; }
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Sections */

section { padding: clamp(64px, 9vw, 104px) 0; }
.band { background: var(--bg-band); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-lede { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 40em; }

/* How it connects */

.path {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  margin-top: 44px; padding: 28px clamp(18px, 4vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.node { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; font-weight: 600; max-width: 150px; }
.node svg { width: 44px; height: 44px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link { display: grid; justify-items: center; gap: 8px; text-align: center; }
.link-label { font-size: 14px; font-weight: 600; }
.link-note { font-size: 13px; color: var(--muted); }
.link-line {
  width: 100%; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-ink) 0 10px, transparent 10px 18px);
  position: relative;
}
.link-line::before, .link-line::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--accent-ink);
}
.link-line::before { left: -4px; }
.link-line::after { right: -4px; }
@media (max-width: 600px) {
  .path { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .link-line { width: 2px; height: 48px; background: repeating-linear-gradient(180deg, var(--accent-ink) 0 10px, transparent 10px 18px); }
  .link-line::before { left: 50%; top: -4px; margin: 0 0 0 -4px; }
  .link-line::after { left: 50%; right: auto; top: auto; bottom: -4px; margin: 0 0 0 -4px; }
}

.how { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: 44px; }
@media (max-width: 960px) { .how { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; counter-reset: step; display: grid; gap: 24px; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
.steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 15px;
}
.steps h3 { font-size: 19px; margin: 4px 0 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Terminal: dark in both themes, like the real thing. */

.term {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  background: #0c0e11; border: 1px solid rgba(238, 243, 247, 0.1); color: #c9ced4;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}
.term-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: #161a1f; border-bottom: 1px solid rgba(238, 243, 247, 0.06); font: 12.5px/1 var(--mono); color: #929ba6; }
.term-bar img { width: 16px; height: 16px; }
.term pre { margin: 0; padding: 20px 22px 24px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.7 var(--mono); }
@media (max-width: 560px) { .term pre { padding: 16px; font-size: 11.5px; } }
.term .p, .term .u { color: #4cc2ff; }
.term .hi { color: #eef3f7; font-weight: 600; }
.term .pin { color: #3ddc84; font-weight: 600; }
.term .dim { color: #6b737e; }

/* Features */

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card h3::before { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--accent-ink); margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card { display: flex; flex-direction: column; }
.card .spec-line { margin-top: auto; padding-top: 16px; color: var(--accent-ink); font-size: 12.5px; }

/* The detail line under a card or a security point, for those who want it. */
.spec-line { color: var(--accent-ink); font: 500 12.5px/1.5 var(--mono); letter-spacing: 0.01em; }

/* Away from home */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.list { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 16px; }
.list li { padding-left: 26px; position: relative; }
.list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--accent-soft), inset 0 0 0 7px var(--accent-ink);
}
.list strong { color: var(--text); font-weight: 600; }
.snippet {
  display: inline-flex; gap: 12px; max-width: 100%; overflow-x: auto; white-space: nowrap; margin-top: 28px;
  padding: 12px 16px; border-radius: 10px; background: #0c0e11; border: 1px solid rgba(238, 243, 247, 0.1);
  color: #eef3f7; font: 14px/1.2 var(--mono);
}
.snippet .p { color: #4cc2ff; }

.map { margin: 0; padding: clamp(16px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.map svg { width: 100%; height: auto; }
.m-node { fill: var(--surface-2); stroke: var(--line-2); }
.m-net { fill: none; stroke: var(--line-2); stroke-dasharray: 3 5; }
.m-t { fill: var(--text); font: 600 15px var(--sans); }
.m-s { fill: var(--muted); font: 12.5px var(--mono); }
.m-ok { fill: var(--accent-ink); font: 600 12px var(--mono); letter-spacing: 0.06em; }
.m-bad { fill: var(--bad); font: 600 12px var(--mono); letter-spacing: 0.06em; }
.m-ic { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.m-wire { fill: none; stroke: var(--accent-ink); stroke-width: 2.5; }
.m-flow { stroke: var(--surface); stroke-dasharray: 2 10; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.m-no { fill: none; stroke: var(--bad); stroke-width: 2; stroke-dasharray: 5 6; opacity: 0.8; }
.m-x { stroke: var(--bad); stroke-width: 3; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .m-flow { animation: none; } }

/* Security */

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 64px); margin: 40px 0 0; }
@media (max-width: 820px) { .spec { grid-template-columns: minmax(0, 1fr); } }
.spec div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 16px; align-content: start; padding: 22px 0; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .spec div { grid-template-columns: minmax(0, 1fr); } }
.spec dt { font-weight: 600; font-size: 16px; }
.spec dd { margin: 0; grid-column: -2; color: var(--muted); font-size: 15.5px; }
.spec dd.spec-line { color: var(--accent-ink); font-size: 12.5px; }

/* Platforms */

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 760px) { .platforms { grid-template-columns: minmax(0, 1fr); } }
.plat-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plat-col h3 { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.plat-list { list-style: none; padding: 0; margin: 0; }
.plat-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; }
.plat-list li:first-child { border-top: 0; }
.tag { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.tag-ok { color: var(--ok); }
.tag-beta { color: var(--beta); }
.tag-soon { color: var(--soon); }

/* Download */

.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.dl {
  display: grid; gap: 4px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.dl:hover { border-color: var(--accent-ink); transform: translateY(-2px); }
.dl-os { font-size: 20px; font-weight: 700; }
.dl-os::after { content: " ↓"; color: var(--accent-ink); }
.dl-file { color: var(--muted); font-size: 14px; font-family: var(--mono); }
.dl-quiet { border-color: var(--line); }
.dl-sub { font-size: 18px; margin-top: 44px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 28px; max-width: 44em; }

/* FAQ */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr); gap: clamp(24px, 6vw, 72px); align-items: start; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { max-width: 68ch; padding: 0 0 22px; color: var(--muted); font-size: 16px; }

/* Footer */

.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.foot-links { margin-left: auto; display: flex; gap: 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* 404 */

.lost { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: 48px 0; }
.lost img { width: 72px; height: 72px; margin: 0 auto 24px; }
.lost p { color: var(--muted); margin: 14px 0 28px; }
