:root {
  --desk: #1c1916;
  --desk-glow: #3a3126;
  --paper: #f3efe4;
  --ink: #1f1a14;
  --mute: #7a6f62;
  --rule: #e4d9c8;
  --file: #1f6f66;
  --file-soft: rgba(31, 111, 102, 0.16);
  --lamp: #d08a3a;
  --ui: 'Outfit', system-ui, sans-serif;
  --write: 'Fraunces', 'Palatino Linotype', Palatino, serif;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

[hidden] {
  display: none !important;
}

body {
  position: relative;
  color: var(--paper);
  font-family: var(--ui);
  background: var(--desk);
  line-height: 1.55;
}

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(920px 480px at 18% -10%, rgba(208, 138, 58, 0.34), transparent 62%),
    radial-gradient(800px 420px at 88% 8%, #4a3d2e, transparent 70%),
    radial-gradient(700px 500px at 70% 90%, rgba(31, 111, 102, 0.16), transparent 60%),
    var(--desk);
}

.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.top, main, .foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--pad) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 7px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav a:not(.btn) {
  color: #cfc4b2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.top-nav a:not(.btn):hover {
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lamp {
  background: var(--lamp);
  color: #2a1c0c;
  box-shadow: 0 8px 24px rgba(208, 138, 58, 0.28);
}

.btn-paper {
  background: var(--paper);
  color: var(--ink);
  padding: 14px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 17px;
}

.ghost {
  border: 1px solid #3a3229;
  background: transparent;
  color: #efe8db;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ghost:hover {
  border-color: var(--file);
  color: #d9efe8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(48px, 8vw, 92px) var(--pad) 48px;
}

.eyebrow, .kicker, .stage-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lamp);
}

.hero h1, .how h2, .why h2, .files h2, .pricing h2, .close h2 {
  margin: 0;
  font-family: var(--write);
  font-weight: 460;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  max-width: 12ch;
}

.hero h1, .how h2, .why h2, .files h2, .pricing h2, .close h2, .stage-line, .demo-page, .mast h3 {
  font-feature-settings: "liga" 1, "dlig" 0, "swsh" 0, "ss01" 0, "ss02" 0;
  font-variation-settings: "opsz" 48;
}

.hero h1 span {
  color: #f6e7c8;
}

.lede, .section-lede, .close p, .pricing .section-lede, .files .section-lede {
  color: #cfc4b2;
  font-size: 18px;
  max-width: 42rem;
}

.lede {
  margin: 22px 0 0;
}

.hero-actions {
  margin-top: 28px;
}

.hero-download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.plan-downloads {
  width: 100%;
}

.fine {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 13px;
}

.fine a {
  color: #d9c7a4;
}

.stage {
  min-width: 0;
}

.stage-caption {
  margin: 0 0 16px;
}

.stage-line {
  margin: 0;
  font-family: var(--write);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 460;
  letter-spacing: -0.02em;
}

.stage-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.stage-steps li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #3a3229;
  color: #b9ad9c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-steps li.on {
  border-color: var(--file);
  background: var(--file-soft);
  color: #d7efe8;
}

.stage-frame {
  perspective: 1600px;
}

.os-window {
  transform: rotateY(-6deg) rotateX(3deg);
  transform-origin: 50% 60%;
  background: #100e0c;
  border: 1px solid #2a241e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 30px 80px rgba(0, 0, 0, 0.45);
}

.os-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #161310;
  border-bottom: 1px solid #2a241e;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3229;
}

