/* Every page of the WiTalk site: the landing page, the legal pages, about,
   the documentation and 404. Same look as wiracode.com and auth.wiracode.com:
   white ground, dark ink, teal accent, Roboto, rounded panels, a dark
   footer. Light theme only, mobile first, no inline styles (strict CSP).

   Roboto (variable, latin and latin-ext subsets) is self-hosted from the
   Google Fonts build, licensed under the SIL Open Font License 1.1:
   /assets/fonts/OFL.txt. */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (shared with wiracode.com) ---------- */

:root {
  color-scheme: light;
  --ink: #0d1c2a;
  --ink-2: #47545f;
  --muted: #66727c;
  --line: #e4e6e3;
  --bg: #ffffff;
  --panel: #f1f5f6;
  --tint: #e6f2f4;
  --accent: #0b6f8a;
  --accent-hover: #084f64;
  --accent-bright: #0e8fa3;
  --dark: #123d4c;
  --dark-hover: #0a2c38;
  --footer: #0d1c2a;
  --brand: linear-gradient(135deg, #03465d 0%, #087f95 58%, #12bfc5 100%);
  --gutter: clamp(20px, 4vw, 112px);
  --section: clamp(56px, 6vw, 96px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --header-h: 68px;
  --font: Roboto, Arial, sans-serif;
  accent-color: var(--accent);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

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

img,
video {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.006em;
}

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

.wrap {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  border-radius: var(--r-sm);
  color: #fff;
  transform: translateY(-200%);
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn small {
  margin-left: 2px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: var(--dark-hover);
}

.btn-outline {
  background: #fff;
  border-color: #cfd6d9;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink-2);
}

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn-light:hover {
  background: var(--tint);
}

.btn-apk {
  min-height: 52px;
  padding: 0 22px 0 18px;
  font-size: 16px;
}

.btn .icon {
  flex: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(255 255 255 / 92%);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 34px;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 14px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.nav a:hover {
  background: rgb(13 28 42 / 5%);
  color: var(--ink);
}

.header-cta {
  min-height: 40px;
  padding: 0 20px;
}

@media (min-width: 880px) {
  .nav {
    display: block;
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 40%, rgb(18 191 197 / 12%), transparent 70%),
    linear-gradient(180deg, #f6f9fa 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 40px;
  padding-block: 48px 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgb(14 143 163 / 15%);
}

.hero h1 {
  margin-top: 18px;
}

.hero h1 .accent {
  display: block;
  color: var(--accent-bright);
}

.lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-row .btn-outline {
  min-height: 52px;
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.stores {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stores-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 140px;
  height: 50px;
  padding: 0 10px;
  white-space: nowrap;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 10px;
  background: #000;
  color: #fff;
  cursor: default;
  user-select: none;
}

a.store-badge-link {
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.store-badge-link:hover {
  border-color: rgb(255 255 255 / 55%);
  transform: translateY(-1px);
}

a.store-badge-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.store-mark {
  flex: none;
}

/* Apple's official badge, unmodified: its own black fill and border, clear space around it. */
.app-store-badge {
  display: inline-flex;
  margin: 0 3px;
  border-radius: 10px;
  transition: transform 0.15s ease;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 50px;
}

.app-store-badge:hover {
  transform: translateY(-1px);
}

.app-store-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-text small {
  color: #d4d4d4;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-text strong {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Phones ---------- */

.phone {
  position: relative;
  width: 250px;
  padding: 8px;
  border-radius: 42px;
  background: linear-gradient(145deg, #2a3c42, #0b161a);
  box-shadow: 0 30px 60px -20px rgb(3 40 56 / 45%), inset 0 0 0 1.5px rgb(255 255 255 / 14%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 20px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.phone-notch {
  width: 70px;
  height: 19px;
  border-radius: 999px;
  background: #0b161a;
}

.phone-signal {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2px;
  width: 44px;
}

.phone-signal i {
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
}

.phone-signal i:nth-child(1) {
  height: 4px;
}

.phone-signal i:nth-child(2) {
  height: 7px;
}

.phone-signal i:nth-child(3) {
  height: 10px;
}

.phone-signal b {
  width: 18px;
  height: 9px;
  margin-left: 4px;
  padding: 1px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ink) 80%, transparent 80%);
  background-clip: content-box;
}

.phone-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 540 / 1176;
  object-fit: cover;
  background: #f3f4f7;
}

/* ---------- Hero stage ---------- */

.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.stage-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(18 191 197 / 22%), transparent 68%);
  transform: translate(-50%, -50%);
}

.phone-front {
  z-index: 2;
}

.phone-back {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: calc(50% - 235px);
  display: none;
  width: 210px;
  opacity: 0.9;
  transform: rotate(-6deg);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 40px -18px rgb(3 40 56 / 35%);
  white-space: nowrap;
}

.float-card > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-card b {
  font-size: 14px;
  font-weight: 600;
}

.float-card small {
  color: var(--muted);
  font-size: 12.5px;
}

.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}

.float-icon.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.float-a {
  top: 14%;
  right: 0;
}

.float-b {
  bottom: 12%;
  left: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .float-icon.typing i {
    animation: typing 1.2s ease-in-out infinite;
  }

  .float-icon.typing i:nth-child(2) {
    animation-delay: 0.15s;
  }

  .float-icon.typing i:nth-child(3) {
    animation-delay: 0.3s;
  }

  .float-card {
    animation: float 6s ease-in-out infinite;
  }

  .float-b {
    animation-delay: -3s;
  }
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (min-width: 560px) {
  .float-card {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    min-height: calc(100vh - var(--header-h));
    max-height: 860px;
    padding-block: 64px;
  }

  .hero-stage {
    min-height: 600px;
    align-items: center;
  }

  .phone-front {
    width: 280px;
  }

  .phone-back {
    display: block;
    top: auto;
  }

  .float-a {
    right: 2%;
  }

  .float-b {
    left: 4%;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-top: var(--section);
}

.section-last {
  padding-bottom: var(--section);
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* Screens: one panel per screen, phone on a tinted ground. */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.shot-media {
  display: flex;
  justify-content: center;
  height: 230px;
  padding: 20px 12px 0;
  overflow: hidden;
  background: var(--panel);
}

.shot-media .phone {
  width: 150px;
  padding: 6px;
  border-radius: 30px;
  height: max-content;
  box-shadow: 0 24px 40px -24px rgb(3 40 56 / 45%), inset 0 0 0 1.5px rgb(255 255 255 / 14%);
}

.shot-media .phone-screen {
  border-radius: 24px;
}

.shot-text {
  padding: 14px 14px 16px;
}

.shot-text p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
}

@media (min-width: 640px) {
  .shots {
    gap: 16px;
  }

  .shot-media {
    height: 340px;
    padding-top: 32px;
  }

  .shot-media .phone {
    width: 220px;
    padding: 8px;
    border-radius: 42px;
  }

  .shot-media .phone-screen {
    border-radius: 34px;
  }

  .shot-text {
    padding: 18px 22px 22px;
  }
}

@media (min-width: 1100px) {
  .shots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Film */
.film {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--dark);
  box-shadow: 0 30px 60px -30px rgb(3 40 56 / 45%);
}

.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Features */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split-media {
  display: none;
  justify-content: center;
  padding: 40px 20px 0;
  overflow: hidden;
  height: 460px;
  border-radius: var(--r-lg);
  background: var(--tint);
}

.split-media .phone {
  height: max-content;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.feature-list p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 15px;
}

.feature-icon {
  display: flex;
  flex: none;
  padding-top: 1px;
  color: var(--accent);
}

@media (min-width: 900px) {
  .split-media {
    display: flex;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }

  .split-media {
    height: 560px;
    padding-top: 56px;
  }

  .split-media .phone {
    width: 280px;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.step-no {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.step h3 {
  padding-top: 6px;
}

.step p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step {
    display: block;
  }

  .step-no {
    margin-bottom: 18px;
  }
}

/* Closing call to action */
.cta-band {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--brand);
  color: #fff;
}

.cta-band p {
  margin-top: 8px;
  color: rgb(255 255 255 / 82%);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (min-width: 960px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 56px;
  background: var(--footer);
  color: rgb(255 255 255 / 72%);
  font-size: 15px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 20px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-name img {
  width: auto;
  height: 32px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-address {
  margin-top: 14px;
  color: rgb(255 255 255 / 55%);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.footer-col h2 {
  margin-bottom: 12px;
  color: rgb(255 255 255 / 55%);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-block: 20px 28px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 55%);
  font-size: 13px;
}

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

  .footer-brand {
    grid-column: auto;
  }
}

/* ---------- Inner pages: legal, about, documentation ---------- */

.doc {
  background:
    radial-gradient(50% 380px at 90% 0, rgb(18 191 197 / 10%), transparent 70%),
    linear-gradient(180deg, #f6f9fa 0, #fff 420px);
}

.doc-grid {
  display: grid;
  gap: 40px;
  padding-block: 28px var(--section);
}

.doc-main {
  min-width: 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}

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

.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

.doc-aside {
  display: grid;
  align-content: start;
  gap: 16px;
}

.aside-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.aside-card h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aside-card ul {
  display: grid;
  gap: 2px;
}

.aside-card li a {
  display: block;
  margin-inline: -10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.aside-card li a:hover {
  background: var(--panel);
  color: var(--ink);
}

.aside-card li a[aria-current] {
  background: var(--tint);
  color: var(--accent);
}

.aside-card li li a {
  padding-left: 24px;
  font-size: 14px;
  font-weight: 400;
}

.aside-card p {
  color: var(--ink-2);
  font-size: 15px;
}

.aside-card .btn {
  width: 100%;
  margin-top: 14px;
}

@media (min-width: 1024px) {
  .doc-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 72px;
    padding-top: 40px;
  }

  .doc-aside {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    padding-top: 42px;
  }
}

/* Long-form text. Tables and code scroll inside their own box. */
.prose {
  max-width: 780px;
  overflow-wrap: anywhere;
}

.prose + .prose {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.prose h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
}

.prose h1 + p {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 40px;
  font-size: clamp(21px, 1.7vw, 24px);
}

.prose h3 {
  margin-top: 28px;
}

.prose h4 {
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.prose p,
.prose ul,
.prose ol,
.prose pre,
.prose .table-wrap,
.prose blockquote {
  margin-top: 14px;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 6px;
}

.prose li::marker {
  color: var(--accent);
}

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

.prose a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font: 500 0.88em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
}

.prose pre code {
  padding: 0;
  background: none;
  font-size: 13.5px;
  white-space: pre;
  overflow-wrap: normal;
}

.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent-bright);
}

.prose hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose mark {
  padding: 0 4px;
  border-radius: 4px;
  background: #fff1b8;
  color: var(--ink);
}

.prose .small {
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.table th,
.table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
}

.table td {
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

/* Not found */
.not-found {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 60vh;
  padding-block: var(--section);
  text-align: center;
}

.not-found p {
  max-width: 30em;
  color: var(--ink-2);
}

.not-found .btn {
  margin-top: 10px;
}
