:root {
  color-scheme: light;
  --ink: #172033;
  --text: #2d3a4d;
  --muted: #667085;
  --line: #d9e4ee;
  --panel: rgba(255, 255, 255, .86);
  --panel-strong: #ffffff;
  --soft: #eef5f8;
  --blue: #2563eb;
  --blue-dark: #1745ad;
  --cyan: #0891b2;
  --teal: #0f766e;
  --green: #16a34a;
  --amber: #b45309;
  --shadow: 0 18px 54px rgba(23, 32, 51, .13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  background:
    linear-gradient(180deg, rgba(247, 251, 253, .96), rgba(236, 244, 248, .97)),
    linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 118, 110, .05) 1px, transparent 1px),
    url("/images/back.jpg") center / cover fixed;
  background-size: auto, 52px 52px, 52px 52px, cover;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 20px;
  font-size: 72px;
  line-height: .95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--teal));
  font-weight: 900;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(217, 228, 238, .86);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 26px rgba(23, 32, 51, .08);
}

.language-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #5b6675;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-switch .active-lang {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 5px 16px rgba(15, 118, 110, .2);
}

.language-switch button:focus-visible,
.button:focus-visible,
.access-note:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}

.hero {
  width: min(980px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 34px 0 22px;
}

.access-hero {
  text-align: center;
}

.hero-copy {
  width: 100%;
}

.notice-bar {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 16px;
  padding: 9px 13px;
  color: #05603a;
  background: rgba(223, 248, 235, .9);
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(22, 163, 74, .12);
}

.notice-pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  animation: pulse-ring 1.8s ease-out infinite;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead {
  max-width: 730px;
  margin: 0 auto 20px;
  color: #475467;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border-radius: 8px;
  border: 0;
  font-size: 14px;
  font-weight: 850;
}

button.button {
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(37, 99, 235, .24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  color: #263548;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 18px auto 0;
}

.hero-metrics div,
.access-note,
.guidance-panel,
.endpoint-strip,
.status-item,
.contact-box {
  border: 1px solid rgba(217, 228, 238, .92);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-height: 76px;
  padding: 13px 16px;
  text-align: left;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 4px;
  font-size: 21px;
  line-height: 1.1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.access-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 18px auto 0;
  padding: 17px;
  text-align: left;
  border-color: rgba(37, 99, 235, .18);
  background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(15, 118, 110, .08)), rgba(255, 255, 255, .88);
}

.access-note strong,
.access-note p {
  display: block;
}

.access-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

.access-note.is-highlighted {
  animation: note-flash 1.05s ease;
}

.notice-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

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

.compact-support {
  margin-top: 14px;
}

.support-grid span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text);
  background: #eef4f8;
  font-size: 13px;
  font-weight: 800;
}

.section {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 12px;
}

.guidance-panel {
  display: grid;
  grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
  gap: 16px;
  padding: 18px;
}

.guidance-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.guidance-list {
  display: grid;
  gap: 10px;
}

.guidance-list article {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(217, 228, 238, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.guidance-list article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.guidance-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.endpoint-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-bottom: 18px;
}

.endpoint-strip div {
  min-height: 72px;
  display: grid;
  align-content: center;
  padding: 12px 16px;
  text-align: left;
}

.endpoint-strip div + div {
  border-left: 1px solid rgba(217, 228, 238, .92);
}

.endpoint-strip strong,
.endpoint-strip span {
  display: block;
}

.endpoint-strip strong {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.15;
}

.endpoint-strip span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 6px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #667085;
  font-size: 13px;
}

.status-layout {
  width: min(820px, calc(100% - 48px));
  min-height: calc(100svh - 154px);
  margin: 0 auto;
  padding: 70px 0;
}

.status-layout h1 {
  font-size: 64px;
}

.status-layout .lead {
  margin-left: 0;
}

.status-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.status-item,
.contact-box {
  padding: 20px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.status-item p,
.contact-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.badge {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #05603a;
  background: #dcfce7;
  font-size: 12px;
  font-weight: 900;
}

.badge-warning {
  color: var(--amber);
  background: #fef3c7;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .28);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

@keyframes note-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, .26), var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 99, 235, .08), var(--shadow);
  }
  100% {
    box-shadow: var(--shadow);
  }
}

@media (min-width: 861px) and (min-height: 900px) {
  body {
    overflow-y: hidden;
  }

  .private-page {
    height: calc(100svh - 92px);
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 10px;
  }

  .private-page .hero {
    padding: 0;
  }

  .private-page .access-guidance {
    margin-bottom: 0;
  }

  .private-page .endpoint-strip {
    margin-bottom: 0;
  }

  .site-footer {
    position: fixed;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
  }
}

@media (max-width: 860px) {
  body {
    overflow-y: auto;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 34px;
  }

  .hero,
  .section,
  .site-header,
  .site-footer {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .lead {
    font-size: 18px;
  }

  .guidance-panel {
    grid-template-columns: 1fr;
  }

  .support-grid,
  .endpoint-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endpoint-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(217, 228, 238, .92);
  }

  .endpoint-strip div:nth-child(4) {
    border-top: 1px solid rgba(217, 228, 238, .92);
  }
}

@media (max-width: 560px) {
  body {
    background-attachment: scroll, scroll, scroll, scroll;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .site-header {
    width: calc(100% - 24px);
    padding: 12px 0;
  }

  .brand span:last-child {
    display: none;
  }

  .hero,
  .section,
  .site-footer,
  .status-layout {
    width: calc(100% - 24px);
  }

  .hero {
    padding: 34px 0 46px;
  }

  .notice-bar {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .support-grid,
  .endpoint-strip {
    grid-template-columns: 1fr;
  }

  .access-note {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .guidance-panel {
    padding: 18px;
  }

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

  .endpoint-strip div + div,
  .endpoint-strip div:nth-child(3),
  .endpoint-strip div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(217, 228, 238, .92);
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }
}
