:root {
  color-scheme: dark;
  --bg: #111010;
  --ink: #1c1c1c;
  --panel: #181616;
  --panel-2: #211f20;
  --panel-3: #30282c;
  --line: #3b3437;
  --line-soft: rgba(255, 255, 255, 0.08);
  --muted: #aaa2a6;
  --text: #fbf8fa;
  --soft: #e4dde0;
  --accent: #df1463;
  --accent-soft: #ff4f91;
  --accent-dim: rgba(223, 20, 99, 0.18);
  --button: #34282d;
  --button-border: #704052;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Cantarell, Ubuntu, Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(17, 16, 16, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--text);
}

.brand-mark img {
  width: 25px;
  height: 25px;
}

.nav-links {
  margin-left: auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.header-action:hover {
  color: var(--text);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.github-link img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.header-action,
.primary-button,
.secondary-button,
.copy-button {
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--button-border);
  background: var(--button);
  color: var(--soft);
}

.header-action:hover,
.secondary-button:hover,
.copy-button:hover {
  border-color: var(--accent-soft);
  background: #442a35;
}

.hero {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 64px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 9vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 610px;
  color: var(--soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid var(--button-border);
}

.primary-button {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent-soft);
}

.secondary-button {
  background: var(--button);
  color: var(--text);
}

.desktop-stage {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #110f10;
  box-shadow: var(--shadow);
}

.desktop-wallpaper {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(223, 20, 99, 0.18), transparent 42%),
    linear-gradient(35deg, #151213 0%, #252123 46%, #100f10 100%);
}

.prefs-window {
  position: absolute;
  left: 50%;
  top: 12%;
  width: min(760px, 88%);
  min-width: 0;
  min-height: 430px;
  padding: 0 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(45, 45, 45, 0.92);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.prefs-titlebar {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  min-height: 54px;
  padding-top: 0.45rem;
}

.tab {
  display: grid;
  place-items: center;
  min-width: 120px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #e8e8e8;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.tab:hover,
.tab:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero-tab-panel {
  display: none;
}

.hero-tab-panel.is-active {
  display: block;
}

.close-dot {
  position: absolute;
  top: 0.65rem;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #e6e6e6;
  font-size: 1.1rem;
  line-height: 1;
}

.mock-section {
  margin: 1rem auto 0;
  min-width: 0;
  max-width: 680px;
}

.mock-section.small {
  margin-top: 1.6rem;
}

.mock-section h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.mock-subtitle {
  margin: -0.35rem 0 1rem;
  color: #c9c1c5;
}

.mock-list,
.mock-row.single {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #3b3b3b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.mock-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.45fr);
  align-items: center;
  min-width: 0;
  overflow: hidden;
  min-height: 58px;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  color: #f1f1f1;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-row.single {
  border-bottom: 0;
}

.mock-row > span {
  min-width: 0;
  color: #e5e5e5;
}

.segmented {
  justify-self: end;
  display: grid;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #555;
}

.segmented.two {
  grid-template-columns: 1.35fr 0.85fr;
}

.segmented.three {
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
}

.segmented.four {
  grid-template-columns: repeat(4, 1fr);
}

.segmented.compact {
  width: 220px;
}

.segmented b {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 38px;
  padding: 0 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f3f3;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.segmented b:first-child {
  background: rgba(255, 255, 255, 0.24);
}

.segmented b:last-child {
  border-right: 0;
}

.mock-switch {
  justify-self: end;
  position: relative;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #5b5b5b;
}

.mock-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d8d8d8;
}

.mock-switch.is-on {
  background: rgba(223, 20, 99, 0.72);
}

.mock-switch.is-on::after {
  transform: translateX(26px);
  background: #fff;
}

.mock-history-list {
  overflow: hidden;
  border-radius: 14px;
  background: #3b3b3b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.mock-history-row {
  display: grid;
  gap: 0.25rem;
  min-height: 70px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  color: #f1f1f1;
}

.mock-history-row:last-child {
  border-bottom: 0;
}

.mock-history-row.is-selected {
  border: 1px solid rgba(223, 20, 99, 0.85);
  border-radius: 14px 14px 0 0;
  background: rgba(223, 20, 99, 0.1);
}

.mock-history-row span {
  color: #c9c1c5;
  font-size: 0.84rem;
}

.gnome-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  background: rgba(15, 14, 15, 0.94);
  border-bottom: 1px solid var(--line-soft);
  color: #f7f7f7;
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-left {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.panel-right {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
  color: rgba(255, 255, 255, 0.78);
}

.panel-left img,
.panel-right img {
  width: 17px;
  height: 17px;
  opacity: 0.92;
}

.flux-pill {
  min-width: 172px;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  padding: 0 0.75rem;
  background: rgba(223, 20, 99, 0.24);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.flux-pill span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flux-pill:hover,
.flux-pill.is-active {
  background: rgba(223, 20, 99, 0.36);
}

.flux-tooltip {
  position: absolute;
  top: 44px;
  left: 50%;
  z-index: 3;
  display: grid;
  gap: 0.4rem;
  min-width: 205px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 22, 23, 0.96);
  color: var(--muted);
  font-size: 0.86rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.flux-tooltip strong {
  color: var(--text);
}

.gnome-panel:has(.flux-pill:hover) + .flux-tooltip,
.gnome-panel:has(.flux-pill:focus-visible) + .flux-tooltip,
.flux-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.window {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(24, 22, 23, 0.88);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.window-large {
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 62%;
  padding: 1rem;
}

.window-small {
  right: 10%;
  top: 22%;
  width: 190px;
  min-height: 122px;
  padding: 1rem;
}

.window-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6f6469;
}

.window-controls span:nth-child(2) {
  background: #9c8f95;
}

.window-controls span:nth-child(3) {
  background: var(--accent-soft);
}

.usage-graph {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  height: 260px;
  padding: 1rem;
}

.usage-graph span {
  flex: 1;
  min-width: 12px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #fff1f7, var(--accent));
}

.mini-row {
  height: 12px;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.mini-row.short {
  width: 62%;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0 5vw;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-strip div {
  padding: 1.35rem;
  background: var(--panel-2);
}

.quick-strip strong {
  display: block;
  font-size: 1.8rem;
}

.quick-strip span,
.feature-card p,
.preview-panel p,
.install-copy p,
.site-footer {
  color: var(--muted);
}

.section,
.install-section {
  padding: clamp(4rem, 9vw, 7rem) 5vw;
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card,
.prefs-panel,
.preview-panel,
.code-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  min-height: 225px;
  padding: 1.35rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2rem;
  border-radius: 8px;
  background: var(--accent-dim);
}

.feature-icon img {
  width: 24px;
  height: 24px;
}

.feature-card p,
.preview-panel p,
.install-copy p {
  line-height: 1.65;
}

.prefs-layout {
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: 1.25rem;
}

.prefs-panel,
.preview-panel {
  padding: clamp(1.2rem, 3vw, 1.65rem);
}

.prefs-panel {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(223, 20, 99, 0.08), transparent 45%),
    var(--panel);
}

.prefs-panel label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.control-field > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--soft);
  letter-spacing: 0.01em;
}

.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.custom-select {
  position: relative;
}

.custom-select-button,
.custom-option,
.color-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}

.custom-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.9rem 0 1rem;
  background: #141213;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.custom-select-button::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--soft);
  border-bottom: 2px solid var(--soft);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.custom-select.is-open .custom-select-button {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.custom-select.is-open .custom-select-button::after {
  border-color: var(--accent-soft);
  transform: translateY(2px) rotate(225deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--button-border);
  border-radius: 8px;
  background: #191416;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.custom-select.is-open .custom-options {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.custom-option {
  min-height: 40px;
  border-color: transparent;
  padding: 0 0.75rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.custom-option:hover,
.custom-option:focus-visible {
  outline: none;
  background: var(--accent-dim);
}

.custom-option.is-selected {
  border-color: rgba(223, 20, 99, 0.48);
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
}

.color-control {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  background: #141213;
}

.color-control input[type="color"] {
  width: 40px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.color-control input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-control input[type="color"]::-webkit-color-swatch {
  border: 1px solid var(--line);
  border-radius: 6px;
}

.color-control input[type="color"]::-moz-color-swatch {
  border: 1px solid var(--line);
  border-radius: 6px;
}

.color-control span {
  color: var(--soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.toggle-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  width: fit-content;
  margin-top: 0.25rem;
  cursor: pointer;
  user-select: none;
}

.toggle-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.toggle-box {
  position: relative;
  width: 42px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #141213;
  transition: background 160ms ease, border-color 160ms ease;
}

.toggle-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 160ms ease, background 160ms ease;
}

.toggle-row input:checked + .toggle-box {
  border-color: var(--accent-soft);
  background: var(--accent);
}

.toggle-row input:checked + .toggle-box::after {
  transform: translateX(18px);
  background: var(--text);
}

.toggle-row input:focus-visible + .toggle-box {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.toggle-row input {
  accent-color: var(--accent);
}

.preview-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  background:
    radial-gradient(circle at 80% 15%, rgba(223, 20, 99, 0.18), transparent 18rem),
    var(--panel);
}

.panel-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #100f10;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.preview-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 38px;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(15, 14, 15, 0.96);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-topbar strong {
  max-width: 260px;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.24rem 0.72rem;
  background: rgba(223, 20, 99, 0.28);
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-topbar span:last-child {
  justify-self: end;
  color: var(--muted);
}

.preview-tooltip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
}

.preview-tooltip span,
.preview-grid span,
.usage-preview-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.preview-tooltip span {
  display: grid;
  gap: 0.25rem;
}

.preview-tooltip strong,
.preview-grid strong,
.usage-preview-list strong {
  color: var(--text);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.preview-grid article {
  display: grid;
  gap: 0.2rem;
  min-height: 90px;
  align-content: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141213;
}

.preview-grid strong {
  font-size: 1.2rem;
}

.usage-preview {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141213;
}

.usage-preview-heading h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.usage-preview-heading p {
  max-width: 58rem;
  margin-bottom: 0;
}

.usage-preview-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.usage-preview-list div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.usage-preview-list div:first-child {
  border-color: rgba(223, 20, 99, 0.7);
  background: rgba(223, 20, 99, 0.08);
}

.usage-preview-list div:last-child {
  border-bottom: 0;
}

.path-chip {
  display: inline-flex;
  width: fit-content;
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--accent-dim);
  color: #ffd9e8;
}

.install-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.code-panel {
  position: relative;
  overflow: hidden;
}

.copy-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--line);
  padding: 0.55rem 0.75rem;
  background: var(--button);
  color: var(--text);
  cursor: pointer;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 4rem 1.2rem 1.2rem;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.code-note {
  margin: 0;
  padding: 0.95rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.install-copy h2 code {
  color: var(--accent);
  font-size: 0.82em;
  letter-spacing: -0.02em;
}

kbd {
  display: inline-block;
  padding: 0.1em 0.45em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--button);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85em;
  line-height: 1.4;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero,
  .prefs-layout,
  .install-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .desktop-stage {
    min-height: 620px;
  }

  .prefs-window {
    width: min(720px, 90%);
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
  }

  .header-action {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    display: block;
    padding-top: 2.25rem;
  }

  .hero-copy {
    max-width: 20.5rem;
  }

  .desktop-stage {
    width: calc(100vw - 10vw);
    margin-top: 2rem;
    min-height: 560px;
  }

  .hero-lede {
    max-width: 100%;
  }

  .gnome-panel {
    grid-template-columns: auto 1fr;
  }

  .panel-right {
    display: none;
  }

  .flux-pill {
    justify-self: end;
    min-width: 146px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .quick-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .prefs-window {
    left: 50%;
    top: 14%;
    width: calc(92% / 0.82);
    min-height: 390px;
    padding: 0 0.7rem 1rem;
    border-radius: 14px;
    transform: translateX(-50%) scale(0.82);
    transform-origin: top center;
  }

  .prefs-titlebar {
    min-height: 48px;
  }

  .tab {
    min-width: 88px;
    height: 34px;
    font-size: 0.84rem;
  }

  .close-dot {
    width: 26px;
    height: 26px;
  }

  .mock-section {
    margin-top: 0.8rem;
  }

  .mock-section.small {
    margin-top: 1rem;
  }

  .mock-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    min-height: auto;
    padding: 0.75rem;
  }

  .segmented {
    justify-self: stretch;
    width: 100%;
  }

  .segmented b {
    min-height: 34px;
    padding: 0 0.25rem;
    font-size: 0.6rem;
  }

  .segmented.compact {
    width: 100%;
  }

  .mock-switch {
    justify-self: start;
  }

  .window-large {
    left: 5%;
    right: 5%;
  }

  .window-small {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-topbar {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.8rem;
  }

  .preview-topbar strong,
  .preview-topbar span:last-child {
    justify-self: start;
  }

  .preview-tooltip,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid article {
    min-height: 76px;
  }

  .usage-preview {
    padding: 1rem;
  }
}
