@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/public-site/fonts/source-sans-3-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/public-site/fonts/source-sans-3-semibold.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/public-site/fonts/roboto-slab-semibold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --navy: #0c2340;
  --navy-pressed: #07182d;
  --navy-soft: #e9eef5;
  --orange: #f26522;
  --orange-text: #b83a08;
  --orange-soft: #fff1e9;
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --faint: #8b94a5;
  --border: #d5dae3;
  --danger: #b42318;
  --focus: #ffb000;
  --control-radius: 8px;
  --card-radius: 12px;
  --page-gutter: clamp(20px, 4vw, 48px);
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange-text);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #8f2d06;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
  transform: translateY(-160%);
}

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

.brand-line {
  height: 4px;
  background: var(--orange);
}

.site-header {
  background: var(--surface);
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  width: min(100%, var(--content-width));
  min-height: 78px;
  margin: 0 auto;
  padding: 14px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

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

.brand__mark {
  width: 39px;
  height: 39px;
  display: block;
  flex: 0 0 auto;
  border-radius: 10px;
}

.brand__name,
.brand__context {
  display: block;
}

.brand__name {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.brand__context {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.header-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--control-radius);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.header-action {
  padding: 10px 15px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--surface);
}

.header-action:hover {
  border-color: var(--navy-pressed);
  background: var(--navy-pressed);
  color: var(--surface);
}

.page-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 28px var(--page-gutter) 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.route-nav {
  position: sticky;
  top: 24px;
}

.route-nav__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.route-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-left: -12px;
  padding: 8px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 var(--control-radius) var(--control-radius) 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.route-nav a:hover {
  background: var(--navy-soft);
  color: var(--navy);
}

.route-nav a[aria-current="page"] {
  border-left-color: var(--orange);
  background: var(--orange-soft);
  color: var(--navy);
  font-weight: 600;
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-header h1,
.app-route-fallback h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.article-header p {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.article-header .article-header__effective-date {
  margin-top: 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.article-header__effective-date + p {
  margin-top: 8px;
}

.article-content {
  padding-top: 28px;
}

.article-content h2 {
  margin: 42px 0 12px;
  color: var(--navy);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.28;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.article-content li {
  margin: 8px 0;
  padding-left: 4px;
}

.article-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.9em;
}

.notice,
.contact-block {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.notice {
  border-left: 4px solid var(--orange);
}

.notice h2,
.contact-block h2 {
  margin-top: 0;
  font-size: 21px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-method {
  min-width: 0;
  padding: 16px;
  border-radius: var(--control-radius);
  background: var(--navy-soft);
}

.contact-method__label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.contact-method a {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  padding: 11px 17px;
  border: 1px solid var(--navy);
}

.button--primary {
  background: var(--navy);
  color: var(--surface);
}

.button--primary:hover {
  background: var(--navy-pressed);
  color: var(--surface);
}

.button--secondary {
  background: var(--surface);
  color: var(--navy);
}

.button--secondary:hover {
  background: var(--navy-soft);
  color: var(--navy);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.preview-note {
  margin: 0;
  padding: 9px var(--page-gutter);
  background: var(--orange-soft);
  color: #732704;
  font-size: 13px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer__inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 26px var(--page-gutter) 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.app-route-fallback {
  width: 100%;
  min-height: 100%;
  padding: clamp(28px, 7vw, 72px) var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
}

.app-route-fallback__panel {
  width: min(100%, 640px);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.app-route-fallback__brand {
  margin: 0 0 10px;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 600;
}

.app-route-fallback p {
  margin: 16px 0 0;
  color: var(--muted);
}

.guide-hero {
  margin: 0 0 38px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  color: var(--ink);
}

.guide-hero__copy {
  max-width: 760px;
}

.guide-hero h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--navy);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(34px, 8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.guide-hero__copy > p:first-of-type {
  max-width: 62ch;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.guide-hero .button--primary {
  border-color: #f26522;
  background: #f26522;
  color: #231309;
}

.guide-hero .button--primary:hover {
  border-color: #ff8a4c;
  background: #ff8a4c;
  color: #231309;
}

.guide-hero__note {
  margin: 14px 0 0;
  color: #d2dbe7;
  font-size: 13px;
}

.guide-search {
  width: min(100%, 680px);
  margin-top: 22px;
}

.guide-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.guide-search input {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid #aeb8c5;
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.guide-search input::placeholder {
  color: #5b6472;
}

.guide-search input:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.guide-search__status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.guide-intro {
  max-width: 68ch;
  margin-bottom: 36px;
}

.guide-intro h2,
.guide-category h2,
.guide-app-callout h2,
.related-guides h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.guide-intro p,
.guide-category__intro p {
  margin: 10px 0 0;
  color: var(--muted);
}

.guide-category {
  margin: 0 0 48px;
  scroll-margin-top: 20px;
}

.guide-category__intro {
  max-width: 66ch;
  margin-bottom: 16px;
}

.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-list__item {
  border-top: 1px solid var(--border);
}

.guide-list__item:last-child {
  border-bottom: 1px solid var(--border);
}

.guide-list__item[hidden],
.guide-category[hidden] {
  display: none;
}

.guide-list__item a {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  column-gap: 18px;
  padding: 17px 10px 18px 0;
  color: var(--ink);
  text-decoration: none;
}

.guide-list__item a:hover .guide-list__title {
  color: var(--orange-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guide-list__category {
  grid-row: span 2;
  padding-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.guide-list__title {
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.guide-list__summary {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.guide-app-callout {
  margin: 52px 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.topic-nav {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-nav a {
  min-height: 42px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.topic-nav a:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.product-preview {
  display: none;
  width: min(100%, 220px);
  margin: 8px auto 0;
}

.product-preview img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #c8ced7;
  border-radius: 18px;
  background: var(--surface);
}

.product-preview figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.guide-search__clear,
.guide-empty button {
  margin-top: 8px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--orange-text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.guide-search__clear[hidden],
.guide-empty[hidden] {
  display: none;
}

.guide-empty {
  margin: -16px 0 28px;
  padding: 16px;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
  color: var(--navy);
}

.guide-app-callout > div {
  max-width: 62ch;
}

.guide-app-callout p {
  margin: 10px 0 0;
  color: var(--muted);
}

.guide-app-callout .button {
  flex: 0 0 auto;
}

.guide-reviewed {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.guide-direct-answer {
  margin: 0 0 30px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: #edf2f7;
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}

.guide-article-content {
  max-width: 72ch;
}

.guide-article-content h2 {
  margin-top: 36px;
}

.guide-article-content h2:first-child {
  margin-top: 0;
}

.guide-article-content a,
.related-guides a {
  overflow-wrap: anywhere;
}

.related-guides {
  margin-top: 48px;
}

.related-guides h2 {
  margin-bottom: 16px;
}

.related-guides .guide-list__item a {
  grid-template-columns: 1fr;
}

.related-guides .guide-list__category {
  grid-row: auto;
}

.app-required {
  max-width: 68ch;
  padding: 20px 0 40px;
}

.app-required h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.app-required p {
  margin: 18px 0;
  color: var(--muted);
}

.guide-noscript {
  color: var(--muted);
  font-size: 13px;
}

.site-footer__statement {
  max-width: 720px;
}

.site-footer__statement p + p {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 70px;
  }

  .brand__context {
    display: none;
  }

  .page-shell {
    padding-top: 28px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .route-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .route-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .route-nav a,
  .route-nav a[aria-current="page"] {
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .route-nav a[aria-current="page"] {
    border-color: var(--orange);
    background: var(--orange-soft);
  }

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

  .site-footer__inner {
    flex-direction: column;
  }

  .guide-hero {
    margin-top: -28px;
  }

  .guide-app-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 900px) {
  .page-shell {
    padding-top: 48px;
    grid-template-columns: minmax(0, 900px);
    justify-content: center;
    gap: 0;
  }

  .guide-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: clamp(28px, 5vw, 58px);
  }

  .product-preview {
    display: block;
    width: 180px;
    margin: 0 auto;
  }

  .topic-nav a {
    padding-inline: 10px;
  }
}

@media (max-width: 520px) {
  .header-action {
    padding: 9px 11px;
    font-size: 13px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 16px;
  }

  .page-shell {
    padding-bottom: 52px;
  }

  .guide-list__item a {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding-right: 0;
  }

  .guide-list__category {
    grid-row: auto;
  }

  .guide-direct-answer {
    font-size: 17px;
  }

  .article-header p {
    font-size: 17px;
  }
}

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

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