*, *::before, *::after { box-sizing: border-box; }
:root {
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
body {
  --paper: #f8f7f2;
  --ink: #172620;
  --text: #37483e;
  --muted: #56645a;
  --line: #d5dbd3;
  --accent: #1b6249;
  --dark: #173629;
  --on-dark: #fff9e7;
  --mark: #c7d8a4;
  --heading: var(--serif);
  --wash: #e7ebe3;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
}
body.circuit {
  --paper: #f4f5f0;
  --ink: #171a1a;
  --text: #3c4640;
  --muted: #515b56;
  --line: #ced3cc;
  --accent: #3e5a0b;
  --dark: #161e1c;
  --on-dark: #f7faee;
  --mark: #ccf373;
  --heading: var(--sans);
  --wash: #e4e8dd;
}
a { color: inherit; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul, figure { margin: 0; }
.inner { width: min(100% - 72px, 1280px); margin-inline: auto; }
#main { min-height: 38vh; }
#main:focus { outline: none; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--paper); padding: 10px; }
.mast {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: .24em;
  color: inherit;
  text-decoration: none;
  font: bold clamp(2rem, 4.15vw, 4rem)/.98 var(--heading);
  letter-spacing: -.066em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  font: bold .48em/1 var(--heading);
  letter-spacing: 0;
  width: 1.5em;
  height: 1.5em;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.brand-period { color: var(--accent); }
.mast-date, .mast-beats { color: var(--muted); font-size: .82rem; }
.mast-beats { text-align: right; font: 700 .7rem/1.5 ui-monospace, monospace; letter-spacing: .12em; }
.nav-rule { border-block: 1px solid var(--line); }
.nav-row, .primary-nav { display: flex; align-items: stretch; }
.nav-row { justify-content: space-between; min-height: 50px; gap: 16px; }
.primary-nav { gap: clamp(14px, 3.35vw, 46px); white-space: nowrap; }
.primary-nav a, .search-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .89rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--text);
}
.primary-nav a:hover, .search-link:hover { color: var(--accent); }
.nav-row [aria-current] { color: var(--accent); }
.nav-row [aria-current]::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  background: currentColor;
  content: "";
}
.search-icon {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  margin-right: 3px;
}
.search-icon::after {
  position: absolute;
  width: 6px;
  height: 1.6px;
  right: -4px;
  bottom: -2px;
  background: currentColor;
  rotate: 45deg;
  content: "";
}
.circuit .site-header { background: var(--dark); color: var(--on-dark); }
.circuit .mast { grid-template-columns: 1fr auto; min-height: 92px; }
.circuit .mast-date { grid-column: 2; grid-row: 1; color: #c7cfc1; }
.circuit .mast-beats { display: none; }
.circuit .mast .brand { grid-column: 1; grid-row: 1; font-size: clamp(1.7rem, 3.7vw, 3.15rem); }
.circuit .brand-period { color: var(--mark); }
.circuit .brand-mark { background: var(--mark); border: 0; color: var(--dark); border-radius: 2px; }
.circuit .nav-rule { border-color: #34413a; }
.circuit .primary-nav a, .circuit .search-link { color: #dce3d8; }
.circuit .nav-row [aria-current], .circuit .primary-nav a:hover, .circuit .search-link:hover, .circuit .mast a:hover { color: var(--mark); }
.front {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(248px, 1fr);
  gap: clamp(24px, 3.5vw, 52px);
  margin-block: clamp(24px, 3vw, 42px) 44px;
}
.lead {
  display: grid;
  position: relative;
  isolation: isolate;
  align-items: end;
  min-height: clamp(420px, 42vw, 555px);
  background: var(--dark);
  color: #fff;
}
.lead-pic { position: absolute; inset: 0; z-index: -2; }
.lead-pic img { width: 100%; height: 100%; object-fit: cover; }
.lead::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 21%, rgb(11 22 19 / .3) 43%, rgb(9 19 16 / .93) 95%);
}
.lead-copy { padding: clamp(22px, 4vw, 48px); max-width: 768px; }
.lead h1 {
  margin-top: .23em;
  font: bold clamp(2.4rem, 5.12vw, 4.8rem)/.99 var(--heading);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.lead h1 a, .story-card h3 a, .brief h3 a, #search-results h2 a { text-decoration: none; }
.lead h1 a:hover { color: var(--mark); }
.lead-copy p { max-width: 55ch; margin-top: .9rem; color: #f2f4ec; font-size: clamp(.94rem, 1.4vw, 1.12rem); }
.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .48rem;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}
.label {
  text-decoration: none;
  color: var(--accent);
  font: 750 .72rem/1.4 var(--sans);
  letter-spacing: .095em;
  text-transform: uppercase;
}
.label:hover { text-decoration: underline; }
.lead .story-meta { color: #e2e8db; }
.lead .label { color: var(--mark); }
.circuit .front { grid-template-columns: minmax(0, 2.8fr) minmax(248px, 1fr); gap: 24px; }
.circuit .lead { align-items: end; min-height: 0; }
.circuit .lead-pic { grid-area: 1 / 1; position: relative; }
.circuit .lead-pic img { aspect-ratio: 2.25; object-fit: cover; }
.circuit .lead::after { content: none; }
.circuit .lead-copy { padding: clamp(20px, 3vw, 37px); }
.circuit .lead h1 { font-size: clamp(2.05rem, 3.8vw, 3.55rem); }
.brief { border-top: 3px solid var(--accent); padding-top: 14px; align-self: stretch; }
.brief h2 { font: bold 1.92rem/1.05 var(--heading); letter-spacing: -.04em; }
.brief article { border-bottom: 1px solid var(--line); padding-block: 20px; }
.brief h3 { margin-top: .42em; font: bold clamp(1.2rem, 2vw, 1.7rem)/1.11 var(--heading); letter-spacing: -.025em; text-wrap: pretty; }
.circuit .brief { background: var(--wash); border-top-color: var(--accent); padding: 22px; }
.circuit .brief h2 { font-size: 1.45rem; }
.circuit .brief h3 { font-size: clamp(1.16rem, 1.7vw, 1.45rem); }
.circuit .brief article:last-child { border-bottom: 0; }
.news-section { margin-bottom: 64px; }
.section-head { border-top: 1px solid var(--ink); margin-bottom: 20px; padding-top: 12px; }
.section-head h2 { font: bold clamp(1.9rem, 3vw, 2.7rem)/1.04 var(--heading); letter-spacing: -.055em; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 33px 24px; }
.story-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.card-pic { display: block; overflow: hidden; background: var(--wash); margin-bottom: 13px; }
.card-pic img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.story-card h3 { font: bold clamp(1.31rem, 2.1vw, 1.85rem)/1.12 var(--heading); letter-spacing: -.028em; margin-top: .35em; }
.story-card p { margin-top: .55em; color: var(--text); }
.page-heading, .article-header { max-width: 820px; margin: clamp(32px, 6vw, 68px) auto 30px; }
.page-heading { margin-inline: 0; }
.breadcrumbs { color: var(--muted); font-size: .88rem; margin-bottom: .95rem; }
.breadcrumbs span { margin-inline: .35em; }
.page-heading h1, .article-header h1 {
  font: bold clamp(2.25rem, 5.75vw, 5rem)/1.01 var(--heading);
  letter-spacing: -.058em;
  text-wrap: balance;
}
.page-heading .deck, .article-header .deck {
  max-width: 65ch;
  font-size: clamp(1rem, 2vw, 1.26rem);
  color: var(--text);
  margin-top: .8rem;
}
.category-news { border-top: 1px solid var(--line); padding-top: 23px; }
.byline { display: flex; flex-wrap: wrap; gap: .65rem; color: var(--muted); font-size: .89rem; margin-top: 1.2rem; }
.byline a { color: var(--ink); text-decoration: none; font-weight: 700; }
.byline a:hover { text-decoration: underline; }
.article-figure { max-width: 820px; margin-inline: auto; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; background: var(--wash); }
.article-figure figcaption { margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.prose {
  width: min(100%, 700px);
  margin: 2.4rem auto 4.2rem;
  color: var(--text);
  font: 1.18rem/1.72 var(--serif);
}
.circuit .prose { font: 1.06rem/1.75 var(--sans); }
.prose.policy { margin-inline: 0; }
.prose section + section { margin-top: 1.65rem; }
.prose h2 { color: var(--ink); font: bold clamp(1.37rem, 2.4vw, 1.7rem)/1.2 var(--heading); letter-spacing: -.02em; margin-bottom: .45rem; }
.prose a, .deck a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: .15em; }
.prose .sources { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 2.25rem; font-size: .94rem; font-family: var(--sans); }
.sources ul { padding-left: 1.35em; }
.sources li + li { margin-top: .42rem; }
.search-page { max-width: 735px; margin-bottom: 60px; }
.search-field { display: flex; gap: .6rem; margin: .5rem 0 1rem; }
.search-field input { flex: 1; min-width: 0; border: 1px solid var(--muted); border-radius: 0; color: var(--ink); background: var(--paper); padding: .67rem; }
.search-field button { border: 0; background: var(--dark); color: var(--on-dark); padding: .67rem 1rem; cursor: pointer; }
.search-field button:focus-visible { outline-color: var(--accent); }
#search-status { color: var(--muted); font-size: .9rem; }
#search-results { list-style: none; padding: 0; }
#search-results li { border-bottom: 1px solid var(--line); padding-block: 17px; }
#search-results h2 { font: bold 1.32rem/1.2 var(--heading); margin-block: .35rem; }
#search-results p { color: var(--text); }
.site-footer { background: var(--dark); color: var(--on-dark); }
.site-footer a:hover { color: var(--mark); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-block: 38px 22px; }
.site-footer .brand { font-size: clamp(1.62rem, 4vw, 2.8rem); }
.site-footer .brand-period { color: var(--mark); }
.site-footer p { max-width: 37ch; margin-top: 12px; color: #dce3d7; }
.site-footer nav a { display: block; width: fit-content; font-size: .9rem; text-decoration: none; margin-top: 6px; }
.site-footer nav h2 { font-size: .86rem; color: var(--mark); }
.site-footer small { grid-column: 1 / -1; border-top: 1px solid #587063; padding-top: 14px; color: #dce3d7; font-size: .79rem; }
@media (max-width: 960px) {
  .inner { width: min(100% - 46px, 1280px); }
  .mast-beats { display: none; }
  .mast { grid-template-columns: 1fr auto; min-height: 89px; }
  .mast .brand { grid-column: 1; grid-row: 1; }
  .mast-date { grid-column: 2; grid-row: 1; }
}
@media (min-width: 701px) and (max-width: 840px) {
  .front, .circuit .front { grid-template-columns: minmax(0, 2.1fr) minmax(200px, 1fr); }
  .circuit .brief { padding: 16px; }
}
@media (max-width: 700px) {
  .inner { width: calc(100% - 34px); }
  .mast, .circuit .mast { min-height: 72px; }
  .mast-date { font-size: .72rem; white-space: nowrap; }
  .nav-row { min-height: 46px; }
  .front, .circuit .front { grid-template-columns: minmax(0, 1fr); gap: 25px; margin-block: 21px 32px; }
  .lead { min-height: clamp(350px, 80vw, 426px); }
  .lead h1 { font-size: clamp(2rem, 7.6vw, 3.5rem); }
  .circuit .lead h1 { font-size: clamp(1.85rem, 6.8vw, 3rem); }
  .circuit .lead-pic img { aspect-ratio: 1.8; }
  .brief article { padding-block: 13px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .story-card h3 { font-size: 1.3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .mast-date { display: none; }
  .primary-nav { gap: 12px; }
  .primary-nav a, .search-link { font-size: .81rem; }
  .nav-row { gap: 8px; }
  .search-link { gap: 5px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .story-card h3 { font-size: 1.5rem; }
}
.category-news .section-head { display: none; }

body.supply {
  --paper: #f7f5ef;
  --ink: #1e2a35;
  --text: #3e4a54;
  --muted: #525c62;
  --line: #d9d5c9;
  --accent: #914223;
  --dark: #243340;
  --on-dark: #fbf4e8;
  --mark: #f8bf87;
  --wash: #ece7dc;
}
.supply .mast .brand { font-style: italic; }
.supply .lead::after { background: linear-gradient(180deg, transparent 15%, rgb(26 36 47 / .3) 35%, rgb(19 31 43 / .95) 97%); }
.supply .brief { border-top-color: var(--accent); }
.supply .brand-mark { font-style: normal; }

body.device {
  --paper: #f7f6fc;
  --ink: #242336;
  --text: #434251;
  --muted: #555368;
  --line: #d7d4e5;
  --accent: #52319a;
  --dark: #25213c;
  --on-dark: #f7f3ff;
  --mark: #d8c7ff;
  --heading: var(--sans);
  --wash: #ede8f8;
}
.device .brand-mark { background: var(--dark); color: var(--on-dark); border: 0; border-radius: 25%; }
.device .lead, .device .brief { border-radius: 12px; overflow: hidden; }
.device .lead { min-height: clamp(405px, 39vw, 535px); }
.device .lead::after { background: linear-gradient(180deg, transparent 13%, rgb(31 26 54 / .45) 42%, rgb(31 26 54 / .98) 97%); }
.device .lead h1 { font-size: clamp(2rem, 4vw, 4.05rem); }
.device .brief { background: var(--wash); padding: 20px; }
.device .brief h2 { font-size: 1.55rem; }
.device .card-pic { border-radius: 8px; }

body.payment {
  --paper: #f5f8fb;
  --ink: #182b46;
  --text: #3b4c63;
  --muted: #4e5e76;
  --line: #cfd9e6;
  --accent: #1257a0;
  --dark: #132b4b;
  --on-dark: #f4f8ff;
  --mark: #a2d8ff;
  --heading: var(--sans);
  --wash: #e9eff8;
}
.payment .site-header { background: var(--dark); color: var(--on-dark); }
.payment .site-header a:hover, .payment .mast-date, .payment .mast-beats, .payment .brand-period { color: var(--mark); }
.payment .nav-rule { border-color: #516780; }
.payment .primary-nav a, .payment .search-link { color: var(--on-dark); }
.payment .nav-row [aria-current] { color: var(--mark); }
.payment .brand-mark { border-radius: 3px; }
.payment .lead { min-height: 0; }
.payment .lead::after { content: none; }
.payment .lead-pic { position: relative; grid-area: 1 / 1; }
.payment .lead-pic img { aspect-ratio: 2.05; }
.payment .lead-copy { padding: clamp(20px, 3vw, 38px); }
.payment .lead h1 { font-size: clamp(2rem, 3.65vw, 3.8rem); }
.payment .brief article { padding-block: 17px; }
@media (max-width: 700px) {
  .device .lead { min-height: 345px; }
  .device .lead h1, .payment .lead h1 { font-size: clamp(1.85rem, 7vw, 3.3rem); }
}
@media (max-width: 360px) {
  .primary-nav { gap: 9px; }
  .primary-nav a, .search-link { font-size: .79rem; }
  .search-icon { display: none; }
}
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .55rem 1rem; }
.section-head a { color: var(--accent); font-size: .9rem; text-underline-offset: .2em; }
