@font-face {
  font-family: "JetBrainsMono Nerd Font";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/JetBrainsMonoNerdFont-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrainsMono Nerd Font";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/JetBrainsMonoNerdFont-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "omarchy";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("assets/fonts/omarchy.ttf") format("truetype");
}

:root {
  --bg: #1a1b26;
  --bg-elevated: #24283b;
  --bg-soft: #292e42;
  --bg-deep: #13141c;
  --bar: #1a1b26;
  --text: #a9b1d6;
  --text-bright: #c0caf5;
  --muted: #565f89;
  --line: rgba(65, 72, 104, 0.82);
  --line-strong: #565f89;
  --menu-border: #a9b1d6;
  --accent: #7aa2f7;
  --accent-ink: #10131d;
  --green: #9ece6a;
  --cyan: #449dab;
  --orange: #eb927b;
  --red: #f7768e;
  --logo-highlight: #c0caf5;
  --logo-mid: #7dcfff;
  --logo-low: #7aa2f7;
  --logo-shadow: #bb9af7;
  --logo-spark: #e0af68;
  --theme-selection: #292e42;
  --selection: rgba(169, 177, 214, 0.08);
  --quiet: color-mix(in srgb, var(--text) 58%, var(--muted));
  --shadow: rgba(0, 0, 0, 0.45);
  --page-width: 1560px;
  --content-split: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  --section-gutter: clamp(1.5rem, 5vw, 5rem);
  --section-space: clamp(5rem, 7vw, 7.5rem);
  --shell-height: 32px;
  --font: "JetBrainsMono Nerd Font", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

html[data-theme="matte-black"] {
  --bg: #121212;
  --bg-elevated: #1e1e1e;
  --bg-soft: #2a2a2a;
  --bg-deep: #0d0d0d;
  --bar: #121212;
  --text: #bebebe;
  --text-bright: #bebebe;
  --muted: #555555;
  --line: rgba(51, 51, 51, 0.9);
  --line-strong: #555555;
  --menu-border: #bebebe;
  --accent: #e68e0d;
  --accent-ink: #080808;
  --green: #ffc107;
  --cyan: #bebebe;
  --orange: #c63d3d;
  --red: #d35f5f;
  --logo-highlight: #bebebe;
  --logo-mid: #ffc107;
  --logo-low: #e68e0d;
  --logo-shadow: #c63d3d;
  --logo-spark: #d35f5f;
  --theme-selection: #2a2a2a;
  --selection: rgba(190, 190, 190, 0.08);
  --shadow: rgba(0, 0, 0, 0.72);
}

html[data-theme="retro-82"] {
  --bg: #05182e;
  --bg-elevated: #0a2540;
  --bg-soft: #134e5a;
  --bg-deep: #031222;
  --bar: #05182e;
  --text: #f6dcac;
  --text-bright: #f6dcac;
  --muted: #3f8f8a;
  --line: rgba(42, 107, 120, 0.82);
  --line-strong: #3f8f8a;
  --menu-border: #f6dcac;
  --accent: #faa968;
  --accent-ink: #04181f;
  --green: #028391;
  --cyan: #8cbfb8;
  --orange: #faa968;
  --red: #f85525;
  --logo-highlight: #f6dcac;
  --logo-mid: #8cbfb8;
  --logo-low: #028391;
  --logo-shadow: #faa968;
  --logo-spark: #f85525;
  --theme-selection: #134e5a;
  --selection: rgba(246, 220, 172, 0.08);
  --shadow: rgba(0, 7, 12, 0.68);
}

html[data-theme="flexoki-light"] {
  --bg: #fffcf0;
  --bg-elevated: #e6e4d9;
  --bg-soft: #cecdc3;
  --bg-deep: #f2efe4;
  --bar: #fffcf0;
  --text: #100f0f;
  --text-bright: #100f0f;
  --muted: #878580;
  --line: rgba(183, 181, 172, 0.86);
  --line-strong: #9f9d96;
  --menu-border: #100f0f;
  --accent: #205ea6;
  --accent-ink: #fffcf0;
  --green: #879a39;
  --cyan: #3aa99f;
  --orange: #d0772b;
  --red: #d14d41;
  --logo-highlight: #100f0f;
  --logo-mid: #205ea6;
  --logo-low: #3aa99f;
  --logo-shadow: #879a39;
  --logo-spark: #d14d41;
  --theme-selection: #cecdc3;
  --selection: rgba(16, 15, 15, 0.08);
  --shadow: rgba(43, 41, 37, 0.16);
  color-scheme: light;
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--shell-height) + 28px);
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% 10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 32rem),
    radial-gradient(circle at 10% 38%, color-mix(in srgb, var(--green) 4%, transparent), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

::selection { background: var(--theme-selection); color: var(--text-bright); }
img, svg { display: block; max-width: 100%; }
button, input { color: inherit; font: inherit; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 9px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 120ms ease;
}

.skip-link:focus { transform: translateY(0); }

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7em;
  padding: 0.1em 0.38em;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-deep) 82%, transparent);
  color: var(--text-bright);
  font-family: var(--font);
  font-size: 0.72em;
  line-height: 1.4;
}

