/* Shared screen typography. Original Adobe Source Sans 3, SIL OFL 1.1.
   Self-hosted WOFF2; provenance and full licence accompany the font. */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-Upright.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --font-ui: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --muted: #535d67;
}

body {
  font: 400 1.0625rem/1.65 var(--font-ui);
  text-align: center;
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
}

/* One hierarchy for the office identity and navigation on every page. */
header .nav, header .nav-wrap {
  height: auto;
  min-height: 108px;
  padding-block: 18px;
}

header .brand, header.site-header .brand {
  line-height: 1.45;
  text-align: center;
  min-width: 0;
}

header .brand .brand-court,
header .nav .brand .brand-court,
header .nav-wrap .brand .brand-court {
  display: block;
  margin: 0;
  color: var(--ink);
  font: 500 .9375rem/1.45 var(--font-ui);
  letter-spacing: 0;
  text-transform: none;
}

header .brand .brand-name,
header .nav .brand .brand-name,
header .nav-wrap .brand strong {
  display: block;
  margin: 4px 0 0;
  color: var(--ink);
  font: 600 1.5rem/1.2 var(--font-ui);
  letter-spacing: -.015em;
  text-transform: none;
}

header .brand .brand-office,
header .nav-wrap .brand .brand-office {
  font-size: .875rem;
  line-height: 1.45;
  margin-top: 4px;
}

