/* Article pages of the airline-claims hub: a reading page on the hub's tokens (petrol, emerald, white; Work Sans).
   Kept small on purpose (no kit system.css) so a phone on a slow connection paints the text at once. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--p-bg); color: var(--p-ink);
  font: 400 18px/1.65 var(--font-text);
  --line: color-mix(in srgb, var(--p-ink) 14%, transparent);
  --line-strong: color-mix(in srgb, var(--p-ink) 35%, transparent);
}
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--p-action); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

.a-wrap { width: min(100% - 48px, 720px); margin-inline: auto; }
.a-head { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.a-head .a-btn--ghost { color: var(--p-inv-ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); }
.a-head .a-btn--ghost:hover { background: var(--p-inv-surface); }
.a-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.a-logo { display: inline-flex; align-items: center; gap: 10px; font: 400 20px/1 var(--font-display); letter-spacing: var(--display-tracking); text-decoration: none; min-height: 44px; }
.a-mark { width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5'/%3E%3Ccircle cx='17.5' cy='6.5' r='4.5'/%3E%3Ccircle cx='6.5' cy='17.5' r='4.5'/%3E%3Crect x='13' y='13' width='9' height='9' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5'/%3E%3Ccircle cx='17.5' cy='6.5' r='4.5'/%3E%3Ccircle cx='6.5' cy='17.5' r='4.5'/%3E%3Crect x='13' y='13' width='9' height='9' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }

.a-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--p-action); color: var(--p-action-ink); font: 500 16px/1.2 var(--font-text); text-decoration: none; transition: transform .15s, background-color .2s; }
.a-btn:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--p-action) 88%, #000); }
.a-btn:active { transform: translateY(1px); }
.a-btn--ghost { background: transparent; color: var(--p-ink); box-shadow: inset 0 0 0 1px var(--line-strong); min-height: 44px; padding: 0 16px; font-size: 15px; }
.a-btn--ghost:hover { background: var(--p-surface); }

.a-main { padding-block: 32px 64px; }
.a-crumb { font-size: 14px; color: var(--p-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.a-crumb a { color: var(--p-muted); }
.a-body h1 { font: var(--display-weight) clamp(32px, 4.2vw + 14px, 52px)/1.08 var(--font-display); letter-spacing: var(--display-tracking-xl); margin: 16px 0 16px; text-wrap: balance; }
.a-meta { font-size: 14px; line-height: 1.5; color: var(--p-muted); margin: 0 0 32px; }
.a-meta a { color: var(--p-muted); }
.a-lede p { font-size: 20px; line-height: 1.6; }
.a-body h2 { font: var(--display-weight) clamp(24px, 1.2vw + 18px, 32px)/1.2 var(--font-display); letter-spacing: var(--display-tracking); margin: 48px 0 12px; text-wrap: balance; }
.a-body p, .a-body li { max-width: 66ch; }
.a-body p { margin: 0 0 18px; }
.a-body ul { padding-left: 1.2em; margin: 0 0 18px; }
.a-body li { margin-bottom: 8px; }
.a-docs { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.a-docs li { position: relative; padding: 14px 0 14px 36px; margin: 0 !important; border-bottom: 1px solid var(--line); }
.a-docs li::before { content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--p-ink); }

.a-cta { margin: 48px 0 32px; padding: 32px; border-radius: 20px; background: var(--p-inv-bg); color: var(--p-inv-ink); }
.a-cta h2 { margin-top: 0 !important; }
.a-cta a:not(.a-btn) { color: var(--p-inv-ink); text-decoration-color: color-mix(in srgb, var(--p-inv-ink) 50%, transparent); }
.a-cta .a-btn { background: var(--p-inv-action); color: var(--p-inv-action-ink); }
.a-cta .a-btn:hover { background: color-mix(in srgb, var(--p-inv-action) 88%, #000); }
.a-note { font-size: 14px; line-height: 1.55; color: var(--p-muted); font-style: italic; }
.a-author { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 32px; }
.a-author img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: 50% 20%; }
.a-author p { margin: 0; font-size: 15px; line-height: 1.5; }

.a-related { margin-top: 56px; }
.a-related h2 { font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: var(--display-tracking); margin: 0 0 8px; }
.a-related ul { list-style: none; padding: 0; margin: 0; }
.a-related a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; min-height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .2s; }
.a-related a:hover { padding-left: 6px; }
.a-related a span:first-child { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.a-val { color: var(--p-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.a-foot { border-top: 1px solid var(--line); padding-block: 24px 40px; font-size: 14px; color: var(--p-muted); }
.a-foot p { margin: 0 0 8px; }
.a-langs a { display: inline-block; padding-block: 10px; }

@media (max-width: 639px) {
  body { font-size: 17px; }
  .a-wrap { width: calc(100% - 40px); }
  .a-lede p { font-size: 18px; }
  .a-cta { padding: 24px; margin-inline: -4px; }
  .a-cta .a-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