.shell-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--shell-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bar) 95%, transparent);
  color: var(--muted);
  font-size: 0.66rem;
  backdrop-filter: blur(12px);
}

.shell-mark {
  display: grid;
  place-items: center;
  width: var(--shell-height);
  height: var(--shell-height);
  border-right: 1px solid var(--line);
}

.shell-mark img { width: 13px; height: 13px; }
.workspace-nav { display: flex; align-self: stretch; }

.workspace {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 34px;
  padding: 0 10px;
  transition: color 120ms ease, background 120ms ease;
}

.workspace:hover,
.workspace.is-active { background: var(--selection); color: var(--text-bright); }
.workspace:active,
.palette-trigger:active,
.shortcuts-trigger:active { background: color-mix(in srgb, var(--selection) 72%, var(--text) 8%); }
.workspace__number { color: var(--accent); font-weight: 700; }
.shell-status { display: flex; align-items: center; align-self: stretch; }

.palette-trigger,
.shortcuts-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 0 10px;
  border-left: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.palette-trigger:hover,
.shortcuts-trigger:hover { background: var(--selection); color: var(--text-bright); }
.palette-trigger kbd,
.shortcuts-trigger kbd { border-color: var(--line); background: transparent; font-size: 0.92em; }
#shell-clock { min-width: 50px; padding: 0 9px; text-align: center; color: var(--text); }

.page-section,
.site-footer { position: relative; width: min(100%, var(--page-width)); margin: 0 auto; }
.page-section[tabindex="-1"]:focus { outline: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(2rem, 3.5vw, 4.5rem);
  align-items: end;
  min-height: 100svh;
  padding: calc(var(--shell-height) + clamp(4.5rem, 8vw, 8rem)) var(--section-gutter) clamp(6rem, 10vw, 10rem);
}

.hero-news {
  position: absolute;
  top: calc(var(--shell-height) + 22px);
  left: var(--section-gutter);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 3rem);
  min-height: 30px;
  color: var(--quiet);
  font-size: 0.67rem;
  line-height: 1.35;
}

.hero-news:hover { color: var(--cyan); }
.pulse,
.status-dot,
.desktop-frame__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.pulse { box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 10%, transparent); }

.pre.hero-mark {
  width: 100%;
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.pre a {
  display: block;
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  color: var(--green);
}

.pre pre {
  margin: 0;
  color: var(--green);
  font-family: var(--font);
  font-size: clamp(0.25rem, 0.84vw, 0.88rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
  white-space: pre;
  transition: color 160ms ease;
}

.pre a:hover pre { color: var(--cyan); }
html.wte-home .pre pre { animation: wte-fallback 0s 2s forwards; visibility: hidden; }
html.wte-home .pre.pre--live pre { animation: none; }
html.wte-home .pre__wte { position: absolute; inset: 0; display: block; overflow: hidden; mix-blend-mode: normal; }
html.wte-home .pre__wte canvas { position: absolute; display: block; mix-blend-mode: normal; transform-origin: 0 0; }
html[data-theme="flexoki-light"].wte-home .pre__wte { mix-blend-mode: normal; }
html[data-theme="flexoki-light"].wte-home .pre__wte canvas { mix-blend-mode: normal; }
html.wte-home .pre.pre--static pre { visibility: visible; }
html.wte-home .pre.pre--static .pre__wte { display: none; }

@keyframes wte-fallback { to { visibility: visible; } }

.hero__statement { align-self: center; max-width: 660px; }
.hero__kicker { margin: 0 0 1.2rem; color: var(--quiet); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; }
.hero__kicker a { color: var(--cyan); }

.hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--text-bright);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.section-heading h2 { max-width: 15ch; font-size: clamp(2.75rem, 4.15vw, 4.8rem); }
.hero h1 { max-width: 680px; font-size: clamp(3rem, 4.35vw, 5.25rem); }
.hero h1 em,
.section-heading h2 em { color: var(--green); font-style: normal; }
.hero__lede { max-width: 650px; margin: clamp(1.25rem, 2.2vw, 1.9rem) 0 0; color: var(--text); font-size: clamp(0.95rem, 1.2vw, 1.1rem); font-weight: 400; line-height: 1.68; }
.hero__lede a { color: var(--cyan); white-space: nowrap; }
.hero__lede a:hover { color: var(--text-bright); }
.hero__actions { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.15rem 1.25rem; align-items: center; margin-top: clamp(1.5rem, 2.6vw, 2.2rem); }
.hero__actions .button { grid-row: 1 / 3; }
.hero__actions .text-action { min-height: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 48px;
  padding: 0 17px;
  background: var(--bg-soft);
  color: var(--text-bright);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.button:hover { background: var(--cyan); color: var(--accent-ink); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.985); }
.button--primary { background: var(--accent); color: var(--accent-ink); }
.text-action { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--cyan); font-size: 0.76rem; }
.text-action span { transition: transform 160ms var(--ease-out); }
.text-action:hover span { transform: translateX(4px); }

