:root {
  color-scheme: light;
  --page: #f2e7d7;
  --paper: #fffaf1;
  --paper-strong: #ffffff;
  --ink: #201713;
  --muted: #6f5a4b;
  --line: #d8c3a6;
  --gold: #f4a72c;
  --gold-strong: #d88916;
  --blue: #0e5a83;
  --green: #1d7568;
  --red: #9d3d32;
  --shadow: 0 24px 70px rgba(66, 43, 27, 0.16);
  --soft-shadow: 0 14px 34px rgba(66, 43, 27, 0.10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(42, 27, 20, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(42, 27, 20, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(244, 167, 44, 0.24), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(14, 90, 131, 0.14), transparent 28rem),
    linear-gradient(180deg, #fff8ee 0%, var(--page) 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  font-size: 18px;
}

a {
  color: #075f92;
  font-weight: 800;
  text-underline-offset: 0.16em;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

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

.brand-mark,
.icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border: 3px solid #2a1b14;
  border-radius: 16px;
  overflow: hidden;
  background: #09272d;
  box-shadow: inset 0 -8px 0 rgba(42, 27, 20, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark svg,
.icon svg {
  width: 62%;
  height: 62%;
}

.hero-logo {
  display: block;
  width: min(240px, 55vw);
  height: auto;
  margin-bottom: 22px;
  border: 1px solid rgba(42, 27, 20, 0.18);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.brand-title {
  display: block;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.language-note {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.lang-link[aria-current="true"] {
  background: var(--ink);
  color: #fff8ec;
  border-color: var(--ink);
}

.lang-link:hover,
.lang-link:focus-visible {
  border-color: var(--ink);
}

.hero,
.panel,
.notice,
.card,
.table-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  border-radius: 22px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 198, 92, 0.22), transparent 42%),
    var(--paper);
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.policy-nav a,
.hero-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf1;
  color: #4a2d16;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 900;
}

.policy-nav a:hover,
.policy-nav a:focus-visible,
.hero-action:hover,
.hero-action:focus-visible {
  border-color: var(--gold);
  outline: 3px solid rgba(244, 167, 44, 0.30);
  outline-offset: 2px;
}

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

.hero-action.primary {
  background: var(--gold);
  border-color: var(--gold-strong);
  color: #23160d;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(244, 167, 44, 0.2);
  color: #694016;
  font-size: 0.92rem;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 6vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p,
li {
  line-height: 1.62;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #3d3028;
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  font-weight: 700;
}

.status-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e2c592;
  border-radius: 18px;
  background: #fff4dd;
}

.status-card strong {
  color: #24150d;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a271b;
  font-weight: 900;
}

.status-line .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.status-card p {
  margin-bottom: 0;
  color: #5e4939;
  font-size: 1rem;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf1;
  color: #3a271b;
  font-size: 0.92rem;
  font-weight: 900;
}

.status-loading,
.status-maintenance {
  background: rgba(14, 90, 131, 0.12);
  color: var(--blue);
}

.status-operational {
  background: rgba(29, 117, 104, 0.13);
  color: var(--green);
}

.status-degraded {
  background: rgba(244, 167, 44, 0.18);
  color: #7b4a11;
}

.status-outage {
  background: rgba(157, 61, 50, 0.13);
  color: var(--red);
}

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

.status-metric {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.88);
}

.status-metric strong {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.status-metric span {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
}

.quick-grid,
.content-grid,
.cards-grid {
  display: grid;
  gap: 16px;
}

.quick-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: clamp(18px, 3vw, 28px);
  background: #1f1713;
}

.quick-link {
  display: grid;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #fff7e8;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.quick-link:hover,
.quick-link:focus-visible {
  border-color: var(--gold);
  outline: 3px solid rgba(244, 167, 44, 0.34);
  outline-offset: 2px;
}

.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: var(--gold);
  color: #2c1a10;
}

.icon.blue {
  background: #1d75a7;
  color: #fff;
}

.icon.green {
  background: #2b8a78;
  color: #fff;
}

.icon.red {
  background: #b24b3f;
  color: #fff;
}

.quick-link strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.quick-link span {
  color: #675141;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.42;
}

.panel {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

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

.card,
.notice,
.table-card {
  padding: 20px;
  border-radius: 18px;
  box-shadow: none;
}

.card {
  background: rgba(255, 250, 242, 0.98);
}

.card p,
.notice p {
  margin-bottom: 0;
}

.notice {
  border-color: #d7a33f;
  background: #fff3d7;
}

.notice.critical {
  border-color: #d98b81;
  background: #fff0ed;
}

.notice.success {
  border-color: #89b7a7;
  background: #edf9f3;
}

.notice.info {
  border-color: #8bb6d0;
  background: #edf7fc;
}

.kicker {
  margin-bottom: 8px;
  color: #725034;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.meta-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.92);
}

.meta-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.meta-item span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(42, 27, 20, 0.16);
  border-radius: 999px;
  background: #fff7e6;
  color: #4c2e18;
  font-size: 0.92rem;
  font-weight: 900;
}

.definition-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.definition-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(216, 195, 166, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
}

.definition-list dt {
  font-weight: 950;
}

.definition-list dd {
  margin: 0;
  color: #4a392f;
  font-weight: 720;
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.timeline .step {
  position: relative;
  padding: 16px 16px 16px 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf1;
}

.timeline .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #26180d;
  font-size: 0.94rem;
  font-weight: 950;
}

.timeline h3 {
  margin-bottom: 4px;
}

.timeline p {
  margin-bottom: 0;
  color: #4a392f;
  font-weight: 720;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(216, 195, 166, 0.64);
  line-height: 1.35;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.source-list a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf1;
  color: #593515;
  text-decoration: none;
  font-size: 0.92rem;
}

.check-list,
.number-list {
  margin: 0;
  padding-left: 1.35rem;
}

.check-list li,
.number-list li {
  margin-bottom: 8px;
  font-weight: 720;
}

.check-list li:last-child,
.number-list li:last-child {
  margin-bottom: 0;
}

.section-stack {
  display: grid;
  gap: 18px;
}

.section-stack > section {
  scroll-margin-top: 20px;
}

.page-title {
  margin-bottom: 22px;
}

.table-card {
  overflow: hidden;
  padding: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

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

.data-table th {
  width: 34%;
  background: #fff3dd;
  font-size: 1rem;
}

.data-table td {
  color: #3d3028;
  font-weight: 720;
}

.data-table td ul {
  margin: 0;
  padding-left: 1.2rem;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin: 16px 20px 20px;
  color: #4a392f;
  font-weight: 760;
}

.footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 750;
}

.footer a {
  color: #5f3a1d;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 900;
}

@media (max-width: 920px) {
  .hero-main,
  .content-grid,
  .three-grid,
  .service-status-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(100% - 22px, 1120px);
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .language-note {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .panel {
    border-radius: 16px;
  }

  .hero-main,
  .panel {
    padding: 20px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

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

  .quick-link {
    min-height: auto;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
  }

  .quick-link .icon {
    margin-bottom: 0;
  }

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

  .data-table th {
    border-bottom: 0;
    padding-bottom: 8px;
  }

  .data-table td {
    padding-top: 0;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
