/* ---------- redesigned trust-page shell ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/v1/archivo-v25-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/v1/instrument-sans-v4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/v1/ibm-plex-mono-v20-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/v1/ibm-plex-mono-v20-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #15181b;
  --panel-2: #1b1f23;
  --line: #23282d;
  --line-2: #30363c;
  --ink: #ecebe4;
  --ink-2: #c6c7c1;
  --mute: #8c9299;
  --faint: #5a6168;
  --signal: #f2a93b;
  --signal-2: #ffc774;
  --signal-ink: #1c1305;
  --cut: #e5684f;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --data: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 3.4vw, 44px);
  --max: 1360px;
  font-family: var(--text);
  font-synthesis: none;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button { color: inherit; font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

h1,
h2,
h3,
p { margin-top: 0; }

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
}

/* ---------- shared shell ---------- */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: linear-gradient(var(--bg) 70%, transparent);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  font-stretch: 88%;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}

.mark {
  display: block;
  width: 31px;
  height: 23px;
  flex: none;
}

.tools {
  display: flex;
  min-width: 0;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px;
  scrollbar-width: none;
}

.tools::-webkit-scrollbar { display: none; }

.tools a {
  padding: 7px 11px;
  border-radius: 2px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.tools a:hover,
.tools a:focus-visible {
  background: var(--panel-2);
  color: var(--ink);
}

.tools a[aria-current="page"] {
  background: var(--signal);
  color: var(--signal-ink);
}

.local {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  white-space: nowrap;
}

.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgb(242 169 59 / 16%), 0 0 10px rgb(242 169 59 / 60%);
}

/* ---------- trust-page content ---------- */
.info-main { background: var(--bg); }

.info-hero {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-hero-inner,
.info-content {
  width: 100%;
  max-width: calc(65ch + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.info-hero-inner {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(54px, 8vw, 96px);
}

.eyebrow,
.section-kicker,
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--signal-2);
  font-family: var(--display);
  font-size: 12px;
  font-stretch: 92%;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.info-hero h1 {
  margin: 24px 0 22px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 112px);
  font-stretch: 72%;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .88;
  text-wrap: balance;
}

.hero-lead {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.info-content {
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(72px, 10vw, 130px);
}

.info-section { padding-bottom: 42px; }

.info-section + .info-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.info-section h2 {
  margin: 14px 0 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-stretch: 74%;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .94;
  text-wrap: balance;
}

.info-section h3 {
  margin: 26px 0 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.info-section p,
.info-section li {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.72;
}

.info-section p:last-child { margin-bottom: 0; }

.info-section ul,
.info-section ol {
  margin: 13px 0 0;
  padding-left: 24px;
}

.info-section li + li { margin-top: 8px; }

.info-section strong { color: var(--ink); }

.notice {
  margin: 25px 0 0;
  padding: 17px 18px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--signal);
  border-radius: 4px;
  background: var(--panel);
}

.notice p {
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.event-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.event-list li {
  margin: 0;
  padding: 11px 14px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink-2);
  font-family: var(--data);
  font-size: 12px;
  line-height: 1.45;
}

.event-list code,
.contact-address {
  color: var(--signal-2);
  font-family: var(--data);
  font-weight: 700;
}

.contact-address:hover,
.text-link:hover { color: var(--signal); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 17px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.button.primary {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--signal-ink);
}

.button.primary:hover {
  border-color: var(--signal-2);
  background: var(--signal-2);
}

.button.secondary { background: transparent; }

.button.secondary:hover {
  border-color: var(--signal);
  color: var(--signal-2);
}

.text-link {
  color: var(--signal-2);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
.info-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 26px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
}

.info-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-left: auto;
}

.info-footer a,
.info-footer button {
  color: inherit;
  text-decoration: none;
}

.info-footer a:hover,
.info-footer button:hover { color: var(--ink); }

.info-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: inherit;
}

.hq { color: var(--ink-2); }

.hq b { color: var(--signal); }

/* ---------- consent dialog supplied by analytics.js ---------- */
.analytics-consent {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: min(660px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 18px 55px rgb(0 0 0 / 40%);
}

.analytics-consent p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
}

.analytics-consent a {
  color: var(--signal-2);
  font-weight: 700;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.analytics-consent-actions button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.analytics-consent-actions button[data-analytics-consent="accepted"] {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--signal-ink);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .local { display: none; }
}

@media (max-width: 760px) {
  .top { gap: 12px; }

  .info-hero-inner,
  .info-content { max-width: 100%; }

  .info-hero h1 { font-size: clamp(52px, 14vw, 88px); }

  .button-row .button { flex: 1 1 100%; }

  .info-footer { align-items: flex-start; }

  .info-footer nav {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
