/* LeanMora · sitio de la empresa. Sin build ni dependencias: fuentes e imágenes propias, nada de terceros. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+A720-A7FF;
}

:root {
  color-scheme: light dark;

  /* LeanMora */
  --navy-950: #060f1c;
  --navy-900: #0b1b30;
  --navy-800: #11264a;
  --navy-700: #1b3560;
  --gold: #c9a54e;
  --gold-light: #e6cf8e;
  --silver: #c9ced6;

  /* Copiloto Fiscal (los colores de la app) */
  --cf: #0f7a55;
  --cf-strong: #095c3f;
  --cf-soft: #d7f0e5;
  --cf-on-soft: #053d2a;

  /* Superficies claras */
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --surface: #ffffff;
  --text: #0f1a2a;
  --muted: #546072;
  --line: #e2e7ee;
  --link: #1b4fa0;
  --focus: #c9a54e;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(11 27 48 / 6%), 0 8px 24px rgb(11 27 48 / 8%);
  --shadow-lg: 0 2px 6px rgb(6 15 28 / 20%), 0 30px 60px rgb(6 15 28 / 35%);
  --max: 1120px;
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1424;
    --bg-alt: #0d192c;
    --surface: #111f36;
    --text: #e8edf4;
    --muted: #a3afc1;
    --line: #1f2f4a;
    --link: #9cc0ff;
    --cf: #4cc495;
    --cf-strong: #6fd6ab;
    --cf-soft: #123d2e;
    --cf-on-soft: #bfebd8;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link);
  text-underline-offset: 3px;
}

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

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

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

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

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(9 22 40 / 97%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(201 165 78 / 18%);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

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

.brand-name {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-name span {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: #d6dde8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
}

.nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 7%);
}

.nav .nav-cta {
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  font-weight: 600;
  padding: 9px 16px;
}

.nav .nav-cta:hover {
  color: var(--navy-950);
  background: var(--gold-light);
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-gold {
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 8px 24px rgb(201 165 78 / 25%);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 24%);
}

.btn-ghost:hover {
  border-color: rgb(255 255 255 / 50%);
}

.btn-cf {
  color: #fff;
  background: #0f7a55;
}

.btn-cf:hover {
  background: #095c3f;
}

.btn-outline {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
}

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

/* ---------- Portada ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 480px at 85% -10%, rgb(201 165 78 / 16%), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgb(27 53 96 / 90%), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 104px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 20%, var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: 1.15rem;
  color: #c4cedc;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-mark {
  justify-self: center;
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(201 165 78 / 22%), transparent 65%);
  filter: blur(8px);
}

.hero-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgb(201 165 78 / 22%);
  box-shadow: inset 0 0 0 28px rgb(255 255 255 / 1.5%), inset 0 0 0 29px rgb(255 255 255 / 5%);
}

.hero-mark img {
  position: relative;
  width: 62%;
  filter: drop-shadow(0 24px 40px rgb(0 0 0 / 45%));
}

.facts {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgb(255 255 255 / 8%);
}

.facts ul {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  color: #aeb9ca;
  font-size: 0.92rem;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.facts svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

@media (max-width: 880px) {
  .hero > .wrap {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .hero-mark {
    display: none;
  }
}

/* ---------- Secciones ---------- */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 44em;
}

.section-head .kicker {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }
}

/* ---------- Copiloto Fiscal ---------- */

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.product > *,
.hero > .wrap > *,
.contact .wrap > * {
  min-width: 0;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.product-badge img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgb(15 122 85 / 30%);
}

.product-badge .name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-badge .tag {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.product h2 {
  margin-top: 28px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.product h2 span {
  color: var(--cf);
}

.product .lead {
  margin-top: 18px;
  font-size: 1.12rem;
  color: var(--muted);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--cf);
}

.platforms {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.soon svg {
  width: 16px;
  height: 16px;
}

/* Teléfono de muestra (datos inventados) */

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(15 122 85 / 18%), transparent 65%);
}

.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #222b38, #0b1018);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / 10%);
}

.screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #f6f8f7;
  color: #13201b;
  font-size: 13px;
  line-height: 1.4;
  min-height: 620px;
}

.island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  background: #05080c;
  border-radius: 20px;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 14px 26px 0;
  font-size: 12px;
  font-weight: 600;
}

.battery {
  width: 24px;
  height: 11px;
  margin-top: 3px;
  border: 1.5px solid #13201b;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px #f6f8f7;
  background: #13201b;
}

