:root {
  --paper: #f4f1e8;
  --paper-deep: #e9e4d8;
  --ink: #11120f;
  --muted: #77766e;
  --line: #cbc7bc;
  --acid: #c9f35b;
  --purple: #7658ff;
  --orange: #ff6a3d;
  --max: 1440px;
  --pad: clamp(22px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #d9d5ca;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
textarea,
select {
  font: inherit;
}

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

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

button {
  color: inherit;
}

.page-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(17, 18, 15, 0.1);
}

.section-pad {
  padding-right: var(--pad);
  padding-left: var(--pad);
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 232, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: flex;
  align-items: end;
  gap: 3px;
  width: 25px;
  height: 22px;
}

.brand-mark i {
  display: block;
  width: 4px;
  background: var(--ink);
  border-radius: 1px;
}

.brand-mark i:nth-child(1) {
  height: 8px;
}

.brand-mark i:nth-child(2) {
  height: 20px;
}

.brand-mark i:nth-child(3) {
  height: 14px;
}

.brand-mark i:nth-child(4) {
  height: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after,
.text-link::after,
.footer-bottom a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.text-link:hover::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.copy-install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 210px;
  margin-left: auto;
  padding: 13px 15px;
  color: #fff;
  cursor: pointer;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.copy-icon {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.copy-icon::before,
.copy-icon::after {
  position: absolute;
  width: 8px;
  height: 9px;
  content: "";
  border: 1px solid currentColor;
}

.copy-icon::before {
  top: 1px;
  left: 1px;
}

.copy-icon::after {
  right: 1px;
  bottom: 1px;
  background: inherit;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  gap: clamp(40px, 7vw, 105px);
  min-height: 760px;
  padding-top: clamp(80px, 9vw, 128px);
  padding-bottom: 42px;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60.8%;
  width: 1px;
  content: "";
  background: var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 243, 91, 0.35);
}

.hero h1,
.section-heading h2,
.install h2 {
  margin: 24px 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(67px, 8.2vw, 124px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.hero h1 em,
.section-heading h2 em {
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 7px;
  text-underline-offset: 8px;
}

.hero-intro {
  max-width: 650px;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 205px;
  padding: 17px 19px;
  cursor: pointer;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 5px 5px 0 var(--purple);
  transform: translate(-2px, -2px);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-acid {
  min-width: 180px;
  background: var(--acid);
}

.text-link {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  align-self: center;
  min-width: 0;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
  box-shadow: 12px 12px 0 var(--acid);
  transform: rotate(1.5deg);
}

.visual-meta,
.panel-head,
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 16px;
  border-bottom: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.word-field {
  position: relative;
  height: clamp(370px, 39vw, 505px);
  overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 25% 25%;
}

.word {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.word-1 {
  top: 11%;
  left: 10%;
  font-size: clamp(32px, 4.2vw, 62px);
}

.word-2 {
  top: 34%;
  right: 9%;
  padding: 2px 6px 8px;
  color: #fff;
  background: var(--purple);
  font-size: clamp(46px, 6vw, 88px);
}

.word-3 {
  bottom: 17%;
  left: 9%;
  font-size: clamp(27px, 3vw, 44px);
}

.word-4 {
  top: 20%;
  right: -11%;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 30px);
  transform: rotate(90deg);
}

.word-5 {
  top: 52%;
  left: 8%;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.word-6 {
  right: 11%;
  bottom: 12%;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.word-7 {
  top: 27%;
  left: 32%;
  color: var(--orange);
  font-size: 18px;
  transform: rotate(-8deg);
}

.word-8 {
  bottom: -2%;
  left: 27%;
  color: rgba(17, 18, 15, 0.12);
  font-size: clamp(60px, 8vw, 115px);
}

.visual-axis {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  border-top: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.hero-foot {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  justify-content: space-between;
  align-self: end;
  padding-top: 40px;
}

.runtime-note {
  display: flex;
  gap: 8px;
}

.runtime-note span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.hero-foot p {
  margin: 0;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.proof-strip {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 14px;
  white-space: nowrap;
}

.marquee-content span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marquee-content i {
  color: var(--acid);
  font-size: 8px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.capabilities {
  padding-top: 130px;
  padding-bottom: 150px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 75px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 10px;
}

.section-number {
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(50px, 6vw, 88px);
}

.section-heading h2 em {
  text-decoration-thickness: 5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.feature {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 25px;
  background: var(--paper);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-tag {
  padding: 5px 7px;
  border: 1px solid currentColor;
}

.feature-copy {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: end;
  margin-top: auto;
}

.feature-copy h3 {
  max-width: 330px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.3vw, 49px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.feature-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.feature-acid {
  background: var(--acid);
}

.feature-ink {
  color: var(--paper);
  background: var(--ink);
}

.feature-code {
  background: #dcd7ff;
}

.bars-graphic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 580px;
  margin: 65px 0 55px;
}

.bars-graphic div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bars-graphic span {
  display: block;
  width: var(--w);
  height: 28px;
  background: var(--purple);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bars-graphic b {
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.language-orbit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 13px;
  max-width: 420px;
  margin: 65px auto 50px;
}

.language-orbit span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.language-orbit strong {
  display: grid;
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  width: 120px;
  height: 120px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 60px;
  font-weight: 400;
}

.ngram-stack {
  position: relative;
  height: 195px;
  margin: 55px 0;
}

.ngram-stack span {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid currentColor;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.ngram-stack span:nth-child(1) {
  top: 8px;
  left: 8%;
}

.ngram-stack span:nth-child(2) {
  top: 55px;
  left: 26%;
  color: var(--ink);
  background: var(--acid);
  font-size: 16px;
}

.ngram-stack span:nth-child(3) {
  right: 8%;
  bottom: 18px;
}

.ngram-stack span:nth-child(4) {
  bottom: 2px;
  left: 7%;
  color: #fff;
  background: var(--purple);
}

.mini-code {
  margin: 68px 8% 52px;
  padding: 28px;
  color: #d9d9d1;
  background: var(--ink);
  box-shadow: 9px 9px 0 #b3a9f9;
  font-family: "Courier New", monospace;
  font-size: 12px;
  line-height: 1.8;
}

.mini-code p {
  margin: 0;
}

.mini-code i {
  color: #a993ff;
  font-style: normal;
}

.mini-code b {
  color: var(--acid);
  font-weight: 400;
}

.mini-code em {
  color: #f8a97c;
  font-style: normal;
}

.playground {
  padding-top: 125px;
  padding-bottom: 115px;
  color: var(--paper);
  background: var(--ink);
}

.playground-heading h2 em {
  text-decoration-color: var(--acid);
}

.analyzer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: var(--ink);
  border: 1px solid var(--paper);
}

.analyzer-input {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border-right: 1px solid var(--ink);
}

.analyzer .panel-head {
  min-height: 50px;
}

.panel-head button {
  padding: 5px;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-decoration: underline;
  text-transform: uppercase;
}

textarea {
  width: 100%;
  min-height: 355px;
  padding: 30px;
  resize: vertical;
  color: var(--ink);
  outline: none;
  background: transparent;
  border: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.5;
}

textarea:focus {
  box-shadow: inset 0 0 0 3px var(--purple);
}

.input-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  padding: 20px;
  border-top: 1px solid var(--ink);
}

.input-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

select {
  width: 100%;
  min-height: 39px;
  padding: 0 10px;
  color: var(--ink);
  outline: none;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 11px;
}

select option {
  color: var(--ink);
}

.switch-label {
  flex-direction: row !important;
  align-items: center;
  min-height: 39px;
  cursor: pointer;
}

.switch-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 19px;
  border: 1px solid var(--ink);
  border-radius: 20px;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--ink);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.switch-label input:checked + .switch {
  background: var(--acid);
}

.switch-label input:checked + .switch::after {
  transform: translateX(15px);
}

.analyzer-output {
  min-width: 0;
  background: #ded9ff;
}

.output-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.output-status i {
  width: 6px;
  height: 6px;
  background: #3f971f;
  border-radius: 50%;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.stats-row div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px;
  border-right: 1px solid var(--ink);
}

.stats-row div:last-child {
  border-right: 0;
}

.stats-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.stats-row span {
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.ranking-head,
.ranking-list li {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(140px, 1.4fr) 42px;
  gap: 20px;
  align-items: center;
}

.ranking-head {
  padding: 16px 22px 9px;
  color: #5a566f;
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.ranking-head span:last-child {
  text-align: right;
}

.ranking-list {
  margin: 0;
  padding: 0 22px 16px;
  list-style: none;
  counter-reset: ranking;
}

.ranking-list li {
  min-height: 45px;
  border-bottom: 1px solid rgba(17, 18, 15, 0.2);
  counter-increment: ranking;
  font-size: 14px;
}

.ranking-term {
  overflow: hidden;
  font-family: "Courier New", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-term::before {
  margin-right: 9px;
  color: #77738d;
  content: "0" counter(ranking);
  font-size: 8px;
}

.ranking-bar {
  display: block;
  height: 11px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  animation: grow-bar 550ms forwards cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes grow-bar {
  to {
    transform: scaleX(1);
  }
}

.ranking-count {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  text-align: right;
}

.demo-note {
  max-width: 600px;
  margin: 20px 0 0 auto;
  color: #a6a59e;
  font-family: "Courier New", monospace;
  font-size: 9px;
  line-height: 1.6;
  text-align: right;
}

.install {
  padding-top: 140px;
  padding-bottom: 140px;
  background: var(--acid);
}

.install-inner {
  max-width: 1030px;
  margin: 0 auto;
}

.install h2 {
  margin: 30px 0 65px;
  font-size: clamp(60px, 8vw, 112px);
}

.code-window {
  color: #e8e7e1;
  background: #171913;
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(17, 18, 15, 0.22);
}

.window-bar {
  border-color: #4a4b46;
}

.window-bar > span:first-child {
  display: flex;
  gap: 6px;
}

.window-bar i {
  display: block;
  width: 8px;
  height: 8px;
  background: #5f605a;
  border-radius: 50%;
}

.window-bar i:first-child {
  background: var(--orange);
}

.window-bar button {
  padding: 6px;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 9px;
  text-transform: uppercase;
}

pre {
  min-height: 340px;
  margin: 0;
  padding: clamp(28px, 5vw, 65px);
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: clamp(12px, 1.3vw, 16px);
  line-height: 1.9;
}

.code-purple {
  color: #a895ff;
}

.code-green {
  color: var(--acid);
}

.code-orange {
  color: #ff9775;
}

.install-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
}

.copy-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-width: 355px;
  padding: 19px 20px;
  color: var(--paper);
  cursor: pointer;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.copy-command b {
  color: var(--acid);
}

.package-facts {
  display: flex;
  gap: 20px;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.package-facts span::before {
  margin-right: 8px;
  content: "✓";
}

.site-footer {
  padding-top: 70px;
  padding-bottom: 28px;
  color: var(--paper);
  background: var(--ink);
}

.footer-lead {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark-light i {
  background: var(--acid);
}

.footer-lead p {
  margin: 0;
  font-size: 12px;
}

.footer-wordmark {
  margin: 60px 0 30px;
  padding: 0.08em 0 0.12em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(90px, 18.8vw, 270px);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 25px;
  color: #aaa9a2;
  border-top: 1px solid #3c3d38;
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.footer-bottom div {
  display: flex;
  gap: 30px;
}

.footer-bottom a {
  position: relative;
  padding-bottom: 4px;
}

.footer-bottom > a:last-child {
  justify-self: end;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease var(--delay, 0ms),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    min-height: 690px;
  }

  .hero::before {
    left: 58%;
  }

  .hero h1 {
    font-size: clamp(65px, 9vw, 95px);
  }

  .input-controls {
    grid-template-columns: 1fr 1fr;
  }

  .input-controls .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 70px;
  }

  .header-install {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 35px;
    padding: 8px 0 8px 8px;
    cursor: pointer;
    background: transparent;
    border: 0;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--pad) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .hero::before {
    display: none;
  }

  .hero-visual {
    max-width: 600px;
    margin: 75px 8px 60px 0;
  }

  .word-field {
    height: 440px;
  }

  .hero-foot {
    align-items: center;
  }

  .section-heading {
    display: block;
  }

  .section-heading > div {
    margin-bottom: 35px;
  }

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

  .feature {
    min-height: 475px;
  }

  .analyzer {
    grid-template-columns: 1fr;
  }

  .analyzer-input {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .install-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .package-facts {
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 62px;
  }

  .hero h1 em,
  .section-heading h2 em {
    text-decoration-thickness: 4px;
  }

  .hero-intro {
    font-size: 17px;
  }

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

  .button {
    width: 100%;
  }

  .text-link {
    width: max-content;
  }

  .word-field {
    height: 350px;
  }

  .hero-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .capabilities,
  .playground {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading h2 {
    font-size: 48px;
  }

  .feature {
    min-height: 455px;
    padding: 20px;
  }

  .feature-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-copy h3 {
    font-size: 38px;
  }

  .bars-graphic {
    margin: 50px 0 40px;
  }

  .language-orbit {
    margin-top: 45px;
  }

  textarea {
    min-height: 310px;
    padding: 22px;
  }

  .input-controls {
    grid-template-columns: 1fr;
  }

  .input-controls .button {
    grid-column: auto;
  }

  .stats-row strong {
    font-size: 29px;
  }

  .stats-row div {
    padding: 16px 12px;
  }

  .ranking-head,
  .ranking-list li {
    grid-template-columns: minmax(90px, 0.8fr) minmax(85px, 1fr) 30px;
    gap: 10px;
  }

  .ranking-head {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ranking-list {
    padding-right: 14px;
    padding-left: 14px;
  }

  .demo-note {
    text-align: left;
  }

  .install {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .install h2 {
    font-size: 58px;
  }

  .window-bar > span:nth-child(2) {
    display: none;
  }

  pre {
    min-height: 300px;
    padding: 25px 18px;
    font-size: 11px;
  }

  .copy-command {
    min-width: 0;
  }

  .package-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-wordmark {
    margin-top: 55px;
    font-size: 25vw;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    row-gap: 25px;
  }

  .footer-bottom div {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