.dots i:first-child { background: #8a4a3a; }
.dots i:nth-child(2) { background: #c4a15a; }
.dots i:nth-child(3) { background: #3f6d55; }

.os-title {
  color: #b9ad9c;
  font-size: 12px;
  font-weight: 600;
}

.os-body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 520px;
}

.demo-rail {
  background: #161310;
  color: #efe8db;
  padding: 16px 12px 20px;
  border-right: 1px solid #2a241e;
  overflow-y: auto;
  max-height: 520px;
}

.demo-rail .kicker {
  color: var(--file);
  margin: 0 8px 16px;
}

.demo-rail h2 {
  margin: 16px 8px 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lamp);
  font-weight: 600;
}

.demo-rail h2:first-of-type {
  margin-top: 0;
}

.nav-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #efe8db;
  font: inherit;
  font-size: 13px;
}

.nav-item span,
.rail-empty {
  color: #b9ad9c;
  font-size: 12px;
}

.rail-empty {
  margin: 0 10px 4px;
}

.keyword-slug {
  display: block;
  margin: 0 10px;
  padding: 3px 0;
  color: #efe8db;
  font-size: 12px;
  line-height: 1.35;
}

.keyword-form {
  display: flex;
  gap: 6px;
  margin: 8px 10px 0;
}

.keyword-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #3a3229;
  border-radius: 8px;
  background: #1c1814;
  color: #efe8db;
  font: inherit;
  font-size: 12px;
  padding: 6px 8px;
}

.keyword-form.on input {
  border-color: var(--file);
}

.demo-rail .ghost.tiny {
  padding: 4px 8px;
  font-size: 12px;
}

.demo-rail .ghost.tiny.on {
  border-color: var(--file);
  color: #d9efe8;
}

.nav-item.on,
.nav-item.pulse {
  background: rgba(31, 111, 102, 0.2);
}

.demo-desk {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.mast {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 16px 4px;
}

.mast .kicker {
  color: var(--file);
}

.mast .when {
  flex: 1;
  min-width: 0;
}

.mast h3 {
  margin: 2px 0 0;
  font-family: var(--write);
  font-size: 22px;
  font-weight: 460;
  letter-spacing: -0.02em;
}

.demo-desk .ghost {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

.demo-desk .ghost.nav {
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--mute);
}

.notebook-search-field input {
  min-width: 0;
  width: min(160px, 28vw);
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
}

.today {
  margin-left: 8px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lamp);
  font-weight: 600;
}

.hint-inline {
  margin: 4px 0 0;
  color: var(--mute);
  font-size: 12px;
}

.demo-page {
  flex: 1;
  min-height: 220px;
  padding: 12px 22px 16px;
  font-family: var(--write);
  font-size: 20px;
  font-weight: 460;
  line-height: 1.7;
  letter-spacing: -0.01em;
  white-space: pre-wrap;
}

.token {
  color: var(--file);
}

.clip-block {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.4em;
  align-items: baseline;
  max-width: 100%;
  vertical-align: top;
}

.clip-block .token {
  grid-column: 1;
  grid-row: 1;
}

.clip-col {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.clip {
  background: var(--file-soft);
  color: var(--ink);
  min-height: 1.2em;
}

.clip.flash,
.clip-col.flash .clip {
  animation: flash 0.55s ease;
}

.clip-block.locked .clip {
  cursor: default;
}

.clip.editing {
  background-color: rgba(31, 111, 102, 0.22);
  box-shadow: inset 0 -1px 0 rgba(31, 111, 102, 0.35);
}

.clip-editing-note {
  margin-left: 0.5em;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--file);
  color: #f7fffd;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  width: max-content;
}

.clip-tip {
  position: absolute;
  z-index: 4;
  left: 36px;
  bottom: 56px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--desk);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(28, 25, 22, 0.28);
  white-space: nowrap;
}

.notebook-page.hide-dates .stamp {
  visibility: hidden;
}

.caret {
  display: inline-block;
  width: 1.5px;
  height: 1em;
  margin-left: 1px;
  background: var(--ink);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

.caret.off {
  visibility: hidden;
}

.slash-menu {
  position: absolute;
  left: 36px;
  top: 168px;
  width: min(320px, calc(100% - 48px));
  background: #fffcf6;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(28, 25, 22, 0.18);
  padding: 10px;
  z-index: 3;
}

.slash-menu[hidden] {
  display: none;
}

.slash-menu.low {
  top: auto;
  bottom: 72px;
}

.slash-kicker {
  margin: 0 8px 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.slash-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.slash-menu button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--file-soft);
  color: var(--ink);
  font: inherit;
}

