:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f9;
  --surface: #ffffff;
  --text: #1f2737;
  --muted: #576075;
  --heading: #0b1f3a;
  --border: #e1e6ee;
  --accent: #f26b0f;
  --link: #b84a00;
  --link-hover: #8a3700;
  --focus: #f26b0f;

  --cta: #ff8a1f;
  --cta-hover: #ff7400;
  --cta-text: #1a1206;

  --header-bg: #0b1f3a;
  --header-text: #ffffff;
  --header-muted: rgba(255, 255, 255, 0.78);
  --header-hover: rgba(255, 255, 255, 0.1);
  --header-border: rgba(255, 255, 255, 0.14);
  --header-border-width: 1px;

  --hero-bg: #0b1f3a;
  --hero-text: #ffffff;
  --hero-heading: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.8);

  --th-bg: #0b1f3a;
  --th-text: #ffffff;
  --row-alt: #f7f8fb;

  --info-bg: #eef3fb;
  --info-text: #18304f;
  --warn-bg: #fff3e6;
  --warn-text: #6b3300;
  --warn-border: #f26b0f;

  --footer-bg: #081629;
  --footer-text: rgba(255, 255, 255, 0.86);
  --footer-heading: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.62);
  --footer-border: rgba(255, 255, 255, 0.14);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-body);
  --heading-weight: 800;
  --fs-base: 1.0625rem;

  --container: 1320px;
  --content: 1240px;
  --gutter: clamp(16px, 3.5vw, 40px);
  --radius: 8px;
  --radius-lg: 12px;
  --nav-radius: 8px;
  --btn-radius: 10px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--link-hover);
}

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

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: 1.2;
  color: var(--heading);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  letter-spacing: -0.01em;
}

h3 {
  margin-top: 2rem;
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
}

p {
  margin: 0 0 1.1rem;
}

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

li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

li::marker {
  color: var(--accent);
  font-weight: 700;
}

strong {
  color: var(--heading);
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--cta);
  color: var(--cta-text);
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  background: var(--header-bg);
  border-bottom: var(--header-border-width) solid var(--header-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.site-logo {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo img {
  width: auto;
  height: 36px;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: var(--nav-radius);
  color: var(--header-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
  background: var(--header-hover);
  color: var(--header-text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--header-border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--header-text);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 880px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0 1rem;
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--header-border);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding-block: 0.5rem;
  }

  .site-nav__list a {
    padding: 0.8rem 0.5rem;
    font-size: 1rem;
  }
}

.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem);
}

.hero h1 {
  color: var(--hero-heading);
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__subtitle {
  max-width: 50rem;
  margin-bottom: 1.25rem;
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}

.post-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0 0 1.75rem;
  color: var(--hero-muted);
  font-size: 0.9rem;
}

.post-dates time {
  color: var(--hero-text);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.75rem 1.6rem;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--cta);
  color: var(--cta-text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--cta-hover);
  color: var(--cta-text);
}

.btn:active {
  transform: translateY(1px);
}

.page {
  padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) 0;
}

.content {
  min-width: 0;
  max-width: var(--content);
}

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

.toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.toc__title::-webkit-details-marker {
  display: none;
}

.toc__title::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.toc__details[open] > .toc__title::after {
  transform: translateY(2px) rotate(-135deg);
}

.toc ol {
  margin: 0;
}

.toc li {
  margin-bottom: 0.35rem;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover,
.toc a.is-active {
  color: var(--link);
}

.toc a.is-active {
  font-weight: 700;
}

.toplist {
  margin-block: 1.75rem 0;
}

.toplist:empty {
  display: none;
}

.callout {
  margin-block: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--info-bg);
  color: var(--info-text);
}

.callout__title {
  margin: 0 0 0.4rem;
  color: inherit;
  font-weight: 700;
}

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

.callout--warning {
  border-left-color: var(--warn-border);
  background: var(--warn-bg);
  color: var(--warn-text);
}

.table-wrap {
  margin-block: 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.data-table caption {
  padding: 0.9rem 1.1rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  border-top: 0;
  background: var(--th-bg);
  color: var(--th-text);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: var(--row-alt);
}

.data-table td:first-child {
  color: var(--heading);
  font-weight: 700;
}

@media (max-width: 640px) {
  .table-wrap {
    overflow: hidden;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td,
  .data-table caption {
    display: block;
    width: 100%;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tr {
    padding-block: 0.6rem;
    border-top: 1px solid var(--border);
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.3rem 1rem;
    border: 0;
    text-align: right;
  }

  .data-table td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
  }

  .data-table td:first-child {
    justify-content: flex-start;
    padding-block: 0.35rem 0.5rem;
    font-size: 1.05rem;
    text-align: left;
  }

  .data-table td:first-child::before {
    display: none;
  }
}

.glossary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.glossary > div {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.glossary dt {
  margin-bottom: 0.25rem;
  color: var(--heading);
  font-weight: 700;
}

.glossary dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat;
}

.faq-item summary:hover {
  color: var(--link);
}

.faq-item__answer {
  padding-bottom: 1.15rem;
  color: var(--muted);
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) 2rem;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand__name {
  margin-bottom: 0.5rem;
  color: var(--footer-heading);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand p:last-child {
  color: var(--footer-muted);
  font-size: 0.9rem;
}

.footer-grid__title {
  margin: 0 0 0.75rem;
  color: var(--footer-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 0;
  padding: 0;
}

.footer-grid a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--footer-text);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--footer-heading);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--footer-border);
  color: var(--footer-muted);
  font-size: 0.85rem;
}

.site-footer__bottom p:last-child {
  margin-bottom: 0;
}

.footer-slogan {
  margin-bottom: 0.5rem;
  color: var(--footer-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-age-badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--footer-heading);
  border-radius: 50%;
  color: var(--footer-heading);
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .site-footer__bottom {
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .toc,
  .site-footer,
  .btn {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

main [id] {
  scroll-margin-top: 88px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgba(242, 107, 15, 0.22), transparent 60%),
    linear-gradient(160deg, #0b1f3a 0%, #102b52 100%);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__eyebrow {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 138, 31, 0.16);
  color: #ffb36b;
}

.hero__checks {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  list-style: none;
}

.hero__checks li {
  position: relative;
  margin: 0;
  padding: 0.6rem 0 0.6rem 2.1rem;
  color: #ffffff;
  font-weight: 600;
}

.hero__checks li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__checks li::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff8a1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a1206' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 4rem;
  }
}

.toc {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}

.toc__title {
  padding: 1.1rem 1.4rem;
  color: var(--heading);
  font-size: 1.05rem;
}

.toc ol {
  padding: 0 1.4rem 1.4rem 3rem;
}

@media (min-width: 700px) {
  .toc ol {
    columns: 2;
    column-gap: 3rem;
  }

  .toc li {
    break-inside: avoid;
  }
}

@media (min-width: 1100px) {
  .toc ol {
    columns: 3;
  }
}

.section {
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--border);
}

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

.section h2 {
  position: relative;
  padding-bottom: 0.9rem;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
}


.callout {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
