:root {
  color-scheme: dark;
  --bg: #050505;
  --bar: #080808;
  --panel: #0d0f10;
  --panel-2: #121516;
  --line: #24292b;
  --line-bright: #354044;
  --text: #f4f7f8;
  --muted: #929a9e;
  --cyan: #46e0ed;
  --cyan-dim: #143a3e;
  --green: #38d99c;
  --red: #ff6375;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(circle at 76% 10%, rgba(36, 122, 132, .15), transparent 27rem),
    linear-gradient(180deg, #050505 0%, #08090a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #a7f7fc; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, .86);
  border-bottom: 1px solid #1c2022;
  backdrop-filter: blur(16px);
}
nav { display: flex; gap: 22px; }
nav a { color: #bac1c4; font-size: .9rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .16em;
}
.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  box-shadow: inset 0 0 16px rgba(70, 224, 237, .12), 0 0 18px rgba(70, 224, 237, .08);
}

main { max-width: 1180px; margin: auto; padding: 72px 24px 96px; }
.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 74px;
}
.eyebrow, .role {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
}
.hero h1, .document h1, .admin h1 {
  margin: .25em 0;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero h1 span { color: #9ca4a7; }
.hero p, .lead {
  max-width: 690px;
  color: #aab1b4;
  font-size: 1.14rem;
  line-height: 1.75;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button, button {
  appearance: none;
  border: 1px solid var(--cyan);
  border-radius: 9px;
  background: var(--cyan);
  color: #021113;
  padding: 12px 18px;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.button:hover, button:hover { transform: translateY(-1px); background: #8bf2f8; color: #021113; }
.button.secondary { background: transparent; color: #d9dfe1; border-color: var(--line-bright); }
.button.secondary:hover { border-color: var(--cyan); color: var(--cyan); }
button:disabled { opacity: .55; cursor: wait; transform: none; }
.signal { display: grid; place-items: center; min-height: 390px; }
.signal-ring {
  position: relative;
  width: min(310px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid #3b4649;
  border-radius: 50%;
  background: radial-gradient(circle, #111617 0 45%, #090a0b 46% 64%, transparent 65%);
  box-shadow: 0 0 0 28px rgba(70,224,237,.025), 0 0 0 58px rgba(70,224,237,.012), 0 34px 90px #000;
}
.signal-ring::before, .signal-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 13%;
  border: 1px solid rgba(70, 224, 237, .28);
}
.signal-ring::after { inset: -2%; border-color: rgba(70, 224, 237, .11); }
.signal-ring span { color: #7f898c; font-size: .72rem; font-weight: 800; letter-spacing: .3em; text-align: center; }
.signal-ring b { margin-top: 4px; font-size: 2rem; letter-spacing: .06em; }
.stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-block: 1px solid #191d1f;
}
.stack span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0b0d0e;
  color: #a7afb2;
  font: 750 .73rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.features article, .person, .panel, .login, .stats article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 15, 16, .92);
}
.features article { position: relative; min-height: 225px; padding: 27px; }
.feature-no { color: #657074; font: 700 .76rem ui-monospace, monospace; }
.features h2 { margin: 58px 0 8px; font-size: 1.25rem; }
.features p, .panel p, .admin-heading p { color: var(--muted); line-height: 1.65; }
.people { margin-top: 100px; }
.section-title { max-width: 720px; margin-bottom: 28px; }
.section-title h2 { margin: 10px 0 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.045em; }
.person {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 26px;
  padding: 24px;
  margin-top: 14px;
}
.person.owner { border-color: #285156; }
.avatar {
  width: 116px;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #31383a;
  background: #070808;
}
.avatar.monogram { display: grid; place-items: center; color: var(--cyan); font-size: 2rem; font-weight: 900; }
.person h3 { margin: 6px 0; font-size: 1.55rem; }
.person p { margin: 0 0 10px; color: var(--muted); line-height: 1.6; }

.document { max-width: 820px; margin: auto; }
.document h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); overflow-wrap: anywhere; }
.document h2 { margin-top: 46px; padding-top: 6px; font-size: 1.28rem; }
.document p, .document li { color: #b8c0c3; line-height: 1.8; }
.document li { margin-bottom: 9px; }
.document code, td code { padding: 2px 6px; border-radius: 5px; background: #161a1c; color: #d5dcde; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.login { max-width: 470px; margin: 8vh auto; padding: 28px; }
.login h1 { font-size: 2rem; margin-top: 0; }
.login form, .panel form { display: grid; gap: 17px; }
label { display: grid; gap: 8px; color: #d8dddf; font-weight: 720; }
input {
  width: 100%;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  outline: none;
  background: #070808;
  color: var(--text);
  font: inherit;
}
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(70,224,237,.09); }

.admin { display: grid; gap: 20px; }
.admin h1 { margin: .12em 0; font-size: 3.1rem; }
.admin h2 { margin: 4px 0 9px; }
.admin-heading { padding-bottom: 12px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.title-row > span, small { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats article { display: grid; gap: 4px; padding: 20px; }
.stats b { font-size: 1.9rem; }
.stats span { color: var(--muted); font-size: .82rem; }
.panel { padding: 24px; }
.panel-note { max-width: 780px; }
.form-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .45fr; gap: 14px; margin: 20px 0 2px; }
.inline { display: inline-grid !important; margin-top: 13px; }
.danger { background: rgba(255,99,117,.08); color: #ff9ba6; border-color: rgba(255,99,117,.35); }
.danger:hover { background: rgba(255,99,117,.16); color: #ffd7dc; border-color: var(--red); }
.small { padding: 7px 9px; }
.ad-preview {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 15px;
  min-height: 104px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080a0b;
}
.ad-preview img { width: 74px; height: 96px; object-fit: cover; border-radius: 7px; }
.ad-preview > span { width: 74px; height: 96px; display: grid; place-items: center; border: 1px dashed #343c3f; border-radius: 7px; color: #697275; font-size: .72rem; }
.ad-preview b, .ad-preview small { display: block; overflow-wrap: anywhere; }
.table-wrap { overflow: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; min-width: 1060px; border-collapse: collapse; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { position: sticky; top: 0; background: #101314; color: var(--cyan); font-size: .72rem; letter-spacing: .08em; }
td { font-size: .86rem; }
td.url { max-width: 410px; overflow-wrap: anywhere; }
small { display: block; margin-top: 5px; font-size: .72rem; font-weight: 500; line-height: 1.45; }
.alert { margin: 0; padding: 12px 15px; border-radius: 9px; }
.good { border: 1px solid rgba(56,217,156,.25); background: rgba(56,217,156,.08); color: #8cf0ca; }
.bad { border: 1px solid rgba(255,99,117,.25); background: rgba(255,99,117,.08); color: #ff9ba6; }

footer { padding: 30px 20px; border-top: 1px solid #191d1f; text-align: center; color: #687175; font-size: .8rem; }
footer p { margin: 5px; }

@media (max-width: 820px) {
  header { padding: 0 17px; }
  nav { gap: 13px; }
  main { padding: 42px 17px 70px; }
  .hero { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .hero-copy { order: 2; }
  .signal { order: 1; min-height: 330px; }
  .hero p { margin-inline: auto; }
  .actions { justify-content: center; }
  .features, .stats, .form-grid { grid-template-columns: 1fr; }
  .features { margin-top: 58px; }
  .features article { min-height: 180px; }
  .features h2 { margin-top: 38px; }
  .person { grid-template-columns: 78px 1fr; align-items: start; gap: 16px; }
  .avatar { width: 78px; border-radius: 11px; }
  .title-row { align-items: flex-start; flex-direction: column; }
  .admin-heading .button { width: 100%; text-align: center; }
}

@media (max-width: 520px) {
  .brand span:last-child { display: none; }
  .hero h1 { font-size: 3rem; }
  .person { grid-template-columns: 1fr; }
  .avatar { width: 92px; }
  .panel, .login { padding: 18px; }
}
