:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #111111;
  --surface-raised: #191918;
  --ink: #f6f3ee;
  --muted: #b9b8b1;
  --quiet: #85847d;
  --line: #30302d;
  --line-strong: #4a4944;
  --accent: #ff6a00;
  --accent-soft: #ffd0a5;
  --shadow: rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 106, 0, 0.12) 0 1px, transparent 1px) 0 0 /
      96px 96px,
    var(--bg);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 3px;
  content: "";
  background: var(--accent);
}

button,
a {
  font: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 12px;
  color: var(--bg);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
}

.site-mark {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-note,
.site-footer {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  display: grid;
  padding: clamp(24px, 4vw, 36px) 20px clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  place-items: center;
}

.hero-inner {
  display: grid;
  width: min(100%, 860px);
  justify-items: center;
  text-align: center;
}

.hero-glyph {
  width: clamp(84px, 13vw, 136px);
  height: auto;
  margin-bottom: clamp(18px, 3vw, 28px);
  filter: drop-shadow(0 18px 38px var(--shadow));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin-bottom: clamp(18px, 3vw, 26px);
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  line-height: 1.55;
}

.connect-tool {
  width: min(100%, 640px);
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 40px var(--shadow);
}

.tool-label {
  display: block;
  margin-bottom: 10px;
  color: var(--quiet);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

#server-address {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #080808;
  color: var(--ink);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 800;
}

.copy-button {
  display: inline-flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #090909;
  cursor: pointer;
  font-weight: 900;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.copy-button:focus-visible,
.home-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.copy-icon {
  position: relative;
  width: 16px;
  height: 18px;
}

.copy-icon::before,
.copy-icon::after {
  position: absolute;
  content: "";
  border: 2px solid currentColor;
  border-radius: 3px;
}

.copy-icon::before {
  inset: 0 3px 4px 0;
  opacity: 0.55;
}

.copy-icon::after {
  inset: 4px 0 0 3px;
  background: currentColor;
  box-shadow: inset 0 0 0 4px var(--accent);
}

.copy-button:hover .copy-icon::after,
.copy-button:focus-visible .copy-icon::after,
.copy-button[data-state="copied"] .copy-icon::after {
  box-shadow: inset 0 0 0 4px var(--accent-soft);
}

.copy-button[data-state="copied"] {
  background: var(--ink);
  border-color: var(--ink);
}

.copy-button[data-state="failed"] {
  background: transparent;
  color: var(--accent-soft);
}

.fact-strip {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
}

.fact-strip div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0b0b;
}

dt {
  margin-bottom: 6px;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: clamp(0.92rem, 2vw, 1rem);
  font-weight: 850;
}

.section-band {
  padding: clamp(48px, 6vw, 64px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #0b0b0a;
}

.muted-band {
  background: var(--surface);
}

.content-grid {
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  margin: 0 auto;
}

.section-heading {
  align-self: start;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-list,
.note-grid {
  display: grid;
  gap: 14px;
}

.feature-item,
.note-grid article {
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
}

.feature-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: 0;
}

.feature-item p,
.note-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 64px);
  background: var(--bg);
}

.not-found-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.not-found {
  display: grid;
  width: min(100%, 560px);
  justify-items: center;
  padding: 32px 20px;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.8rem, 10vw, 5rem);
}

.home-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--bg);
  background: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-note {
    display: none;
  }

  .content-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 52px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-glyph {
    width: 78px;
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.25rem);
  }

  .lede {
    margin-bottom: 20px;
  }

  .connect-tool {
    padding: 12px;
  }

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

  .copy-button {
    min-height: 46px;
  }

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

  .site-footer {
    display: grid;
  }
}
