/* ANCCONNECT Subtitles. Brand: --anc-* variables; Courier New; WCAG 2.2 AA contrast. */

:root {
  --anc-primary: #0B3C33;
  --anc-primary-dark: #072821;
  --anc-white: #FFFFFF;
  --anc-accent: #4DC1A1;        /* Decoration and text on --anc-primary only (5.5:1). Not for text on light. */
  --anc-text: #263238;
  --anc-muted: #4A5A61;         /* 6.6:1 on --anc-bg */
  --anc-border: #C0C7CC;        /* Dividers and card edges (decorative). Inputs use --anc-text. */
  --anc-bg: #F3F6F5;
  --anc-success-bg: #E3F4EE;
  --anc-tint: #E3F4EE;          /* Emoji tiles: mint, lightened. */
  --anc-tint-edge: #BFE5D8;
  --anc-danger: #A4161A;
  --anc-danger-bg: #FDECEC;
  --anc-warning-bg: #FFF4DB;
  --anc-warning-edge: #7A5200;
  --anc-chart: #1A8D6F;         /* Chart bars: brand green mid-step, 4:1 on white (checked for charts). */
  --anc-font: "Courier New", Courier, "Liberation Mono", "Noto Sans Mono", monospace;
  --anc-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
  --anc-radius: 6px;
  --anc-gutter: 16px;
  --anc-shadow: 0 1px 2px rgba(11, 60, 51, 0.08), 0 4px 16px rgba(11, 60, 51, 0.06);
}

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--anc-bg);
  color: var(--anc-text);
  font-family: var(--anc-font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; padding-bottom: 48px; }
main:focus { outline: none; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; color: var(--anc-primary); }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); letter-spacing: -0.02em; }
h2 { font-size: 1.35rem; margin-top: 1.6em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

a { color: var(--anc-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--anc-gutter); }
.narrow { max-width: 720px; }
.page { padding-top: 32px; }
.muted { color: var(--anc-muted); }
.fine-print { color: var(--anc-muted); font-size: 0.875rem; margin-top: 0.75em; }
.break-words { overflow-wrap: anywhere; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--anc-gutter); top: -100px; z-index: 10;
  background: var(--anc-white); color: var(--anc-primary); padding: 10px 14px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* Header */
.site-header { background: var(--anc-primary); color: var(--anc-white); }
.site-header :focus-visible { outline-color: var(--anc-accent); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--anc-white); text-decoration: none; }
.brand-logo { height: 36px; width: auto; display: block; align-self: center; }
.brand-company { font-weight: 700; letter-spacing: 0.04em; }
.brand-product { color: var(--anc-accent); font-weight: 700; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.site-nav a, .site-nav .link-button { color: var(--anc-white); text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover, .site-nav .link-button:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--anc-accent); text-decoration-thickness: 3px; }
.site-nav .nav-cta { background: var(--anc-accent); color: var(--anc-primary); font-weight: 700; padding: 10px 14px; border-radius: var(--anc-radius); }
.inline-form { display: inline; margin: 0; }

/* Footer */
.site-footer { background: var(--anc-primary); color: var(--anc-white); padding: 28px 0; font-size: 0.9rem; }
.site-footer a { color: var(--anc-white); }
.site-footer :focus-visible { outline-color: var(--anc-accent); }
.footer-row { display: grid; gap: 16px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-company { font-weight: 700; margin: 0; letter-spacing: 0.04em; }
.footer-tagline { color: var(--anc-accent); margin: 0; }
.footer-copy { margin: 0; color: var(--anc-border); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: var(--anc-radius);
  border: 2px solid var(--anc-primary); font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; text-align: center;
}
.button-primary { background: var(--anc-primary); color: var(--anc-white); }
.button-primary:hover { background: var(--anc-primary-dark); border-color: var(--anc-primary-dark); }
.button-secondary { background: var(--anc-white); color: var(--anc-primary); }
.button-secondary:hover { background: var(--anc-success-bg); }
.button-danger { background: var(--anc-danger); border-color: var(--anc-danger); color: var(--anc-white); }
.button-danger:hover { background: #82110F; border-color: #82110F; }
.button-small { min-height: 40px; padding: 6px 14px; font-size: 0.9rem; }
.button-block { width: 100%; }
.button[disabled], .button[aria-busy="true"] { opacity: 0.7; cursor: progress; }
form + form, form + .fine-print { margin-top: 10px; }

.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--anc-primary);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px;
}
.link-danger { color: var(--anc-danger); }

/* Hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--anc-muted); margin-bottom: 0.5em; }
.lead { font-size: 1.05rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.screen { margin: 0; }
.screen-frame {
  position: relative;
  background: var(--anc-primary); color: var(--anc-white); border-radius: 10px;
  padding: 44px 22px 52px; box-shadow: var(--anc-shadow); border: 6px solid var(--anc-text);
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.cue-time { color: var(--anc-accent); font-size: 0.8rem; margin: 10px 0 2px; }
.cue { margin: 0; text-align: center; }
.cue-source { color: var(--anc-border); font-size: 0.9rem; }
.cue-target { color: var(--anc-white); font-weight: 700; font-size: 1.1rem; }
.screen figcaption { color: var(--anc-muted); font-size: 0.85rem; margin-top: 8px; text-align: center; }

/* Sections */
.section { padding: 40px 0; }
.section-alt { background: var(--anc-white); border-top: 1px solid var(--anc-border); border-bottom: 1px solid var(--anc-border); }
.section-intro { color: var(--anc-muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius); padding: 20px; }
.step-number {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--anc-primary); color: var(--anc-white); font-weight: 700; margin-bottom: 10px;
}
details { background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius); padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; }
details p { margin-top: 0; }

/* Plans */
.plan-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan-card {
  background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius);
  padding: 22px; display: flex; flex-direction: column; gap: 4px;
}
.plan-card .button, .plan-card form { margin-top: auto; }
.plan-card form + form { margin-top: 10px; }
.plan-card-featured, .plan-card-current { border: 2px solid var(--anc-primary); box-shadow: var(--anc-shadow); }
.plan-price { font-size: 1.8rem; font-weight: 700; color: var(--anc-primary); margin: 0 0 8px; }
.plan-price span { font-size: 0.95rem; font-weight: 400; color: var(--anc-muted); }
.plan-features { list-style: none; padding: 0; margin: 0 0 18px; }
.plan-features li { padding: 6px 0; border-bottom: 1px dashed var(--anc-border); }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; background: var(--anc-success-bg);
  color: var(--anc-primary); border: 1px solid var(--anc-primary); border-radius: 999px; padding: 1px 8px; vertical-align: middle;
}
.plan-status { display: grid; gap: 12px 32px; }
.plan-status-name { font-size: 1.6rem; font-weight: 700; color: var(--anc-primary); margin: 0 0 4px; }

/* Cards and forms */
.card {
  background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius);
  padding: 22px; margin: 0 0 20px;
}
.card h2:first-child, .card h1:first-child { margin-top: 0; }
.card-accent { border-left: 6px solid var(--anc-accent); }
.card-danger { border-left: 6px solid var(--anc-danger); }
.two-col { display: grid; gap: 0 20px; }
.auth { padding-top: 32px; max-width: 480px; }
.auth-switch { text-align: center; margin: 14px 0 0; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem;
  color: var(--anc-text); background: var(--anc-white);
  border: 1px solid var(--anc-text); border-radius: var(--anc-radius);
}
.field input[type="file"] { padding: 9px 10px; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--anc-primary); }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }
.field-help { color: var(--anc-muted); font-size: 0.875rem; margin: 6px 0 0; }
.field-error { color: var(--anc-danger); font-weight: 700; font-size: 0.9rem; margin: 6px 0 0; }
.has-error input:not([type="checkbox"]), .has-error select { border: 2px solid var(--anc-danger); }
.form-errors { background: var(--anc-danger-bg); color: var(--anc-danger); border-left: 4px solid var(--anc-danger); padding: 10px 14px; margin-bottom: 18px; border-radius: 4px; }
.form-errors p { margin: 0; font-weight: 700; }

