:root {
  color-scheme: dark;
  --ink: #e8edf5;
  --muted: #8994a6;
  --line: rgba(255, 255, 255, 0.11);
  --panel: rgba(19, 26, 37, 0.82);
  --blue: #3ba7ff;
  --green: #46d6a0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b10;
  color: var(--ink);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 2%, rgba(25, 112, 179, 0.24), transparent 34rem),
    radial-gradient(circle at 5% 82%, rgba(33, 83, 125, 0.15), transparent 34rem),
    linear-gradient(145deg, #080b10 0%, #0c1119 65%, #080b10 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
nav { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 760; letter-spacing: .08em; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(59,167,255,.55);
  border-radius: 50%; color: var(--blue); font-family: Georgia, serif; font-size: 22px;
  box-shadow: inset 0 0 20px rgba(59,167,255,.12), 0 0 24px rgba(59,167,255,.1);
}
.network-badge { color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.network-badge i, .status i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero { padding: 68px 0 54px; max-width: 800px; }
.eyebrow, .label { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 18px 0 24px; font-size: clamp(48px, 8vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 620; }
h1 span { color: #6f7b8c; }
.hero > p { max-width: 680px; color: #a4adba; font-size: 18px; line-height: 1.65; }
.faucet-card {
  padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel);
  box-shadow: 0 25px 80px rgba(0,0,0,.32); backdrop-filter: blur(22px);
}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.label { margin: 0 0 8px; }
h2 { margin: 0; font-size: 29px; letter-spacing: -.03em; }
.status { color: var(--muted); font-size: 13px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; }
.status.offline i { background: #ff6b73; box-shadow: 0 0 14px #ff6b73; }
label { display: block; margin-bottom: 10px; color: #b7c0cc; font-size: 13px; font-weight: 600; }
.address-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
input, button { min-height: 58px; border-radius: 10px; font: inherit; }
input {
  width: 100%; padding: 0 18px; border: 1px solid var(--line); outline: none; color: var(--ink);
  background: rgba(5, 8, 13, .68); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
input:focus { border-color: rgba(59,167,255,.7); box-shadow: 0 0 0 3px rgba(59,167,255,.1); }
button {
  display: flex; align-items: center; gap: 26px; padding: 0 22px; border: 0; cursor: pointer;
  color: #06111a; background: linear-gradient(135deg, #71c3ff, #3ba7ff); font-weight: 760;
}
button:hover { filter: brightness(1.08); }
button:disabled { cursor: wait; opacity: .55; }
.fine-print { margin: 12px 0 0; color: #687486; font-size: 12px; }
.message { margin-top: 22px; padding: 15px 17px; border: 1px solid rgba(70,214,160,.25); border-radius: 10px; background: rgba(70,214,160,.07); color: #9ce8c9; word-break: break-word; font-size: 14px; }
.message.error { border-color: rgba(255,107,115,.25); background: rgba(255,107,115,.07); color: #ffadb2; }
.message a { color: inherit; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 34px -34px -34px; overflow: hidden; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--line); }
.metrics div { padding: 23px 34px; background: rgba(8, 12, 18, .94); }
.metrics span, .metrics strong { display: block; }
.metrics span { margin-bottom: 8px; color: #687486; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.metrics strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
footer { display: flex; gap: 28px; align-items: center; padding: 30px 0 48px; color: #687486; font-size: 12px; }
footer span { margin-right: auto; }
footer a { color: #9ba6b4; text-decoration: none; }
footer a:hover { color: var(--blue); }
@media (max-width: 700px) {
  main { width: min(100% - 24px, 1120px); }
  nav { height: 76px; }
  .hero { padding: 44px 0 36px; }
  .faucet-card { padding: 22px; }
  .address-row { grid-template-columns: 1fr; }
  button { justify-content: space-between; }
  .metrics { grid-template-columns: 1fr; margin: 28px -22px -22px; }
  .metrics div { padding: 18px 22px; }
  footer { flex-wrap: wrap; }
  footer span { flex-basis: 100%; }
}
