@font-face {
  font-family: 'DM Mono';
  src: url('/assets/fonts/dm-mono-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Mono';
  src: url('/assets/fonts/dm-mono-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-latin-variable-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #0c0b0a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

button,
input {
  font: inherit;
}

/* =========================================================
   LitScenes.ai — "ink & paper cinema"
   Palette is pulled from the editor itself: warm parchment
   panels, deep ink, one hot orange.
   ========================================================= */

body.LitScenesPage {
  background: #0c0b0a;
}

.lit-landing {
  --lit-bg: #0c0b0a;
  --lit-bg-soft: #141210;
  --lit-ink: #f4efe4;
  --lit-muted: #a29a8d;
  --lit-faint: #6f6862;
  --lit-line: rgba(244, 239, 228, 0.14);
  --lit-line-soft: rgba(244, 239, 228, 0.08);
  --lit-accent: #ff6a34;
  --lit-paper: #f4ecda;
  --lit-paper-ink: #211c16;
  --lit-shell: min(100% - 44px, 1180px);

  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--lit-ink);
  background: var(--lit-bg);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

.lit-landing ::selection {
  color: #180b06;
  background: var(--lit-accent);
}

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

.lit-grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

/* ---------- shared primitives ---------- */

.lit-shell {
  width: var(--lit-shell);
  margin-inline: auto;
}

.lit-display {
  margin: 0;
  color: var(--lit-ink);
  /* defend against global gradient-text / heading rules */
  background: none;
  -webkit-text-fill-color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.lit-display em {
  color: var(--lit-accent);
  -webkit-text-fill-color: var(--lit-accent);
  font-style: italic;
}

.lit-eyebrow,
.lit-label {
  margin: 0;
  color: var(--lit-accent);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lit-label {
  color: var(--lit-faint);
}

.lit-lede {
  max-width: 46ch;
  margin: 0;
  color: var(--lit-muted);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
}

/* ---------- buttons ---------- */

.lit-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #180b06;
  background: var(--lit-accent);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease;
}

.lit-button--primary {
  box-shadow: 0 12px 34px -14px rgba(255, 106, 52, 0.75);
}

.lit-button--ghost {
  color: var(--lit-ink);
  background: transparent;
  border-color: var(--lit-line);
}

.lit-button--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 11px;
}

.lit-button--block {
  width: 100%;
}

/* paper pill — the strong secondary beside the orange primary ("View on GitHub").
   Cream on ink so it reads as a second real action, not a ghost. */
.lit-button--paper {
  color: var(--lit-paper-ink);
  background: var(--lit-paper);
  box-shadow: 0 12px 34px -16px rgba(244, 236, 218, 0.5);
}

/* inline brand mark inside a button; takes the label colour */
.lit-button__mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lit-button--sm .lit-button__mark {
  width: 15px;
  height: 15px;
}

/* one inline symbol, referenced by every mark on the page */
.lit-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ghost button carrying a video still — "See it in motion" */
.lit-button--media {
  padding-left: 8px;
  gap: 14px;
}

.lit-button__thumb {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 40px;
  overflow: hidden;
  border: 1px solid var(--lit-line);
  border-radius: 999px;
}

.lit-button__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* small play badge so the still reads as video at a glance */
.lit-button__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 11, 10, 0.28);
}

.lit-button__play::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}

@media (hover: hover) {
  .lit-button--media:hover .lit-button__thumb img {
    transform: scale(1.08);
  }
}

.lit-button:disabled {
  cursor: wait;
  opacity: 0.55;
  box-shadow: none;
}

@media (hover: hover) {
  .lit-button--primary:hover:not(:disabled) {
    background: #ff7d4d;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -14px rgba(255, 106, 52, 0.85);
  }

  .lit-button--ghost:hover {
    border-color: rgba(244, 239, 228, 0.4);
    background: rgba(244, 239, 228, 0.05);
    transform: translateY(-2px);
  }

  .lit-button--paper:hover {
    background: #fff8ea;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -16px rgba(244, 236, 218, 0.6);
  }
}

