:root {
  --paper: #F3EEE3;
  --sheet: #FBF8F1;
  --ink: #17150F;
  --rule: #CFC6B4;
  --muted: #6B6558;
  --pen: #1F3FA6;
  --stamp: #0B6B4F;
  --tt: 0 8px, 2.5% 0, 5% 8px, 7.5% 0, 10% 8px, 12.5% 0, 15% 8px, 17.5% 0, 20% 8px, 22.5% 0, 25% 8px, 27.5% 0, 30% 8px, 32.5% 0, 35% 8px, 37.5% 0, 40% 8px, 42.5% 0, 45% 8px, 47.5% 0, 50% 8px, 52.5% 0, 55% 8px, 57.5% 0, 60% 8px, 62.5% 0, 65% 8px, 67.5% 0, 70% 8px, 72.5% 0, 75% 8px, 77.5% 0, 80% 8px, 82.5% 0, 85% 8px, 87.5% 0, 90% 8px, 92.5% 0, 95% 8px, 97.5% 0, 100% 8px;
  --tb: 100% calc(100% - 8px), 97.5% 100%, 95% calc(100% - 8px), 92.5% 100%, 90% calc(100% - 8px), 87.5% 100%, 85% calc(100% - 8px), 82.5% 100%, 80% calc(100% - 8px), 77.5% 100%, 75% calc(100% - 8px), 72.5% 100%, 70% calc(100% - 8px), 67.5% 100%, 65% calc(100% - 8px), 62.5% 100%, 60% calc(100% - 8px), 57.5% 100%, 55% calc(100% - 8px), 52.5% 100%, 50% calc(100% - 8px), 47.5% 100%, 45% calc(100% - 8px), 42.5% 100%, 40% calc(100% - 8px), 37.5% 100%, 35% calc(100% - 8px), 32.5% 100%, 30% calc(100% - 8px), 27.5% 100%, 25% calc(100% - 8px), 22.5% 100%, 20% calc(100% - 8px), 17.5% 100%, 15% calc(100% - 8px), 12.5% 100%, 10% calc(100% - 8px), 7.5% 100%, 5% calc(100% - 8px), 2.5% 100%, 0 calc(100% - 8px);
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .08 0 0 0 0 .06 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 719px) {
  body { padding-bottom: 92px; }
}

h1, h2, h3 {
  margin: 0;
  font-family: "Amiri", serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.7rem); line-height: 1.28; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

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

.print {
  font-family: "Amiri", serif;
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 6px;
  font: 500 1.08rem/1.3 "IBM Plex Sans Arabic", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { background: var(--stamp); color: var(--sheet); }
.btn-primary:hover { background: color-mix(in srgb, var(--stamp) 86%, var(--ink)); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover { text-decoration-thickness: 2px; }

.text-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 500 1.05rem/1.3 "IBM Plex Sans Arabic", sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.text-btn:disabled {
  color: var(--muted);
  text-decoration-style: dotted;
  cursor: default;
}

/* Top line */

.topline { border-bottom: 1px solid var(--ink); }

.topline-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 60px;
  padding-block: 10px;
}

.brand { display: inline-flex; align-items: baseline; gap: 12px; }
.brand strong { font-family: "Amiri", serif; font-weight: 700; font-size: 1.5rem; line-height: 1; }
.brand small { font-size: 0.92rem; color: var(--muted); }

.topline-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.9rem;
}

/* Hero */

.hero { padding-block: clamp(44px, 7vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 26px; }

.lede {
  max-width: 34em;
  margin-bottom: 34px;
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.sheet {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 28px clamp(18px, 3vw, 36px) 0;
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 0 26px 36px -30px rgba(23, 21, 15, 0.5);
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--rule);
  pointer-events: none;
}

.sheet > * { position: relative; }

.sheet-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  text-align: center;
}

.sheet-title { font-size: 1.75rem; }

.case-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.tick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 1.12rem/1.4 "Amiri", serif;
  cursor: pointer;
}

.box {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--ink);
  background: var(--sheet);
}

.tick-mark {
  position: absolute;
  top: -10px;
  inset-inline-start: -7px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--pen);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: rotate(-4deg);
}

