/* gifcap landing-page shared styles
   Mirrors the live site design tokens (see index.html.old-dotgrid).
   Single source of truth for all 11 campaign landing pages. */

:root {
  --bg: #07070c;
  --bg-2: #0b0b12;
  --panel: rgba(18,18,28,0.72);
  --border: rgba(255,255,255,0.08);
  --text: #e9e9f1;
  --muted: #8b8ba2;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-soft: rgba(124,92,255,0.18);
  --font: "JetBrains Mono", "Cascadia Mono", "Consolas", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- TOP STRIP ---- */
.lp-nav {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(7,7,12,0.82);
}
.lp-nav .brand { font-weight: 700; letter-spacing: 0.04em; }
.lp-nav .brand .dot { color: var(--accent); }
.lp-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

/* ---- WRAPPER ---- */
.lp-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 80px;
}

/* ---- HERO ---- */
.lp-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(124,92,255,0.3);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.lp-h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lp-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.lp-sub {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 8px 0 18px;
  line-height: 1.3;
}

/* ---- HERO GIF STRIP ---- */
.lp-hero-strip {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin: 32px 0;
  text-align: center;
}
.lp-hero-strip img { margin: 0 auto; border-radius: 6px; max-width: 100%; max-height: 360px; width: auto; height: auto; display: block; }
.lp-hero-strip figcaption.caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.05em;
}
.lp-hero-strip .caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.05em;
}
.lp-hero-strip.placeholder {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px dashed var(--border);
}

/* ---- WHY THIS PAGE EXISTS (M1) ---- */
.lp-pain {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin: 32px 0;
}
.lp-pain ul { list-style: none; padding: 0; }
.lp-pain li {
  padding: 6px 0;
  font-size: 15px;
}
.lp-pain li::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 700;
}

/* ---- HONEST CLAIM (M2) ---- */
.lp-claim {
  font-size: 18px;
  line-height: 1.6;
  margin: 32px 0;
}
.lp-claim strong { color: var(--accent); }

/* ---- COMPARISON TABLE ---- */
.lp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.lp-table th, .lp-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.lp-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.lp-table .yes { color: var(--accent-2); }
.lp-table .no  { color: var(--muted); }
.lp-table .meh { color: #f0b942; }
.lp-table .col-us { color: var(--accent); font-weight: 600; }

/* ---- PROOF STRIP (M3) ---- */
.lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.lp-proof .pill {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text);
}
.lp-proof .pill::before {
  content: "● ";
  color: var(--accent-2);
  font-size: 10px;
}

/* ---- CTA (M4) ---- */
.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 40px 0;
}
.lp-cta .btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.lp-cta .btn-primary { background: var(--accent); color: #fff; }
.lp-cta .btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.lp-cta .meta { font-size: 12px; color: var(--muted); }

/* ---- FAQ ---- */
.lp-faq { margin: 56px 0 24px; }
.lp-faq h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.lp-faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.lp-faq details[open] summary { color: var(--accent); }
.lp-faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 0;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq .answer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---- FOOTER STRIP ---- */
.lp-foot {
  border-top: 1px solid var(--border);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.lp-foot a { color: var(--muted); }
.lp-foot a:hover { color: var(--accent); }

/* ---- DEEP DIVE (M2 expansion) ---- */
.lp-deep {
  margin: 40px 0 32px;
  padding: 24px 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.lp-deep h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text);
}
.lp-deep p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.lp-deep p:last-child { margin-bottom: 0; }

/* ---- PLATFORM SPEC (D2) ---- */
.lp-spec {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: var(--panel);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 6px 6px 0;
}
.lp-spec h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.lp-spec ul { list-style: none; padding: 0; }
.lp-spec li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  padding: 4px 0;
  font-family: var(--font);
}
.lp-spec li::before {
  content: "▸ ";
  color: var(--accent-2);
}

/* ---- BYLINE / DATE (E3) ---- */
.lp-byline {
  margin: 32px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-style: italic;
}
.lp-byline a { color: var(--muted); text-decoration: underline; }
.lp-byline a:hover { color: var(--accent); }

/* ---- RELATED (L) ---- */
.lp-related {
  margin: 56px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.lp-related h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.lp-related .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lp-related a {
  display: block;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.lp-related a:hover { border-color: var(--accent); text-decoration: none; }
.lp-related a .label {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.lp-related a .name { font-size: 14px; font-weight: 600; }

/* ---- BLOG INDEX ---- */
.lp-blog-list { margin: 24px 0; }
.lp-blog-list .post {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}
.lp-blog-list .post:hover { color: var(--accent); text-decoration: none; }
.lp-blog-list .post .when {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.lp-blog-list .post .title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.lp-blog-list .post .excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- BLOG POST ---- */
.lp-post { max-width: 720px; margin: 0 auto; padding: 64px 28px 80px; }
.lp-post h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; letter-spacing: -0.01em; }
.lp-post h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; color: var(--accent); }
.lp-post p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 16px; }
.lp-post ul, .lp-post ol { margin: 0 0 16px 22px; }
.lp-post li { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 6px; }
.lp-post code { background: var(--bg-2); padding: 2px 6px; border-radius: 3px; font-size: 0.92em; color: var(--accent); }
.lp-post pre {
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 16px; border-radius: 6px; overflow-x: auto;
  font-size: 13px; line-height: 1.6; margin: 16px 0;
}
.lp-post pre code { background: transparent; padding: 0; color: var(--text); }
.lp-post blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 18px;
  margin: 16px 0;
  color: var(--muted);
  font-style: italic;
}

/* ---- MOBILE ---- */
@media (max-width: 600px) {
  .lp-wrap { padding: 40px 18px 60px; }
  .lp-h1 { font-size: 28px; }
  .lp-table { font-size: 13px; }
  .lp-related .grid { grid-template-columns: 1fr; }
  .lp-deep, .lp-spec { padding: 18px 20px; }
  .lp-post { padding: 40px 18px 60px; }
}
