@font-face {
  font-family: AppVisionGuide;
  src: url('/images/metadata-connect/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101820;
  --panel: #15212c;
  --line: #34495b;
  --text: #eef4fa;
  --muted: #b3c2d0;
  --blue: #b9ddfa;
  --gold: #e4ce96;
  --violet: #c6b8ee;
  font-family: AppVisionGuide, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 4px; touch-action: manipulation; }
a:hover { color: #e0f0ff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
p { text-wrap: pretty; }
code { font-size: .88em; overflow-wrap: anywhere; color: #d5e8f7; }
.guide-shell { width: min(100%, 1200px); margin: 0 auto; padding: 0 40px; }
.skip-link { position: absolute; top: 10px; left: 16px; z-index: 5; padding: 12px 18px; border-radius: 8px; background: var(--blue); color: #14324a; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--text); text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.brand strong { display: block; font-size: 23px; font-weight: 690; line-height: 1.15; letter-spacing: -.045em; }
.byline { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.header-links, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.header-links a, .site-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 560; text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: 60px; align-items: center; padding: 56px 0 44px; }
.eyebrow { color: var(--gold); font-size: 11px; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; margin-bottom: 12px; }
h1 { max-width: 17ch; font-size: clamp(36px, 4.7vw, 58px); line-height: 1.08; letter-spacing: -.052em; font-weight: 670; text-wrap: balance; }
.lead { max-width: 55ch; margin-top: 21px; color: #c6d2dd; font-size: 18px; line-height: 1.7; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; margin-top: 27px; padding: 11px 18px; border: 1px solid #dbeeff; border-radius: 9px; background: #cce7ff; color: #12334e; font-size: 15px; font-weight: 650; text-decoration: none; }
.primary-link:hover { color: #12334e; background: #e1f0ff; }
.hero-summary { padding: 8px 0 8px 31px; border-left: 1px solid #536474; }
.source-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.source-label img { border-radius: 7px; flex: none; }
.summary-title { margin-top: 20px; font-size: 24px; font-weight: 560; letter-spacing: -.025em; line-height: 1.4; }
.summary-note { margin-top: 13px; max-width: 29ch; color: var(--muted); font-size: 14px; }
.device-note { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 13px; font-weight: 550; margin-top: 22px; }
.section-nav { display: flex; flex-wrap: wrap; gap: 0 30px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #c5d6e4; font-size: 14px; font-weight: 550; text-decoration: none; }
.section-nav a:hover { color: #eef7ff; text-decoration: underline; }
.guide-section { padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { font-size: clamp(25px, 3vw, 32px); font-weight: 640; line-height: 1.22; letter-spacing: -.037em; text-wrap: balance; }
.section-heading > p:last-child { max-width: 65ch; margin-top: 12px; color: var(--muted); font-size: 16px; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 620; letter-spacing: -.02em; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.filter-grid li { position: relative; padding-top: 15px; border-top: 1px solid #5b7183; }
.step-number { display: block; color: var(--gold); font-size: 12px; font-weight: 650; line-height: 1; margin-bottom: 13px; }
.filter-grid p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.chart-definitions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.chart-definition h3 { display: flex; align-items: center; gap: 9px; color: var(--tone); }
.chart-definition p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.chart-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); flex: none; }
.tone-free { --tone: var(--blue); }
.tone-paid { --tone: var(--violet); }
.tone-grossing { --tone: var(--gold); }
.example-list { border-top: 1px solid var(--line); }
.example-link { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 112px; padding: 20px 10px 20px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.example-link:hover { background: #182632; color: var(--text); }
.example-index { align-self: start; margin-top: 4px; color: #8da3b5; font-size: 12px; font-variant-numeric: tabular-nums; }
.example-copy { display: grid; gap: 4px; min-width: 0; }
.chart-label { color: var(--tone); font-size: 12px; font-weight: 650; line-height: 1.4; }
.example-copy strong { font-size: 18px; font-weight: 590; letter-spacing: -.025em; line-height: 1.4; }
.example-context { color: var(--muted); font-size: 13px; }
.example-context > span { padding: 0 7px; color: #70899d; }
.example-action { display: inline-flex; align-items: center; gap: 20px; color: var(--blue); font-size: 13px; white-space: nowrap; }
.section-note { margin-top: 18px; max-width: 92ch; color: var(--muted); font-size: 13px; line-height: 1.7; }
.assistant-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); gap: 44px; }
.prompt-list { display: grid; gap: 14px; }
.prompt { padding: 17px 20px; border-left: 2px solid #739dbb; background: var(--panel); }
.prompt-label { display: block; color: var(--gold); font-size: 12px; font-weight: 620; line-height: 1.5; letter-spacing: .025em; margin-bottom: 8px; }
.prompt p { color: #e0eaf3; font-size: 15px; line-height: 1.65; }
.assistant-notes { padding-top: 3px; }
.assistant-notes p { margin-top: 13px; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 15px; font-size: 14px; font-weight: 550; }
.agent-workflow { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.agent-workflow p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.access-fact { padding: 19px 21px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.fact-label { display: block; color: var(--gold); font-size: 12px; font-weight: 570; margin-bottom: 8px; }
.access-fact > strong { display: block; color: #d7eaff; font-size: 21px; font-weight: 590; line-height: 1.35; letter-spacing: -.025em; }
.access-fact p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; margin-top: 31px; }
.reading-grid p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.access-note { padding-left: 16px; margin-top: 30px; border-left: 2px solid #8d815e; color: #cfdbdf; font-size: 13px; line-height: 1.75; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 25px; padding: 22px 0 30px; }
.site-footer .footer-brand { color: var(--muted); font-size: 14px; }
.site-footer nav { gap: 4px 23px; }
.site-footer nav a { color: var(--muted); font-size: 13px; font-weight: 450; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.3fr) minmax(220px, .85fr); gap: 35px; }
  .guide-shell { padding-inline: 28px; }
  .summary-title { font-size: 21px; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 32px; }
  .assistant-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 29px; }
}
@media (max-width: 680px) {
  .guide-shell { padding-inline: 21px; }
  .site-header { gap: 12px 20px; padding-block: 20px; }
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: 21px; }
  .header-links { gap: 4px 20px; }
  .header-links a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 29px; }
  h1 { max-width: 18ch; font-size: 40px; }
  .desktop-break { display: none; }
  .lead { font-size: 16px; margin-top: 17px; }
  .primary-link { margin-top: 22px; }
  .hero-summary { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .summary-title { max-width: 34ch; font-size: 18px; line-height: 1.5; margin-top: 14px; }
  .summary-title br { display: none; }
  .summary-note { max-width: 52ch; margin-top: 8px; }
  .device-note { margin-top: 12px; }
  .section-nav { gap: 0 24px; padding-block: 9px; }
  .section-nav a { font-size: 13px; }
  .guide-section { padding-block: 36px; }
  .section-heading { margin-bottom: 23px; }
  h2 { font-size: 28px; }
  .section-heading > p:last-child { font-size: 15px; }
  .chart-definitions { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; padding-top: 24px; }
  .chart-definition p { margin-top: 7px; max-width: 58ch; }
  .example-link { grid-template-columns: 23px minmax(0, 1fr); gap: 11px; min-height: 0; padding: 19px 0; }
  .example-copy strong { font-size: 17px; }
  .example-context { font-size: 12px; line-height: 1.65; }
  .example-context > span { padding-inline: 4px; }
  .example-action { grid-column: 2; font-size: 13px; gap: 13px; }
  .assistant-grid { grid-template-columns: 1fr; gap: 29px; }
  .assistant-notes { padding-top: 24px; border-top: 1px solid var(--line); }
  .assistant-notes p { max-width: 64ch; }
  .agent-workflow { margin-top: 28px; padding-top: 24px; }
  .access-grid { gap: 16px; }
  .access-fact { padding: 17px; }
  .access-fact > strong { font-size: 19px; }
  .reading-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 27px; }
  .site-footer { display: block; padding-bottom: 25px; }
  .site-footer nav { gap: 0 19px; margin-top: 4px; }
}
@media (max-width: 420px) {
  .guide-shell { padding-inline: 18px; }
  .site-header { gap: 7px; }
  .header-links { width: 100%; padding-left: 56px; }
  h1 { font-size: 35px; }
  .filter-grid { gap: 23px 19px; }
  .filter-grid h3 { font-size: 16px; }
  .filter-grid p { font-size: 13px; }
  .access-grid { grid-template-columns: 1fr; }
  .prompt { padding: 16px; }
  .example-context { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --panel: #f5f7f9; --line: #c3cbd2; --text: #172838; --muted: #354a5c; --blue: #1f4f77; --gold: #675120; --violet: #534079; }
  .guide-shell { width: 100%; padding: 0; }
  .skip-link, .header-links, .section-nav, .primary-link { display: none; }
  .hero { padding-top: 25px; }
  .guide-section { padding-block: 26px; }
  .example-link, .prompt, .access-fact { break-inside: avoid; }
  code { color: #172838; }
}