.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 660px; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); color: var(--quiet); }
.hero__facts div { min-width: 0; padding-right: 1rem; }
.hero__facts dt { margin: 0 0 0.25rem; color: var(--quiet); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__facts dd { display: flex; align-items: center; gap: 7px; margin: 0; overflow: hidden; color: var(--text); font-size: 0.67rem; text-overflow: ellipsis; white-space: nowrap; }
.hero__visual { align-self: center; perspective: 1200px; }

.desktop-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
  box-shadow: 0 40px 120px var(--shadow);
  transform: rotateY(-2.2deg) rotateX(1deg);
  transform-origin: center;
  transition: transform 280ms var(--ease-out), box-shadow 180ms ease;
  will-change: transform;
}

.desktop-frame__bar,
.desktop-frame__footer { display: flex; align-items: center; justify-content: space-between; min-height: 30px; padding: 0 10px; color: var(--muted); font-size: clamp(0.5rem, 0.65vw, 0.64rem); }
.desktop-frame__bar { border-bottom: 1px solid var(--line); }
.desktop-frame__footer { border-top: 1px solid var(--line); }
.desktop-frame__bar p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--text); }
.desktop-frame__workspaces { display: flex; gap: 9px; }
.desktop-frame__workspaces .is-current { color: var(--accent); }
.desktop-frame__screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.desktop-frame__screen img { width: 100%; height: 100%; object-fit: cover; transition: opacity 120ms ease; }
.screen-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.055) 4px); mix-blend-mode: multiply; pointer-events: none; }
.desktop-frame__footer button { display: inline-flex; align-items: center; min-height: 24px; padding: 0; background: transparent; color: var(--text); font-size: inherit; cursor: pointer; }
.desktop-frame__footer button:hover { color: var(--cyan); }

.manifesto,
.themes,
.community,
.command-center {
  padding: var(--section-space) var(--section-gutter);
  border-top: 1px solid var(--line);
}

.section-index { margin: 0 0 clamp(1.75rem, 2.8vw, 2.75rem); color: var(--quiet); font-size: 0.67rem; letter-spacing: 0.09em; text-transform: uppercase; }
.section-index span { color: var(--accent); font-weight: 700; }
.eyebrow,
.toolbar-label { margin: 0 0 1.1rem; color: var(--accent); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }

.manifesto__lead { display: grid; grid-template-columns: var(--content-split); gap: clamp(2rem, 3.5vw, 4rem); align-items: end; }
.manifesto__lead blockquote { max-width: 30ch; margin: 0 0 0.5rem; padding-left: 1.4rem; border-left: 2px solid var(--accent); color: var(--text); font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.55; }
.manifesto__body { display: grid; grid-template-columns: var(--content-split); gap: clamp(2rem, 3.5vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 3.8vw, 3.75rem); }
.manifesto__body p { max-width: 720px; margin: 0; color: var(--text); font-size: clamp(0.9rem, 1.1vw, 1.04rem); line-height: 1.75; }
.manifesto__body .manifesto__intro { max-width: 36ch; color: var(--text-bright); font-size: clamp(1.1rem, 1.55vw, 1.45rem); line-height: 1.65; }
.manifesto__process { display: grid; align-content: start; gap: 0.65rem; }
.manifesto__process .text-action { justify-self: start; }

.change-loop { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; margin: 0; padding: 0; list-style: none; }
.change-loop li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); align-items: baseline; min-height: 48px; padding: 0.45rem 0; }
.change-loop li > span { grid-row: 1 / 3; color: var(--accent); font-size: 0.61rem; font-weight: 700; }
.change-loop strong { color: var(--text-bright); font-size: 0.86rem; font-weight: 600; }
.change-loop small { color: var(--quiet); font-size: 0.66rem; }

.principle-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 3vw, 3.5rem); margin: clamp(2.5rem, 4vw, 4rem) 0 0; padding: clamp(1.5rem, 2vw, 2rem) 0 0; border-top: 1px solid var(--line); list-style: none; }
.principle-list li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0; align-items: start; }
.principle-list li > span { color: var(--accent); font-size: 0.64rem; font-weight: 700; }
.principle-list h3 { margin: 0 0 0.7rem; color: var(--text-bright); font-size: 0.98rem; font-weight: 600; }
.principle-list p { margin: 0; color: var(--quiet); font-size: 0.78rem; line-height: 1.75; }