.tick[aria-checked="true"] .tick-mark { opacity: 1; }

.form {
  display: grid;
  gap: 6px;
  padding-block: 10px 0;
}

.field {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  padding-block: 10px 0;
}

.val-line {
  display: block;
  min-height: 2.9rem;
  padding-inline-start: 4px;
  border-bottom: 1px dotted var(--ink);
}

.val {
  display: inline-block;
  padding-top: 0.2em;
  font-family: "Aref Ruqaa", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--pen);
  transform: translateY(-0.3em) rotate(-1deg);
  transform-origin: 100% 100%;
}

.val.write {
  animation: write-in 420ms ease-out both;
  animation-delay: var(--d, 0ms);
}

@keyframes write-in {
  from { clip-path: inset(-40% 0 -40% 100%); }
  to { clip-path: inset(-40% 0 -40% 0); }
}

.sheet-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-bottom: 150px;
}

.sign {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.sig-line {
  flex: 1;
  height: 1.8rem;
  border-bottom: 1px dotted var(--ink);
}

.sheet .stamp {
  position: absolute;
  inset-inline-end: 18px;
  bottom: 8px;
  width: 132px;
  height: 132px;
  transform: rotate(-12deg);
  opacity: 0.85;
  pointer-events: none;
}

/* Stamp */

.stamp {
  display: block;
  width: 150px;
  height: 150px;
  overflow: visible;
  color: var(--stamp);
  fill: currentColor;
}

.stamp.is-hit { animation: stamp-in 220ms ease-out both; }

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-12deg) scale(1.25); }
  to { opacity: 0.85; transform: rotate(-12deg) scale(1); }
}

.stamp-outline { color: var(--sheet); fill: none; }

/* Route */

.route { padding-block: clamp(64px, 9vw, 120px); }

.route h2 { margin-bottom: 14px; }

.route-sub {
  margin-bottom: 22px;
  font-size: 1.15rem;
}

.route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-bottom: 52px;
}

.tab-btn {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 1.05rem/1.3 "IBM Plex Sans Arabic", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.tab-btn[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
}

.route-board { position: relative; }

.route-svg {
  position: absolute;
  top: 0;
  pointer-events: none;
  overflow: visible;
}

.route-h {
  inset-inline: 0;
  width: 100%;
  height: 16px;
}

.route-v {
  display: none;
  inset-inline-start: 0;
  width: 40px;
  height: 100%;
}

.route-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 7 6;
}

.js .draw-mask { stroke-dashoffset: 1; }

.route.is-drawing .draw-mask { animation: draw-route 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

@keyframes draw-route {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
}

.step {
  position: relative;
  padding-inline: 10px;
  text-align: center;
}

.station {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  position: relative;
}

.num {
  display: block;
  margin-bottom: 8px;
  font-family: "Amiri", serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 2rem + 1.4vw, 3.5rem);
  line-height: 1;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.step p {
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 959px) {
  .route-h { display: none; }

  .route-v { display: block; }

  .steps { grid-template-columns: minmax(0, 1fr); }

  .step {
    padding: 0 0 34px 0;
    padding-inline-start: 56px;
    text-align: start;
  }

  .station {
    position: absolute;
    top: 6px;
    inset-inline-start: 12px;
    margin: 0;
  }
}

/* Receipt */

.receipt-sec { padding-block: clamp(64px, 9vw, 120px); }

.receipt-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.receipt-copy p {
  max-width: 34em;
  margin-top: 18px;
  font-size: 1.12rem;
}

.receipt-side {
  display: grid;
  justify-items: start;
  gap: 22px;
  width: 100%;
  max-width: 360px;
}

.receipt-wrap {
  width: 100%;
  padding: 1px;
  background: var(--ink);
  clip-path: polygon(var(--tt), var(--tb));
}

.receipt {
  margin: 0;
  padding: 22px 24px 30px;
  background: var(--sheet);
  clip-path: polygon(var(--tt), var(--tb));
  font-variant-numeric: tabular-nums;
}

.rc-title {
  font-size: 1.9rem;
  line-height: 1.1;
}

.rc-case {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--muted);
}

