:root {
  --ink: #16181d;
  --paper: #f7f8fb;
  --muted: #5d6472;
  --line: #d8dce5;
  --blue: #154fc4;
  --navy: #132d53;
  --white: #fff;
  --soft: #edf1f8;
  --link: #154fc4;
  --body-font: 'DM Sans', system-ui, sans-serif;
  --heading-font: 'Newsreader', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body-font); }
a { color: var(--link); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: 600; margin-top: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 6vw, 88px); line-height: .95; margin-bottom: 28px; }
h2 { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.04; margin-bottom: 23px; }
h3 { font-size: 29px; line-height: 1.12; letter-spacing: -.025em; }
.container { width: min(1180px, calc(100% - 64px)); margin: auto; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; background: var(--white); padding: 12px; }
.skip:focus { top: 10px; }
.small { font-size: 13px; color: var(--muted); }
.lead { font-size: 20px; line-height: 1.6; max-width: 680px; color: var(--muted); }
.eyebrow, .tag { text-transform: uppercase; letter-spacing: 1.65px; font-size: 11px; font-weight: 650; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow:before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.tag { color: var(--link); }
.text-link { font-size: 14px; }

/* Compact shared masthead. The supplied orange brand mark is left untouched. */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 650; font-size: 20px; letter-spacing: -.6px; }
.wordmark img { width: 34px; height: 34px; }
.wordmark small { display: block; font-size: 9px; letter-spacing: 1.8px; font-weight: 500; line-height: 1.15; text-transform: uppercase; }
.site-nav { display: flex; gap: 25px; flex-wrap: wrap; align-items: center; }
.site-nav a { font-size: 13px; font-weight: 550; text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current=page] { color: var(--blue); }
.site-nav a[aria-current=page] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.site-nav .nav-download { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 27px 0 19px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 46px; padding: 11px 22px; border: 1px solid var(--blue); background: var(--blue); color: white; text-decoration: none; font-weight: 550; font-size: 14px; border-radius: 999px; cursor: pointer; }
.button:hover, button:hover { background: #103d97; border-color: #103d97; text-decoration: none; }
.button.primary { background: var(--blue); border-color: var(--blue); color: white; }
.button.primary:hover { background: #103d97; border-color: #103d97; }
.button.secondary, button.secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.button.secondary:hover, button.secondary:hover { border-color: var(--blue); color: var(--blue); }

/* Editorial opening and one tangible application feature. */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; padding: 76px 0 56px; align-items: end; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(64px, 7.8vw, 104px); margin-bottom: 22px; }
.hero-subtitle { font: 600 clamp(28px, 3.3vw, 43px)/1.08 var(--heading-font); letter-spacing: -.025em; margin: 0; }
.hero-intro { padding-bottom: 2px; }
.hero-intro .lead { font-size: 19px; max-width: 490px; }
.hero-intro .small { margin-bottom: 0; }
.feature-panel { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--navy); border-radius: 20px; overflow: hidden; color: white; }
.feature-visual { margin: 0; padding: 32px; background: #e9edf4; display: flex; flex-direction: column; justify-content: center; }
.shot-frame { background: #15191c; border: 1px solid #cbd2df; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 28px #132d5312; }
.shot-frame img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: 11px; line-height: 1.5; margin-top: 13px; color: var(--muted); }
.feature-copy { padding: 39px 40px; align-self: center; }
.feature-copy h2 { font-size: 45px; margin-bottom: 19px; }
.feature-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.65; color: #d9e2f0; }
.feature-copy .eyebrow { color: #d9e2f0; margin-bottom: 20px; }
.feature-copy .eyebrow:before { background: #99b6ef; }
.feature-link { background: white; border-color: white; color: var(--navy); margin-top: 9px; }
.feature-link:hover { background: #e7edf9; color: var(--navy); border-color: #e7edf9; }
.inline-list { list-style: none; padding: 0; margin: 20px 0; }
.inline-list li { padding: 9px 0; border-bottom: 1px solid #ffffff29; font-size: 13px; color: #d9e2f0; }
.inline-list li span { display: inline-block; width: 78px; font-weight: 600; color: white; }
.version-strip { border-bottom: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.version-strip span { display: flex; align-items: center; gap: 9px; }
.version-strip span:before { content: '+'; color: var(--blue); font-size: 17px; }

/* Open sections and thin editorial rules, shared by the test pages. */
.section { padding: 72px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-bottom: 34px; }
.section-heading p { color: var(--muted); max-width: 520px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step { border-top: 1px solid var(--line); padding-top: 20px; }
.step .number { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--link); margin-bottom: 24px; display: block; }
.step p { font-size: 15px; color: var(--muted); }
.step h3 { margin-bottom: 14px; }
.step > a { font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.local-section { padding-top: 12px; }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 25px 28px; margin: 25px 0; }
.notice p:last-child { margin-bottom: 0; }
.notice h3 { font-size: 25px; margin-bottom: 16px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { font-size: 17px; font-weight: 550; cursor: pointer; line-height: 1.5; }
details p { padding-top: 17px; max-width: 800px; color: var(--muted); }
.cta-band { background: var(--soft); padding: 42px 0; border-top: 1px solid var(--line); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner h2 { font-size: 38px; margin-bottom: 10px; }
.cta-inner p { margin: 0; color: var(--muted); }
.site-footer { padding: 40px 0 25px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-note { font-size: 11px; color: var(--muted); margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }

/* Interior pages: the same type, paper, blue accents and rounded controls. */
.page-header { padding: 64px 0 35px; }
.page-header h1 { font-size: clamp(42px, 5.3vw, 70px); }
.page-header .eyebrow { margin-bottom: 24px; }
.page-content { padding-bottom: 80px; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.download-card { border: 1px solid var(--line); background: var(--white); border-radius: 18px; padding: 30px; min-width: 0; display: flex; flex-direction: column; }
.download-card .button { align-self: flex-start; margin: 12px 0 23px; }
.download-card p { font-size: 16px; }
.download-card h2 { font-size: 36px; margin: 11px 0 20px; }
.download-card.source { grid-column: 1 / -1; background: var(--soft); }
.download-card.source .source-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
code, pre { font-family: Consolas, monospace; }
code.hash { display: block; overflow-wrap: anywhere; word-break: break-word; font-size: 12px; padding: 13px; background: #e7ecf4; border-radius: 8px; margin-top: 5px; user-select: all; }
.file-meta { margin-top: auto; }
.file-meta dl { margin: 0; font-size: 13px; }
.file-meta dt { font-weight: 600; }
.file-meta dd { margin: 0 0 8px; overflow-wrap: anywhere; }
.prose { max-width: 860px; }
.prose h2 { font-size: 35px; margin-top: 42px; }
.prose h3 { font-size: 27px; margin-top: 28px; }
.prose p, .prose li { font-size: 16px; }
.prose table { border-collapse: collapse; display: block; overflow: auto; width: 100%; margin: 24px 0; font-size: 14px; }
.prose th, .prose td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--navy); color: white; }
.prose pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--soft); padding: 24px; border-radius: 10px; font-size: 13px; }
.prose .note { background: var(--soft); border-left: 3px solid var(--blue); padding: 24px; }
.prose .nav, .prose .brand, .prose .footer { font-size: 12px; }
.help-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.search-box { background: var(--white); border: 1px solid var(--line); padding: 24px; border-radius: 16px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
input, select, textarea { width: 100%; border: 1px solid #aeb6c5; border-radius: 9px; padding: 12px; background: var(--white); color: var(--ink); }
input[type=search] { border-radius: 999px; padding-left: 17px; }
textarea { min-height: 120px; resize: vertical; }
.search-status { font-size: 13px; color: var(--muted); margin-top: 10px; margin-bottom: 0; }
.help-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 38px; }
.help-topic { border-top: 1px solid var(--line); padding: 24px 5px 12px; }
.help-topic h2 { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.help-topic a { color: var(--ink); }
.help-topic p { font-size: 15px; color: var(--muted); }
.result { border-bottom: 1px solid var(--line); padding: 22px 0; }
.result h3 { font-size: 27px; margin-bottom: 8px; }
.result p { font-size: 15px; color: var(--muted); margin: 0; }
.feedback-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; margin-top: 35px; }
.field { margin-bottom: 18px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.output-box { background: var(--soft); padding: 25px; border-radius: 16px; align-self: start; }
.output-box textarea { height: 410px; font: 13px/1.5 Consolas, monospace; }
.output-box h2 { font-size: 32px; }
.output-box .actions { margin-bottom: 10px; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.contact-card a { overflow-wrap: anywhere; }
.contact-card h2 { font-size: 34px; }
.topic-top { padding: 24px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; font-size: 14px; }
.topic { padding-bottom: 70px; }
.topic h1 { font-size: clamp(38px, 4.5vw, 61px); line-height: 1.04; }
.hidden, [hidden] { display: none !important; }
noscript { display: block; padding: 15px; background: var(--soft); }

@media (max-width: 950px) {
  .hero { gap: 40px; padding-top: 60px; }
  .hero-intro .lead { font-size: 17px; }
  .site-nav { gap: 16px; }
  .feature-panel { grid-template-columns: 1fr 1fr; }
  .feature-visual { padding: 23px; }
  .feature-copy { padding: 28px; }
  .feature-copy h2 { font-size: 38px; }
  .feature-copy .feature-link { font-size: 12px; padding: 10px 16px; }
  .section-heading { gap: 35px; }
  .help-list { grid-template-columns: repeat(2, 1fr); }
  .feedback-grid { grid-template-columns: 1fr; }
  .output-box textarea { height: 330px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding: 16px 0; }
  .site-nav { gap: 15px; width: 100%; }
  .site-nav a { font-size: 12px; }
  .site-nav .nav-download { padding: 5px 12px; margin-left: auto; }
  .wordmark { font-size: 19px; }
  .wordmark img { width: 31px; height: 31px; }
  .hero { grid-template-columns: 1fr; padding: 43px 0 32px; gap: 29px; }
  .hero h1 { font-size: clamp(60px, 14vw, 80px); margin-bottom: 18px; }
  .hero .eyebrow { margin-bottom: 23px; }
  .hero-subtitle { font-size: 32px; }
  .hero-intro .lead { font-size: 17px; }
  .feature-panel { grid-template-columns: 1fr; border-radius: 16px; }
  .feature-visual { padding: 23px; }
  .feature-copy { padding: 27px; }
  .feature-copy h2 { font-size: 40px; }
  .feature-copy .feature-link { font-size: 13px; }
  .version-strip { gap: 10px 15px; display: grid; grid-template-columns: 1fr 1fr; font-size: 11px; padding: 21px 0; }
  .section { padding: 48px 0; }
  .section-heading, .steps, .split, .download-grid, .help-intro,
  .fields-2, .download-card.source .source-layout { grid-template-columns: 1fr; gap: 25px; }
  .step .number { margin-bottom: 18px; }
  .section-heading { margin-bottom: 25px; }
  .local-section { padding-top: 8px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner h2 { font-size: 33px; }
  .cta-band { padding: 32px 0; }
  .download-card { padding: 24px; }
  .page-header { padding-top: 42px; }
  .page-header .lead { font-size: 18px; }
  .help-list { grid-template-columns: 1fr; gap: 12px; }
  .help-topic { padding: 20px 0 8px; }
  .help-topic h2 { margin-bottom: 13px; }
  .footer-links { gap: 16px; }
  .footer-top { gap: 25px; }
  .site-footer { padding-top: 32px; }
  .notice { padding: 22px; }
  .prose th, .prose td { min-width: 130px; }
  .feedback-grid { gap: 25px; }
  .output-box { padding: 20px; }
  .page-content { padding-bottom: 50px; }
}

@media (max-width: 370px) {
  .site-nav { gap: 12px; }
  .site-nav .nav-download { margin-left: 0; }
  .version-strip { grid-template-columns: 1fr; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .skip, .actions { display: none; }
  body { font-size: 11pt; background: white; }
  .container { width: 100%; }
  .page-header, .section, .hero { padding: 20px 0; }
  .hero, .split, .steps, .feature-panel { display: block; }
  .feature-panel { background: white; color: black; border: 1px solid #555; }
  .feature-copy > p:not(.eyebrow), .feature-copy .eyebrow, .inline-list li, .inline-list li span { color: black; }
  .feature-link { display: none; }
  .notice { border: 1px solid #555; }
  .download-card { break-inside: avoid; }
  a { color: inherit; }
}
