:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #596765;
  --line: #cbd7d3;
  --paper: #f2f6f4;
  --white: #ffffff;
  --teal: #177c72;
  --coral: #c44e35;
  --blue: #2d67a3;
  --amber: #d18a1d;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
code {
  font: inherit;
}

button {
  color: inherit;
}

.fallback {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(23, 32, 31, 0.16);
  background: rgba(242, 246, 244, 0.9);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
}

.brand-mark::before {
  top: 5px;
  left: 5px;
  background: var(--teal);
}

.brand-mark::after {
  right: 5px;
  bottom: 5px;
  background: var(--coral);
}

.brand-name {
  overflow: hidden;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.state-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(209, 138, 29, 0.15);
}

.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 54px) 36px 64px;
  border-bottom: 1px solid var(--line);
}

.signal-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 44px;
  height: 3px;
  background: var(--teal);
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.domain-name {
  color: var(--blue);
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.host-row {
  width: min(720px, 100%);
  min-height: 58px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.host-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.host-value {
  min-width: 0;
  overflow: hidden;
  color: var(--coral);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.icon-button:focus-visible {
  outline: 3px solid rgba(45, 103, 163, 0.28);
  outline-offset: 2px;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.phase-track {
  width: min(720px, 100%);
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.phase {
  min-width: 0;
}

.phase-bar {
  width: 100%;
  height: 6px;
  margin-bottom: 9px;
  background: rgba(23, 32, 31, 0.12);
}

.phase.is-active .phase-bar {
  background: var(--amber);
}

.phase.is-ready .phase-bar {
  background: var(--teal);
}

.phase-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.details {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 54px 36px 68px;
}

.detail-heading {
  margin: 0 0 28px;
  font-size: 28px;
  letter-spacing: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-item {
  min-width: 0;
  min-height: 150px;
  padding: 24px 24px 26px 0;
}

.detail-item + .detail-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.detail-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-value {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.detail-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .topbar {
    padding: 0 18px;
  }

  .header-state span:last-child {
    display: none;
  }

  .hero {
    min-height: 82vh;
    align-items: end;
    padding: calc(var(--header-height) + 44px) 18px 46px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    margin-top: 20px;
    font-size: 18px;
  }

  .host-row {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .host-label {
    display: none;
  }

  .phase-track {
    gap: 5px;
  }

  .details {
    padding: 42px 18px 54px;
  }

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

  .detail-item,
  .detail-item + .detail-item {
    min-height: 0;
    padding: 20px 0;
    border-left: 0;
  }

  .detail-item + .detail-item {
    border-top: 1px solid var(--line);
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 40px;
  }

  .brand-name {
    max-width: 180px;
  }
}

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

  .icon-button {
    transition: none;
  }
}