.rc-dash {
  margin-block: 16px;
  border-top: 1px dashed var(--ink);
}

.rc-group { display: grid; gap: 6px; }

.rc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.rc-h {
  font-size: 1.2rem;
}

.rc-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.rc-val {
  flex: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.rc-list { display: grid; gap: 10px; }

.rc-item { display: grid; gap: 2px; }

.rc-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.98rem;
}

.rc-line > span:first-child {
  flex: 1;
  min-width: 0;
  border-bottom: 1px dotted var(--muted);
  padding-bottom: 2px;
}

.rc-fee { flex: none; font-weight: 500; }

.rc-inc {
  font-size: 0.86rem;
  color: var(--muted);
}

.rc-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.rc-total-label {
  font-family: "Amiri", serif;
  font-weight: 700;
  font-size: 1.35rem;
}

.rc-pen {
  font-family: "Aref Ruqaa", serif;
  font-size: 1.3rem;
  color: var(--pen);
  transform: rotate(-2deg);
  display: inline-block;
}

@media (min-width: 960px) {
  .receipt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 80px; }
  .receipt-side { justify-self: end; }
}

/* Folders */

.folders { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 80px); }

.folders-head h2 { margin-bottom: 0; }

.folder-nav {
  display: flex;
  gap: 28px;
  margin-top: 22px;
}

.folder-track {
  --gap: 22px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-block: 46px 30px;
  padding-inline-start: max(20px, calc((100% - 1180px) / 2 + 20px));
  scrollbar-width: none;
  cursor: grab;
}

.folder-track::-webkit-scrollbar { display: none; }

.folder-track.is-drag {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.folder {
  --folder: #E6D6AC;
  position: relative;
  flex: 0 0 min(282px, 78vw);
  height: 230px;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 22px 22px;
  background: var(--folder);
  border: 1px solid var(--ink);
  user-select: none;
}

.tab {
  position: absolute;
  top: -39px;
  inset-inline-start: -1px;
  padding: 1px;
  background: var(--ink);
  clip-path: polygon(100% 100%, 100% 0, 16px 0, 0 100%);
}

.tab > span {
  display: block;
  padding: 0 24px 0 30px;
  height: 38px;
  line-height: 38px;
  background: var(--folder);
  clip-path: polygon(100% 100%, 100% 0, 15px 0, 0 100%);
  font-size: 1.22rem;
  white-space: nowrap;
}

.folder-text {
  font-size: 1.02rem;
  line-height: 1.8;
}

.folder a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Founder */

.founder { padding-block: clamp(64px, 9vw, 120px); }

.founder-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.founder-figure {
  position: relative;
  width: min(200px, 60%);
  margin-block-start: 18px;
  margin-inline-start: 18px;
}

.founder-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: 6px;
  background: var(--sheet);
  border: 1px solid var(--ink);
  transform: rotate(-2deg);
}

.clip {
  position: absolute;
  top: -22px;
  inset-inline-end: -14px;
  width: 30px;
  height: 80px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  transform: rotate(8deg);
}

.founder-text { display: grid; gap: 18px; }

.founder-text p { max-width: 36em; font-size: 1.12rem; }

.companies { font-family: "Amiri", serif; font-size: 1.2rem; }

@media (min-width: 960px) {
  .founder-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; }
}

/* Questions */

.faq { padding-block: clamp(64px, 9vw, 120px); }

.faq h2 { margin-bottom: 36px; }

.qa-grid { display: grid; }

.qa {
  padding-block: 26px;
  border-top: 1px solid var(--rule);
}

.q {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: start;
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.4;
}

.a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: start;
  font-size: 1.02rem;
  line-height: 1.85;
}

.mark {
  font-family: "Amiri", serif;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
}

.mark-s { color: var(--stamp); }
.mark-j { color: var(--ink); }

@media (min-width: 960px) {
  .qa-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 64px;
  }
}

/* Closing band */

.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--sheet);
}

.band-in {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px) clamp(64px, 8vw, 104px);
}

