:root {
  color-scheme: light;
  --navy: #102c3c;
  --deep: #0a2230;
  --ink: #172832;
  --teal: #187c7a;
  --teal-dark: #126563;
  --mint: #89d8d0;
  --mint-strong: #62c8c0;
  --mist: #f2f8f7;
  --paper: #ffffff;
  --line: #9eb3b1;
  --line-soft: #d8e6e4;
  --grey: #52666e;
  --focus: #8a6410;
  --focus-dark: #f4c95d;
  --danger: #8b3e36;
  --shadow: 0 18px 48px rgba(16, 44, 60, 0.12);
  --radius: 12px;
  --h1: clamp(2.25rem, 4.6vw, 4.25rem);
  --h2: clamp(1.72rem, 2.8vw, 2.55rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
li,
dd {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  font-size: var(--h1);
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--h2);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.14rem;
}

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

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

.site-header a:focus-visible,
.site-footer a:focus-visible,
.page-hero a:focus-visible,
.cta-panel a:focus-visible {
  outline-color: var(--focus-dark);
}

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -90px;
  left: 16px;
  border-radius: 0 0 8px 8px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: var(--shadow);
  font-weight: 800;
  padding: 10px 16px;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 34, 48, 0.98);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  color: #f7fbfa;
  font-size: 1.36rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand span {
  color: var(--mint);
}

.brand small {
  margin-left: 10px;
  color: #a7cbc8;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.desktop-nav > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #d6e6e5;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"] {
  color: var(--mint);
}

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

.mobile-nav {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 13px 22px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

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

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

.btn-primary {
  background: var(--mint);
  color: var(--deep);
}

.btn-primary:hover {
  background: var(--mint-strong);
  color: var(--deep);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
  color: #ffffff;
}

.btn-secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.btn-quiet {
  border-color: var(--teal);
  background: var(--paper);
  color: var(--teal-dark);
}

.btn-quiet:hover {
  background: var(--mist);
}

.desktop-nav .btn {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--deep);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  min-height: 550px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding-block: 56px;
}

.hero-copy {
  max-width: 690px;
}

.page-label {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 15px 0 20px;
  color: #ffffff;
}

.hero-lead {
  max-width: 620px;
  color: #d8e9e7;
  font-size: 1.14rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: #173b4a;
  box-shadow: 0 24px 64px rgba(2, 19, 28, 0.28);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bfd4d2;
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-figure.contain img {
  object-fit: contain;
  padding: 30px;
  background: linear-gradient(145deg, #f2f8f7, #dceceb);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts > div {
  min-height: 118px;
  background: #113746;
  padding: 22px;
}

.hero-facts strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 1rem;
}

.hero-facts span {
  color: #c9dddb;
  font-size: 0.88rem;
}

.boundary-band {
  background: #113746;
  color: #d9e9e7;
  padding: 25px 0;
}

.boundary-inner {
  display: grid;
  grid-template-columns: minmax(200px, 0.45fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 30px;
}

.boundary-band strong {
  color: #ffffff;
  font-size: 1.04rem;
}

.boundary-band p {
  max-width: 850px;
  color: #bfd4d2;
  font-size: 0.92rem;
}

.section {
  padding: 76px 0;
}

.section-muted {
  background: var(--mist);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  max-width: 68ch;
  color: var(--grey);
  font-size: 1.04rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 54px;
}

.split-copy > p {
  max-width: 65ch;
  margin-top: 15px;
  color: var(--grey);
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #e3efed;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-frame figcaption {
  border-top: 1px solid var(--line-soft);
  background: #ffffff;
  color: var(--grey);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 12px 15px;
}

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

.panel {
  min-height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 27px;
}

.panel:nth-child(2n) {
  background: #edf6f5;
}

.panel h3 {
  margin-bottom: 9px;
}

.panel p,
.panel li {
  color: var(--grey);
  font-size: 0.94rem;
}

.panel ul,
.text-list {
  margin-top: 13px;
  padding-left: 20px;
}

.panel li,
.text-list li {
  margin-bottom: 7px;
}

.plain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  row-gap: 30px;
}

.plain-item {
  padding-top: 20px;
  border-top: 3px solid var(--teal);
}

.plain-item p {
  margin-top: 9px;
  color: var(--grey);
}

.decision-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.decision-step {
  position: relative;
  min-height: 190px;
  border-top: 4px solid var(--teal);
  background: var(--mist);
  padding: 25px 20px 22px;
}

.decision-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.02rem;
}

.decision-step p {
  color: var(--grey);
  font-size: 0.9rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
}

.status-card {
  min-height: 190px;
  background: #ffffff;
  padding: 24px 20px;
}

.status-card:nth-child(2),
.status-card:nth-child(4) {
  background: #f2f8f7;
}

