:root {
  color-scheme: light;
  --paper: #fffaf5;
  --paper-strong: #ffffff;
  --paper-warm: #f8eee7;
  --ink: #412820;
  --ink-deep: #291812;
  --muted: #80675e;
  --muted-light: #a58d84;
  --line: #eadbd2;
  --terracotta: #d95f45;
  --terracotta-dark: #a9402d;
  --terracotta-soft: #f8ddd3;
  --gold: #f5ba45;
  --gold-soft: #ffe8b2;
  --blue: #276fbf;
  --shadow-soft: 0 20px 60px rgba(93, 52, 41, 0.1);
  --shadow-strong: 0 28px 90px rgba(72, 38, 29, 0.16);
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(217, 95, 69, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 95, 69, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: 860px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), transparent);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--ink-deep);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.glow {
  position: absolute;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.glow-one {
  top: -28rem;
  right: -11rem;
  background: radial-gradient(circle, rgba(245, 186, 69, 0.25), transparent 68%);
}

.glow-two {
  top: 43rem;
  left: -29rem;
  background: radial-gradient(circle, rgba(217, 95, 69, 0.12), transparent 68%);
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border: 1px solid rgba(93, 52, 41, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(93, 52, 41, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--terracotta-dark);
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  padding: 10px 16px;
  color: white;
  background: var(--ink-deep);
  box-shadow: 0 8px 18px rgba(41, 24, 18, 0.13);
}

.button-primary {
  padding: 14px 20px;
  color: white;
  background: var(--terracotta);
  box-shadow: 0 12px 28px rgba(217, 95, 69, 0.25);
}

.button-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 16px 36px rgba(217, 95, 69, 0.3);
}

.button-secondary {
  padding: 14px 20px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: rgba(217, 95, 69, 0.55);
  color: var(--terracotta-dark);
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 94px);
  min-height: 680px;
  padding: 82px 0 98px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--terracotta-dark);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}

.hero h1,
.section-heading h2,
.install-heading h2,
.closing-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.058em;
}

.hero h1 {
  font-size: clamp(4rem, 7vw, 6.45rem);
  line-height: 0.9;
}

.hero h1 em,
.section-heading h2 em,
.closing-section h2 em {
  color: var(--terracotta);
  font-weight: 500;
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.compatibility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin: 31px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  list-style: none;
}

.compatibility-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.compatibility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.035);
}

.dot-claude {
  background: #d97757;
}

.dot-copilot {
  background: #0969da;
}

.dot-skill {
  background: var(--gold);
}

.question-card {
  position: relative;
  padding: 31px;
  overflow: hidden;
  border: 1px solid rgba(93, 52, 41, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.question-card::before,
.question-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.question-card::before {
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(245, 186, 69, 0.18), rgba(217, 95, 69, 0.07));
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.question-card::after {
  right: 0;
  bottom: 0;
  border-top: 42px solid transparent;
  border-right: 42px solid var(--gold-soft);
}

.question-card-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.question-card-top img {
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 10px 26px rgba(93, 52, 41, 0.12);
}

.question-kicker {
  padding-top: 5px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.question-card blockquote {
  max-width: 350px;
  margin: 29px 0 31px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.boundary-list {
  display: grid;
  gap: 7px;
}

.boundary-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.72);
}

.boundary-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 900;
}

.mark-keep {
  color: white;
  background: var(--terracotta);
}

.mark-pair {
  color: var(--ink);
  background: var(--gold);
}

.mark-delegate {
  color: var(--terracotta-dark);
  background: var(--terracotta-soft);
}

.boundary-list p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.boundary-list strong {
  font-size: 0.82rem;
}

.boundary-list p span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.boundary-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: center;
}

.idea-strip {
  display: grid;
  grid-template-columns: 1fr 72px 1.3fr;
  align-items: center;
  gap: 28px;
  padding: 31px 38px;
  border-block: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  letter-spacing: -0.025em;
}

