@font-face {
  font-family: "Literata Variable";
  src: url("./fonts/Literata-Variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 200 900;
}

@font-face {
  font-family: "Rubik Wet Paint";
  src: url("./fonts/RubikWetPaint-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --paper: #f6efe4;
  --paper-strong: #fffaf3;
  --paper-cool: #eef5f1;
  --ink: #1d271f;
  --muted: #58645d;
  --line: rgba(29, 39, 31, 0.12);
  --shadow: 0 24px 60px rgba(78, 48, 29, 0.12);
  --panel: rgba(255, 250, 243, 0.82);
  --code-surface: rgba(246, 239, 228, 0.94);
  --code-surface-strong: rgba(255, 250, 243, 0.98);
  --code-line: rgba(29, 39, 31, 0.12);
  --slop: #c4573e;
  --slop-deep: #8e2e1d;
  --slop-soft: rgba(196, 87, 62, 0.14);
  --clean: #0f706f;
  --clean-deep: #0b5958;
  --clean-soft: rgba(15, 112, 111, 0.12);
  --accent: #d5a550;
  --max-width: 1180px;
  --radius: 30px;
  --monospace: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Literata Variable", "Iowan Old Style", "Palatino Linotype", serif;
  background: var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 9%, rgba(196, 87, 62, 0.26), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(15, 112, 111, 0.2), transparent 30%),
    radial-gradient(circle at 52% 75%, rgba(213, 165, 80, 0.18), transparent 26%),
    linear-gradient(180deg, #f5e4d4 0%, #f6efe4 42%, #eef5f1 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.11;
  background-image: radial-gradient(rgba(29, 39, 31, 0.28) 0.6px, transparent 0.6px);
  background-size: 12px 12px;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  color: inherit;
}

code,
pre {
  font-family: var(--monospace);
}

p,
h1,
h2,
h3,
h4,
pre,
figure {
  margin: 0;
}

a {
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(29, 39, 31, 0.08);
  background: rgba(246, 239, 228, 0.72);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.95rem 0;
}

.brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--ink);
}

.section {
  position: relative;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--small {
  font-size: 0.7rem;
}

.eyebrow--light {
  color: rgba(255, 250, 243, 0.76);
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 9vw, 6.7rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.hero-slop {
  display: inline-flex;
  align-items: flex-end;
  margin: 0 0.02em 0 0.04em;
  font-family: "Rubik Wet Paint", "Trebuchet MS", sans-serif;
  font-size: 0.9em;
  line-height: 0.78;
  letter-spacing: 0;
  vertical-align: 0.1em;
  transform: rotate(15deg);
  transform-origin: 50% 62%;
}

.hero-slop__glyph {
  display: inline-block;
  color: #72923a;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.04em #466026;
  text-shadow:
    0.01em 0.012em 0 rgba(255, 250, 243, 0.18),
    0.02em 0.024em 0 rgba(117, 84, 31, 0.14);
}

.hero-slop__glyph--s {
  margin-right: -0.018em;
  color: #7c9b42;
  -webkit-text-stroke: 0.032em #466026;
  transform: translate(0.012em, -0.04em) rotate(-7deg);
  text-shadow:
    -0.016em -0.014em 0 rgba(255, 250, 243, 0.42),
    0.008em 0.01em 0 rgba(255, 250, 243, 0.14),
    0.016em 0.018em 0 rgba(117, 84, 31, 0.1);
}

.hero-slop__glyph--l {
  margin-right: -0.03em;
  transform: translate(-0.026em, 0.026em) rotate(2deg);
}

.hero-slop__glyph--o {
  margin-right: -0.028em;
  transform: translate(-0.03em, -0.008em) rotate(-4deg);
}

.hero-slop__glyph--p {
  transform: translate(-0.05em, 0.048em) rotate(4deg);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 5.5vw, 4.3rem);
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h4 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  font-size: 1.05rem;
}

.lede {
  color: var(--muted);
  font-size: 1.14rem;
}

.lede--light {
  color: rgba(255, 250, 243, 0.84);
}

.quickstart__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 1.75rem;
  align-items: start;
}

.quickstart__copy {
  display: grid;
  gap: 1.4rem;
  align-self: center;
}

.quickstart__stack {
  display: grid;
  gap: 1rem;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.command-grid {
  display: grid;
  gap: 1rem;
}

.command-card,
.feature-card,
.morph-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.command-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, var(--code-surface-strong), var(--code-surface));
  color: var(--ink);
  border-color: rgba(29, 39, 31, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 243, 0.9),
    0 24px 60px rgba(78, 48, 29, 0.08);
}