.nav nav a, .nav-wrap nav a {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.nav nav { gap: 20px; }
.menu, .menu-toggle { font: 600 1rem/1.4 var(--font-ui); }
.menu span, .menu-icon { font-size: 1.5rem; }
.top, .top .site-wrap { font-size: 1rem; }
.demo, .demo-bar, .demo .wrap, .demo-bar .site-wrap { font-size: .8125rem; line-height: 1.5; }
.demo .wrap { flex-wrap: wrap; padding-block: 8px; gap: 4px 12px; }

/* Readable titles, without switching typeface between sections. */
.hero h1 {
  font-size: clamp(2.75rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hero h1 span {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero p { font-size: 1.125rem; line-height: 1.6; }
.hero .eyebrow { font-size: .8125rem; letter-spacing: .1em; line-height: 1.5; font-weight: 600; }
.section-head h2, .area-copy h2, .contact h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.22;
}

.card h3, .office-copy h3, .court-list h3 { font-size: 1.25rem; line-height: 1.4; }
.generator-callout h3, .contact h3, .systems-section h2 {
  font: 600 1.5rem/1.35 var(--font-ui);
  letter-spacing: -.015em;
}

.page-heading h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 600; }
.wizard-card h2, .territory h2, .lookup-result h2 { font-size: 1.625rem; line-height: 1.3; }
.report h1 { font: 600 clamp(2rem, 5vw, 3.25rem)/1.2 var(--font-ui); }
.report h2 { font: 600 1.75rem/1.3 var(--font-ui); }
.report h3 { font: 600 1.125rem/1.4 var(--font-ui); }

.section-head p, .card p, .court-list p, .office-photo figcaption p,
.lookup-lead, .step-description, .document-preview {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.btn, .button, .field > label, .field > legend, .check-label, .type-choice span {
  font-size: 1rem;
  line-height: 1.5;
}

.btn, .button, .type-choice span, .field > label, .field > legend { font-weight: 600; }
.label, .quick .label, .kicker, .steps-title, .selected-type {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.5;
}

.quick strong { font-size: 1rem; line-height: 1.5; }
.quick-note, .download small, .download b, .system span, .foot p, footer,
.privacy-note, .jurisdiction-note, .field-hint, .field-error, .back-help,
.help-line, .review-confirmation p, .required-label, .review-edit p,
.step-progress p, .step-list button, .fixed-recipient, .page-breadcrumb,
.lookup-note, .lookup-sources, .lookup-field p, #data-status,
.text-button, .new-application .button, .bank small, .muted {
  font-size: .875rem;
  line-height: 1.6;
}

.download span { font-size: 1rem; }
.download small { font-size: .875rem; }
.detail .phone { font-size: 1.875rem; font-weight: 600; }
.hours { font-size: 1rem; }
.document-preview { font-family: var(--font-ui); }
.report figcaption, .disclaimer { font-size: .8125rem; }

@media (max-width: 1050px) and (min-width: 901px) {
  .nav { gap: 20px; }
  .nav nav { gap: 12px; }
  .nav nav a, .nav-wrap nav a { font-size: .9375rem; }
}

@media (max-width: 900px) {
  header .nav, header .nav-wrap { min-height: 0; gap: 16px; padding-block: 18px; }
  .nav nav { top: 100%; gap: 4px; padding: 12px 16px; }
  .nav nav a, .nav-wrap nav a { display: block; width: 100%; min-height: 48px; padding: 12px; }
  .menu, .menu-toggle { min-width: 80px; min-height: 48px; padding: 10px 8px; }
}

@media (max-width: 600px) {
  header .nav, header .nav-wrap { gap: 12px; }
  header .brand .brand-court,
  header .nav .brand .brand-court,
  header .nav-wrap .brand .brand-court { font-size: .875rem; }
  header .brand .brand-name,
  header .nav .brand .brand-name,
  header .nav-wrap .brand strong { font-size: 1.375rem; }
  .top-links:before { font-size: .875rem; opacity: 1; }
  .hero p { font-size: 1rem; }
  .hero .eyebrow { font-size: .8125rem; }
  .hours { font-size: .875rem; }
  .report th, .report td { font-size: .875rem; }
}

/* Accessible descriptions that do not alter the visible navigation. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Centered headings, descriptions and information panels, as requested. */
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.hero { min-height: 0; align-items: center; }
.hero-inner { max-width: 860px; padding-block: 84px 104px; }
.hero h1 { margin: 24px 0 22px; }
.hero h1 span { margin-bottom: 12px; }
.hero p { max-width: 40ch; margin-bottom: 32px; text-wrap: balance; }
.hero .eyebrow { max-width: 36rem; margin-inline: auto; }
.hero .actions { gap: 12px; }
.hero .btn { min-height: 52px; padding-inline: 26px; }

.section-head { align-items: center; column-gap: 64px; }
.section-head h2, .area-copy h2, .contact h2 { margin: 8px 0 20px; }
.section-head p, .office-copy p, .duties li, .area-copy p, .systems > p {
  text-align: center;
  text-align-last: center;
  hyphens: none;
}
.section-head p { margin: 0 auto; max-width: 66ch; }
.area-copy p { max-width: 64ch; margin: 0 auto 24px; }
.card, .court-list, .generator-callout, .detail, .office-photo figcaption { text-align: center; }
.card { padding: 28px; }
.card .num { font-size: 1.25rem; font-weight: 600; }
.card h3 { margin: 16px 0 10px; }
.card a { align-self: center; line-height: 1.5; }
.card p, .court-list p { text-wrap: pretty; }
.generator-callout { padding: 28px; gap: 28px; }
.generator-callout p { max-width: 62ch; margin-inline: auto; line-height: 1.65; }
.download { grid-template-columns: minmax(0, 1fr); align-items: center; align-content: center; justify-items: center; min-height: 124px; padding: 24px; gap: 24px; text-align: center; }
.download b { justify-self: center; font-weight: 600; }
.download span { line-height: 1.45; }
.download small { line-height: 1.5; margin-top: 6px; }
.quick-grid > * { text-align: center; text-align-last: auto; gap: 3px; }
.quick .label { font-size: .75rem; letter-spacing: .06em; margin-bottom: 5px; }
.quick strong { font-weight: 600; }
.quick-note { line-height: 1.5; }
.detail .phone, .payment-number, .hours td, .top a[href^="tel:"] { font-variant-numeric: tabular-nums; }
.hours th { text-align: center; line-height: 1.45; }
.hours td, .hours td:last-child { text-align: center; }
.office-photo figcaption { align-items: center; }
.payments h3 { text-align: center; }
.systems-section { text-align: center; }
.systems-section h2 { max-width: 44ch; margin: 12px auto 36px; }
.foot { text-align: center; }

/* The same reading size on the generator, address search and privacy page. */
.page-intro { max-width: 65ch; margin: 20px auto 0; }
.page-heading h1 { line-height: 1.2; }
.page-intro p { line-height: 1.65; text-wrap: pretty; }
.lookup-lead { max-width: 65ch; }
.privacy-content { max-width: 780px; }
.privacy-content h2 { line-height: 1.3; }
.privacy-content p, .privacy-content li, .privacy-content address { font-size: 1.0625rem; line-height: 1.75; }
.privacy-content section { padding-bottom: 0; }
.field input, .field select, .field textarea, .lookup-field input { font-family: var(--font-ui); font-size: 1rem; }

/* Center page copy; retain the normal alignment of typed field values. */
.page-intro, .lookup-lead, .privacy-content, .lookup-note, .territory, .lookup-sources { text-align: center; }
.privacy-content ul, .territory ul { list-style-position: inside; padding-left: 0; }
.privacy-content li { padding-left: 0; }
.lookup-actions { justify-content: center; }
.payment-method { align-items: center; text-align: center; }
.bank.payments { text-align: center; }
.foot { text-align: center; }
.privacy-contents { justify-items: center; }
.privacy-content address { text-align: center; }
@media (max-width: 900px) {
  .section-head { row-gap: 12px; }
  .section-head p { max-width: 66ch; }
  .hero-inner { padding-block: 64px 84px; }
  .nav nav { align-items: center; text-align: center; }
  .nav nav a, .nav-wrap nav a { border-radius: 0; }
  .nav nav a:hover, .nav-wrap nav a:hover { background: var(--paper); }
  .payment-method { align-items: center; text-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap, .site-wrap { width: calc(100% - 40px); }
  header .nav, header .nav-wrap { padding-block: 16px; }
  header .brand .brand-court,
  header .nav .brand .brand-court,
  header .nav-wrap .brand .brand-court { font-size: .875rem; line-height: 1.4; }
  header .brand .brand-name,
  header .nav .brand .brand-name,
  header .nav-wrap .brand strong { margin-top: 7px; }
  .menu, .menu-toggle { min-width: 72px; padding-inline: 4px; }
  .top-links:before { font-size: .9375rem; }
  .hero-inner { padding-block: 48px 56px; }
  .hero .eyebrow { max-width: 29ch; font-size: .75rem; letter-spacing: .075em; text-wrap: balance; }
  .hero .eyebrow::before { display: none; }
  .hero h1 { margin-block: 24px 20px; font-size: clamp(2.625rem, 11vw, 3.5rem); letter-spacing: -.025em; }
  .hero h1 span { font-size: 1.25rem; line-height: 1.4; margin-bottom: 10px; }
  .hero p { max-width: 30ch; font-size: 1.0625rem; margin-bottom: 28px; }
  .hero .actions { max-width: 360px; }
  .hero .btn { font-size: 1rem; min-height: 50px; }
  .quick { width: 100%; }
  .quick-grid > * { min-height: 140px; }
  .quick .label { font-size: .75rem; letter-spacing: .025em; }
  .quick strong { font-size: .9375rem; }
  .quick-note { font-size: .8125rem; }
  section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2, .area-copy h2, .contact h2 { font-size: 2rem; margin-bottom: 12px; }
  .section-head p, .card p, .court-list p, .office-photo figcaption p,
  .lookup-lead, .step-description, .document-preview,
  .privacy-content p, .privacy-content li, .privacy-content address { font-size: 1rem; }
  .section-head p { text-align: center; text-align-last: center; }
  .card, .court-list, .generator-callout { padding: 24px; }
  .generator-callout { align-items: stretch; gap: 20px; }
  .generator-callout .btn { align-self: center; }
  .download { grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 0; padding: 22px 24px; }
  .download b { justify-self: center; }
  .office-photo figcaption { align-items: center; padding: 24px; }
  .bank.payments { padding: 24px; }
  .payments .payment-number { font-size: 1.0625rem; line-height: 1.7; }
  .payment-method .btn { width: 100%; padding-inline: 12px; }
  .foot { align-items: center; text-align: center; gap: 24px; }
  .systems-section h2 { font-size: 1.375rem; }
}
