/* landing.css — shared stylesheet for the SEO landing pages under landing/.
   Self-contained (does not import css/style.css) so a page renders correctly
   even if the app stylesheet changes. Same visual family as the generator. */

:root {
  --bg: #070a18;
  --panel: #121a3a;
  --panel-2: #0e1530;
  --line: #26315f;
  --text: #eef1ff;
  --muted: #97a3d0;
  --accent: #7c9bff;
  --accent-2: #a679ff;
  --radius: 14px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 85% -10%, #1a2454 0%, transparent 60%),
    radial-gradient(800px 500px at -10% 15%, #241748 0%, transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px) 48px;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0 6px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff, #cdd7ff 40%, transparent 42%),
    radial-gradient(circle at 68% 60%, #fff 0 12%, transparent 13%),
    conic-gradient(from 0deg, #26356f, #4a2f7a, #26356f);
  box-shadow: 0 0 0 2px #2b366e inset;
}
.top-cta {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.top-cta:hover {
  text-decoration: underline;
}

/* ---------- article ---------- */
h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  line-height: 1.2;
  margin: 26px 0 14px;
  letter-spacing: 0.2px;
}
h2 {
  font-size: 1.25rem;
  margin: 34px 0 10px;
}
h3 {
  font-size: 1rem;
  margin: 20px 0 6px;
}
p {
  margin: 0 0 14px;
  color: var(--muted);
}
p strong,
li strong {
  color: var(--text);
}
.lede {
  font-size: 1.06rem;
  color: var(--text);
}
ul,
ol {
  color: var(--muted);
  margin: 0 0 14px;
  padding-left: 1.3em;
}
li {
  margin: 4px 0;
}
a {
  color: var(--accent);
}

/* ---------- CTA ---------- */
.cta {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: #0a0f26;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 11px;
  padding: 12px 22px;
  margin: 8px 0 18px;
  box-shadow: 0 6px 20px rgba(124, 155, 255, 0.35);
  transition: filter 0.15s, transform 0.08s;
}
.cta:hover {
  filter: brightness(1.1);
}
.cta:active {
  transform: translateY(1px);
}
.cta-note {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ---------- example figure ---------- */
figure.example {
  margin: 22px 0;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
figure.example img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
}
figure.example figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
  padding: 10px 16px;
  margin: 8px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.faq details p {
  margin: 10px 0 4px;
  font-size: 0.92rem;
}

/* ---------- related links ---------- */
.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related a {
  display: inline-block;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 999px;
  padding: 6px 14px;
}
.related a:hover {
  border-color: var(--accent);
}

/* ---------- footer ---------- */
.foot {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.76rem;
  color: var(--muted);
  opacity: 0.85;
}
.foot a {
  color: var(--muted);
}
