/* AdLoop — landing page styles
   Light, clean, content-first. No frameworks. */

:root {
  --bg: #0f1115;
  --bg-2: #161a22;
  --bg-alt: #1c212b;
  --fg: #e6e8ec;
  --fg-dim: #9aa3b2;
  --accent: #ff9900;          /* Amazon-adjacent, but generic */
  --accent-soft: #ffb84d;
  --line: #2a3140;
  --card: #181d27;
  --radius: 10px;
  --maxw: 1080px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; }
.logo {
  display: inline-block;
  width: 22px; height: 22px;
  text-align: center;
  line-height: 22px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 5px;
  font-size: 14px;
}
.nav a {
  color: var(--fg-dim);
  margin-left: 18px;
  font-size: 14px;
}
.nav a:hover { color: var(--fg); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
  background:
    radial-gradient(1200px 400px at 50% -100px, rgba(255,153,0,0.18), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.accent { color: var(--accent); }
.lead {
  max-width: 720px;
  font-size: 18px;
  color: var(--fg-dim);
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .1s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #1a1a1a;
}
.btn.primary:hover { background: var(--accent-soft); }
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--fg-dim); }
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--fg-dim);
  font-size: 14px;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); }
.section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-lead {
  color: var(--fg-dim);
  max-width: 720px;
  margin: 0 0 36px;
}
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.two-col p { margin: 0 0 16px; }

/* ---------- Cards & grid ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 12px; font-size: 18px; }
.card p { margin: 0; color: var(--fg-dim); }
.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

dl.kv { margin: 0; }
dl.kv > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
dl.kv > div:last-child { border-bottom: 0; }
dl.kv dt { color: var(--fg-dim); }
dl.kv dd { margin: 0; font-family: var(--mono); font-size: 14px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-alt); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
code { font-family: var(--mono); font-size: 13px; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }
.note {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 14px;
  color: var(--fg-dim);
}

/* ---------- Roadmap ---------- */
.roadmap { padding-left: 20px; max-width: 760px; }
.roadmap li { margin-bottom: 10px; color: var(--fg-dim); }
.roadmap strong { color: var(--fg); }

/* ---------- Contact ---------- */
.contact-list { padding-left: 18px; color: var(--fg-dim); }
.contact-list li { margin-bottom: 6px; }
.contact-list strong { color: var(--fg); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: var(--bg-2);
  font-size: 13px;
  color: var(--fg-dim);
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav a { margin-left: 12px; font-size: 13px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .grid.three { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 40px; }
  .section { padding: 48px 0; }
}