.idea-strip p {
  margin: 0;
}

.idea-strip p:first-child {
  color: var(--muted);
  text-align: right;
}

.idea-strip > span {
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--terracotta), var(--line));
}

.idea-strip strong {
  color: var(--terracotta-dark);
}

.section {
  padding: 116px 0;
  scroll-margin-top: 20px;
}

.section-heading h2,
.install-heading h2,
.closing-section h2 {
  font-size: clamp(2.7rem, 5.5vw, 4.65rem);
  line-height: 0.97;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: clamp(40px, 9vw, 120px);
}

.split-heading > p,
.centered-heading > p,
.install-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.ownership-figure {
  margin: 58px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.ownership-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.ownership-figure figcaption {
  padding: 15px 10px 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.principle-grid article {
  min-height: 250px;
  padding: 32px;
  background: rgba(255, 250, 245, 0.97);
}

.principle-grid article::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 42px;
  border-radius: 999px;
  background: var(--terracotta);
  content: "";
}

.principle-grid h3,
.mode-card h3,
.install-options h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.principle-grid p,
.mode-card p,
.install-options p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.modes-section {
  position: relative;
}

.modes-section::before {
  position: absolute;
  z-index: -1;
  top: 40px;
  left: 50%;
  width: 100vw;
  height: calc(100% - 80px);
  background: rgba(248, 238, 231, 0.62);
  content: "";
  transform: translateX(-50%);
}

.centered-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading > p:last-child {
  max-width: 580px;
  margin: 22px auto 0;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 51px;
}

.mode-card {
  position: relative;
  min-height: 275px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(93, 52, 41, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mode-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background: var(--card-accent, var(--terracotta-soft));
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  content: "";
  opacity: 0.72;
}

.mode-card:hover {
  border-color: rgba(217, 95, 69, 0.27);
  box-shadow: 0 18px 42px rgba(93, 52, 41, 0.09);
  transform: translateY(-3px);
}

.mode-pair,
.mode-ship {
  --card-accent: var(--terracotta-soft);
}

.mode-learn,
.mode-tidy {
  --card-accent: var(--gold-soft);
}

.mode-craft,
.mode-off {
  --card-accent: #e8ddd7;
}

.mode-icon {
  display: block;
  margin-bottom: 27px;
  font-size: 1.5rem;
}

.mode-card > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.mode-card code {
  color: var(--terracotta-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
}

.mode-default {
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper-warm);
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-section {
  padding-bottom: 102px;
}

.demo-intro {
  margin-bottom: 49px;
}

.demo-card {
  padding: 20px;
  border: 1px solid rgba(93, 52, 41, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 5px 15px;
}

.demo-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper-warm);
}

.demo-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.81rem;
  font-weight: 780;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.demo-tab:hover {
  color: var(--ink);
}

.demo-tab[aria-selected="true"] {
  color: var(--ink);
  background: white;
  box-shadow: 0 5px 18px rgba(93, 52, 41, 0.09);
}

.tab-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.035);
}

.tab-mark-claude {
  background: #d97757;
}

.tab-mark-copilot {
  background: #0969da;
}

.demo-mode {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 650;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.speed-control select {
  min-width: 82px;
  padding: 8px 28px 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  cursor: pointer;
}

.terminal-shell {
  overflow: hidden;
  border: 1px solid #2d3035;
  border-radius: 17px;
  background: #121314;
  box-shadow: 0 18px 45px rgba(26, 20, 18, 0.22);
}

.terminal-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #292b2e;
  background: #1b1d1f;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #e36a5b;
}

.dot-gold {
  background: #e8b84f;
}

.dot-green {
  background: #68b36b;
}

.terminal-title {
  position: absolute;
  left: 50%;
  color: #8f9398;
  font-family: var(--mono);
  font-size: 0.67rem;
  transform: translateX(-50%);
}

#player-panel,
#player {
  min-height: 300px;
}