.app-title {
  padding: 26px 20px 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-sub {
  padding: 0 20px;
  color: #5a6a63;
}

.amount-field {
  margin: 16px 20px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid #0f7a55;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.amount-field small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #0f7a55;
  letter-spacing: 0;
}

.result {
  margin: 14px 20px 0;
  padding: 16px;
  border-radius: 16px;
  background: #e3f5ec;
  border: 1px solid #b9e3cd;
}

.result-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: #0b5e40;
}

.result-head svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.result dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
}

.result dt {
  color: #5a6a63;
}

.result dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.result .cobrar {
  margin-top: 14px;
  padding: 11px;
  border-radius: 12px;
  background: #0f7a55;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.ticker {
  margin: 14px 20px 0;
  display: grid;
  gap: 8px;
}

.ticker div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dce3e0;
  font-size: 12px;
}

.ticker b {
  font-weight: 650;
  white-space: nowrap;
}

.ticker span {
  color: #5a6a63;
  text-align: right;
}

.ticker .fake {
  border-color: #f2c4bf;
  background: #fdf1ef;
}

.ticker .fake b {
  color: #b3261e;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 18px;
  background: #fff;
  border-top: 1px solid #dce3e0;
  font-size: 10px;
  color: #5a6a63;
}

.tabbar span {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.tabbar i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #dce3e0;
}

.tabbar .on {
  color: #0f7a55;
  font-weight: 600;
}

.tabbar .on i {
  background: #0f7a55;
}

.sample-note {
  position: relative;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .product {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Tarjetas de funciones */

.features {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cf-soft);
  color: var(--cf-on-soft);
}

.card .icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-top: 18px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Pasos */

.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cf);
}

.steps h3 {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 650;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Bancos */

.banks {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.banks .label {
  margin-right: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.banks span:not(.label) {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Confianza */

.trust-head {
  margin-top: 104px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.trust .card .icon {
  background: rgb(201 165 78 / 16%);
  color: #8a6a1c;
}

@media (prefers-color-scheme: dark) {
  .trust .card .icon {
    color: var(--gold-light);
  }
}

@media (max-width: 880px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

/* Contacto */

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 0%, rgb(201 165 78 / 14%), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

.contact p {
  margin-top: 14px;
  color: #c4cedc;
  font-size: 1.08rem;
}

.people {
  display: grid;
  gap: 14px;
}

.person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 4%);
  border: 1px solid rgb(255 255 255 / 10%);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.person:hover {
  border-color: rgb(201 165 78 / 50%);
  background: rgb(255 255 255 / 6%);
}

.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy-950);
  font-weight: 700;
}

.person b {
  display: block;
  font-weight: 600;
}

.person .email {
  color: #aeb9ca;
  font-size: 0.95rem;
  word-break: break-all;
}

.place {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aeb9ca;
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .contact .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pie ---------- */

.site-footer {
  background: var(--navy-950);
  color: #8d9ab0;
  font-size: 0.9rem;
  border-top: 1px solid rgb(255 255 255 / 6%);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 40px;
}

.site-footer .brand img {
  width: 30px;
}

.site-footer .brand-name {
  font-size: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

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

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

.legal-name {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 6%);
}

/* ---------- Páginas legales ---------- */

.doc-hero {
  color: #fff;
  background:
    radial-gradient(700px 300px at 90% 0%, rgb(201 165 78 / 14%), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.doc-hero .wrap {
  max-width: 820px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.doc-hero h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
}

.doc-hero .updated {
  margin-top: 14px;
  color: #aeb9ca;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.doc > p,
.doc li {
  color: var(--text);
}

.doc p + p,
.doc p + ul,
.doc ul + p,
.doc p + table,
.doc table + p {
  margin-top: 14px;
}

.doc h2 {
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 650;
}

.doc ul {
  margin: 0;
  padding-left: 1.3em;
}

.doc li + li {
  margin-top: 8px;
}

.doc li::marker {
  color: var(--gold);
}

.doc a {
  overflow-wrap: anywhere;
}

.doc strong {
  font-weight: 650;
}

.note {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
}

.table-scroll {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--bg-alt);
  font-weight: 650;
}

.toc {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.toc b {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 10px 0 0;
  padding-left: 1.3em;
  columns: 2;
  column-gap: 32px;
  font-size: 0.95rem;
}

.toc li + li {
  margin-top: 4px;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--link);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

/* ---------- 404 ---------- */

.not-found {
  min-height: calc(100vh - 72px - 140px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}

.not-found .code {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.not-found h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.not-found p {
  margin-top: 14px;
  color: var(--muted);
}

.not-found .actions {
  justify-content: center;
}
