/* ---------- Theme: blue with pink undertones ---------- */
:root {
  --accent: #5048E5;
  --accent-hover: #3F37C9;
  --accent-ink: #3B2F9E;
  --accent-tint: #EEE8FD;
  --ink: #0F172A;
  --muted: #475569;
  --subtle: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --ground: #F7F8FA;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --night: #1A1740;
  --night-text: #CBD5E1;
  --ok: #15803D;
  --warn-bg: #FFFBEB;
  --warn-line: #FDE68A;
  --warn-ink: #78350F;
  --error: #B91C1C;
  --radius: 12px;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.55; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.sr-only:focus { position: static; width: auto; height: auto; clip: auto; padding: 8px 16px; display: inline-block; }
.sr-only:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-sm { min-height: 44px; padding: 10px 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.pill { align-self: flex-start; display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-tint); }
.pill-warn { color: var(--warn-ink); background: #FEF3C7; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-links a:not(.btn) { color: #334155; text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-title { font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.checks li, .check-list li { display: flex; align-items: flex-start; gap: 8px; }
.check-icon { flex: none; color: var(--ok); margin-top: 3px; }

/* Product mock */
.mock { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(26, 23, 64, 0.3); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-crumb { margin-left: 12px; font-size: 12px; color: var(--subtle); }
.mock-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; }
.mock-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.mock-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.mock-meta { font-size: 13px; color: var(--subtle); }
.mock-tag { font-size: 12px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 6px; color: #334155; }
.mock-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 8px; }
.mock-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mock-contact { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.mock-note { display: flex; align-items: center; gap: 10px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--warn-ink); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { background: var(--surface-alt); text-align: left; color: var(--muted); font-weight: 600; padding: 10px 12px; white-space: nowrap; }
.table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.mock .table { font-size: 13px; min-width: 440px; }

/* ---------- Audience strip ---------- */
.audience { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 40px; text-align: center; padding-top: 48px; padding-bottom: 48px; }
.audience span { font-weight: 600; }
.audience .muted { font-weight: 500; font-size: 15px; }

/* ---------- Features ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.features { padding-top: 48px; display: flex; flex-direction: column; gap: 48px; }
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: 14px; }
.section-head.center { margin: 0 auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { color: var(--muted); }
.icon-tile { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }

/* ---------- Security ---------- */
.night { background: var(--night); color: #F8FAFC; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 88px; padding-bottom: 88px; }
.split-head { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split-body { flex: 1 1 520px; min-width: 0; }
.night .lead, .night p { color: var(--night-text); }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.security-grid h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 6px; }

/* ---------- Pricing ---------- */
.pricing { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.price-card { width: 100%; max-width: 560px; background: var(--surface); border: 2px solid var(--accent); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.price-label { font-size: 14px; font-weight: 600; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.price { font-family: var(--font-display); font-size: 52px; font-weight: 700; line-height: 1; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-foot { font-size: 14px; color: var(--muted); text-align: center; }
.price-card form { margin: 0; }

/* ---------- Demo form ---------- */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-card { flex: 1 1 460px; min-width: 0; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--subtle); }
.input { font: inherit; padding: 12px 14px; min-height: 44px; border: 1px solid #94A3B8; border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; }
.input:focus { border-color: var(--accent); outline: 3px solid var(--accent-tint); }
textarea.input { resize: vertical; }
.field-error, .validation-summary-errors { color: var(--error); font-size: 14px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.input-validation-error { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq-list details p { margin-top: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-inner .brand-name { color: #fff; font-size: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--night-text); }
.site-footer a:hover { color: #fff; }

/* ---------- Simple pages (thanks, checkout, admin) ---------- */
.page { padding-top: 72px; padding-bottom: 96px; }
.page-card { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.license-key { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 20px; font-weight: 600; letter-spacing: 0.04em; background: var(--accent-tint); color: var(--accent-ink); padding: 16px; border-radius: 8px; text-align: center; word-break: break-all; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.admin-section { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); }
.badge-muted { background: #F1F5F9; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; min-height: 24px; }