/* ---------- nav ---------- */

.lit-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--lit-line-soft);
  background: rgba(12, 11, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.lit-nav__inner {
  display: flex;
  gap: 32px;
  align-items: center;
  width: var(--lit-shell);
  min-height: 74px;
  margin-inline: auto;
}

.lit-wordmark {
  margin: 0;
  color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.lit-wordmark span {
  color: var(--lit-accent);
  font-style: italic;
}

.lit-nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-right: auto;
}

.lit-nav__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lit-nav__catalog {
  display: none;
}

.lit-nav__github {
  gap: 9px;
}

.lit-nav__links a {
  position: relative;
  color: var(--lit-muted);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .lit-nav__links a:hover {
    color: var(--lit-ink);
  }
}

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

.lit-hero {
  position: relative;
  padding-top: clamp(64px, 8vw, 116px);
  overflow: hidden;
}

.lit-hero__glow {
  position: absolute;
  top: -28%;
  right: -10%;
  width: min(1100px, 105%);
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 38%, rgba(255, 106, 52, 0.2), transparent 58%),
    radial-gradient(circle at 34% 62%, rgba(120, 74, 220, 0.16), transparent 60%),
    radial-gradient(circle at 76% 74%, rgba(38, 132, 220, 0.12), transparent 62%);
  filter: blur(24px);
}

.lit-hero__inner {
  display: grid;
  gap: 44px;
}

.lit-hero__main {
  display: grid;
  justify-items: start;
  gap: 26px;
  min-width: 0;
  text-align: left;
}

/* ---------- hero jump cards ---------- */

/* Mobile-first: the rail follows the hero copy, both cards as compact rows, so
   the iPhone card lands in the first viewport and the Mac card at least peeks. */
.lit-hero__rail {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  width: 100%;
}

@media (min-width: 640px) and (max-width: 1000px) {
  .lit-hero__rail {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 1001px) {
  .lit-hero__inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: clamp(40px, 4.5vw, 80px);
    align-items: start;
  }

  /* leave room for the rail without letting the headline wrap awkwardly */
  .lit-hero__title {
    font-size: clamp(56px, 7.2vw, 112px);
  }

  .lit-hero__rail {
    grid-template-columns: none;
    gap: 16px;
    justify-self: end;
    width: 300px;
  }
}

.lit-hero__card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--lit-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(244, 239, 228, 0.06), rgba(244, 239, 228, 0.02));
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lit-hero__card-shot {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lit-line);
  background: var(--lit-bg-soft);
}

.lit-hero__card-shot img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* portrait capture, cropped to its top: header, filters, first plates */
.lit-hero__card--phone .lit-hero__card-shot {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}

.lit-hero__card--phone .lit-hero__card-shot img {
  object-fit: cover;
  object-position: top;
}

/* landscape capture, cropped toward the preview */
.lit-hero__card--desktop .lit-hero__card-shot {
  aspect-ratio: 5 / 4;
  border-radius: 12px;
}

.lit-hero__card--desktop .lit-hero__card-shot img {
  object-fit: cover;
  object-position: 38% 16%;
}

