/* =========================================================================
   خدمات جهان — Design System
   A hand-written component layer so the core UI renders instantly (the
   Tailwind CDN build applies only after JS runs). Tailwind utilities are
   still used for one-off layout; anything repeated lives here as a class.
   All spacing/positioning uses logical properties so RTL is native.
   ========================================================================= */

:root {
  /* Brand — petrol teal: technical, trustworthy, distinct from stock blue */
  --brand-50:  #ecfdfb;
  --brand-100: #d0f7f2;
  --brand-200: #a5eee8;
  --brand-300: #6bdfd8;
  --brand-400: #32c7c3;
  --brand-500: #12a5a5;
  --brand-600: #0a8489;
  --brand-700: #0b696e;
  --brand-800: #0e5459;
  --brand-900: #10464a;
  --brand-950: #032b2f;

  /* Accent — warm amber for energy, ratings, highlights */
  --accent-300: #fcd34d;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  /* Ink — deep navy neutrals (warmer than stock slate) */
  --ink-950: #060d18;
  --ink-900: #0a1424;
  --ink-800: #101e33;
  --ink-700: #1b2c45;
  --ink-600: #33455f;
  --ink-500: #566880;
  --ink-400: #8394a9;
  --ink-300: #b3c0d0;
  --ink-200: #d9e1ea;
  --ink-100: #eaeff5;
  --ink-50:  #f5f8fb;

  --surface: #ffffff;
  --surface-sunken: #f4f7fa;

  --danger: #e11d48;
  --success: #059669;

  /* Elevation — layered + subtly brand-tinted, never a flat grey blur */
  --shadow-xs:   0 1px 2px rgba(10, 20, 36, .05);
  --shadow-sm:   0 1px 2px rgba(10, 20, 36, .04), 0 2px 8px -2px rgba(10, 20, 36, .06);
  --shadow-md:   0 2px 4px rgba(10, 20, 36, .04), 0 8px 20px -6px rgba(10, 20, 36, .10);
  --shadow-lg:   0 4px 8px rgba(10, 20, 36, .04), 0 18px 40px -12px rgba(10, 20, 36, .16);
  --shadow-xl:   0 8px 16px rgba(10, 20, 36, .06), 0 32px 64px -16px rgba(10, 20, 36, .22);
  --shadow-brand: 0 6px 16px -4px rgba(10, 132, 137, .32);
  --shadow-accent: 0 6px 16px -4px rgba(217, 119, 6, .32);

  --radius-sm: .625rem;
  --radius:    .875rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out-back: cubic-bezier(.34, 1.4, .64, 1);
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'SiteFont', 'Vazirmatn', Tahoma, sans-serif;
  background: var(--surface-sunken);
  color: var(--ink-700);
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { min-width: 0; }
table { max-width: 100%; }
img, svg { max-width: 100%; height: auto; }
summary { overflow-wrap: break-word; word-break: break-word; }
::selection { background: var(--brand-500); color: #fff; }

input:focus, textarea:focus, select:focus { outline: none; }

/* Visible, on-brand focus ring for keyboard users only */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Persian numerals sit better with slightly looser tracking at large sizes */
[dir="ltr"] { letter-spacing: 0; }

/* ---------- Layout helpers ---------- */

.wrap      { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.wrap-md   { width: 100%; max-width: 60rem; margin-inline: auto; padding-inline: 1rem; }
.wrap-sm   { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: 1rem; }
.section   { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }

.section-sunken { background: var(--surface-sunken); }
.section-plain  { background: var(--surface); }

/* Hairline divider that fades at the edges — softer than a full border */
.rule-fade {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--ink-200) 20%, var(--ink-200) 80%, transparent);
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 800;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: .375rem .75rem;
  border-radius: 999px;
  line-height: 1;
}
.eyebrow svg { width: .875rem; height: .875rem; }

.display {
  font-size: clamp(1.875rem, 1.15rem + 3.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.display-invert { color: #fff; }

.h-section {
  font-size: clamp(1.375rem, 1.1rem + 1.15vw, 2rem);
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink-900);
  letter-spacing: -.005em;
}

.h-card {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.7;
}

.lead {
  font-size: clamp(.95rem, .9rem + .2vw, 1.0625rem);
  line-height: 2.1;
  color: var(--ink-500);
}

.prose-fa { line-height: 2.15; color: var(--ink-600); }
.prose-fa p + p { margin-top: 1rem; }

/* Gradient text for a single emphasised phrase in a heading */
.text-gradient {
  background: linear-gradient(105deg, var(--brand-300), var(--accent-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Pop-in animation (confirm dialog, success/info popups) ---------- */
/* Referenced via Tailwind's animate-[pop_...] arbitrary value; Tailwind only
   auto-generates keyframes for its own built-ins, so a custom name like
   "pop" needs its @keyframes defined by hand or the animation is a no-op. */
@keyframes pop {
  0%   { opacity: 0; transform: scale(.92) translateY(6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

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

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-shadow: var(--shadow-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 800;
  font-size: .9375rem;
  line-height: 1;
  padding: .875rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

.btn-primary:hover { background: var(--brand-500); box-shadow: 0 10px 24px -6px rgba(10, 132, 137, .45); }

.btn-accent {
  --btn-bg: var(--accent-500);
  --btn-shadow: var(--shadow-accent);
  color: #2a1704;
}
.btn-accent:hover { background: var(--accent-400); box-shadow: 0 10px 24px -6px rgba(217, 119, 6, .45); }

.btn-dark { --btn-bg: var(--ink-900); --btn-shadow: var(--shadow-md); }
.btn-dark:hover { background: var(--ink-800); }

/* Destructive confirm actions (delete buttons in the custom confirm dialog) */
.btn-danger { --btn-bg: #dc2626; --btn-shadow: 0 6px 16px -4px rgba(220,38,38,.35); }
.btn-danger:hover { background: #b91c1c; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-700);
  --btn-shadow: none;
  border-color: var(--ink-200);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--ink-300); background: var(--ink-50); box-shadow: var(--shadow-sm); }

/* Translucent button for use on dark/photographic backgrounds */
.btn-glass {
  --btn-bg: rgba(255, 255, 255, .1);
  --btn-fg: #fff;
  --btn-shadow: none;
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }

.btn-sm { padding: .625rem 1.125rem; font-size: .8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 1.0625rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn:disabled, .btn[disabled] {
  opacity: .5; cursor: not-allowed; transform: none; box-shadow: none;
}

/* Inline text link with a chevron that nudges on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-weight: 800;
  font-size: .875rem;
  color: var(--brand-600);
  transition: color .18s var(--ease), gap .18s var(--ease);
}
.link-arrow:hover { color: var(--brand-700); gap: .625rem; }
.link-arrow svg { width: .875rem; height: .875rem; }

/* ---------- Cards & surfaces ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 1.5rem; }
@media (min-width: 768px) { .card-pad { padding: 2rem; } }

/* Interactive card: lifts, tints its border, and warms its shadow on hover */
.card-hover {
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}

.card-flush { overflow: hidden; }

/* Slim highlight strip that grows across the top of a card on hover */
.card-accent { position: relative; overflow: hidden; }
.card-accent::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-400));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s var(--ease);
}
.card-accent:hover::before { transform: scaleX(1); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .6875rem;
  font-weight: 800;
  padding: .3125rem .625rem;
  border-radius: 999px;
  background: var(--ink-50);
  color: var(--ink-600);
  border: 1px solid var(--ink-100);
  line-height: 1.6;
}
.chip svg { width: .75rem; height: .75rem; }
.chip-brand   { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.chip-accent  { background: #fffbeb; color: var(--accent-600); border-color: #fde68a; }
.chip-success { background: #ecfdf5; color: var(--success); border-color: #a7f3d0; }
.chip-danger  { background: #fff1f2; color: var(--danger); border-color: #fecdd3; }

/* Icon tile used at the head of cards and section intros */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
  transition: transform .24s var(--ease-out-back), background-color .24s var(--ease), color .24s var(--ease);
}
.icon-tile-lg { width: 3.75rem; height: 3.75rem; border-radius: var(--radius-lg); }
.icon-tile-dark {
  background: linear-gradient(140deg, var(--ink-800), var(--ink-900));
  color: #fff;
  border-color: rgba(255, 255, 255, .08);
}
.group:hover .icon-tile { transform: scale(1.06) rotate(-3deg); background: var(--brand-600); color: #fff; }
.group:hover .icon-tile-dark { background: linear-gradient(140deg, var(--brand-600), var(--brand-800)); }

/* ---------- Forms ---------- */

.field-label {
  display: block;
  font-size: .8125rem;
  font-weight: 800;
  color: var(--ink-700);
  margin-block-end: .4375rem;
}
.field-hint { font-size: .6875rem; color: var(--ink-400); margin-block-start: .375rem; line-height: 1.8; }

.field {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius);
  padding: .8125rem 1rem;
  font: inherit;
  font-size: .9375rem;
  color: var(--ink-800);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field::placeholder { color: var(--ink-400); }
.field:hover { border-color: var(--ink-300); }
.field:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(18, 165, 165, .12);
}
.field-sm { padding: .625rem .8125rem; font-size: .875rem; border-radius: var(--radius-sm); }

select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238394a9' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1rem;
  padding-inline-start: 1rem;
  padding-inline-end: 2.5rem;
}

textarea.field { line-height: 2; resize: vertical; }

/* Checkbox / radio built from the native control so they stay accessible */
.check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--ink-700);
  cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 1.5px solid var(--ink-300);
  border-radius: .375rem;
  background: var(--surface);
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
  position: relative;
}
.check input[type="radio"] { border-radius: 999px; }
.check input:checked {
  background: var(--brand-600);
  border-color: var(--brand-600);
}
.check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset-block-start: 1px;
  inset-inline-start: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #fff;
}
.check:hover input { border-color: var(--brand-400); }

/* OTP / tracking-code style input */
.field-code {
  text-align: center;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: .5em;
  padding-inline: .5rem;
  text-indent: .5em; /* re-centres text that letter-spacing pushes off-centre */
}

/* ---------- Alerts ---------- */

.alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1.125rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.9;
  border: 1px solid;
}
.alert svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; margin-block-start: .25rem; }
.alert-success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.alert-error   { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.alert-info    { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.alert-warn    { background: #fffbeb; color: #b45309; border-color: #fde68a; }

/* ---------- FAQ ---------- */

.faq {
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq + .faq { margin-block-start: .625rem; }
.faq[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.125rem 1.25rem;
  font-weight: 800;
  font-size: .9375rem;
  color: var(--ink-800);
  cursor: pointer;
  list-style: none;
  line-height: 1.9;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  margin-inline-start: auto;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--ink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566880' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / .875rem no-repeat;
  transition: transform .28s var(--ease), background-color .2s var(--ease);
}
.faq[open] summary::after { transform: rotate(180deg); background-color: var(--brand-100); }
.faq summary:hover { color: var(--brand-700); }
.faq-body {
  padding: 0 1.25rem 1.25rem;
  font-size: .875rem;
  color: var(--ink-500);
  line-height: 2.15;
}

/* ---------- Star rating ---------- */

.star-rating { direction: ltr; display: inline-flex; gap: 2px; }
.star-picker button { transition: transform .16s var(--ease-out-back); }
.star-picker button:hover { transform: scale(1.18); }

/* ---------- Decorative backgrounds ---------- */

/* Dark hero: layered radial brand glows over deep ink + a faint grid */
.hero-dark {
  position: relative;
  background:
    radial-gradient(1100px 520px at 80% -10%, rgba(18, 165, 165, .28), transparent 60%),
    radial-gradient(760px 420px at 8% 8%, rgba(245, 158, 11, .14), transparent 62%),
    linear-gradient(165deg, var(--ink-900) 0%, var(--ink-950) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}

/* Soft brand wash for lighter feature bands */
.band-brand {
  background:
    radial-gradient(680px 320px at 88% 0%, rgba(18, 165, 165, .09), transparent 62%),
    radial-gradient(560px 300px at 4% 100%, rgba(245, 158, 11, .07), transparent 60%),
    var(--surface-sunken);
}

/* ---------- Motion ---------- */

/* Only hide pre-reveal content when JS is actually running (the `js` class is
   set inline in <head>), so a JS failure can never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Scrollbar (desktop only, keeps long tables tidy) ---------- */

@media (pointer: fine) {
  .scroll-x { scrollbar-width: thin; scrollbar-color: var(--ink-300) transparent; }
  .scroll-x::-webkit-scrollbar { height: 8px; }
  .scroll-x::-webkit-scrollbar-track { background: transparent; }
  .scroll-x::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 999px; }
  .scroll-x::-webkit-scrollbar-thumb:hover { background: var(--ink-300); }
}

/* ---------- Data tables ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  background: var(--surface);
}
.table-wrap > table { width: 100%; text-align: right; font-size: .875rem; border-collapse: collapse; }
.table-wrap thead { background: var(--ink-50); }
.table-wrap th {
  padding: .875rem 1rem;
  font-size: .75rem;
  font-weight: 800;
  color: var(--ink-500);
  white-space: nowrap;
}
.table-wrap td { padding: .875rem 1rem; border-block-start: 1px solid var(--ink-100); vertical-align: top; }
.table-wrap tbody tr { transition: background-color .15s var(--ease); }
.table-wrap tbody tr:hover { background: var(--ink-50); }

/* ---------- Rendered article / markdown content ---------- */

.article-content { color: var(--ink-600); line-height: 2.15; }
.article-content > * + * { margin-top: 1.125rem; }
.article-content h2 { font-size: 1.375rem; font-weight: 800; color: var(--ink-900); margin-top: 2.5rem; line-height: 1.7; }
.article-content h3 { font-size: 1.125rem; font-weight: 800; color: var(--ink-900); margin-top: 1.75rem; line-height: 1.7; }
.article-content h4 { font-size: 1rem; font-weight: 800; color: var(--ink-900); margin-top: 1.375rem; }
.article-content p { color: var(--ink-600); }
.article-content a { color: var(--brand-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--brand-700); }
.article-content strong { color: var(--ink-800); font-weight: 800; }
.article-content ul, .article-content ol { padding-inline-start: 1.5rem; color: var(--ink-600); }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li + li { margin-top: .4rem; }
.article-content li::marker { color: var(--brand-500); }
.article-content hr { border: none; border-top: 1px solid var(--ink-100); margin: 2rem 0; }
.article-content blockquote {
  border-inline-start: 3px solid var(--brand-500);
  background: var(--brand-50);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  color: var(--ink-700);
}
.article-content blockquote cite { display: block; margin-top: .5rem; font-size: .8rem; color: var(--ink-400); font-style: normal; }
.article-content .article-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ink-100); }
.article-content .article-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .875rem; }
.article-content .article-table th,
.article-content .article-table td { border: 1px solid var(--ink-100); padding: .7rem .875rem; text-align: right; }
.article-content .article-table th { background: var(--ink-50); font-weight: 800; color: var(--ink-700); }
.article-content pre {
  background: var(--ink-900); color: var(--ink-100); padding: 1.125rem; border-radius: var(--radius);
  overflow-x: auto; direction: ltr; text-align: left; font-size: .85rem; line-height: 1.8;
}
.article-content code { font-size: .875em; }
.article-content .article-warning {
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  padding: 1rem 1.125rem; border-radius: var(--radius); line-height: 2;
}
.article-content .article-figure { margin: 0; }
.article-content .article-figure img { width: 100%; border-radius: var(--radius-lg); }
.article-content .article-figure figcaption { text-align: center; font-size: .8rem; color: var(--ink-400); margin-top: .625rem; }
.article-content .article-checklist { list-style: none; padding: 0; }
.article-content .article-checklist li { position: relative; padding-inline-start: 1.875rem; }
.article-content .article-checklist li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: .55rem;
  width: 1.125rem; height: 1.125rem; border: 1.5px solid var(--ink-300); border-radius: .375rem;
}
.article-content .article-checklist li.is-checked::before {
  background: var(--brand-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7'/%3E%3C/svg%3E") center / .75rem no-repeat;
  border-color: var(--brand-600);
}

/* ---------- Print ---------- */

@media print {
  .no-print, header, footer { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border-color: #ddd; }
}