.change-proof { margin-top: clamp(3rem, 5vw, 5rem); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-deep); box-shadow: 0 44px 110px var(--shadow); }
.change-proof__header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; padding: 0 1.15rem; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg-elevated) 82%, var(--bg)); color: var(--quiet); font-size: 0.59rem; letter-spacing: 0.06em; text-transform: uppercase; }
.change-proof__header strong { color: var(--text-bright); font-size: 0.68rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.change-proof__header span:last-child { justify-self: end; color: var(--green); }
.change-proof__flow { display: grid; grid-template-columns: .9fr .9fr 1.25fr; min-height: 520px; }
.change-proof__flow > * { min-width: 0; }
.change-proof__prompt,
.change-proof__diff { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 2.8vw, 2.75rem); }
.change-proof__prompt { background: color-mix(in srgb, var(--bg-elevated) 48%, var(--bg)); }
.change-proof__diff { border-left: 1px solid var(--line); background: color-mix(in srgb, var(--bg-deep) 70%, var(--bg)); }
.change-proof__step { margin: 0; color: var(--quiet); font-size: 0.63rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.change-proof__step span { color: var(--accent); }
.change-proof__prompt blockquote { margin: auto 0; color: var(--text-bright); font-size: clamp(1.55rem, 2.2vw, 2.5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.22; }
.change-proof__reply { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.change-proof__reply span { color: var(--green); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; }
.change-proof__reply p { margin: 0; color: var(--quiet); font-size: 0.7rem; line-height: 1.65; }
.change-proof__diff h3 { max-width: 14ch; margin: auto 0 1.25rem; color: var(--text-bright); font-size: clamp(1.2rem, 1.65vw, 1.75rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.3; }
.change-proof__path { overflow: hidden; margin: 0; padding: .65rem .8rem; border: 1px solid var(--line); background: var(--bg-elevated); color: var(--cyan); font-size: 0.61rem; text-overflow: ellipsis; white-space: nowrap; }
.change-proof__diff pre { overflow: auto; margin: 0; padding: 1.1rem .8rem; border: 1px solid var(--line); border-top: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: clamp(.6rem, .72vw, .72rem); line-height: 1.9; }
.change-proof__diff del,
.change-proof__diff ins { display: block; margin-inline: -.8rem; padding-inline: .8rem; text-decoration: none; }
.change-proof__diff del { background: color-mix(in srgb, var(--red) 11%, transparent); color: var(--red); }
.change-proof__diff ins { background: color-mix(in srgb, var(--green) 11%, transparent); color: var(--green); }
.change-proof__diff small { margin-top: .75rem; color: var(--quiet); font-size: .58rem; }
.change-proof__result { position: relative; overflow: hidden; min-height: 520px; margin: 0; border-left: 1px solid var(--line); background: #090a10; }
.change-proof__result img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.08); }
.change-proof__focus { position: absolute; z-index: 1; top: 50%; right: 0; bottom: 0; left: 50%; border: 1px solid color-mix(in srgb, var(--accent) 76%, white); box-shadow: 0 0 0 999px rgba(7,8,14,.48), inset 0 0 42px rgba(255,255,255,.025); }
.change-proof__result figcaption { position: absolute; z-index: 2; right: 1.4rem; bottom: 1.4rem; width: min(62%, 270px); padding: 1rem; background: rgba(7,8,14,.84); color: #f2f3fb; backdrop-filter: blur(10px); }
.change-proof__result figcaption span { display: block; margin-bottom: .45rem; color: var(--accent); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.change-proof__result figcaption strong { display: block; font-size: clamp(1rem, 1.4vw, 1.4rem); font-weight: 500; line-height: 1.35; }
.change-proof__decision { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 84px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-elevated) 68%, var(--bg)); }
.change-proof__decision > p { display: grid; grid-template-columns: minmax(95px,.3fr) 1fr; align-items: center; gap: 1rem; margin: 0; padding: 1rem 1.25rem; }
.change-proof__decision > p span { color: var(--accent); font-size: .59rem; letter-spacing: .06em; text-transform: uppercase; }
.change-proof__decision > p strong { color: var(--text); font-size: .72rem; font-weight: 500; }
.change-proof__decision ul { display: grid; grid-template-columns: 1fr 1fr; align-self: stretch; margin: 0; padding: 0; border-left: 1px solid var(--line); list-style: none; }
.change-proof__decision li { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: .9rem 1rem; color: var(--quiet); font-size: .61rem; }
.change-proof__decision li + li { border-left: 1px solid var(--line); }
.change-proof__decision li span { color: var(--text-bright); font-size: .68rem; font-weight: 600; text-transform: uppercase; }

.themes,
.community,
.site-footer {
  isolation: isolate;
  background: transparent;
}

.themes::before,
.community::before,
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.themes::before { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-deep) 58%, transparent), transparent 68%); }
.themes__header,
.plugins__header { display: grid; grid-template-columns: var(--content-split); gap: clamp(2rem, 3.5vw, 4rem); align-items: end; }
.themes__intro,
.plugins__intro p { max-width: 54ch; margin: 0; color: var(--text); font-size: clamp(0.9rem, 1.05vw, 1rem); line-height: 1.75; }