/* Only on the wide right-rail does the Mac card go tall, image on top. */
@media (min-width: 1001px) {
  .lit-hero__card--desktop {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .lit-hero__card--desktop .lit-hero__card-shot {
    aspect-ratio: 16 / 9;
  }

  .lit-hero__card--desktop .lit-hero__card-shot img {
    object-position: 42% 18%;
  }
}

.lit-hero__card-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lit-hero__card-kicker {
  color: var(--lit-accent);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lit-hero__card-title {
  color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

/* visually hidden, kept for assistive tech */
.lit-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* All variants share one grid cell, so the card is sized by the longest line
   and never jitters as the noun changes. 6 words x 2.5s = one 15s loop. */
.lit-hero__card-cycle {
  display: inline-grid;
}

.lit-hero__card-cycle > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.4em);
  animation: lit-cycle-word 15s infinite;
}

.lit-hero__card-cycle > span:nth-child(2) {
  animation-delay: 2.5s;
}

.lit-hero__card-cycle > span:nth-child(3) {
  animation-delay: 5s;
}

.lit-hero__card-cycle > span:nth-child(4) {
  animation-delay: 7.5s;
}

.lit-hero__card-cycle > span:nth-child(5) {
  animation-delay: 10s;
}

.lit-hero__card-cycle > span:nth-child(6) {
  animation-delay: 12.5s;
}

.lit-hero__card-cycle i {
  color: var(--lit-accent);
  font-style: italic;
}

@keyframes lit-cycle-word {
  0% {
    opacity: 0;
    transform: translateY(0.4em);
  }
  2.5%,
  14% {
    opacity: 1;
    transform: translateY(0);
  }
  16.5%,
  100% {
    opacity: 0;
    transform: translateY(-0.35em);
  }
}

.lit-hero__card-cta {
  color: var(--lit-muted);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.lit-hero__card-cta span {
  color: var(--lit-accent);
}

@media (hover: hover) {
  .lit-hero__card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 106, 52, 0.45);
    box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.9);
  }

  .lit-hero__card:hover .lit-hero__card-cta {
    color: var(--lit-accent);
  }
}

.lit-hero__title {
  font-size: clamp(58px, 8.6vw, 132px);
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.lit-hero__title em {
  display: block;
}

.lit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

/* ---------- hero "try it now" stamp ---------- */

/* A slow-turning stamp in the pocket beside the headline: curved mono ring around
   a cream core carrying the GitHub mark. Desktop only — below 1001px the rail sits
   under the copy and the pocket does not exist; the paper pill carries GitHub there.
   Reserving its column stacks "Stories / deserve" on every desktop width, which is
   the three-line headline the wide layout already produces. */
.lit-hero__try {
  display: none;
}

@media (min-width: 1001px) {
  .lit-hero__main {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(24px, 3vw, 40px);
  }

  .lit-hero__title {
    grid-row: 1;
    grid-column: 1;
  }

  .lit-hero__actions {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .lit-hero__try {
    display: block;
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    align-self: start;
    /* sized so "to be seen." keeps 30px+ of its column at every desktop width */
    width: clamp(176px, 14vw, 208px);
    aspect-ratio: 1;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
  }
}

.lit-try {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.lit-try__disc {
  fill: url('#lit-try-glow');
  stroke: var(--lit-line);
  stroke-width: 1;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.lit-try__dash {
  fill: none;
  stroke: var(--lit-line);
  stroke-width: 1;
  stroke-dasharray: 1 5;
  stroke-linecap: round;
  transition: stroke 0.3s ease;
}

.lit-try__ring {
  transform-origin: 100px 100px;
  animation: lit-turn 36s linear infinite;
}

.lit-try__text {
  fill: var(--lit-ink);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: fill 0.3s ease;
}

.lit-try__hot {
  fill: var(--lit-accent);
  transition: fill 0.3s ease;
}

.lit-try__core {
  fill: var(--lit-paper);
  filter: drop-shadow(0 6px 18px rgba(244, 236, 218, 0.28));
  transition: fill 0.3s ease, filter 0.3s ease;
}

.lit-try__mark {
  fill: var(--lit-paper-ink);
  transition: fill 0.3s ease;
}

@keyframes lit-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (hover: hover) {
  /* the stamp inverts: cream face, ink core, cream mark; the ring holds still to be read */
  .lit-hero__try:hover {
    transform: translateY(-4px) scale(1.03);
    filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.55));
  }

  .lit-hero__try:hover .lit-try__ring {
    animation-play-state: paused;
  }

  .lit-hero__try:hover .lit-try__disc {
    fill: var(--lit-paper);
    stroke: var(--lit-paper);
  }

  .lit-hero__try:hover .lit-try__dash {
    stroke: rgba(33, 28, 22, 0.35);
  }

  .lit-hero__try:hover .lit-try__text {
    fill: var(--lit-paper-ink);
  }

  .lit-hero__try:hover .lit-try__hot {
    fill: #c8471a;
  }

  .lit-hero__try:hover .lit-try__core {
    fill: var(--lit-paper-ink);
    filter: none;
  }

  .lit-hero__try:hover .lit-try__mark {
    fill: var(--lit-paper);
  }
}

.lit-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.lit-specs li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lit-specs li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lit-accent);
  opacity: 0.7;
}

