/*
  Bookmarking.ai — landing page styles
  Direction: "naskah Kin" — editorial script-markup aesthetic. Warm ink/paper
  duotone with a coral working-accent (the "highlighter" Kin uses to mark up
  a script) and a secondary amber for Mode B. Fraunces (display, optical
  sizing) + JetBrains Mono (timestamps, credit tags, numerals) + system sans
  (body). No purple/indigo gradients, no glassmorphism, no stock icon packs —
  icons are hand-authored inline SVG.
*/

/* ---------- tokens ---------- */
:root {
  --ink: #15130f;
  --ink-soft: #221e17;
  --ink-line: rgba(245, 239, 224, 0.16);
  --paper: #f5efe0;
  --paper-soft: #ece1c4;
  --paper-line: rgba(21, 19, 15, 0.14);

  --accent: #ff5a2e;
  --accent-hover: #ff7248;
  --accent-ink: #7a2200;
  --accent-soft: #ffe0cf;

  --accent-2: #b9821c;
  --accent-2-ink: #6b4a0e;
  --accent-2-soft: #f5e3bc;

  --whatsapp: #1e9e57;

  --text-on-ink: #f5efe0;
  --text-on-ink-soft: rgba(245, 239, 224, 0.7);
  --text-on-paper: #221e17;
  --text-on-paper-soft: rgba(21, 19, 15, 0.66);

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-paper: 0 1px 2px rgba(21, 19, 15, 0.06), 0 14px 30px -18px rgba(21, 19, 15, 0.4);
  --shadow-ink: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 34px -18px rgba(0, 0, 0, 0.7);

  --font-display: "Fraunces", "Iowan Old Style", "Georgia", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 72rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--accent) var(--paper);
  scrollbar-width: thin;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

/* browser surfaces: theme what we didn't draw */
::selection {
  background: var(--accent);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
  border: 3px solid var(--paper);
}

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

.band-ink :focus-visible {
  outline-color: var(--accent);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 2.75rem);
}

.section {
  padding-block: clamp(3.25rem, 8vw, 6.5rem);
}

.band-ink {
  background: var(--ink);
  color: var(--text-on-ink);
}

.band-ink .text-soft {
  color: var(--text-on-ink-soft);
}

.band-paper {
  background: var(--paper);
  color: var(--text-on-paper);
}

.band-paper .text-soft {
  color: var(--text-on-paper-soft);
}

.band-paper-soft {
  background: var(--paper-soft);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out-expo);
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Di layar sempit (360 px) tombol kedua jadi ikon saja supaya baris header
   tidak melebar; nama kanalnya tetap terbaca screen reader lewat `aria-label`. */
.site-header__cta-label {
  display: none;
}

@media (min-width: 560px) {
  .site-header__cta-label {
    display: inline;
  }
}

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

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand__word em {
  font-style: normal;
  color: var(--accent);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-on-ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text-on-ink);
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease-out-expo),
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px -8px rgba(255, 90, 46, 0.55),
    var(--shadow-paper);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost-ink {
  background: transparent;
  color: var(--text-on-ink);
  border-color: var(--ink-line);
}
.btn-ghost-ink:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost-paper {
  background: transparent;
  color: var(--text-on-paper);
  border-color: var(--paper-line);
}
.btn-ghost-paper:hover {
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

.plan__price-unit {
  font-size: 0.95rem;
  font-weight: 500;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.hero__eyebrow-free {
  /* intentionally no eyebrow/kicker element above H1 — see anti-ui-slop floor */
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.6vw + 1rem, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}

.hero h1 .mark-underline {
  position: relative;
  white-space: nowrap;
}

.hero h1 .mark-underline svg {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.3em;
  display: block;
  color: var(--accent);
}

/* Satu baris di bawah H1 `product.md §11` (judulnya sendiri tidak diubah). */
.hero__subhead {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero__lede {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 46ch;
  color: var(--text-on-ink-soft);
  margin: 0 0 1.75rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.hero__trust {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-on-ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

/* ---------- demo phone frame ---------- */
.demo-frame {
  position: relative;
  width: min(280px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-ink);
}

.demo-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink-soft);
}

.demo-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 1rem 1.1rem;
  background: linear-gradient(to top, rgba(21, 19, 15, 0.92), transparent);
  color: var(--text-on-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-frame__caption .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
  animation: pulse 2.2s var(--ease-out-expo) infinite;
}

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

/* ---------- section heads ---------- */
.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.6vw + 1rem, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}

.section-head p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 780px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-line);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent-ink);
  opacity: 0.28;
  display: block;
  margin-bottom: 0.75rem;
}

