/* agentloops.dev (#1550). Plain CSS, no web fonts, light and dark. */

:root {
  --cobalt: #1a52c0;
  --cobalt-light: #5b9bff;
  --ink: #0e1a3a;
  --text: #1d2433;
  --muted: #5a6478;
  --page: #ffffff;
  --band: #f3f6fc;
  --line: #dde3ef;
  --link: #1a52c0;
  --radius: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6eaf2;
    --muted: #9aa4b8;
    --page: #0b1020;
    --band: #121a30;
    --line: #26304a;
    --link: #7fb0ff;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--link); }

code {
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
}

h1, h2 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.4em auto; max-width: 18em; }
h2 { font-size: 1.45rem; margin: 0 0 0.5em; }

.small { font-size: 0.85rem; color: var(--muted); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.top nav a { margin-left: 20px; text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

section { padding: 56px 24px; }

.hero { text-align: center; padding-top: 32px; }
.hero-icon { display: block; margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(26, 82, 192, 0.35)); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0 auto 1em; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0 8px; }
.button {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.button.primary {
  background: linear-gradient(135deg, var(--cobalt-light), var(--cobalt));
  border-color: var(--cobalt);
  color: #fff;
}
.button:hover { filter: brightness(1.08); }

.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(14, 26, 58, 0.22);
}
.hero-shot { max-width: 1040px; margin: 48px auto 0; }

.video { position: relative; aspect-ratio: 16 / 9; max-width: 1040px; margin: 24px auto 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

.pitch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 48px;
  max-width: 1120px;
  margin: 0 auto;
}
.pitch article p { margin: 0 0 0.8em; }
.pitch article:nth-child(4) { grid-column: 1 / -1; }
.pitch ul { padding-left: 1.2em; margin: 0; }
.pitch li { margin-bottom: 0.5em; }
.more { font-size: 0.95rem; }

.clients, .videos { background: var(--band); text-align: center; }
.clients h2, .videos h2 { font-size: 1.8rem; }
.three {
  display: grid;
  grid-template-columns: 2fr 0.75fr 2fr;
  gap: 28px;
  align-items: end;
  max-width: 1240px;
  margin: 40px auto 0;
}
.three figcaption { margin-top: 14px; font-size: 0.95rem; color: var(--muted); text-align: left; }
.three .phone img { border-radius: 28px; }

.honest { max-width: 760px; margin: 0 auto; }
.honest ul { padding-left: 1.2em; }
.honest li { margin-bottom: 0.6em; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px 40px;
  text-align: center;
}
footer nav a { margin: 0 12px; text-decoration: none; }

@media (max-width: 800px) {
  .three { grid-template-columns: 1fr; }
  .three .phone { max-width: 320px; margin: 0 auto; }
  .top nav a:first-child { display: none; }
}
