@font-face {
  font-family: "Karla";
  src: url("/assets/fonts/karla.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bone: #eeede7;
  --bone-2: #e5e4dc;
  --paper: #f6f5f0;
  --ink: #191b18;
  --ink-2: #23261f;
  --accent: #e65132;
  --accent-text: #aa341e;
  --muted: #62645b;
  --rule: #c9c9be;
  --rule-strong: #a8a89c;
  --gutter: clamp(20px, 5vw, 72px);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: "Fraunces", Georgia, serif;
  font-family: "Karla", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bone);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-synthesis: none;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 0;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(25, 27, 24, .045) 0 1px,
      transparent 1px min(11.11%, 148px)
    ),
    var(--bone);
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0;
}

h1 {
  font-size: clamp(38px, 6.6vw, 82px);
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.08;
}

h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(25, 27, 24, .07);
  padding: 0.08em 0.34em;
  border-radius: 2px;
}

pre code {
  background: none;
  padding: 0;
}

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

.mono {
  font-family: var(--mono);
  font-size: 0.72em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dim {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip-link:focus {
  left: 8px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 15;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(7px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
}

.brand:hover .brand-mark {
  transform: rotate(-90deg);
}

.brand-period {
  color: var(--accent);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 34px);
}

.main-nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-block: 6px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="true"] {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.motion-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
}

.motion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

html.motion-paused .motion-dot,
html.motion-reduced .motion-dot {
  animation: none;
  background: var(--rule-strong);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(44px, 7vw, 108px) clamp(40px, 6vw, 84px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 clamp(20px, 3vw, 34px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  animation: ping 2.8s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 12px transparent; }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.hero-copy h1 span {
  display: block;
}

.hero-line2 {
  color: var(--accent-text);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 56ch;
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

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

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 0 -6px rgba(25, 27, 24, .35);
}

.btn-ghost {
  background: none;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: clamp(30px, 4vw, 46px);
  background: var(--rule);
  border: 1px solid var(--rule);
}

.hero-facts li {
  background: var(--bone);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero-facts b {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* console */

.console {
  position: relative;
  background: var(--ink);
  color: #d9d8cf;
  border: 1px solid var(--ink);
  border-radius: 3px;
  box-shadow: 14px 14px 0 -1px rgba(25, 27, 24, .12);
  transform: translateY(var(--lift, 0));
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: #8f9186;
  border-bottom: 1px solid rgba(246, 245, 240, .14);
}

.console-cross {
  color: var(--accent);
}

.console-body {
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.console-body .ln {
  display: block;
}

.js .console-body .ln {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.js .console-body .ln.is-visible {
  opacity: 1;
  transform: none;
}

html.motion-reduced .console-body .ln,
html.motion-paused .console-body .ln {
  opacity: 1;
  transform: none;
}

.prompt {
  color: var(--accent);
  margin-right: 8px;
}

.out {
  color: #c6c5bb;
}

.ok {
  color: #b9d6a2;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1.05s steps(1, end) infinite;
}

html.motion-paused .caret,
html.motion-reduced .caret {
  animation: none;
  opacity: 0.6;
}

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

.console-foot {
  padding: 10px 14px;
  color: #8f9186;
  border-top: 1px solid rgba(246, 245, 240, .14);
  text-transform: none;
  letter-spacing: 0.04em;
}

.console-foot code {
  background: rgba(246, 245, 240, .1);
  color: #d9d8cf;
}

/* ---------- bands ---------- */

.band {
  padding-block: clamp(46px, 7vw, 96px);
  border-top: 1px solid var(--rule);
}

.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.band-note {
  color: var(--muted);
}

/* tools */

.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

.tool {
  position: relative;
  background: var(--bone);
  padding: clamp(22px, 3vw, 34px);
  transition: background 260ms ease;
}

.tool::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
}

.tool:hover,
.tool:focus-within {
  background: var(--paper);
}

.tool:hover::before,
.tool:focus-within::before {
  transform: scaleY(1);
}

.tool-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.ver {
  color: var(--accent-text);
}

.cmd {
  margin: 18px 0;
  border-top: 1px dashed var(--rule-strong);
}

.cmd li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule-strong);
  font-size: 13px;
}

.cmd b {
  min-width: 118px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink);
}

.cmd span {
  font-family: "Karla", sans-serif;
  font-size: 15px;
  color: var(--muted);
}

.tool-foot {
  color: var(--muted);
  margin: 0 0 14px;
}

.text-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- plans ---------- */

.trial-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 74ch;
  padding: 14px 16px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
  background: var(--bone-2);
  border-left: 3px solid var(--rule-strong);
  font-size: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
}

.badge-pro {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  border: 0;
  padding: 0;
  margin: 0;
}

.plan {
  display: block;
  cursor: pointer;
}

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

.plan-face {
  display: block;
  height: 100%;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), box-shadow 260ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.plan:hover .plan-face {
  transform: translateY(-3px);
  box-shadow: 0 12px 0 -8px rgba(25, 27, 24, .28);
}

.plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-bottom: 14px;
}

.plan-no {
  color: var(--accent);
}

.plan-tag {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid var(--accent);
  color: var(--accent-text);
  font-size: 9px;
}

.plan-price {
  display: block;
  font-size: 15px;
  color: var(--muted);
}

.plan-price b {
  display: block;
  font-size: clamp(27px, 2.7vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.plan-unit {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.03em;
}

.plan-bar {
  display: block;
  height: 3px;
  margin-top: 18px;
  background: var(--bone-2);
  overflow: hidden;
}

.plan-fill {
  display: block;
  height: 100%;
  width: 12%;
  background: var(--rule-strong);
  transition: width 700ms cubic-bezier(.2, .8, .2, 1), background 220ms ease;
}

.plan input:checked + .plan-face {
  background: var(--ink);
  border-color: var(--ink);
  color: #d9d8cf;
  transform: translateY(-3px);
  box-shadow: 10px 10px 0 -6px rgba(25, 27, 24, .2);
}

.plan input:checked + .plan-face .plan-price b,
.plan input:checked + .plan-face .plan-top {
  color: #f2f1ea;
}

.plan input:checked + .plan-face .plan-no {
  color: var(--accent);
}

.plan input:checked + .plan-face .plan-unit {
  color: #a9aaa0;
}

.plan input:checked + .plan-face .plan-fill {
  background: var(--accent);
}

.plan input:focus-visible + .plan-face {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.receipt {
  margin-top: clamp(26px, 3.6vw, 42px);
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--bone-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
}

.receipt-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule-strong);
}

.receipt-key {
  color: var(--muted);
  white-space: nowrap;
}

.receipt-row::before {
  content: "";
  flex: 1 1 auto;
  order: 1;
}

.receipt-val {
  order: 2;
  margin-left: auto;
  font-weight: 600;
  text-align: right;
}

.receipt-foot {
  margin: 14px 0 0;
  max-width: 72ch;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- split / steps ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

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

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.steps li > span {
  color: var(--accent);
  padding-top: 4px;
}

.steps div {
  max-width: 48ch;
}

.steps b {
  font-weight: 600;
}

.install {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: clamp(18px, 2.4vw, 28px);
}

.install-label {
  margin: 0 0 12px;
  color: var(--muted);
}

.code {
  margin: 0;
  padding: 14px;
  background: var(--ink);
  color: #d9d8cf;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
  overflow-x: auto;
  white-space: pre;
}

.code .ln {
  display: block;
}

.code .dim {
  color: #8f9186;
}

.install-note {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- order form ---------- */

.order {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.fields {
  display: grid;
  gap: 20px;
}

.field {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.field > label,
.field > legend {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.req {
  color: var(--accent);
}

.opt {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--rule-strong);
}

input[type="text"],
textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input[type="text"]:hover,
textarea:hover {
  border-color: var(--ink);
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

textarea {
  resize: vertical;
  min-height: 84px;
}

.hint {
  margin: 7px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.choices {
  display: grid;
  gap: 8px;
}

.choices-inline {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.choice:hover {
  border-color: var(--ink);
  transform: translateX(2px);
}

.choice input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin: 0;
}

.choice > span {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  font-weight: 600;
}

.choice .mono {
  color: var(--muted);
  font-weight: 400;
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
}

.preview {
  position: sticky;
  top: 96px;
  background: var(--ink);
  color: #d9d8cf;
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: clamp(16px, 2.2vw, 24px);
}

.preview-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  color: #8f9186;
}

.preview-code {
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.06em;
}

.preview-body {
  margin: 0;
  padding: 14px;
  min-height: 210px;
  background: rgba(246, 245, 240, .06);
  border: 1px solid rgba(246, 245, 240, .14);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  transition: background 200ms ease;
}

.preview-body.is-flash {
  background: rgba(230, 81, 50, .14);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.preview .btn {
  border-color: #d9d8cf;
  color: #d9d8cf;
  background: none;
}

.preview .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.preview .btn-primary:hover {
  background: #f2673f;
  border-color: #f2673f;
}

.wa-direct {
  margin: 16px 0 0;
  font-size: 15px;
  color: #c6c5bb;
}

.wa-direct b {
  font-family: var(--mono);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
}

.wa-direct .dim {
  color: #8f9186;
  font-size: 13px;
}

.copy-state {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: var(--accent);
  text-transform: none;
}

/* ---------- honest + faq ---------- */

.honest {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 26px;
}

.honest article {
  background: var(--bone);
  padding: clamp(18px, 2.2vw, 26px);
}

.honest h3 {
  margin-bottom: 10px;
}

.honest p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

#faq details {
  border-bottom: 1px solid var(--rule);
}

#faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::before {
  content: "+";
  font-family: var(--mono);
  color: var(--accent);
  font-size: 18px;
  transition: transform 260ms ease;
}

#faq details[open] summary::before {
  content: "\2212";
  transform: rotate(180deg);
}

#faq details p {
  max-width: 78ch;
  margin: 0 0 20px 32px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b7b8ae;
  padding-block: clamp(34px, 5vw, 62px);
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.footer-label {
  margin: 0 0 10px;
  color: #7f8177;
}

.footer-name {
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 600;
  color: #f2f1ea;
  margin: 0 0 10px;
}

.alias {
  color: var(--accent);
  font-weight: 400;
}

.footer-note {
  max-width: 44ch;
  font-size: 15px;
  margin: 0;
}

.footer-links ul {
  display: grid;
  gap: 7px;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #d9d8cf;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-fine {
  align-self: end;
  max-width: 46ch;
  color: #7f8177;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin: 0;
}

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 1;
}

.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

html.motion-reduced [data-reveal],
html.motion-paused [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- responsive ---------- */

@media (width <= 980px) {
  .hero-layout,
  .split,
  .order {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview {
    position: static;
  }

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

  .main-nav {
    grid-column: 2;
    order: -1;
  }
}

@media (width <= 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .main-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .motion-toggle {
    display: none;
  }

  .steps li {
    grid-template-columns: 34px 1fr;
  }

  .cmd b {
    min-width: 96px;
  }

  .console {
    box-shadow: none;
  }
}

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

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

  .js [data-reveal],
  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .console-body .ln {
    opacity: 1;
    transform: none;
  }
}
