/* Signal Prime — marketing-agency style static site
   Designed for fast load + clean typography. */

:root {
  --bg: #0b0f14;
  --bg2: #0f1620;
  --card: #0f1822;
  --muted: #a8b3bf;
  --text: #e9eef5;
  --line: rgba(255,255,255,.10);
  --accent: #39D353;
  --accent2: #59f07a;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html {
  height: 100%;
  background: radial-gradient(1000px 700px at 70% -10%, rgba(57,211,83,.18), transparent 50%),
              radial-gradient(900px 700px at 10% 20%, rgba(89,240,122,.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  background-repeat: no-repeat;
  background-attachment: fixed; /* prevents “bands” on long scroll */
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: transparent; /* background lives on html */
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;
}

main {
  flex: 1;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); margin: 0 0 1rem; }
h1,h2,h3,h4 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,15,20,.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(57,211,83,.95), rgba(89,240,122,.65));
  box-shadow: 0 10px 30px rgba(57,211,83,.20);
  position: relative;
  overflow: hidden;
}
.brand-mark:before {
  content: "";
  position: absolute;
  inset: -40% -40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%);
  transform: rotate(18deg);
}
.brand small {
  display: block;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(233,238,245,.72);
  font-size: 0.70rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  padding: 9px 12px;
  border-radius: 12px;
  color: rgba(233,238,245,.80);
  font-weight: 650;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.nav a:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
.nav a.active {
  background: rgba(57,211,83,.12);
  border-color: rgba(57,211,83,.22);
  color: rgba(233,238,245,.95);
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  width: 46px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(233,238,245,.92);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav.nav-open .nav-toggle .bar:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}
.nav.nav-open .nav-toggle .bar:nth-child(3) {
  opacity: 0;
}
.nav.nav-open .nav-toggle .bar:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57,211,83,.30);
  background: rgba(57,211,83,.12);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  font-weight: 750;
}
.cta:hover {
  background: rgba(57,211,83,.16);
  border-color: rgba(57,211,83,.42);
}
.dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(57,211,83,.12);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  padding: 56px 0 20px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.card {
  background: rgba(15,24,34,.70);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 28px;
  overflow: hidden;
  position: relative;
}
.hero-card:after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(57,211,83,.20), transparent 60%);
  transform: rotate(12deg);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,245,.85);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: .72rem;
}
.hero h1 span {
  color: var(--accent2);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,245,.92);
  font-weight: 800;
}
.btn:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.btn.primary {
  border-color: rgba(57,211,83,.36);
  background: rgba(57,211,83,.14);
}
.btn.primary:hover {
  background: rgba(57,211,83,.18);
  border-color: rgba(57,211,83,.50);
}
.hero-aside {
  padding: 22px;
  display: grid;
  gap: 12px;
}
.aside-row {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.aside-row strong {
  display: block;
  font-size: .9rem;
}
.aside-row span {
  display: block;
  color: rgba(168,179,191,.95);
  font-size: .92rem;
  margin-top: 4px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(233,238,245,.80);
  font-weight: 700;
  font-size: .82rem;
}

.section {
  padding: 26px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-head p { max-width: 720px; }

.grid {
  display: grid;
  gap: 14px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-inner {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0 4px;
  }
  .nav-links a {
    width: 100%;
  }
  .cta {
    order: 4;
    width: 100%;
    justify-content: center;
    display: none;
  }
  .nav.nav-open .nav-links,
  .nav.nav-open .cta {
    display: flex;
  }
}

.item {
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.item .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(57,211,83,.25);
  background: rgba(57,211,83,.10);
  color: rgba(233,238,245,.92);
  font-weight: 800;
  font-size: .78rem;
}
.badge .b-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
}
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size: .82rem;
  color: rgba(233,238,245,.72);
}

.list {
  display: grid;
  gap: 10px;
}
.paper {
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.paper h3 { margin-bottom: 6px; }
.paper .small {
  color: rgba(168,179,191,.95);
  font-size: .92rem;
}
.paper .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight: 750;
  color: rgba(233,238,245,.90);
}
.link:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

.footer {
  margin-top: 40px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: rgba(168,179,191,.92);
  width: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.mini {
  font-size: .9rem;
}
.mini strong { color: rgba(233,238,245,.92); }

.notice {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 14px 16px;
}
.notice b { color: rgba(233,238,245,.95); }

hr.sep {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(233,238,245,.92);
  outline: none;
}
input[type="search"]::placeholder { color: rgba(168,179,191,.70); }