.status-name {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-card h3 {
  margin-bottom: 8px;
}

.status-card p {
  color: var(--grey);
  font-size: 0.9rem;
}

.evidence-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.evidence-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.evidence-table th,
.evidence-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.evidence-table th {
  background: var(--navy);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.evidence-table td {
  color: var(--grey);
  font-size: 0.91rem;
}

.evidence-table td:first-child {
  color: var(--navy);
  font-weight: 800;
}

.evidence-table tr:last-child td {
  border-bottom: 0;
}

.notice {
  margin-top: 24px;
  border-left: 4px solid var(--teal);
  background: var(--mist);
  color: var(--grey);
  font-size: 0.92rem;
  padding: 17px 20px;
}

.notice strong {
  color: var(--navy);
}

.notice.warning {
  border-left-color: var(--focus);
  background: #fffaf0;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.policy-nav {
  position: sticky;
  top: 98px;
  border-radius: var(--radius);
  background: var(--mist);
  padding: 22px;
}

.policy-nav strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
}

.policy-nav a {
  display: block;
  min-height: 40px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-body {
  max-width: 76ch;
}

.policy-body section {
  margin-bottom: 42px;
}

.policy-body h2 {
  margin-bottom: 13px;
  font-size: clamp(1.42rem, 2vw, 1.9rem);
}

.policy-body h3 {
  margin: 22px 0 8px;
}

.policy-body p,
.policy-body li {
  color: var(--grey);
}

.policy-body p,
.policy-body ul {
  margin-bottom: 14px;
}

.policy-body ul {
  padding-left: 22px;
}

.policy-body li {
  margin-bottom: 7px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 22px;
  color: #c9dddb;
  font-size: 0.86rem;
}

.classification {
  display: grid;
  gap: 16px;
}

.classification article {
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 44, 60, 0.07);
  padding: 24px 26px;
}

.classification article:nth-child(2) {
  border-left-color: var(--focus);
}

.classification article:nth-child(3) {
  border-left-color: var(--danger);
}

.classification h3 {
  margin-bottom: 8px;
}

.classification p,
.classification li {
  color: var(--grey);
}

.classification ul {
  margin-top: 10px;
  padding-left: 20px;
}

.classification li {
  margin-bottom: 6px;
}

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

.guide-card {
  position: relative;
  display: grid;
  min-height: 100%;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(16, 44, 60, 0.07);
  padding: 27px 62px 27px 28px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.guide-card::after {
  content: "\2192";
  position: absolute;
  top: 26px;
  right: 27px;
  color: var(--teal-dark);
  font-size: 1.3rem;
  font-weight: 800;
}

.guide-card:hover,
.guide-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 16px 42px rgba(16, 44, 60, 0.12);
  transform: translateY(-2px);
}

.guide-card .page-label {
  margin: 0;
  color: var(--teal-dark);
}

.guide-card h3 {
  max-width: 30ch;
  margin: 0;
  font-size: 1.06rem;
}

.guide-card p {
  color: var(--grey);
  font-size: 0.92rem;
}

.cta-panel {
  padding: 66px 0;
  background: linear-gradient(135deg, var(--deep), #114354);
  color: #ffffff;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 36px;
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 11px;
  color: #ffffff;
}

.cta-panel p {
  max-width: 68ch;
  color: #c4dad8;
}

.site-footer {
  background: #071923;
  color: #b9ccca;
  padding: 50px 0 26px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.9fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.site-footer a {
  color: #dceae9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--mint);
}

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

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.site-footer .social-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 22px;
  padding-top: 20px;
  color: #9bb0ae;
  font-size: 0.79rem;
}

.compact-main {
  display: grid;
  min-height: calc(100dvh - 68px);
  align-items: center;
  background: var(--mist);
  padding: 64px 0;
}

.compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 58px;
}

.compact-copy h1 {
  margin-bottom: 20px;
}

.compact-copy > p {
  max-width: 60ch;
  color: var(--grey);
  font-size: 1.08rem;
}

.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.compact-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
  box-shadow: var(--shadow);
}

.compact-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.88;
}

.confirmation-box {
  max-width: 760px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 42px;
}

.confirmation-box h1 {
  margin: 12px 0 16px;
}

.confirmation-box > p {
  color: var(--grey);
  font-size: 1.05rem;
}

.next-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.next-list article {
  border-top: 3px solid var(--teal);
  background: var(--mist);
  padding: 21px;
}

.next-list h2 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.next-list p {
  color: var(--grey);
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .brand small {
    display: none;
  }

  .desktop-nav {
    gap: 12px;
  }

  .desktop-nav > a {
    font-size: 0.83rem;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: inline-flex;
    min-width: 76px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    padding: 8px 13px;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav[open] summary {
    border-color: var(--mint);
    color: var(--mint);
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(320px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: var(--deep);
    box-shadow: 0 20px 48px rgba(3, 19, 28, 0.35);
    padding: 10px;
  }

  .mobile-nav nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    border-radius: 7px;
    color: #dceae9;
    font-weight: 700;
    padding: 10px 12px;
  }

  .mobile-nav nav a:hover,
  .mobile-nav nav a[aria-current="page"] {
    background: #133c4b;
    color: var(--mint);
  }

  .mobile-nav nav .btn {
    justify-content: center;
    margin-top: 6px;
    color: var(--deep);
  }

  .hero-grid,
  .split,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 34px;
    padding-block: 48px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-figure {
    max-width: 680px;
  }

  .split {
    gap: 34px;
  }

  .decision-flow,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .policy-nav {
    position: static;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1140px);
  }

  .brand {
    font-size: 1.17rem;
  }

  .page-hero h1 {
    font-size: clamp(2.12rem, 11vw, 3.05rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .compact-actions {
    display: grid;
  }

  .hero-actions .btn,
  .compact-actions .btn {
    width: 100%;
  }

  .hero-facts,
  .boundary-inner,
  .panel-grid,
  .plain-grid,
  .guide-list,
  .decision-flow,
  .status-grid,
  .footer-grid,
  .next-list {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .section {
    padding: 58px 0;
  }

  .panel {
    padding: 23px;
  }

  .decision-step,
  .status-card {
    min-height: 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .compact-main {
    min-height: 0;
    padding: 48px 0;
  }

  .confirmation-box {
    padding: 28px 22px;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .cta-panel,
  .hero-actions,
  .compact-actions,
  .skip-link,
  .policy-nav {
    display: none !important;
  }

  .page-hero {
    background: #ffffff;
    color: #000000;
  }

  .page-hero h1,
  .page-label,
  .hero-lead {
    color: #000000;
  }

  body,
  .policy-body p,
  .policy-body li {
    color: #000000;
  }

  .section,
  .hero-grid {
    padding: 24px 0;
  }
}