.copy-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(88, 100, 93, 0.46);
  cursor: pointer;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  color: rgba(29, 39, 31, 0.66);
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.copy-button.is-copied {
  color: rgba(15, 112, 111, 0.56);
  opacity: 1;
}

.copy-button__icon {
  position: relative;
  width: 0.92rem;
  height: 0.92rem;
}

.copy-button__icon::before,
.copy-button__icon::after {
  position: absolute;
  width: 0.72rem;
  height: 0.72rem;
  border: 1.5px solid currentColor;
  border-radius: 0.18rem;
  content: "";
}

.copy-button__icon::before {
  top: 0;
  left: 0.18rem;
}

.copy-button__icon::after {
  top: 0.18rem;
  left: 0;
}

.command-card__label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.command-card pre {
  margin-top: 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.98rem;
  line-height: 1.5;
}

.morph-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.morph-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.score-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.score-pill {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.score-pill--slop {
  background: rgba(196, 87, 62, 0.12);
  color: var(--slop-deep);
}

.score-pill--clean {
  background: rgba(15, 112, 111, 0.12);
  color: var(--clean-deep);
}

.score-arrow {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.word-lanes {
  display: grid;
  gap: 0.9rem;
}

.word-lane {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.word-pill {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  animation: float 9s ease-in-out infinite;
}

.word-pill:nth-child(2n) {
  animation-duration: 11s;
}

.word-pill:nth-child(3n) {
  animation-duration: 13s;
}

.word-pill--slop {
  background: rgba(196, 87, 62, 0.12);
  color: var(--slop-deep);
}

.word-pill--clean {
  background: rgba(15, 112, 111, 0.12);
  color: var(--clean-deep);
}

.overview__grid {
  display: block;
}

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

.feature-card {
  --feature-accent: var(--accent);
  --feature-accent-deep: #8f6421;
  --feature-soft: rgba(213, 165, 80, 0.14);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.35rem;
  min-height: 23rem;
  padding: 1.45rem;
  border: 1px solid rgba(29, 39, 31, 0.1);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(242, 236, 226, 0.82));
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.feature-card::before {
  position: absolute;
  top: -4rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, var(--feature-soft), transparent 70%);
  transition: transform 260ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(29, 39, 31, 0.18);
  box-shadow: 0 30px 72px rgba(78, 48, 29, 0.16);
}

.feature-card:hover::before,
.feature-card:focus-within::before {
  transform: scale(1.12);
}

.feature-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.72rem;
  max-width: 34rem;
}

.feature-card__kicker {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card__visual {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: auto;
  min-height: 10.75rem;
  padding: 1rem;
  border: 1px solid rgba(29, 39, 31, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.9), rgba(238, 245, 241, 0.74));
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-card:hover .feature-card__visual,
.feature-card:focus-within .feature-card__visual {
  transform: translateY(-2px);
  border-color: rgba(29, 39, 31, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 243, 0.92),
    0 18px 34px rgba(78, 48, 29, 0.12);
}

.feature-card--score {
  --feature-accent: var(--slop);
  --feature-accent-deep: var(--slop-deep);
  --feature-soft: rgba(196, 87, 62, 0.15);
}

.feature-card--matches {
  --feature-accent: #b64939;
  --feature-accent-deep: var(--slop-deep);
  --feature-soft: rgba(196, 87, 62, 0.14);
}

.feature-card--advice {
  --feature-accent: var(--clean);
  --feature-accent-deep: var(--clean-deep);
  --feature-soft: rgba(15, 112, 111, 0.14);
}

.feature-card--agents {
  --feature-accent: var(--clean);
  --feature-accent-deep: var(--clean-deep);
  --feature-soft: rgba(15, 112, 111, 0.15);
}

.feature-card--terminal {
  --feature-accent: var(--accent);
  --feature-accent-deep: #8f6421;
  --feature-soft: rgba(213, 165, 80, 0.16);
}

.feature-card--fit {
  --feature-accent: #2f7d72;
  --feature-accent-deep: var(--clean-deep);
  --feature-soft: rgba(47, 125, 114, 0.16);
}

.feature-meter {
  display: grid;
  gap: 1rem;
  align-content: end;
}

.feature-meter__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  padding-top: 1.3rem;
}

.feature-meter__segment {
  display: block;
  height: 1rem;
  border-radius: 999px;
  opacity: 0.86;
  transition: transform 240ms ease, opacity 240ms ease, box-shadow 240ms ease;
}

.feature-meter__segment--saturated {
  background: rgba(142, 46, 29, 0.9);
}

.feature-meter__segment--heavy {
  background: rgba(196, 87, 62, 0.78);
}

.feature-meter__segment--moderate {
  background: rgba(213, 165, 80, 0.82);
}

.feature-meter__segment--light {
  background: rgba(102, 160, 159, 0.68);
}

.feature-meter__segment--clean {
  background: rgba(15, 112, 111, 0.78);
}

.feature-meter__marker {
  position: absolute;
  top: 0;
  left: 18%;
  min-width: 2.8rem;
  height: 2.8rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 39, 31, 0.08);
  background: var(--paper-strong);
  color: var(--slop-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(29, 39, 31, 0.1);
  transform: translateX(-50%);
  transition:
    left 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.feature-card--score:hover .feature-meter__marker,
.feature-card--score:focus-within .feature-meter__marker {
  left: 92%;
  color: var(--clean-deep);
  transform: translateX(-50%) translateY(-2px);
}

.feature-card--score:hover .feature-meter__segment,
.feature-card--score:focus-within .feature-meter__segment {
  opacity: 1;
  transform: scaleY(1.18);
  box-shadow: 0 10px 18px rgba(29, 39, 31, 0.08);
}

.feature-meter__legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.feature-snippet {
  display: grid;
  gap: 1rem;
  align-content: space-between;
  height: 100%;
}

.feature-snippet p {
  font-size: 1.14rem;
  line-height: 1.72;
}

.feature-highlight {
  display: inline-block;
  padding: 0.08rem 0.28rem;
  border-radius: 0.5rem;
  background: rgba(196, 87, 62, 0.11);
  box-shadow: inset 0 -0.22rem 0 rgba(196, 87, 62, 0.2);
  color: var(--slop-deep);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature-highlight--soft {
  background: rgba(196, 87, 62, 0.08);
}

.feature-card--matches:hover .feature-highlight,
.feature-card--matches:focus-within .feature-highlight {
  transform: translateY(-1px);
  background: rgba(196, 87, 62, 0.18);
  box-shadow: inset 0 -0.34rem 0 rgba(196, 87, 62, 0.28);
}

.feature-bubble {
  justify-self: end;
  max-width: 16rem;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: rgba(22, 29, 27, 0.96);
  color: var(--paper-strong);
  box-shadow: 0 18px 36px rgba(18, 25, 23, 0.28);
  opacity: 0.46;
  transform: translateY(0.55rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.feature-card--matches:hover .feature-bubble,
.feature-card--matches:focus-within .feature-bubble {
  opacity: 1;
  transform: translateY(0);
}

.feature-bubble strong,
.feature-bubble span {
  display: block;
}

.feature-bubble strong {
  margin-bottom: 0.35rem;
  color: #f7bb8e;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-bubble span {
  font-size: 0.92rem;
  line-height: 1.45;
}

.rewrite-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
  height: 100%;
}

.rewrite-column {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: center;
}

.rewrite-pill {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

.rewrite-pill--before {
  background: rgba(196, 87, 62, 0.12);
  color: var(--slop-deep);
}

.rewrite-pill--after {
  background: rgba(15, 112, 111, 0.12);
  color: var(--clean-deep);
}

.rewrite-arrow {
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 39, 31, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.feature-card--advice:hover .rewrite-column--before .rewrite-pill,
.feature-card--advice:focus-within .rewrite-column--before .rewrite-pill {
  transform: translate(-0.28rem, 0.2rem);
  opacity: 0.74;
}

.feature-card--advice:hover .rewrite-column--after .rewrite-pill,
.feature-card--advice:focus-within .rewrite-column--after .rewrite-pill {
  transform: translate(0.28rem, -0.2rem);
  box-shadow: 0 12px 20px rgba(15, 112, 111, 0.14);
}

.feature-card--advice:hover .rewrite-arrow,
.feature-card--advice:focus-within .rewrite-arrow {
  background: rgba(29, 39, 31, 0.08);
  color: var(--ink);
  transform: scale(1.04);
}

.agent-visual {
  display: grid;
  gap: 0.8rem;
  align-content: end;
  height: 100%;
}

.agent-visual__badges,
.agent-visual__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.agent-badge {
  padding: 0.72rem 0.98rem;
  border-radius: 999px;
  background: rgba(15, 112, 111, 0.11);
  color: var(--clean-deep);
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.tool-pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(29, 39, 31, 0.05);
  color: var(--muted);
  font-family: var(--monospace);
  font-size: 0.84rem;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.agent-visual__command {
  padding: 0.85rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(29, 39, 31, 0.08);
  background: rgba(255, 250, 243, 0.84);
  font-family: var(--monospace);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card--agents:hover .agent-badge,
.feature-card--agents:focus-within .agent-badge {
  transform: translateY(-0.18rem);
  box-shadow: 0 14px 26px rgba(15, 112, 111, 0.15);
  background: rgba(15, 112, 111, 0.16);
}

.feature-card--agents:hover .tool-pill,
.feature-card--agents:focus-within .tool-pill {
  transform: translateY(-0.08rem);
  background: rgba(15, 112, 111, 0.1);
  color: var(--clean-deep);
}

.feature-card--agents:hover .agent-visual__command,
.feature-card--agents:focus-within .agent-visual__command {
  transform: translateY(-0.12rem);
  box-shadow: 0 16px 28px rgba(15, 112, 111, 0.12);
}

.mini-terminal {
  display: grid;
  gap: 0.62rem;
  height: 100%;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(22, 29, 27, 0.96);
  color: var(--paper-strong);
  box-shadow: inset 0 1px 0 rgba(255, 250, 243, 0.08);
  font-family: var(--monospace);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mini-terminal p {
  font-size: 0.9rem;
  line-height: 1.5;
  transition: transform 220ms ease, color 220ms ease;
}

.mini-terminal p span {
  color: #f7bb8e;
}

.mini-terminal__pass {
  color: #97d6cc;
}

.mini-terminal__fail {
  color: #f3ae9d;
}

.mini-terminal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.terminal-chip {
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.terminal-chip--fail {
  background: rgba(196, 87, 62, 0.18);
  color: #f7bb8e;
}

.terminal-chip--pass {
  background: rgba(15, 112, 111, 0.18);
  color: #a7e3d9;
}

.feature-card--terminal:hover .mini-terminal,
.feature-card--terminal:focus-within .mini-terminal {
  transform: translateY(-0.12rem);
}

.feature-card--terminal:hover .mini-terminal__fail,
.feature-card--terminal:focus-within .mini-terminal__fail {
  transform: translateX(0.2rem);
}

.feature-card--terminal:hover .terminal-chip,
.feature-card--terminal:focus-within .terminal-chip {
  box-shadow: 0 12px 20px rgba(18, 25, 23, 0.22);
}

.fit-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

.fit-stack {
  display: grid;
  gap: 0.55rem;
}

.fit-sheet {
  display: block;
  padding: 0.66rem 0.78rem;
  border-radius: 18px;
  border: 1px solid rgba(29, 39, 31, 0.08);
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 10px 18px rgba(29, 39, 31, 0.08);
  font-family: var(--monospace);
  font-size: 0.8rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.fit-sheet--negative {
  background: rgba(196, 87, 62, 0.09);
  color: var(--slop-deep);
}

.fit-result {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: min(100%, 16rem);
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(15, 112, 111, 0.16);
  background: linear-gradient(135deg, rgba(15, 112, 111, 0.14), rgba(255, 250, 243, 0.9));
  text-align: center;
  font-family: var(--monospace);
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  box-shadow: 0 14px 24px rgba(15, 112, 111, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card--fit:hover .fit-stack--positive .fit-sheet,
.feature-card--fit:focus-within .fit-stack--positive .fit-sheet {
  transform: translate(-0.18rem, -0.16rem);
}

.feature-card--fit:hover .fit-stack--negative .fit-sheet,
.feature-card--fit:focus-within .fit-stack--negative .fit-sheet {
  transform: translate(0.18rem, -0.16rem);
}

.feature-card--fit:hover .fit-result,
.feature-card--fit:focus-within .fit-result {
  transform: translateY(-0.14rem);
  box-shadow: 0 20px 30px rgba(15, 112, 111, 0.16);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 34rem);
  gap: 1.3rem;
  padding: 1.6rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(25, 39, 31, 0.96), rgba(15, 112, 111, 0.9));
  color: var(--paper-strong);
  box-shadow: 0 28px 70px rgba(25, 39, 31, 0.24);
}

.cta-card__actions {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  justify-self: end;
  width: min(100%, 34rem);
}

.cta-card__actions pre {
  padding: 1rem;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 250, 243, 0.24);
  background: rgba(255, 250, 243, 0.9);
  color: var(--ink);
  white-space: pre;
  font-size: 0.88rem;
  line-height: 1.45;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.12);
  color: var(--paper-strong);
  font-weight: 700;
}

.cta-link:hover,
.cta-link:focus-visible {
  background: rgba(255, 250, 243, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1040px) {
  .quickstart__grid,
  .feature-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar__inner,
  .morph-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .section {
    width: min(var(--max-width), calc(100% - 1.3rem));
  }

  h1 {
    max-width: 10ch;
  }

  h2 {
    max-width: 100%;
  }

  .rewrite-flow,
  .fit-visual {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-snippet p {
    font-size: 1.04rem;
  }
}