.slash-menu button span:first-child {
  white-space: nowrap;
}

.slash-menu button span:last-child {
  color: var(--mute);
  font-size: 13px;
}

.hint {
  margin: 0;
  padding: 0 22px 16px;
  color: var(--mute);
  font-size: 12px;
}

.notebook-page {
  color: var(--ink);
}

.filed-entry {
  display: flex;
  align-items: flex-start;
  margin: 0 0 1.1em;
  color: var(--ink);
}

.filed-entry .stamp {
  flex: 0 0 auto;
  white-space: pre;
}

.filed-body {
  min-width: 0;
}

.filed-body span {
  display: block;
}

.filed-in {
  animation: rise 0.6s ease;
}

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.keys kbd {
  min-width: 42px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #3a3229;
  background: #161310;
  color: #8a8074;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.keys kbd.on {
  border-color: var(--lamp);
  color: #f6e7c8;
  box-shadow: 0 0 0 3px rgba(208, 138, 58, 0.16);
}

.stage-controls {
  margin-top: 16px;
}

.how, .why, .files, .pricing, .close {
  padding: 72px var(--pad);
}

.how h2, .why h2, .files h2, .pricing h2, .close h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.section-lede {
  margin: 16px 0 0;
}

.how-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.how-grid li, .why-grid article {
  padding: 22px;
  border-radius: 18px;
  background: rgba(243, 239, 228, 0.04);
  border: 1px solid #2a241e;
}

.how-grid li.on {
  border-color: var(--file);
  background: rgba(31, 111, 102, 0.12);
}

.num {
  display: block;
  color: var(--lamp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.how-grid h3, .why-grid h3 {
  margin: 10px 0 8px;
  font-family: var(--write);
  font-size: 26px;
  font-weight: 460;
}

.how-grid p, .why-grid p, .files-grid p {
  margin: 0;
  color: #cfc4b2;
}

.why a, .files a, .faq a, .close a {
  color: #d9c7a4;
}

.files {
  border-top: 1px solid #2a241e;
}

.files-card {
  margin: 36px 0 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(243, 239, 228, 0.04);
  border: 1px solid #2a241e;
  max-width: 46rem;
}

.files-card p {
  margin: 12px 0 0;
  color: #cfc4b2;
}

.files-tree {
  margin: 10px 0 0;
  padding: 16px 18px;
  overflow: auto;
  border-radius: 12px;
  background: #161310;
  color: #efe8db;
  font-family: var(--ui);
  font-size: 14px;
  line-height: 1.55;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 0;
}

.files-grid article {
  padding: 22px;
  border-radius: 18px;
  background: rgba(243, 239, 228, 0.04);
  border: 1px solid #2a241e;
}

.files-grid h3 {
  margin: 0 0 8px;
  font-family: var(--write);
  font-size: 26px;
  font-weight: 460;
}

code {
  font-family: var(--ui);
  font-size: 0.92em;
  color: #f3efe4;
}

.pricing {
  border-top: 1px solid #2a241e;
}

.bill-toggle {
  display: inline-flex;
  margin: 32px 0 0;
  padding: 4px;
  border: 1px solid #3a3229;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.bill-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: transparent;
  color: #cfc4b2;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.bill-toggle button.on {
  background: var(--paper);
  color: var(--ink);
}

.bill-toggle span {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--file-soft);
  color: #8ee0d2;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bill-toggle button.on span {
  background: rgba(31, 111, 102, 0.16);
  color: var(--file);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border-radius: 22px;
  background: rgba(243, 239, 228, 0.04);
  border: 1px solid #2a241e;
}

.plan-plus {
  border-color: var(--lamp);
  background:
    radial-gradient(420px 180px at 80% 0%, rgba(208, 138, 58, 0.18), transparent 70%),
    rgba(243, 239, 228, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lamp);
  color: #2a1c0c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lamp);
}

.plan h3 {
  margin: 10px 0 0;
  font-family: var(--write);
  font-size: 32px;
  font-weight: 460;
}

.plan-price {
  margin: 18px 0 0;
  font-family: var(--write);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 500;
  color: #cfc4b2;
}

.plan-note {
  margin: 10px 0 0;
  color: #cfc4b2;
}

.plan-features {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  color: #efe8db;
}

.plan-features li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-top: 1px solid #2a241e;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--file);
  font-size: 13px;
}