.theme-lab { margin-top: clamp(2.5rem, 4vw, 4rem); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-deep); box-shadow: 0 40px 100px var(--shadow); }
.theme-lab__toolbar { display: grid; grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1.58fr); align-items: stretch; min-height: 86px; background: var(--bg-elevated); }
.theme-lab__title { display: flex; flex-direction: column; justify-content: center; padding: 15px 18px; }
.theme-lab__title .toolbar-label { margin-bottom: 4px; color: var(--quiet); font-size: 0.61rem; }
.theme-lab__title strong { color: var(--text-bright); font-size: 0.9rem; font-weight: 500; }
.theme-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 7px; }
.theme-swatch { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; min-height: 70px; padding: 10px 13px; background: transparent; color: var(--quiet); font-size: 0.65rem; cursor: pointer; transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease; }
.theme-swatch:hover,
.theme-swatch.is-active { background: var(--selection); color: var(--text-bright); }
.theme-swatch.is-active { color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }
.theme-swatch__current { position: absolute; top: 9px; right: 10px; display: none; color: var(--accent); font-size: 13px; }
.theme-swatch.is-active .theme-swatch__current { display: block; }
.swatch { display: block; width: min(68px, 85%); height: 6px; }
.swatch--tokyo { background: linear-gradient(90deg,#1a1b26 0 25%,#7aa2f7 25% 50%,#9ece6a 50% 75%,#f7768e 75%); }
.swatch--matte { background: linear-gradient(90deg,#121212 0 25%,#e68e0d 25% 50%,#d35f5f 50% 75%,#ffc107 75%); }
.swatch--retro { background: linear-gradient(90deg,#05182e 0 25%,#faa968 25% 50%,#028391 50% 75%,#f85525 75%); }
.swatch--flexoki { background: linear-gradient(90deg,#fffcf0 0 25%,#205ea6 25% 50%,#879a39 50% 75%,#d0772b 75%); }
.theme-lab__preview { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-elevated); }
.theme-lab__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 120ms ease, transform 500ms var(--ease-out); }
.theme-lab:hover .theme-lab__preview img { transform: scale(1.006); }
.theme-lab__status { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 14px; color: var(--quiet); font-size: 0.66rem; }
.theme-lab__status p { display: flex; align-items: center; gap: 8px; margin: 0; }
.theme-lab__status strong { color: var(--text); font-weight: 500; }
.theme-lab__status a { display: inline-flex; align-items: center; min-height: 32px; color: var(--cyan); }

.community::before { background: color-mix(in srgb, var(--bg-deep) 70%, transparent); }
.plugins__intro .button { margin-top: 1.8rem; }
.plugin-field {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 0;
  margin-top: clamp(2.75rem, 4vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-elevated) 46%, var(--bg));
}
.plugin-field__address {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--accent);
  font-size: 0.72rem;
}
.plugin-field__claim {
  max-width: 27ch;
  margin: 0;
  padding: clamp(2rem, 3.4vw, 3.5rem);
  color: var(--text-bright);
  font-size: clamp(1.8rem, 2.7vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.12;
}
.plugin-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: clamp(1.25rem, 2.4vw, 2.5rem);
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-deep) 42%, transparent);
  list-style: none;
}
.plugin-list li { display: grid; grid-template-columns: minmax(110px, 0.7fr) 1fr; gap: 1.25rem; align-items: baseline; min-height: 58px; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.plugin-list li:last-child { border-bottom: 0; }
.plugin-list span { color: var(--text-bright); font-size: 0.84rem; }
.plugin-list small { color: var(--quiet); font-size: 0.64rem; line-height: 1.5; text-align: left; }

.try-omarchy { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr); gap: 1rem clamp(2rem, 3.5vw, 4rem); margin-top: clamp(3.5rem, 5vw, 5rem); padding: clamp(2rem, 3vw, 3rem); border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.try-omarchy h3,
.voices__header h3 { margin: 0; color: var(--text-bright); font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 500; letter-spacing: -0.055em; line-height: 1.08; }
.try-omarchy > p { max-width: 650px; margin: 0; color: var(--text); font-size: 0.92rem; line-height: 1.7; }
.try-omarchy__links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.try-omarchy__links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--cyan); font-size: 0.78rem; }
.try-omarchy > small { grid-column: 2; color: var(--quiet); font-size: 0.63rem; line-height: 1.6; }
.voices__header { display: grid; grid-template-columns: 1fr; gap: 0.45rem; align-items: start; margin-top: clamp(4.5rem, 6vw, 6rem); padding-top: clamp(3rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.voices__header .eyebrow { margin: 0; }
.voices__header h3 { max-width: 18ch; }

.video-wall { display: grid; grid-template-columns: 1.35fr 0.7fr 0.7fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: clamp(0.65rem, 1.2vw, 1rem); margin-top: clamp(2rem, 3.5vw, 3.5rem); }
.video-card { position: relative; overflow: hidden; min-height: 240px; background: var(--bg); }
.video-card--lead { grid-row: 1 / 3; min-height: 460px; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease-out), filter 180ms ease; }
.video-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(5,6,10,.86)); pointer-events: none; }
.video-card:hover img,
.video-card:focus-visible img { transform: scale(1.02); filter: saturate(1.08); }
.video-card__play { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(8,9,14,.72); color: #fff; font-size: 0.78rem; transform: translate(-50%,-50%); transition: background 120ms ease, color 120ms ease, transform 180ms var(--ease-out); }
.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play { background: var(--accent); color: var(--accent-ink); transform: translate(-50%,-50%) scale(1.08); }
.video-card__label { position: absolute; inset: auto 0 0; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.1rem 1.2rem; color: #f2f3fb; }
.video-card__label strong,
.video-card__label small { display: block; }
.video-card__label strong { font-size: clamp(0.72rem, 1vw, 0.88rem); font-weight: 600; }
.video-card__label small { color: rgba(255,255,255,.8); font-size: 0.63rem; }

.command-center__intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(2rem, 3.5vw, 4rem); }
.command-center__intro .button { justify-self: start; min-width: 240px; }
.destination-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem clamp(2rem, 3.5vw, 4rem); margin-top: clamp(2.5rem, 3.5vw, 3.5rem); }
.destination-list a { display: grid; grid-template-columns: 2.2rem minmax(100px, 0.75fr) 1fr auto; gap: 1rem; align-items: baseline; min-height: 58px; padding: 0.9rem 0.25rem; border-top: 1px solid var(--line); transition: color 120ms ease, background 120ms ease, padding 160ms var(--ease-out); }
.destination-list a:hover,
.destination-list a:focus-visible { padding-inline: 0.65rem; background: var(--selection); color: var(--cyan); }
.destination-list a:active { background: color-mix(in srgb, var(--selection) 72%, var(--text) 8%); }
.destination-list span { color: var(--accent); font-size: 0.64rem; font-weight: 700; }
.destination-list strong { color: var(--text-bright); font-size: 0.86rem; font-weight: 600; }
.destination-list small { color: var(--quiet); font-size: 0.66rem; }
.destination-list i { color: var(--quiet); font-size: 0.78rem; font-style: normal; }