/* Messages */
.messages { list-style: none; padding: 0; margin: 20px 0 0; }
.message { padding: 12px 16px; border-radius: var(--anc-radius); margin-bottom: 8px; border-left: 4px solid var(--anc-primary); background: var(--anc-white); }
.message-success { background: var(--anc-success-bg); }
.message-error { background: var(--anc-danger-bg); border-left-color: var(--anc-danger); color: var(--anc-danger); font-weight: 700; }
.message-warning { background: var(--anc-warning-bg); border-left-color: #7A5200; }

/* Dashboard, jobs */
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 24px; }
.usage-line { margin: 0 0 20px; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 20px; }
.details dt { color: var(--anc-muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.job-status { font-size: 1.15rem; font-weight: 700; }
.job-card > .tile { margin-bottom: 12px; }
.pause-note { margin: 12px 0 16px; }
.job-failed { color: var(--anc-danger); }
progress, meter { width: 100%; height: 18px; accent-color: var(--anc-primary); }
.delete-form { margin-top: 8px; }

.status { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.85rem; border: 1px solid currentColor; white-space: nowrap; }
.status-done, .status-successful { color: var(--anc-primary); background: var(--anc-success-bg); }
.status-failed, .status-cancelled { color: var(--anc-danger); background: var(--anc-danger-bg); }
.status-queued, .status-running, .status-pending, .status-awaiting, .status-review { color: var(--anc-text); background: var(--anc-warning-bg); }

/* Bank transfer */
.reference { font-weight: 700; letter-spacing: 0.08em; color: var(--anc-primary); overflow-wrap: anywhere; }
.reference-large { font-size: 1.5rem; }
.copy-button { margin-left: 8px; vertical-align: middle; }
.transfer-steps { padding-left: 1.4em; margin: 20px 0; }
.transfer-steps > li { margin-bottom: 22px; padding-left: 4px; }
.transfer-steps > li::marker { font-weight: 700; color: var(--anc-primary); }
.transfer-account { margin-bottom: 0; }

.word-list { list-style: none; padding: 0; margin: 0; }
.word-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 0; border-bottom: 1px solid var(--anc-border); }
.word-list .inline-form { margin-left: auto; }

/* Tables: rows become cards on small screens. */
.table-wrap { width: 100%; }
.table { width: 100%; border-collapse: collapse; background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius); }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--anc-border); vertical-align: middle; }
.table th { color: var(--anc-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.table td a { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--anc-border); padding: 8px 0; }
  .table td { border: 0; padding: 4px 12px; }
  .table td[data-label]:not([data-label=""])::before { content: attr(data-label) ": "; color: var(--anc-muted); }
}

