:root {
  color-scheme: dark;
  --bg: #0d1420;
  --bg-deep: #090f18;
  --panel: #162132;
  --panel-raised: #1c2b40;
  --panel-soft: #263952;
  --line: #2c405c;
  --line-bright: #526b8e;
  --text: #cdd6f4;
  --muted: #a1aecb;
  --dim: #95a4c2;
  --accent: #39df8a;
  --accent-bright: #79efb1;
  --accent-ink: #061b11;
  --gold: #efcb65;
  --cyan: #79cfe3;
  --green: #39df8a;
  --danger: #ff8585;
  --font: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, monospace;
  --radius: 12px;
  --radius-sm: 6px;
  --chrome-height: 0px;
  --content: min(100% - 4rem, 82rem);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--font); }
body { margin: 0; min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:is(button, a, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
button:active:not(:disabled) { transform: translateY(1px); }
::selection { color: var(--text); background: var(--line-bright); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.landing { width: var(--content); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) 0 4rem; }
.landing-hero { margin-bottom: 3.5rem; }
.landing-hero h1 { margin: 0 0 1.5rem; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.06; }
.landing-hero h1 em { color: var(--muted); font-style: normal; }
.landing-hero p { max-width: 42rem; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.landing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.landing-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color 120ms, background 120ms; }
.landing-card:hover { border-color: var(--line-bright); background: var(--panel-raised); }
.landing-card small { color: var(--accent); font-size: .8rem; font-weight: 500; }
.landing-card h2 { margin: 0; font-size: 1.7rem; font-weight: 600; letter-spacing: -.025em; }
.landing-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.landing-card ul { margin: 0; padding: 0; display: grid; gap: .45rem; list-style: none; color: var(--dim); font-size: .85rem; }
.landing-card .landing-go { display: flex; align-items: center; margin-top: auto; padding-top: 1rem; color: var(--accent-bright); font-size: .9rem; font-weight: 500; }
.landing-footer { width: var(--content); margin-inline: auto; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; }
@media (max-width: 840px) { :root { --content: min(100% - 2rem, 82rem); } }
@media (max-width: 560px) {
  .landing-grid { grid-template-columns: 1fr; }
  .landing-card { padding: 1.4rem; }
  .landing-hero { margin-bottom: 2.5rem; }
  .landing-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.context-nav { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; color: var(--muted); font-size: .85rem; }
.context-nav a { padding-block: .6rem; text-decoration: none; }
.context-nav a:hover { color: var(--accent-bright); }