.band-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.band h2 {
  margin-bottom: 30px;
  color: var(--sheet);
  font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem);
}

.band .text-link { color: var(--sheet); }

.band .btn-primary { background: var(--sheet); color: var(--ink); }
.band .btn-primary:hover { background: color-mix(in srgb, var(--sheet) 90%, var(--ink)); }

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

.band-stamp {
  position: absolute;
  width: 340px;
  height: 340px;
  inset-inline-end: -90px;
  bottom: -150px;
  transform: rotate(-12deg);
  opacity: 0.9;
  pointer-events: none;
}

.band-foot {
  position: relative;
  padding-block: 20px;
  border-top: 1px solid color-mix(in srgb, var(--sheet) 28%, var(--ink));
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--sheet) 82%, var(--ink));
}

/* Mobile action bar */

.mobile-bar { display: none; }

@media (max-width: 719px) {
  .mobile-bar {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 10;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--ink);
  }

  .mobile-bar .btn { width: 100%; }
}

/* Breakpoints */

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }

  .sheet { transform: rotate(-1.2deg); }
}

@media (max-width: 959px) {
  .sheet { transform: none; }
}

@media (max-width: 719px) {
  .sheet { padding-bottom: 0; }

  .sheet-foot { padding-bottom: 128px; }

  .sheet .stamp { width: 110px; height: 110px; bottom: 6px; inset-inline-end: 12px; }

  .field { grid-template-columns: 5.8rem minmax(0, 1fr); gap: 10px; }

  .val { font-size: 1.4rem; }

  .band-stamp { width: 260px; height: 260px; inset-inline-end: -70px; bottom: -120px; }
}

@media (prefers-reduced-motion: reduce) {
  .val.write { animation: none; }
  .stamp.is-hit { animation: none; }
  .route.is-drawing .draw-mask { animation: none; }
  .js .draw-mask { stroke-dashoffset: 0; }
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .folder-track { scroll-behavior: auto; }
}

/* WordPress templates */

.archive,
.article { padding-block: clamp(56px, 8vw, 104px); }

.archive-head { margin-block-end: 40px; }

.archive-title,
.article-title { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); }

.archive-description { margin-block-start: 14px; max-width: 60ch; }

.post-row {
  padding-block: 28px;
  border-block-start: 1px solid var(--rule);
}

.post-list .post-row:last-child { border-block-end: 1px solid var(--rule); }

.post-title { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); line-height: 1.3; }

.post-title a { text-decoration: none; }
.post-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.post-meta { margin-block-start: 6px; font-size: 0.88rem; }

.post-excerpt {
  margin-block-start: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pagination { margin-block-start: 40px; }

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.pagination .page-numbers { text-decoration: underline; text-underline-offset: 4px; }
.pagination .page-numbers.current { text-decoration: none; color: var(--muted); }
.pagination .page-numbers.dots { text-decoration: none; }

.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.article { max-width: 68ch; margin-inline: auto; }

.article-head { margin-block-end: 40px; }
.article-head .post-meta { margin-block-start: 14px; }

.article-body { line-height: 1.95; }
.article-body > * + * { margin-block-start: 1.1em; }

.article-body h2 { margin-block: 1.8em 0.5em; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); }
.article-body h3 { margin-block: 1.5em 0.4em; font-size: 1.45rem; }

.article-body a { text-decoration: underline; text-underline-offset: 4px; }

.article-body ol { list-style: decimal; padding-inline-start: 1.6em; }
.article-body ul { list-style: disc; padding-inline-start: 1.4em; }
.article-body li + li { margin-block-start: 0.4em; }

.article-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.article-body th,
.article-body td {
  padding: 10px 12px;
  border-block-end: 1px solid var(--rule);
  text-align: start;
  vertical-align: top;
}
.article-body th { font-weight: 500; border-block-end-color: var(--ink); }

.article-body img { max-width: 100%; height: auto; }

.not-found .article-title { margin-block-end: 18px; }

.topline a.brand { text-decoration: none; }

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-block-start: 12px;
}

.footer-menu a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 719px) {
  .horizon-inner { padding-bottom: 0; }
}