@media (min-width: 760px) {
  .hero { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .plan-status { grid-template-columns: 1fr 1fr; }
  .footer-row { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.legal h2 { font-size: 1.15rem; }
.legal li { margin-bottom: 6px; }

/* Staff dashboard */
.kpi-grid { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius); padding: 14px 16px; }
.kpi-attention, .card-attention { border-left: 6px solid var(--anc-warning-edge); }
.kpi-label { margin: 0; color: var(--anc-muted); font-size: 0.85rem; }
.kpi-value { margin: 4px 0 0; color: var(--anc-text); font-size: 1.6rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.kpi-note { margin: 4px 0 0; color: var(--anc-muted); font-size: 0.85rem; }

/* Bar charts: one bar per day, heights from the bar-h-* classes (no inline styles: see the CSP). */
.chart-title { margin-top: 0; font-size: 1.1rem; }
.chart-sub { margin: 0; color: var(--anc-muted); font-size: 0.85rem; }
.chart-area { position: relative; height: 140px; margin-top: 28px; padding-left: 32px; }
.chart-lines { position: absolute; inset: 0; pointer-events: none; }
.chart-line { position: absolute; left: 0; right: 0; height: 1px; background: var(--anc-border); }
.chart-line-top { top: 0; }
.chart-line-middle { top: 50%; }
.chart-line-base { bottom: 0; }
.chart-tick { position: absolute; left: 0; top: -0.6em; padding-right: 4px; background: var(--anc-white); color: var(--anc-muted); font-size: 0.75rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.chart-cols, .chart-x { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.chart-cols { position: relative; height: 100%; }
.chart-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; border-radius: 4px; }
.chart-col:focus-visible { outline: 2px solid var(--anc-text); outline-offset: 2px; }
.chart-bar { flex-shrink: 0; width: 60%; max-width: 24px; border-radius: 4px 4px 0 0; background: var(--anc-chart); }
.chart-col:hover .chart-bar, .chart-col:focus .chart-bar { filter: brightness(1.25); }
.chart-value { margin-bottom: 2px; color: var(--anc-text); font-size: 0.75rem; line-height: 1; }
.chart-x { margin-top: 4px; padding-left: 32px; color: var(--anc-muted); font-size: 0.75rem; text-align: center; font-variant-numeric: tabular-nums; }
.chart-tip { position: absolute; top: -28px; left: 0; z-index: 1; margin: 0; padding: 3px 8px; border-radius: 4px; background: var(--anc-text); color: var(--anc-white); font-size: 0.85rem; white-space: nowrap; pointer-events: none; }
.chart-table { margin: 8px 0 0; padding: 0; border: 0; background: none; }
.chart-table summary { color: var(--anc-primary); font-size: 0.9rem; padding: 10px 0; }
.bar-h-0 { height: 0; } .bar-h-5 { height: 5%; } .bar-h-10 { height: 10%; } .bar-h-15 { height: 15%; } .bar-h-20 { height: 20%; }
.bar-h-25 { height: 25%; } .bar-h-30 { height: 30%; } .bar-h-35 { height: 35%; } .bar-h-40 { height: 40%; } .bar-h-45 { height: 45%; }
.bar-h-50 { height: 50%; } .bar-h-55 { height: 55%; } .bar-h-60 { height: 60%; } .bar-h-65 { height: 65%; } .bar-h-70 { height: 70%; }
.bar-h-75 { height: 75%; } .bar-h-80 { height: 80%; } .bar-h-85 { height: 85%; } .bar-h-90 { height: 90%; } .bar-h-95 { height: 95%; }
.bar-h-100 { height: 100%; }

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

/* Emoji as icons: always beside words that say the same thing, and hidden from screen readers (aria-hidden). */
.emoji, .tile { font-family: var(--anc-emoji); font-style: normal; font-weight: 400; line-height: 1; }
.tile {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem;
  background: var(--anc-tint); border: 1px solid var(--anc-tint-edge);
}
.tile-small { width: 36px; height: 36px; border-radius: 10px; font-size: 1.15rem; }
.tile-large { width: 72px; height: 72px; border-radius: 20px; font-size: 2.25rem; margin-bottom: 12px; }
summary .emoji, .status .emoji { margin-right: 2px; }
.card-title { display: flex; align-items: center; gap: 12px; }
.empty { display: flex; align-items: center; gap: 12px; color: var(--anc-muted); margin: 0 0 1em; }

/* Home: language chip, the film screen's player bar, benefits, steps, plans, closing call */
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 4px 12px;
  background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: 999px;
  color: var(--anc-primary); font-size: 0.9rem; font-weight: 700;
}
.screen-chip {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border: 1px solid var(--anc-accent); border-radius: 999px;
  color: var(--anc-white); font-size: 0.8rem; font-weight: 700;
}
.screen-bar { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; }
.screen-play { width: 0; height: 0; border-left: 11px solid var(--anc-white); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.screen-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.screen-track::before { content: ""; display: block; width: 11%; height: 100%; background: var(--anc-accent); }
.screen-clock { color: var(--anc-border); font-size: 0.75rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.benefits { padding: 0 0 8px; }
.benefit-grid { list-style: none; margin: 0 auto; display: grid; gap: 12px; }
.benefit {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  background: var(--anc-white); border: 1px solid var(--anc-border); border-radius: var(--anc-radius);
}
.benefit-title { margin: 0 0 2px; color: var(--anc-primary); font-weight: 700; }
.benefit p:last-child { margin: 0; }

.step-tile { position: relative; margin-bottom: 14px; }
.step-tile .step-number {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; margin: 0;
  font-family: var(--anc-font); font-size: 0.8rem; line-height: 1;
}

.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.plan-head h3 { margin: 0; }
.plan-per-film { margin: -4px 0 14px; color: var(--anc-muted); font-size: 0.9rem; }
.badge-strong { background: var(--anc-primary); color: var(--anc-white); }

.cta-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 28px 24px; border-radius: 12px; background: var(--anc-primary); color: var(--anc-white);
}
.cta-panel h2 { margin: 0; color: var(--anc-white); }
.cta-panel :focus-visible { outline-color: var(--anc-accent); }
.button-accent { background: var(--anc-accent); border-color: var(--anc-accent); color: var(--anc-primary); }
.button-accent:hover { background: var(--anc-white); border-color: var(--anc-white); }

/* Staff: customers */
.head-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.search-form input {
  flex: 1 1 240px; min-height: 48px; padding: 10px 12px; font: inherit;
  color: var(--anc-text); background: var(--anc-white); border: 1px solid var(--anc-text); border-radius: var(--anc-radius);
}
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.person-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.person-head h1 { margin: 0; }
.history { list-style: none; padding: 0; margin: 0; }
.history li { padding: 8px 0; border-bottom: 1px solid var(--anc-border); }

@media (min-width: 560px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefit { flex-direction: column; }
}
