:root {
  color-scheme: dark;
  --page: #181818;
  --strip: #141414;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);
  --soft: rgba(255, 255, 255, 0.42);
  --teal: #168ab1;
  --mint: #4cbd97;
  --rose: #ef476f;
  --coral: #f68c6c;
  --sun: #ffd067;
  --navy: #053b4c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family: "Roboto", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(22, 138, 177, 0.14), transparent 32rem),
    linear-gradient(215deg, rgba(255, 208, 103, 0.1), transparent 24rem),
    var(--page);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

a {
  color: inherit;
}

.shell {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(16px);
}

.header-nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-link img {
  display: block;
  width: auto;
  height: 50px;
}

.status-pill {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 208, 103, 0.38);
  border-radius: 999px;
  background: rgba(255, 208, 103, 0.08);
  padding: 0.35rem 0.8rem;
  color: var(--sun);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  display: grid;
  min-height: calc(100vh - 142px);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  align-items: center;
  gap: clamp(2rem, 7vw, 5rem);
  padding-block: clamp(3rem, 8vw, 6.5rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sun);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.25rem, 9vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 41rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.6;
}

.search-preview {
  display: flex;
  width: min(100%, 44rem);
  min-height: 3.35rem;
  align-items: stretch;
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.search-text {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 4px 4px 0;
  background: var(--teal);
  padding-inline: 1.4rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.signal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 208, 103, 0.08), transparent 62%),
    var(--panel);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.signal-panel::after {
  position: absolute;
  inset-inline: 1rem;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--sun), var(--coral));
  content: "";
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  line-height: 1.35;
}

.panel-row:last-child {
  border-bottom: 0;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  border-radius: 999px;
}

.dot-teal {
  background: var(--teal);
}

.dot-mint {
  background: var(--mint);
}

.dot-sun {
  background: var(--sun);
}

.quiet-strip,
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--strip);
}

.strip-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.strip-content {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.strip-muted {
  color: var(--soft);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 1.5rem, 64rem);
  }

  .header-nav {
    min-height: 66px;
  }

  .brand-link img {
    height: 40px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 3rem 3.5rem;
  }

  h1 {
    max-width: 10ch;
  }

  .lead {
    line-height: 1.55;
  }

  .search-preview {
    flex-direction: column;
    min-height: 0;
  }

  .search-text,
  .search-button {
    min-height: 3rem;
    border-radius: 4px;
  }

  .search-text {
    border-right: 1px solid var(--line-strong);
    border-bottom: 0;
  }

  .search-button {
    border-radius: 0 0 4px 4px;
  }

  .strip-content,
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}
