/* One stylesheet, no scripts, system fonts. Light and dark follow the device. */
:root {
  color-scheme: light dark;
  --bg: #fff;
  --soft: #f3f5f9;
  --ink: #12161d;
  --muted: #475161;
  --line: #d8dde6;
  --accent: #0a5fd1;
  --accent-hover: #084ba8;
  --on-accent: #fff;
  --mark: #ffe066;
  --on-mark: #1d1700;
  --band: #e9f1ff;
  --shadow: 0 1px 2px rgb(16 24 40 / 0.06), 0 18px 40px -18px rgb(16 24 40 / 0.35);
  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 72rem;
  --prose: 42rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(3.5rem, 6.5vw, 5.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f14;
    --soft: #151a22;
    --ink: #eef1f6;
    --muted: #b4bdca;
    --line: #29313d;
    --accent: #6cb0ff;
    --accent-hover: #9ccbff;
    --on-accent: #06121f;
    --band: #101a2b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 18px 40px -18px rgb(0 0 0 / 0.8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p,
ul,
ol,
figure {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Header and footer */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
  }
}

.nav,
.site-footer,
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  border-radius: 22.5%;
}

.nav-links,
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links {
  flex-wrap: nowrap;
}

.nav-links a:not(.button),
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"],
.site-footer a:hover {
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 2.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .legal {
  grid-column: 1 / -1;
  max-width: 96ch;
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer .made-by {
  grid-column: 1;
}

.site-footer > p:first-child {
  max-width: 30rem;
  color: var(--ink);
}

.site-footer > nav {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.site-footer ul {
  gap: 0 1.25rem;
}

/* Download controls stay disabled until a store URL is supplied. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.button:not(:disabled):hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.button:disabled {
  cursor: not-allowed;
}

.button-quiet {
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}

.button-quiet:hover {
  background: var(--line);
  color: var(--ink);
}

.button-small {
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: 0.6rem;
  font-size: 0.95rem;
}

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

.button-dark:not(:disabled):hover {
  background: #3b2f00;
  color: #fff;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
  cursor: default;
}

.status::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.status-small {
  min-height: 2rem;
  padding: 0 0.85rem;
  font-size: 0.875rem;
}

.status-on-mark {
  border-color: rgb(29 23 0 / 0.4);
  background: rgb(29 23 0 / 0.08);
  color: var(--on-mark);
}

.status-on-mark::before {
  background: var(--on-mark);
}

/* Home: hero */
.hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 1.125rem;
  width: min(100% - 2 * var(--gutter), 64rem);
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.125rem, 4.8vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero h1 .line {
  display: block;
  margin-bottom: 0.25em;
}

/* Match Twine's per-line bars without changing the surrounding brand colors. */
.hl {
  --highlight-ink: #ffe600;
  padding: 1px 0;
  border-radius: 3px;
  background-color: var(--highlight-ink);
  box-shadow: 0 0 0 1.5px var(--highlight-ink);
  color: #000;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .hl {
    --highlight-ink: color-mix(in srgb, #ffe600 85%, transparent);
  }

  @media (prefers-color-scheme: dark) {
    .hl {
      --highlight-ink: color-mix(in srgb, #ffe600 92%, transparent);
    }
  }
}

@keyframes mark-in {
  from {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hl {
    animation: mark-in 0.12s ease-out backwards;
  }
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.6;
}

.eyebrow,
.copy > .eyebrow {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.actions .button {
  font-size: 1rem;
}

.hero .fineprint {
  display: grid;
  gap: 0.25rem;
  max-width: 44rem;
  font-size: 0.8125rem;
}

.price-summary {
  white-space: nowrap;
}

.app-store-badge {
  display: inline-flex;
  justify-content: center;
  padding: 12px;
}

.app-store-badge img {
  width: auto;
  height: 48px;
  max-width: none;
  aspect-ratio: 119.66407 / 40;
}

.fineprint,
.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  width: min(100% - 2 * var(--gutter), 60rem);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.proof,
.comparison {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.proof {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
}

.proof ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  min-height: 4rem;
  padding-inline: 1.5rem;
  font-size: 0.875rem;
}

.proof li + li {
  border-inline-start: 1px solid var(--line);
}

.proof span {
  color: var(--muted);
}

@media (width > 40em) {
  @supports (grid-template-rows: subgrid) {
    .proof li {
      grid-row: span 2;
      grid-template-rows: subgrid;
    }
  }
}

/* Official device artwork stays whole; the portrait Mac capture uses a window. */
.shot {
  min-width: 0;
  width: 100%;
}

.shot-screen {
  position: relative;
  width: 100%;
  background: var(--soft);
}

.device {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--soft);
  overflow: hidden;
}

.device .shot-screen {
  border-radius: 0.6rem;
}

.device-render {
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
  box-shadow: none;
}

.device-render .shot-screen {
  position: absolute;
  border-radius: 0;
  background: none;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.device-render.device-phone .shot-screen {
  top: calc(69 / 2760 * 100%);
  left: calc(72 / 1350 * 100%);
  width: calc(1206 / 1350 * 100%);
  mask-image: url("devices/bezel-iphone-18-pro-mask.webp");
}

.device-render.device-duo .shot-screen {
  top: calc(120 / 2247 * 100%);
  left: calc(120 / 3093 * 100%);
  width: calc(2853 / 3093 * 100%);
  mask-image: url("devices/bezel-iphone-duo-mask.webp");
}

.device-render.device-mac .shot-screen {
  top: calc(288 / 2240 * 100%);
  left: calc(420 / 3400 * 100%);
  width: calc(2560 / 3400 * 100%);
  height: calc(1664 / 2240 * 100%);
  mask-image: url("devices/bezel-macbook-air-m5-mask.webp");
}

/* The owner's approved 0.46875% height correction applies only inside the Air. */
.device-mac.device-render .shot-screen picture,
.device-mac.device-render .shot-screen img {
  height: 100%;
  object-fit: fill;
}

.device-art {
  position: relative;
  pointer-events: none;
}

.device-phone .device-art {
  aspect-ratio: 1350 / 2760;
}

.device-duo .device-art {
  aspect-ratio: 3093 / 2247;
}

.device-mac .device-art {
  aspect-ratio: 3400 / 2240;
}

.device-window {
  padding: 0;
  border-color: var(--line);
  background: var(--soft);
  box-shadow: var(--shadow), inset 0 0 0 2px #30333b;
}

.device-window .shot-screen {
  border-radius: 1rem;
}

.shot picture,
.shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
}

.shot .device-art img {
  height: 100%;
  object-fit: fill;
}

.shot-phone {
  max-width: 19rem;
  margin-inline: auto;
}

.media-settings .shot {
  max-width: 30rem;
  margin-inline: auto;
}

.shot figcaption {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 384px), (max-width: 24em) {
  .shot-duo {
    width: calc(100% + 2 * var(--gutter));
    margin-inline: calc(-1 * var(--gutter));
  }
}

/* Pixel and em guards keep hardware large enough across browser font defaults. */
@media (width < 400px), (width < 25em) {
  .device-mac .device-art {
    display: none;
  }

  .device-render.device-mac .shot-screen {
    position: static;
    width: 100%;
    height: auto;
    mask-image: none;
  }

  .shot .device-mac.device-render .shot-screen picture,
  .shot .device-mac.device-render .shot-screen img {
    height: auto;
    object-fit: contain;
  }
}

.shot-screen.shot-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: auto;
  border: 2px dashed var(--line);
  box-shadow: none;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.shot-placeholder::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.shot-phone .shot-placeholder::before {
  aspect-ratio: 1320 / 2868;
}

.shot-duo .shot-placeholder::before {
  aspect-ratio: 2000 / 1407;
}

.shot-placeholder p {
  grid-area: 1 / 1;
  padding: 1.5rem;
}

.shot-placeholder strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

/* Home: features, alternating sides */
.features {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6rem);
  padding-block: var(--section-space);
}

.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.feature:nth-of-type(even) .copy {
  order: 2;
}

.feature-library {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.copy {
  display: grid;
  gap: 1.25rem;
  max-width: 32rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.copy > p,
.section-head p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.copy > .note {
  font-size: 0.9rem;
}

.checks,
.prompts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 0.75rem;
  font-weight: 500;
}

.checks li::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 0.2rem;
  background: var(--mark);
  box-shadow: 0 0 0 1px rgb(29 23 0 / 0.2);
  rotate: -4deg;
}

.prompts li {
  padding: 0.65rem 1rem;
  border-radius: 1rem 1rem 1rem 0.3rem;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1rem;
  line-height: 1.4;
}

.feature-ai {
  row-gap: 2.5rem;
}

.ai-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  grid-column: 1 / -1;
}

.ai-details > .note {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Home: privacy band, FAQ, closing panel */
.band {
  background: var(--band);
}

.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: var(--section-space);
}

.band h2 {
  font-size: clamp(1.875rem, 3.8vw, 3rem);
}

.band .wrap > div {
  display: grid;
  gap: 1.25rem;
}

.band .more {
  margin-top: 0;
}

.comparison {
  max-width: 60rem;
  padding-top: var(--section-space);
}

.comparison-table {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.comparison table {
  table-layout: fixed;
}

.comparison caption {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

.comparison-feature {
  width: 34%;
}

.comparison-twine {
  width: 30%;
}

.comparison th,
.comparison td {
  padding: 1rem 1.25rem;
}

.comparison thead {
  background: var(--soft);
}

.comparison tbody tr:last-child > * {
  border-bottom: 0;
}

.comparison th[scope="row"] {
  font-weight: 600;
}

.comparison td:nth-child(2),
.comparison th:nth-child(2) {
  background: var(--band);
}

.comparison-foot {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  text-align: center;
}

.more {
  margin-top: 1.75rem;
}

.text-link {
  font-weight: 600;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(2rem, 6vw, 6rem);
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  padding-block: var(--section-space);
}

.faq h2 {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding-block: 1rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  rotate: 45deg;
  translate: 0 -0.15rem;
}

.faq details[open] summary::after {
  rotate: -135deg;
  translate: 0 0.15rem;
}

.faq details p {
  max-width: 40rem;
  padding-bottom: 1.25rem;
  color: var(--muted);
}

.closing {
  width: min(100% - 2 * var(--gutter), 66rem);
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}

.closing-panel {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: var(--mark);
  color: var(--on-mark);
  text-align: center;
}

.closing-panel > p {
  max-width: 36rem;
}

.closing-panel h2 {
  max-width: 14em;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.closing-panel img {
  border-radius: 22.5%;
  box-shadow: 0 14px 28px -10px rgb(29 23 0 / 0.5);
}

.closing-panel :focus-visible {
  outline-color: var(--on-mark);
}

/* Docs, Privacy, Support */
.page {
  width: min(100% - 2 * var(--gutter), var(--prose));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}

.page h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
}

.page h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.page h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.page p,
.page ul,
.page ol,
.page table,
.page pre {
  margin-top: 1rem;
}

.page li + li {
  margin-top: 0.5rem;
}

.page ul,
.page ol {
  padding-left: 1.4rem;
}

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

.page strong,
.page th {
  color: var(--ink);
}

.page .toc {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.page .toc ul {
  margin: 0;
}

@media (min-width: 40em) {
  .page .toc ul {
    columns: 2;
    column-gap: 2rem;
  }
}

.notice,
.page .notice,
.page .notice strong {
  color: var(--on-mark);
}

.notice,
.page .notice {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--mark);
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.9em;
}

code {
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-wrap: anywhere;
}

kbd {
  padding: 0.1em 0.45em;
  border-radius: 0.35em;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line);
  color: var(--ink);
  white-space: nowrap;
}

pre {
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

pre code {
  padding: 0;
  background: none;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

/* Reusable pricing presentation; currently omitted from the home page. */
.pricing {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  padding-block: var(--section-space) 0;
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 60rem;
  margin: 2rem auto 0;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.25rem;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.plan-featured {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.plan h3 {
  font-size: 1.25rem;
}

.plan .button {
  align-self: stretch;
  max-width: 100%;
  padding-block: 0.65rem;
}

.plan > .checks {
  margin-bottom: auto;
}

@supports (grid-template-rows: subgrid) {
  .plan {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
  }

  .plan > .button {
    grid-row: 5;
  }

  .plan > .plan-note:last-child {
    grid-row: 6;
  }
}

.pro-value {
  display: grid;
  gap: 1.25rem;
  max-width: 60rem;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.pro-value h3 {
  font-size: 1.5rem;
}

.pro-value ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-left: 1.5rem;
  color: var(--muted);
}

.pro-value strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

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

.plan-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.amount {
  margin-right: 0.3rem;
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pricing-foot {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Small screens: stacked copy; supplied images keep their natural proportions */
@media (max-width: 52em) {
  .feature,
  .ai-details,
  .band .wrap,
  .faq,
  .pro-value ol {
    grid-template-columns: 1fr;
  }

  .feature:nth-of-type(even) .copy {
    order: 0;
  }

  .copy {
    max-width: none;
  }

  .faq h2 {
    position: static;
  }
}

@media (max-width: 43em) {
  html {
    scroll-padding-top: 8rem;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-block: 0.75rem 0.5rem;
  }

  .brand {
    align-self: start;
    min-height: 2.25rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    justify-content: space-between;
    gap: 0 0.5rem;
  }

  .nav-links a:not(.button) {
    min-height: 2.75rem;
    font-size: 0.8125rem;
  }

  .nav-links li:last-child {
    position: absolute;
    top: 0.75rem;
    right: 0;
  }
}

@media (max-width: 40em) {
  .proof {
    padding-block: 0;
  }

  .proof ul {
    grid-template-columns: 1fr;
  }

  .proof li {
    padding: 1rem 0;
  }

  .proof li + li {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

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

  .site-footer > nav {
    grid-column: 1;
    grid-row: auto;
  }

  .comparison colgroup {
    display: none;
  }

  .comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .comparison tbody,
  .comparison tr {
    display: grid;
  }

  .comparison tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }

  .comparison tbody tr:last-child {
    border-bottom: 0;
  }

  .comparison th[scope="row"] {
    grid-column: 1 / -1;
    padding: 1rem 1rem 0.75rem;
  }

  .comparison th,
  .comparison td {
    border: 0;
  }

  .comparison td {
    padding: 0.75rem 1rem 1rem;
  }

  .comparison td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .actions > * {
    justify-content: center;
  }

  .actions > .status {
    align-self: flex-start;
  }

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