.step__icon {
  width: 34px;
  height: 34px;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-on-paper-soft);
  max-width: 34ch;
}

.step__tag {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* ---------- examples (before/after) ---------- */
.examples {
  display: grid;
  gap: 1.75rem;
}

.example {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  background: var(--ink-soft);
}

@media (min-width: 720px) {
  .example {
    padding: 1.75rem 2rem;
  }
}

.example__pair {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .example__pair {
    gap: 1.5rem;
  }
}

.example__figure {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.example__thumb {
  width: 100%;
  max-width: 168px;
  margin-inline: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--ink-line);
  background: var(--ink);
}

.example__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.example__figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-ink-soft);
  text-align: center;
}

.example__arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  width: 22px;
  height: 22px;
}

.example__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 0.9rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink-line);
}

.example__mode {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.example__mode--a {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.example__mode--b {
  background: var(--accent-2-soft);
  color: var(--accent-2-ink);
}

.example__mode--hybrid {
  background: linear-gradient(90deg, var(--accent-soft) 50%, var(--accent-2-soft) 50%);
  color: var(--ink);
}

.example__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-on-ink-soft);
  max-width: 48ch;
}

/* ---------- pricing ---------- */
.plans {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--paper-line);
  background: var(--paper);
}

.plan--featured {
  background: var(--ink);
  color: var(--text-on-ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-ink);
  position: relative;
}

.plan--featured .plan__price-sub,
.plan--featured .plan__feature {
  color: var(--text-on-ink-soft);
}

.plan__badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.plan__price {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.plan__price-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-on-paper-soft);
  margin: 0 0 1.25rem;
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  flex: 1;
}

.plan__feature {
  display: flex;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-on-paper-soft);
}

.plan__feature svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  color: var(--accent-ink);
}

.plan--featured .plan__feature svg {
  color: var(--accent);
}

.plan__feature--off {
  opacity: 0.55;
}

.topup {
  margin-top: 2rem;
  border: 1px dashed var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.topup__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.topup__head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}

.topup__head span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-on-paper-soft);
}

.topup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (min-width: 480px) {
  .topup__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topup__cell {
  background: var(--paper);
  padding: 1rem 0.75rem;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}

@media (min-width: 480px) {
  .topup__cell {
    display: block;
  }
}

.topup__cell .size {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-ink);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.topup__cell .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  margin: 0;
}

@media (min-width: 480px) {
  .topup__cell .price {
    display: block;
    margin: 0.4rem 0 0.15rem;
  }
}

.topup__cell .credit {
  font-size: 0.78rem;
  color: var(--text-on-paper-soft);
  display: block;
}

.price-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-line);
}

.price-note h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
}

.price-note dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  margin: 0;
}

.price-note dt {
  font-size: 0.92rem;
  color: var(--text-on-paper-soft);
}

.price-note dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq__item {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-soft);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

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

.faq__item summary .plus {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 0.22s var(--ease-out-expo);
}

.faq__item[open] summary .plus {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-on-ink-soft);
  max-width: 62ch;
}

.faq__answer code {
  font-family: var(--font-mono);
  background: rgba(245, 239, 224, 0.1);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--paper-line);
  background: var(--paper-soft);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 2rem;
}

.site-footer__brand p {
  max-width: 34ch;
  color: var(--text-on-paper-soft);
  font-size: 0.92rem;
  margin: 0.75rem 0 0;
}

.site-footer__cols {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.site-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-paper-soft);
  margin: 0 0 0.85rem;
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-on-paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.site-footer__col a:hover {
  border-color: var(--accent);
}

.site-footer__bottom {
  border-top: 1px solid var(--paper-line);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-paper-soft);
}

/* ---------- legal pages (privasi.html / syarat.html) ---------- */
.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.legal__banner {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.legal__banner strong {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw + 1rem, 2.6rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

.legal__meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-on-paper-soft);
  margin: 0 0 2.5rem;
}

.legal section {
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.legal p,
.legal li {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
}

.legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal a {
  color: var(--accent-ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-on-paper-soft);
  margin-bottom: 2rem;
}

.legal__back:hover {
  color: var(--accent-ink);
}

/* ---------- one authored moment: the hero demo frame settles in on load.
   CSS-only (no IntersectionObserver) so it never depends on scrolling —
   a scroll-gated reveal would leave every below-the-fold section invisible
   to full-page screenshot tools and non-scrolling crawlers. ---------- */
@keyframes demo-frame-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .demo-frame {
    animation: demo-frame-in 0.7s var(--ease-out-expo) both;
  }
}

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