:root {
  color-scheme: light;
  --bg: #f7faf9;
  --panel: #ffffff;
  --panel-2: #eef7f5;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e4e1;
  --teal: #0f9f8f;
  --teal-strong: #087d73;
  --indigo: #3154a3;
  --amber: #b7791f;
  --rose: #b42318;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    linear-gradient(180deg, rgba(15, 159, 143, 0.08), rgba(49, 84, 163, 0.04) 40%, rgba(247, 250, 249, 0) 78%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 228, 225, 0.8);
  background: rgba(247, 250, 249, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #0b1f3a;
  color: #65f4d5;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.22);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  border-radius: 8px;
  padding: 9px 12px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(15, 159, 143, 0.1);
  color: var(--teal-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 54px 0 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  color: #0f172a;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: #475467;
  font-size: 18px;
  line-height: 1.68;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--panel);
  color: #1d2939;
  font-weight: 750;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

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

.relay-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.relay-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.relay-card h2,
.relay-card h3 {
  margin: 0;
  font-size: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(15, 159, 143, 0.1);
  color: var(--teal-strong);
  font-size: 12px;
  font-weight: 800;
}

.pipeline {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.pipe-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e5ecea;
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfc;
}

.pipe-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--teal-strong);
  font-weight: 900;
}

.pipe-row strong {
  display: block;
}

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

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

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
}

.panel h2,
.panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.6;
}

.panel p {
  margin: 0;
}

.metric {
  margin: 10px 0 0;
  font-size: 30px;
  font-weight: 820;
}

.metric small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.section {
  padding: 22px 0 40px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

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

.table th {
  background: #eef7f5;
  color: #1d2939;
  font-size: 13px;
}

.table td {
  color: #475467;
}

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

.code {
  overflow-x: auto;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #101828;
  color: #d1fadf;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5d1;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(15, 159, 143, 0.16);
  border-color: var(--teal);
}

.notice {
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: #fff7e6;
  color: #713f12;
  padding: 14px 16px;
  line-height: 1.6;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 14px 16px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 159, 143, 0.13);
}

.dot.warn {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(183, 121, 31, 0.14);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 780;
}

details p {
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .input-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 20px, 1120px);
  }

  h1 {
    font-size: 36px;
  }

  .pipe-row,
  .status-item {
    grid-template-columns: 1fr;
  }
}