.plan .btn,
.plan .ghost-btn {
  margin-top: auto;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid #3a3229;
  border-radius: 999px;
  color: #efe8db;
  text-decoration: none;
  font-weight: 600;
}

.ghost-btn:hover {
  border-color: var(--file);
  color: #d9efe8;
}

.btn.is-off {
  opacity: 0.55;
  pointer-events: none;
}

.compare {
  width: 100%;
  margin: 48px 0 0;
  border-collapse: collapse;
  color: #efe8db;
}

.compare caption {
  caption-side: top;
  text-align: left;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lamp);
}

.compare th,
.compare td {
  padding: 12px 10px;
  border-bottom: 1px solid #2a241e;
  text-align: left;
  font-weight: 500;
}

.compare thead th {
  color: #cfc4b2;
  font-size: 13px;
}

.compare tbody th {
  font-weight: 500;
  color: #efe8db;
}

.faq {
  margin: 48px 0 0;
  max-width: 46rem;
}

.faq h3 {
  margin: 0 0 16px;
  font-family: var(--write);
  font-size: 28px;
  font-weight: 460;
}

.faq details {
  border-top: 1px solid #2a241e;
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #efe8db;
}

.faq p {
  margin: 10px 0 0;
  color: #cfc4b2;
}

.thanks-steps {
  max-width: 36rem;
  margin: 24px auto 0;
  padding: 0 0 0 1.2em;
  text-align: left;
  color: #cfc4b2;
}

.thanks-steps li + li {
  margin-top: 10px;
}

.foot a {
  color: #d9c7a4;
}

.close {
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(208, 138, 58, 0.16), transparent 70%),
    rgba(0, 0, 0, 0.18);
}

.close h2 {
  margin-bottom: 12px;
}

.close p {
  margin-left: auto;
  margin-right: auto;
}

.close .btn {
  margin-top: 28px;
}

.close .hero-download-row {
  justify-content: center;
  margin-top: 28px;
}

.close .hero-download-row .btn {
  margin-top: 0;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px var(--pad) 40px;
  color: #8a8074;
  font-size: 13px;
}

.foot p { margin: 0; }

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes flash {
  0% { box-shadow: 0 0 0 0 rgba(31, 111, 102, 0.0); }
  40% { box-shadow: 0 0 0 8px rgba(31, 111, 102, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(31, 111, 102, 0.0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero h1 {
    max-width: none;
  }

  .os-window {
    transform: none;
  }

  .os-body {
    grid-template-columns: 148px minmax(0, 1fr);
    min-height: 420px;
  }

  .demo-rail {
    max-height: 420px;
  }

  .how-grid, .why-grid, .files-grid, .plan-grid {
    grid-template-columns: 1fr;
  }

  .top-nav a:not(.btn):not(.keep) {
    display: none;
  }
}

@media (max-width: 640px) {
  .os-body {
    grid-template-columns: 1fr;
  }

  .demo-rail {
    display: none;
  }

  .demo-page {
    font-size: 18px;
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .os-window { transform: none; }
  .caret, .clip.flash, .clip-col.flash .clip, .filed-in { animation: none; }
  .btn:hover { transform: none; }
}
