/* Eleven SEO marketing site. Brand tokens mirror frontend/src/index.css:
   purple #7C3AED primary, slate neutrals, subtle borders over shadows, Inter. */
:root {
  --brand: #7c3aed;
  --brand-hover: #6d28d9;
  --brand-dark: #5b21b6;
  --brand-100: #ede9fe;
  --brand-soft: #f5f3ff;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, "Segoe UI", Roboto, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid rgba(124, 58, 237, 0.45); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, var(--surface) 100%); padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: var(--brand-100); color: var(--brand-dark); font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 18px; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--text-3); font-size: 0.875rem; margin-top: 14px; }

/* Illustrative product preview (drawn in CSS, not a screenshot) */
.preview { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.preview-head strong { font-size: 1rem; }
.preview-head span { font-size: 0.75rem; color: var(--text-3); }
.q { font-size: 0.9rem; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 14px; }
.engines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.engines li { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.92rem; }
.chip { font-size: 0.78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.chip.yes { background: #dcfce7; color: #166534; }
.chip.no { background: #fee2e2; color: #991b1b; }
.sov { margin-top: 16px; font-size: 0.85rem; color: var(--text-2); }
.bar { height: 8px; background: var(--brand-100); border-radius: 999px; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; background: var(--brand); border-radius: 999px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 40em; margin: 0 auto 40px; text-align: center; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; }
.section-head p { color: var(--text-2); margin: 0; font-size: 1.05rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: var(--text-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-100); color: var(--brand-dark); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

.faq { max-width: 44em; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 18px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
details p { margin: 0 0 16px; color: var(--text-2); }

.band { background: var(--brand); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #ede9fe; margin: 0 0 24px; font-size: 1.05rem; }
.band .btn-primary { background: #fff; color: var(--brand-dark); }
.band .btn-primary:hover { background: var(--brand-100); color: var(--brand-dark); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; }
.plan.featured { border: 2px solid var(--brand); padding: 27px 23px 23px; }
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.price { margin: 0 0 6px; display: flex; align-items: baseline; gap: 4px; }
.price strong { font-size: 2.4rem; letter-spacing: -0.02em; line-height: 1.1; }
.price span { color: var(--text-3); font-size: 0.95rem; }
.plan-desc { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.plan .ticks { margin: 18px 0 24px; flex: 1; font-size: 0.95rem; }
.plan .btn { width: 100%; }
.plan .btn[disabled] { cursor: not-allowed; color: var(--text-3); background: var(--bg); }
.soon { position: absolute; top: 14px; right: 14px; background: var(--brand-100); color: var(--brand-dark); font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plans-note { max-width: 46em; margin: 24px auto 0; text-align: center; color: var(--text-3); font-size: 0.875rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--text-3); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer nav { display: flex; gap: 20px; }

/* Legal pages */
.legal { max-width: 46em; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 6px; }
.legal .updated { color: var(--text-3); margin: 0 0 32px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal .callout { background: var(--brand-soft); border: 1px solid var(--brand-100); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text); }

@media (max-width: 1040px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 40px; }
  .nav { display: none; }
  section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .actions .btn-ghost { display: none; }
}