.site-footer { display: grid; grid-template-columns: 1.2fr 0.65fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); padding: clamp(3.5rem, 5vw, 5rem) var(--section-gutter); border-top: 1px solid var(--line); color: var(--quiet); font-size: 0.68rem; }
.site-footer::before { background: var(--bg-deep); }
.footer-mark { width: min(290px, 80%); aspect-ratio: 1215 / 285; margin-bottom: 1.6rem; background: var(--green); -webkit-mask: url("assets/omarchy-logo.svg") center / contain no-repeat; mask: url("assets/omarchy-logo.svg") center / contain no-repeat; }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer strong { display: block; margin-top: 1.5rem; color: var(--text-bright); font-size: 0.88rem; font-weight: 500; }
.site-footer a { color: var(--cyan); }
.site-footer__links { display: grid; align-content: start; gap: 0.7rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 30px; color: var(--text); }
.site-footer__links a:hover { color: var(--cyan); }

.command-palette {
  width: min(300px, calc(100vw - 10px));
  max-height: min(72svh, calc(100svh - 10px));
  padding: 0;
  border: 1px solid var(--menu-border);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: none;
  font-family: var(--font);
}

.command-palette::backdrop { background: color-mix(in srgb, var(--bg) 58%, transparent); }
.command-palette[open],
.shortcut-guide[open] { animation: palette-in 160ms var(--ease-out); }
.command-palette__shell { overflow: hidden; padding: 18px; }
.command-palette__search { display: flex; align-items: center; height: 34px; }
.command-palette__search input { width: 100%; height: 34px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 16px; }
.command-palette__search input::placeholder { color: var(--text); opacity: 0.55; }
.command-palette__body { max-height: calc(min(72svh, calc(100svh - 10px)) - 70px); overflow: auto; }
.command-results { display: grid; gap: 3px; padding-top: 6px; }
.command-results [data-command-item] { display: grid; grid-template-columns: 36px 1fr 14px; align-items: center; min-height: 50px; padding: 0 8px; background: transparent; color: var(--text); font-size: 16px; text-align: left; cursor: pointer; }
.command-results [data-command-item].is-selected { background: var(--selection); color: var(--accent); }
.command-results [data-command-item].is-current { color: var(--accent); }
.command-results strong,
.command-results small { display: block; }
.command-results strong { color: inherit; font-weight: 500; }
.command-results small { display: none; }
.command-icon { text-align: center; font-size: 18px; }
.command-trail { opacity: 0.36; }
.command-palette.has-query { width: min(520px, calc(100vw - 10px)); }
.command-palette.has-query .command-results small { display: block; margin-top: 2px; color: var(--quiet); font-size: 11px; }
.command-palette__empty { min-height: 100px; margin: 0; padding: 38px 10px 20px; color: var(--text); text-align: center; font-size: 14px; opacity: 0.7; }