#player .ap-wrapper {
  justify-content: flex-start;
}

#player .ap-player {
  border-radius: 0;
}

.player-fallback {
  margin: 0;
  padding: 50px 24px;
  color: #f1e8e2;
  text-align: center;
}

.player-fallback a {
  color: var(--gold);
}

.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7px 2px;
}

.demo-footer p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.download-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  color: var(--terracotta-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.download-link:hover,
.text-link:hover,
.install-options a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.install-panel {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(93, 52, 41, 0.11);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.primary-command {
  margin-top: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-warm);
}

.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 1px 4px 11px 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-size: 0.67rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}

.primary-command pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  border-radius: 11px;
  background: var(--ink-deep);
}

.primary-command code {
  color: #f6dcae;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1.35vw, 0.88rem);
  white-space: pre;
}

.install-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.install-options article {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 250, 245, 0.97);
}

.install-options article::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--terracotta);
  content: "";
}

.install-options p {
  min-height: 48px;
}

.install-options code,
.install-options a {
  display: block;
  margin-top: 17px;
  color: var(--terracotta-dark);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.closing-section {
  max-width: 850px;
  margin: 0 auto;
  padding: 104px 0 126px;
  text-align: center;
}

.closing-section img {
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.closing-section h2 {
  margin-bottom: 30px;
}

.text-link {
  color: var(--terracotta-dark);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-brand {
  justify-self: start;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-self: end;
  gap: 17px;
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--terracotta-dark);
}

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

.demo-tab:focus-visible,
.speed-control select:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.footer-brand:focus-visible,
.copy-button:focus-visible,
.download-link:focus-visible,
.text-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(217, 95, 69, 0.32);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .site-nav > a:not(.button, .nav-github) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 70px;
  }

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

  .question-card {
    width: min(100%, 610px);
    justify-self: center;
  }

  .split-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 25px;
  }

  .split-heading > p {
    max-width: 680px;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav {
    gap: 12px;
  }

  .nav-github {
    display: none !important;
  }

  .hero {
    min-height: 0;
    padding: 55px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 17vw, 5rem);
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .compatibility-list {
    gap: 12px 17px;
  }

  .question-card {
    padding: 23px;
    border-radius: 23px;
  }

  .question-card blockquote {
    margin-block: 24px;
  }

  .idea-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 12px;
    text-align: center;
  }

  .idea-strip p:first-child {
    text-align: center;
  }

  .idea-strip > span {
    width: 52px;
    justify-self: center;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading h2,
  .install-heading h2,
  .closing-section h2 {
    font-size: clamp(2.7rem, 13vw, 3.65rem);
  }

  .ownership-figure {
    margin-top: 40px;
    padding: 7px;
    overflow: hidden;
    border-radius: 18px;
  }

  .ownership-figure img {
    min-width: 760px;
    max-width: none;
    transform: translateX(calc((100vw - 784px) / 2));
  }

  .ownership-figure figcaption {
    padding-inline: 12px;
  }

  .principle-grid,
  .mode-grid,
  .install-options {
    grid-template-columns: 1fr;
  }

  .principle-grid article,
  .mode-card,
  .install-options article {
    min-height: 0;
  }

  .install-options p {
    min-height: 0;
  }

  .demo-card {
    padding: 9px;
    border-radius: 20px;
  }

  .demo-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 2px 2px 10px;
  }

  .demo-tabs {
    flex-direction: column;
  }

  .demo-tab {
    justify-content: flex-start;
  }

  .speed-control {
    justify-content: space-between;
    padding-inline: 5px;
  }

  .terminal-title {
    display: none;
  }

  .demo-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .install-panel {
    padding: 28px 19px;
    border-radius: 23px;
  }

  .command-heading > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .primary-command pre {
    padding: 16px;
  }

  .closing-section {
    padding: 80px 0 94px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-brand,
  .site-footer nav {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
