:root {
  color-scheme: light;
  --background: #F7F3EC;
  --surface: #FFFCF7;
  --surface-muted: #EFE9DF;
  --text: #12387F;
  --body-text: #293E5E;
  --muted: #58657A;
  --border: #D8D1C5;
  --accent: #F49B45;
  --accent-strong: #B65312;
  --accent-ink: #172E52;
  --focus: #A8440B;
  --shadow: 0 18px 55px rgba(30, 42, 65, 0.08);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --max-width: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #111B2D;
    --surface: #18253A;
    --surface-muted: #202F46;
    --text: #F2F4F8;
    --body-text: #D8E0EC;
    --muted: #B9C4D5;
    --border: #3A4960;
    --accent: #F4A965;
    --accent-strong: #FFBD83;
    --accent-ink: #142139;
    --focus: #FFBD83;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--body-text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--text);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.015em;
}

p,
li {
  max-width: 70ch;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.45rem;
}

.container {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-compact {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section-bordered {
  border-top: 1px solid var(--border);
}

.surface {
  background: var(--surface);
}

.surface-muted {
  background: var(--surface-muted);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}

.skip-link:focus {
  color: var(--background);
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.header-inner {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 3.65rem;
  height: auto;
}

.wordmark {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.header-navigation,
.site-nav ul,
.language-switcher ul {
  display: flex;
  align-items: center;
}

.header-navigation {
  gap: clamp(1.25rem, 3vw, 3rem);
}

.site-nav ul,
.language-switcher ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  gap: clamp(1rem, 2.2vw, 2rem);
}

.site-nav li + li,
.language-switcher li + li {
  margin-top: 0;
}

.site-nav a,
.language-switcher a {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--body-text);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav a:hover,
.language-switcher a:hover,
.site-nav a[aria-current="page"],
.language-switcher a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--accent);
}

.language-switcher {
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.language-switcher ul {
  gap: 0.65rem;
}

.language-switcher a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.language-switcher a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font: 600 0.85rem var(--sans);
  cursor: pointer;
}

.menu-icon {
  display: grid;
  width: 1.1rem;
  gap: 0.3rem;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 9rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.hero h1 {
  max-width: 13ch;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.lede,
.page-intro {
  color: var(--body-text);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.lede {
  max-width: 52ch;
}

.page-header {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.page-intro {
  max-width: 55ch;
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--background);
}

.button-secondary {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--background);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
}

.text-link::after {
  color: var(--accent-strong);
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(0.2rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
}

.card h3 {
  margin-top: 0.5rem;
}

.card-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--accent-strong);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.card-grid-two,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}

.split {
  align-items: start;
}

.principle-list,
.check-list,
.contact-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.principle-list li {
  max-width: none;
  margin: 0;
  padding: 1.75rem 2rem 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.principle-list li:nth-child(even) {
  padding-right: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.principle-list h3 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  content: "•";
}

.feature-band {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-band::before {
  position: absolute;
  top: -1px;
  left: clamp(2rem, 5vw, 4rem);
  width: 5rem;
  height: 5px;
  background: var(--accent);
  content: "";
}

.feature-band h2 {
  max-width: 15ch;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fact {
  padding: 1.75rem 2rem;
}

.fact + .fact {
  border-left: 1px solid var(--border);
}

.fact dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.steps {
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0 0 2.25rem 4rem;
  counter-increment: steps;
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 2.5rem;
  bottom: 0;
  left: 1.45rem;
  width: 1px;
  background: var(--border);
  content: "";
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-strong);
  content: counter(steps, decimal-leading-zero);
  font-family: var(--serif);
}

.note {
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent);
  background: var(--surface-muted);
}

.note > :last-child {
  margin-bottom: 0;
}

.company-details {
  margin: 0;
  border-top: 1px solid var(--border);
}

.company-details > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.company-details dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.company-details dd {
  margin: 0;
  color: var(--text);
}

.contact-list li {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.contact-list li:first-child {
  border-top: 1px solid var(--border);
}

.contact-list h2 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.legal-section h3 {
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.not-found {
  display: grid;
  min-height: 55vh;
  align-items: center;
  padding-block: 5rem;
}

.not-found h1 {
  max-width: 12ch;
}

.hero-art {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 50% 50% 5px 5px;
  background: var(--surface);
}

.hero-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
}

.site-footer {
  padding-block: 3.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 4rem;
}

.footer-brand .brand {
  margin-bottom: 1.5rem;
}

.footer-brand .brand-mark {
  width: 3rem;
}

.footer-brand .wordmark {
  font-size: 1.65rem;
}

.footer-brand p,
.footer-links p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-brand p {
  max-width: 65ch;
}

.footer-links nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 1rem;
    padding-block: 1rem;
  }

  .header-navigation {
    width: 100%;
    justify-content: space-between;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .header-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: auto;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .js .header-navigation[data-open] {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
    gap: 2.5rem;
  }

  .hero-art {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .header-navigation,
  .js .header-navigation[data-open] {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .header-navigation {
    padding-block: 1rem;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding-block: 0.65rem;
  }

  .language-switcher {
    padding-top: 0.75rem;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .language-switcher ul {
    gap: 1.25rem;
  }

  .hero-grid,
  .section-heading,
  .card-grid,
  .card-grid-two,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3rem;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-art {
    width: min(100%, 380px);
    min-height: 290px;
    margin-inline: auto;
  }

  .section-heading {
    align-items: start;
    gap: 1rem;
  }

  .card-number {
    margin-bottom: 1.25rem;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list li,
  .principle-list li:nth-child(even) {
    padding: 1.4rem 0;
    border-left: 0;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 1.25rem 0;
  }

  .fact + .fact {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-links {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 420px) {
  body {
    font-size: 1rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 2.9rem;
  }

  .wordmark {
    font-size: 1.75rem;
  }

  .menu-toggle {
    padding: 0.6rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .company-details > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .feature-band {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art img {
    animation: settle 900ms ease-out both;
  }

  @keyframes settle {
    from {
      opacity: 0.35;
      transform: translate(-50%, -46%) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
}

main > section {
  padding-inline: max(1.5rem, calc((100% - var(--max-width)) / 2));
}

@media (max-width: 720px) {
  main > section {
    padding-inline: 1rem;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  max-width: none;
  margin-top: 2.25rem;
}

.hero-art > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
}

.bars-navy {
  stroke: #12387F;
}

.bars-orange {
  stroke: #F49B45;
}

main > .page-intro {
  max-width: none;
  border-bottom: 1px solid var(--border);
  font-size: inherit;
  line-height: inherit;
}

.page-intro h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 6vw, 4.8rem);
}

.page-intro .lede {
  max-width: 55ch;
}

.band-principles,
.band-lob7 {
  border-block: 1px solid var(--border);
}

.band-principles {
  background: var(--surface-muted);
}

.band-lob7 {
  background: var(--surface);
}

.band-lob7 h2,
.band-lob7 p {
  max-width: 65ch;
}

.band-lob7 .button {
  margin-top: 0.75rem;
}

.principle-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--border);
  list-style: none;
}

.facts-strip li {
  max-width: none;
  margin: 0;
  padding: 1.5rem;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
}

.facts-strip li + li {
  border-left: 1px solid var(--border);
}

.band-facts {
  padding-top: 0;
}

.principle-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
}

.principle-item {
  padding: 1.75rem 2rem 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.principle-item:nth-child(even) {
  padding-right: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.principle-item dt {
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.principle-item dd {
  margin: 0;
}

.steps strong {
  color: var(--text);
}

.update-date {
  color: var(--muted);
  font-size: 0.9rem;
}

.postal-address {
  max-width: 45ch;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.5;
}

.language-homes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.language-homes li + li {
  margin-top: 0;
}

@media (prefers-color-scheme: dark) {
  .brand-mark {
    padding: 2px;
    border-radius: 4px;
    background: #F7F3EC;
  }

  .bars-navy {
    stroke: #9BB9EF;
  }
}

@media (max-width: 720px) {
  .principle-detail,
  .facts-strip {
    grid-template-columns: 1fr;
  }

  .principle-item,
  .principle-item:nth-child(even) {
    padding: 1.4rem 0;
    border-left: 0;
  }

  .facts-strip li {
    padding: 1.15rem;
    text-align: left;
  }

  .facts-strip li + li {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art > svg {
    animation: settle 900ms ease-out both;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