.shortcut-guide { width: min(820px, calc(100vw - 2rem)); max-height: min(720px, calc(100svh - 3rem)); padding: 0; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg-deep); color: var(--text); box-shadow: 0 40px 130px rgba(0,0,0,.58); }
.shortcut-guide::backdrop { background: color-mix(in srgb, var(--bg-deep) 78%, transparent); backdrop-filter: blur(5px); }
.shortcut-guide__header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 14px 18px; background: var(--bg-elevated); }
.shortcut-guide__header .toolbar-label { margin: 0; }
.shortcut-guide__header h2 { margin: 3px 0 0; color: var(--text-bright); font-size: 1rem; font-weight: 500; }
.shortcut-guide__header button { min-width: 34px; min-height: 30px; padding: 5px 8px; background: var(--bg-deep); color: var(--quiet); font-size: 0.64rem; cursor: pointer; }
.shortcut-guide__header button:hover { color: var(--cyan); }
.shortcut-guide__body { display: grid; grid-template-columns: 1fr 1fr; max-height: min(590px, calc(100svh - 170px)); overflow: auto; }
.shortcut-guide__body section { padding: 1.7rem; }
.shortcut-guide__body h3 { margin: 0 0 1rem; color: var(--accent); font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.1em; }
.shortcut-guide__body dl { margin: 0; }
.shortcut-guide__body dl > div { display: grid; grid-template-columns: minmax(130px, 0.75fr) 1fr; gap: 1rem; align-items: center; min-height: 45px; }
.shortcut-guide__body dt,
.shortcut-guide__body dd { margin: 0; }
.shortcut-guide__body dt { display: flex; flex-wrap: wrap; gap: 5px; }
.shortcut-guide__body dd { color: var(--quiet); font-size: 0.69rem; }
.shortcut-guide__footer { min-height: 40px; margin: 0; padding: 10px 18px; color: var(--quiet); font-size: 0.65rem; }
.command-palette__body,
.shortcut-guide__body { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.noscript { position: fixed; z-index: 150; inset: auto 1rem 1rem; margin: 0; padding: 10px 12px; background: var(--orange); color: var(--accent-ink); font-size: 0.67rem; }

.is-enhanced [data-reveal] { opacity: 1; transform: none; }
.reveal { animation: hero-enter 620ms both var(--ease-out); }
.reveal--1 { animation-delay: 80ms; }
.reveal--2 { animation-delay: 140ms; }
.reveal--3 { animation-delay: 200ms; }
.reveal--4 { animation-delay: 260ms; }
.reveal--5 { animation-delay: 330ms; }
.reveal--6 { animation-delay: 400ms; }
.reveal--visual { animation-delay: 300ms; }

@keyframes hero-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes palette-in { from { opacity: 0; transform: translateY(-8px) scale(.99); } to { opacity: 1; transform: none; } }

@media (min-width: 1101px) {
  .hero {
    gap: 2rem clamp(2rem, 3.5vw, 4.5rem);
    align-items: center;
    padding-top: calc(var(--shell-height) + 4.25rem);
    padding-bottom: 3rem;
  }

  .pre.hero-mark { margin-bottom: 1.75rem; }

  .manifesto,
  .themes,
  .community,
  .command-center {
    padding-top: clamp(5rem, 6vw, 6.5rem);
    padding-bottom: clamp(5rem, 6vw, 6.5rem);
  }

  .section-index { margin-bottom: 2rem; }
  .manifesto__body { margin-top: 2.4rem; }
  .principle-list { margin-top: 2.25rem; }
  .change-proof { margin-top: 3rem; }
  .theme-lab { margin-top: 2.5rem; }

  .plugin-field { margin-top: 2.5rem; }
  .plugin-field__claim { font-size: clamp(1.8rem, 2.7vw, 3.15rem); }

  .try-omarchy {
    margin-top: 4rem;
    padding: 2.5rem;
  }

  .try-omarchy h3,
  .voices__header h3 { font-size: clamp(2rem, 3vw, 3.5rem); }

  .voices__header {
    align-items: start;
    margin-top: 5rem;
  }

  .video-wall { margin-top: 1.75rem; }

  .destination-list { margin-top: 2.25rem; }
  .destination-list a { min-height: 58px; padding-block: 0.9rem; }
  .site-footer { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--shell-height) + 4.75rem); }
  .hero__statement { max-width: 820px; }
  .hero__visual { width: min(100%, 980px); }
  .desktop-frame { transform: none; }
  .manifesto__lead,
  .manifesto__body,
  .themes__header,
  .plugins__header { grid-template-columns: 1fr; }
  .manifesto__lead blockquote { max-width: 700px; }
  .change-loop { max-width: 720px; }
  .change-proof__flow { grid-template-columns: 1fr 1fr; }
  .change-proof__result { grid-column: 1 / -1; min-height: 480px; border-top: 1px solid var(--line); border-left: 0; }
  .plugin-field { grid-template-columns: 1fr; }
  .plugin-field__address { grid-column: 1; }
  .plugin-field__claim { max-width: 30ch; }
  .plugin-list { max-width: none; border-top: 1px solid var(--line); border-left: 0; }
  .video-wall { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .video-card--lead { grid-column: 1 / -1; grid-row: auto; }
  .site-footer { grid-template-columns: 1.1fr 0.8fr; }
  .site-footer__meta { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  :root { --shell-height: 38px; }
  body { background: var(--bg); }
  .workspace { justify-content: center; padding: 0 7px; }
  .workspace__label,
  .shortcuts-trigger > span,
  .palette-trigger > span,
  #shell-clock { display: none; }
  .palette-trigger,
  .shortcuts-trigger { padding: 0 7px; }
  .hero,
  .manifesto,
  .themes,
  .community,
  .command-center,
  .site-footer { padding-left: 1.15rem; padding-right: 1.15rem; }
  .hero-news { left: 1.15rem; }
  .hero { gap: 2.15rem; padding-bottom: 4.5rem; }
  .hero h1 { font-size: clamp(3rem, 12.5vw, 5.2rem); }
  .pre pre { font-size: clamp(0.115rem, 1.16vw, 0.56rem); }
  .hero__facts { grid-template-columns: 178px minmax(0, 1fr); gap: 0.7rem 1.25rem; }
  .section-index { margin-bottom: 1.9rem; }
  .principle-list { grid-template-columns: 1fr; gap: 2.2rem; }
  .change-loop { grid-template-columns: 1fr 1fr; }
  .change-proof__header { grid-template-columns: 1fr; gap: .35rem; padding-block: .85rem; }
  .change-proof__header strong { grid-row: 1; }
  .change-proof__header span:last-child { justify-self: start; }
  .change-proof__flow { grid-template-columns: 1fr; }
  .change-proof__prompt,
  .change-proof__diff { min-height: 390px; padding: 1.5rem; }
  .change-proof__diff { border-top: 1px solid var(--line); border-left: 0; }
  .change-proof__prompt blockquote { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .change-proof__result { grid-column: 1; min-height: 360px; }
  .change-proof__decision { grid-template-columns: 1fr; }
  .change-proof__decision > p { grid-template-columns: 1fr; gap: .4rem; }
  .change-proof__decision ul { min-height: 82px; border-top: 1px solid var(--line); border-left: 0; }
  .theme-lab__toolbar { grid-template-columns: 1fr; }
  .theme-picker { grid-template-columns: 1fr 1fr; }
  .theme-lab__status { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 12px; }
  .try-omarchy { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .try-omarchy__links,
  .try-omarchy > small { grid-column: 1; }
  .voices__header { grid-template-columns: 1fr; gap: 0.6rem; margin-top: 4rem; }
  .video-wall { grid-template-columns: 1fr 1fr; }
  .video-card--lead { grid-column: 1 / -1; min-height: 340px; }
  .destination-list { grid-template-columns: 1fr; }
  .command-center__intro { grid-template-columns: 1fr; align-items: start; }
  .command-center__intro .button { width: min(100%, 320px); min-width: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer__meta { grid-column: 1 / -1; }
  .shortcut-guide__body { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .workspace:nth-child(4),
  .workspace:nth-child(5) { display: none; }
  .hero__actions { grid-template-columns: 1fr; gap: 0.35rem; }
  .hero__actions .button { grid-row: auto; }
  .hero__actions .button { width: 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; }
  .video-wall,
  .command-center__intro,
  .site-footer { grid-template-columns: 1fr; }
  .video-card--lead { grid-column: 1; }
  .command-center__intro .button { justify-self: stretch; width: 100%; }
  .site-footer__meta { grid-column: 1; }
  .desktop-frame__footer button { font-size: 0; }
  .desktop-frame__footer kbd { font-size: 0.62rem; }
  .plugin-field__claim { font-size: clamp(1.75rem, 9.5vw, 2.6rem); }
  .plugin-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .plugin-list small { text-align: left; }
  .destination-list a { grid-template-columns: 1.8rem minmax(90px, 1fr) auto; }
  .destination-list small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal,
  .is-enhanced [data-reveal] { opacity: 1; transform: none; }
  html.wte-home .pre pre { visibility: visible; }
  html.wte-home .pre__wte { display: none; }
}