/* ---------- product shot ---------- */

.lit-shot {
  width: var(--lit-shell);
  margin: clamp(52px, 6vw, 86px) auto 0;
  scroll-margin-top: 90px; /* #editor target for the hero's desktop jump card */
}

.lit-shot__frame {
  position: relative;
  padding: 8px;
  border: 1px solid var(--lit-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(244, 239, 228, 0.08), rgba(244, 239, 228, 0.02));
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9), 0 8px 30px -18px rgba(0, 0, 0, 0.8);
}

.lit-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.lit-shot figcaption {
  margin-top: 18px;
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- marquee ---------- */

.lit-marquee {
  margin-top: clamp(64px, 7vw, 104px);
  padding-block: 20px;
  overflow: hidden;
  border-top: 1px solid var(--lit-line-soft);
  border-bottom: 1px solid var(--lit-line-soft);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lit-marquee__track {
  display: flex;
  width: max-content;
  animation: lit-slide 42s linear infinite;
}

.lit-marquee__set {
  display: flex;
  gap: 46px;
  margin: 0;
  padding: 0 23px;
  list-style: none;
}

.lit-marquee__set li {
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes lit-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- manifesto ---------- */

.lit-manifesto {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3.4fr;
  gap: 40px;
  padding-block: clamp(90px, 11vw, 150px);
}

.lit-manifesto__copy {
  max-width: 26ch;
  font-size: clamp(36px, 5.2vw, 74px);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

/* ---------- generic section ---------- */

.lit-section {
  padding-block: clamp(70px, 8vw, 110px);
  border-top: 1px solid var(--lit-line-soft);
}

.lit-section__head {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.lit-section__title {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
}

/* ---------- capability cards ---------- */

.lit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--lit-line-soft);
  border-radius: 20px;
  background: var(--lit-line-soft);
  overflow: hidden;
}

.lit-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--lit-bg);
  transition: background 0.3s ease;
}

.lit-card__label {
  margin: 0;
  color: var(--lit-accent);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lit-card__title {
  margin: 0;
  color: var(--lit-ink);
  background: none;
  -webkit-text-fill-color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.1vw, 27px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lit-card__copy {
  margin: 0;
  color: var(--lit-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (hover: hover) {
  .lit-card:hover {
    background: var(--lit-bg-soft);
  }
}

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

.lit-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(30px, 3.5vw, 54px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.lit-step {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--lit-line);
}

.lit-step__n {
  color: var(--lit-accent);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.lit-step__title {
  margin: 0;
  color: var(--lit-ink);
  background: none;
  -webkit-text-fill-color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lit-step__copy {
  margin: 0;
  color: var(--lit-muted);
  font-size: 15px;
  line-height: 1.68;
}

/* ---------- buy ---------- */

.lit-buy {
  position: relative;
  padding-block: clamp(80px, 9vw, 128px);
  border-top: 1px solid var(--lit-line-soft);
  background:
    radial-gradient(ellipse 70% 90% at 82% 42%, rgba(255, 106, 52, 0.12), transparent 70%),
    var(--lit-bg-soft);
}

.lit-buy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.lit-buy__pitch {
  display: grid;
  gap: 22px;
}

.lit-buy__title {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
}

.lit-list {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  max-width: 46ch;
}

.lit-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: var(--lit-muted);
  font-size: 15px;
  line-height: 1.6;
}

.lit-list li::before {
  content: '→';
  color: var(--lit-accent);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.85;
}

/* Pre-purchase disclosures. Deliberately inside the pitch column and above the
   fold of the checkout — the requirements and BYOK costs are the two things most
   likely to cause a refund if a buyer meets them only after paying. */
.lit-buy__notice {
  display: grid;
  gap: 10px;
  max-width: 46ch;
  margin-top: 6px;
  padding: 18px 20px;
  border: 1px solid var(--lit-line);
  border-left: 2px solid var(--lit-accent);
  border-radius: 0 14px 14px 0;
  background: rgba(244, 239, 228, 0.03);
}

.lit-buy__notice p {
  margin: 0;
  color: var(--lit-muted);
  font-size: 13px;
  line-height: 1.6;
}

.lit-buy__notice strong {
  color: var(--lit-ink);
  font-weight: 600;
}

.lit-buy__notice a {
  color: var(--lit-ink);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-decoration-color: rgba(255, 106, 52, 0.6);
  text-underline-offset: 3px;
  text-transform: uppercase;
}

/* paper card — hosts PayPal's light widget without a clash */
.lit-paper {
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 22px;
  color: var(--lit-paper-ink);
  background: var(--lit-paper);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(33, 28, 22, 0.08);
}

.lit-paper__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(33, 28, 22, 0.16);
}

.lit-paper__label {
  margin: 0;
  color: rgba(33, 28, 22, 0.6);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lit-paper__price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0;
}

.lit-paper__price span {
  color: var(--lit-paper-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lit-paper__price small {
  color: rgba(33, 28, 22, 0.55);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* second action on the cream card: an outline in paper ink, never cream on cream */
.lit-paper__github {
  margin-top: 12px;
  color: var(--lit-paper-ink);
  border-color: rgba(33, 28, 22, 0.28);
}

@media (hover: hover) {
  .lit-paper__github:hover {
    border-color: rgba(33, 28, 22, 0.55);
    background: rgba(33, 28, 22, 0.05);
  }
}

.lit-paper__fine {
  margin: 18px 0 0;
  color: rgba(33, 28, 22, 0.55);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

/* PayPal renders a hosted widget of unpredictable height here — the slot is
   deliberately unconstrained so it can grow without breaking the layout. */
.lit-checkout {
  min-height: 54px;
}

.lit-checkout__slot {
  min-height: 0;
}

.lit-paper .lit-note {
  color: rgba(33, 28, 22, 0.6);
  text-align: center;
}

.lit-paper .lit-note a {
  color: var(--lit-paper-ink);
}

.lit-paper .lit-note--error {
  color: #a8331a;
}

.lit-spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border: 1.5px solid rgba(33, 28, 22, 0.25);
  border-top-color: rgba(33, 28, 22, 0.7);
  border-radius: 50%;
  vertical-align: -1px;
  animation: lit-spin 0.8s linear infinite;
}

@keyframes lit-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- iPhone app ---------- */

.lit-ios {
  scroll-margin-top: 90px;
}

.lit-ios__head {
  gap: 20px;
  max-width: 780px;
  margin-bottom: 0; /* the phone rail owns the gap below */
}

/* the icon's ground is near-black, so on this page it needs an edge */
.lit-ios__app {
  display: flex;
  gap: 14px;
  align-items: center;
}

.lit-ios__app img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--lit-line);
  border-radius: 22%;
}

.lit-ios__app-name {
  display: grid;
  gap: 4px;
}

.lit-ios__app-name strong {
  color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lit-ios__app-name span {
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Narrower than the closing signup at [06] on purpose — the two email forms
   should never read as the same component. */
.lit-ios__notify {
  max-width: 520px;
  margin-top: 4px;
}

.lit-ios__notify form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

/* ---------- phone rail ---------- */

.lit-ios__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  margin: clamp(48px, 6vw, 76px) 0 0;
  padding: 0 0 clamp(24px, 3vw, 44px);
  list-style: none;
}

.lit-ios__shot {
  container-type: inline-size;
  justify-self: center;
  width: 100%;
  max-width: 288px;
}

/* two-position stagger — keeps four tall objects from reading as a spec sheet */
.lit-ios__shot:nth-child(even) {
  transform: translateY(clamp(18px, 2.6vw, 38px));
}

.lit-ios__figure {
  margin: 0;
}

/* Bezel only. The captures already contain the status bar and Dynamic Island, so
   nothing here draws hardware — it is .lit-shot__frame's hairline and depth,
   tightened to phone proportions. Radius = 47.33pt of 428pt = 11.06% of width. */
.lit-ios__device {
  padding: 5px;
  border: 1px solid var(--lit-line);
  border-radius: 33px;
  border-radius: calc(clamp(12px, 11.06cqw, 32px) + 5px);
  background: linear-gradient(180deg, rgba(244, 239, 228, 0.1), rgba(244, 239, 228, 0.02));
  box-shadow: 0 42px 80px -38px rgba(0, 0, 0, 0.95), 0 6px 22px -14px rgba(0, 0, 0, 0.8);
}

.lit-ios__device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1284 / 2778;
  border-radius: 28px;
  border-radius: clamp(12px, 11.06cqw, 32px);
  background: var(--lit-bg-soft);
}

.lit-ios__caption {
  margin-top: 16px;
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* shown only where the rail scrolls */
.lit-ios__swipe {
  display: none;
  margin: 0 0 8px;
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.lit-ios__swipe span {
  color: var(--lit-accent);
}

/* ---------- points, collections, credits ---------- */

.lit-ios__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: start;
  padding-top: clamp(28px, 3.5vw, 48px);
  border-top: 1px solid var(--lit-line-soft);
}

.lit-ios__sublabel {
  margin-top: 30px;
}

.lit-ios__collections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lit-ios__collections li {
  padding: 6px 13px;
  border: 1px solid var(--lit-line-soft);
  border-radius: 999px;
  color: var(--lit-muted);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Deliberately not .lit-paper — cream is reserved for the checkout at [04]. */
.lit-ios__meta {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--lit-line);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 90% 70% at 12% 0%, rgba(255, 106, 52, 0.08), transparent 70%),
    var(--lit-bg-soft);
}

.lit-ios__price {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  margin: 0;
}

.lit-ios__price strong {
  color: var(--lit-ink);
  background: none;
  -webkit-text-fill-color: var(--lit-ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lit-ios__price span {
  color: var(--lit-muted);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lit-ios__rate {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--lit-line-soft);
}

.lit-ios__rate > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
}

.lit-ios__rate dt {
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.75;
  text-transform: uppercase;
}

.lit-ios__rate dd {
  margin: 0;
  color: var(--lit-muted);
  font-size: 14px;
  line-height: 1.6;
}

.lit-ios__fine {
  margin: 0;
  color: var(--lit-faint);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- join ---------- */

.lit-join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(76px, 9vw, 118px);
  scroll-margin-top: 90px;
}

.lit-join__copy {
  display: grid;
  gap: 16px;
}

.lit-join__title {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.06;
}

.lit-join__sub {
  max-width: 40ch;
  margin: 0;
  color: var(--lit-muted);
  font-size: 15px;
  line-height: 1.6;
}

.lit-join__form form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.lit-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lit-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--lit-line);
  border-radius: 999px;
  outline: 0;
  color: var(--lit-ink);
  background: rgba(244, 239, 228, 0.04);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lit-field input::placeholder {
  color: var(--lit-faint);
}

.lit-field input:focus {
  border-color: var(--lit-accent);
  background: rgba(244, 239, 228, 0.07);
}

.lit-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lit-note {
  margin: 16px 0 0;
  color: var(--lit-faint);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

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

.lit-note--error {
  color: #ff9470;
}

.lit-success {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(126, 198, 148, 0.4);
  border-radius: 16px;
  color: #b9e8c7;
  background: rgba(126, 198, 148, 0.08);
  font-size: 14.5px;
  line-height: 1.5;
}

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

.lit-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: end;
  padding-block: clamp(56px, 6vw, 84px) 44px;
  border-top: 1px solid var(--lit-line-soft);
}

.lit-footer__mark {
  font-size: clamp(30px, 3.6vw, 48px);
}

.lit-footer__socials {
  display: grid;
  gap: 16px;
}

.lit-footer__socials a {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lit-line-soft);
  color: var(--lit-ink);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lit-footer__handle {
  color: var(--lit-muted);
  text-transform: none;
}

@media (hover: hover) {
  .lit-footer__socials a:hover {
    color: var(--lit-accent);
    border-bottom-color: rgba(255, 106, 52, 0.5);
  }
}

/* PayPal requires accessible customer-service and refund information, so these
   stay reachable from every view of the page. */
.lit-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--lit-line-soft);
}

.lit-footer__legal a {
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .lit-footer__legal a:hover {
    color: var(--lit-accent);
  }
}

.lit-footer__credit {
  margin: 0;
  color: var(--lit-faint);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {
  .lit-buy__inner,
  .lit-join {
    grid-template-columns: 1fr;
  }

  .lit-join {
    align-items: start;
  }

  .lit-paper {
    max-width: 460px;
  }

  .lit-manifesto {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lit-ios__body {
    grid-template-columns: 1fr;
  }

  .lit-ios__meta {
    max-width: 460px;
  }

  .lit-ios__shot:nth-child(even) {
    transform: none;
  }

  .lit-ios__rail {
    gap: clamp(12px, 1.8vw, 18px);
  }
}

/* With the links showing, the header is tight below ~1040px: the mark alone says
   GitHub. Measured 2026-09-03 — the label overflowed the links at 951–1015px and
   821–905px; the mark alone clears everything down to the compact nav at 900px. */
@media (max-width: 1040px) {
  .lit-nav__github {
    padding-inline: 13px;
  }

  .lit-nav__github-label {
    display: none;
  }
}

/* relief for the fourth nav link plus the longer "Get the Mac beta" CTA; 960 not
   950 so the mark-only GitHub button still clears at 951px */
@media (max-width: 960px) {
  .lit-nav__inner {
    gap: 22px;
  }

  .lit-nav__links {
    gap: 20px;
  }
}

/* Compact nav: links give way to the Catalog button. 900 rather than 820 because six
   links plus three actions no longer fit below it (iPad Pro 11" portrait is 834). */
@media (max-width: 900px) {
  .lit-nav__links {
    display: none;
  }

  .lit-wordmark {
    margin-right: auto;
  }

  .lit-nav__catalog {
    display: inline-flex;
  }
}

@media (max-width: 820px) {
  .lit-footer {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  /* Four portraits at this width would be thumbnails. Become a snap rail, bled to
     the gutter so the next phone peeks. The negative margins are exact — 100vw
     would include the scrollbar and overflow horizontally. */
  .lit-ios__rail {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: min(74%, 300px);
    gap: 16px;
    margin-inline: -22px;
    padding-inline: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 22px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lit-ios__rail::-webkit-scrollbar {
    display: none;
  }

  .lit-ios__shot {
    max-width: none;
    scroll-snap-align: start;
  }

  .lit-ios__swipe {
    display: block;
  }
}

@media (max-width: 460px) {
  .lit-nav__updates {
    display: none;
  }
}

@media (max-width: 600px) {
  .lit-landing {
    --lit-shell: min(100% - 32px, 1180px);
  }

  .lit-hero {
    padding-top: 34px;
  }

  /* tighter vertical rhythm so the Mac jump card peeks above the fold */
  .lit-hero__inner {
    gap: 26px;
  }

  .lit-hero__main {
    gap: 22px;
  }

  .lit-hero__title {
    font-size: clamp(46px, 14vw, 76px);
    line-height: 0.94;
  }

  .lit-hero__actions {
    width: 100%;
  }

  .lit-hero__actions .lit-button {
    flex: 1 1 100%;
  }

  /* The full screenshot is illegible at phone width — crop into the preview
     and timeline, which is the part worth seeing. */
  .lit-shot__frame {
    padding: 6px;
    border-radius: 14px;
  }

  .lit-shot__frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 24% top;
    border-radius: 9px;
  }

  .lit-join__form form {
    grid-template-columns: 1fr;
  }

  .lit-join__form .lit-button {
    justify-content: space-between;
  }

  .lit-cards {
    border-radius: 16px;
  }

  .lit-ios__rail {
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .lit-ios__notify form {
    grid-template-columns: 1fr;
  }

  .lit-ios__notify .lit-button {
    justify-content: space-between;
  }

  .lit-ios__app img {
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .lit-landing *,
  .lit-landing *::before,
  .lit-landing *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .lit-marquee__track {
    animation: none;
  }

  /* The rail's snap is motion; the shot stagger is static layout, so it stays. */
  .lit-ios__rail {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  /* Without this, the instant-run rule above would leave every cycled word at
     its end state (opacity 0) and blank the title. Pin the first word instead. */
  .lit-hero__card-cycle > span {
    animation: none !important;
  }

  .lit-hero__card-cycle > span:first-child {
    opacity: 1;
    transform: none;
  }

  .lit-button:hover {
    transform: none !important;
  }
}

/* ---------- standalone legal and information pages ---------- */

.lit-doc {
  min-height: 100vh;
  padding-bottom: 96px;
  color: var(--lit-ink);
  background: var(--lit-bg);
}

.lit-doc__nav {
  position: static;
  border-bottom: 1px solid var(--lit-line);
}

.lit-doc__main {
  width: min(100% - 36px, 780px);
  margin-inline: auto;
  padding: clamp(58px, 9vw, 104px) 0;
}

.lit-doc__main h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lit-doc__main h2 {
  margin: 48px 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.1;
}

.lit-doc__main h3 {
  margin: 30px 0 8px;
  font-size: 18px;
}

.lit-doc__main p,
.lit-doc__main li {
  color: var(--lit-muted);
}

.lit-doc__main li + li {
  margin-top: 9px;
}

.lit-doc__main a {
  color: var(--lit-ink);
  text-decoration-color: var(--lit-accent);
  text-underline-offset: 0.2em;
}

.lit-doc__lede {
  color: var(--lit-ink) !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.45;
}

.lit-doc__meta,
.lit-doc__eyebrow {
  color: var(--lit-accent) !important;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lit-doc__card {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--lit-line);
  border-radius: 14px;
  background: var(--lit-bg-soft);
}

.lit-doc__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.lit-doc__definition {
  display: grid;
  gap: 16px;
}

.lit-doc__definition div {
  padding-top: 16px;
  border-top: 1px solid var(--lit-line);
}

.lit-doc__definition dt {
  color: var(--lit-ink);
  font-weight: 700;
}

.lit-doc__definition dd {
  margin: 4px 0 0;
  color: var(--lit-muted);
}

.lit-code {
  overflow-wrap: anywhere;
  color: var(--lit-ink);
  font-family: 'DM Mono', monospace;
  font-size: 0.9em;
}

.lit-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lit-form-status {
  min-height: 1.5em;
}

.lit-form-status[data-state='success'] {
  color: #8ecf9f;
}

.lit-site-notice {
  width: min(100% - 36px, 1180px);
  margin: 0 auto 24px;
  color: var(--lit-faint);
  font-size: 12px;
  text-align: center;
}
