/* JuppIt Quick Support — shared site styles (landing, security, privacy, session page). */
:root {
  --bg: #070912;
  --bg-2: #0c1020;
  --panel: #121729;
  --panel-2: #181e35;
  --line: #242b45;
  --text: #eef0f8;
  --text-2: #c3c8dc;
  --muted: #8e95b2;
  --accent: #7c5bff;
  --accent-2: #9d85ff;
  --accent-soft: rgba(124, 91, 255, 0.14);
  --good: #34c27a;
  --warn: #f5a524;
  --bad: #ff6b6b;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(124, 91, 255, 0.35); }
a { color: var(--accent-2); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ── nav ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7, 9, 18, 0.85);
       backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand small { color: var(--accent-2); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links a.hide-sm { display: none; } }

/* ── buttons ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px;
       border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
       cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 22px rgba(124, 91, 255, 0.28); }
.btn-primary:hover { background: #6a4ce6; }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #3a4366; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* ── sections ────────────────────────────────────── */
section { padding: 72px 0; }
.eyebrow { color: var(--accent-2); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -0.01em; margin: 8px 0 14px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { color: var(--text-2); font-size: clamp(17px, 2vw, 19px); max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── hero ────────────────────────────────────────── */
.hero { padding: 72px 0 56px; background:
  radial-gradient(800px 380px at 80% -10%, rgba(124, 91, 255, 0.22), transparent 70%),
  radial-gradient(600px 300px at 0% 10%, rgba(56, 189, 248, 0.08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust-row span::before { content: "✓ "; color: var(--good); font-weight: 700; }

/* Mock "Allow" prompt in the hero */
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3352; }
.mock h4 { margin: 0 0 6px; font-size: 16px; }
.mock p { margin: 0 0 18px; color: var(--text-2); font-size: 14px; }
.mock-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-btns span { text-align: center; padding: 9px 6px; border-radius: 9px; font-size: 13px; font-weight: 600;
                  background: var(--panel-2); border: 1px solid var(--line); }
.mock-btns span.allow { background: var(--accent); border-color: var(--accent); }
.mock-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.mock-chat { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 13px; background: var(--panel-2); }
.bubble.me { justify-self: end; background: rgba(124, 91, 255, 0.25); }

/* ── cards / grids ───────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2);
        display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
         padding: 3px 8px; border-radius: 999px; background: rgba(245, 165, 36, 0.14); color: var(--warn); vertical-align: middle; margin-left: 6px; }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 22px; width: 36px; height: 36px;
                border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; transform: translateY(18px); }

/* Pricing */
.price { display: flex; flex-direction: column; }
.price .amount { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.price .amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.price li { padding: 6px 0; color: var(--text-2); font-size: 15px; }
.price li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 8px; }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(124, 91, 255, 0.18); }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--text-2); margin: 10px 0 0; }

/* Banner */
.banner { background: linear-gradient(135deg, rgba(124, 91, 255, 0.2), rgba(56, 189, 248, 0.08));
          border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.warn-box { background: rgba(245, 165, 36, 0.08); border: 1px solid rgba(245, 165, 36, 0.35); border-radius: 12px; padding: 16px 18px; }
.warn-box strong { color: var(--warn); }

/* Long-form legal / security prose */
.prose h2 { font-size: 24px; margin-top: 44px; scroll-margin-top: 80px; }
.prose h3 { font-size: 18px; margin-top: 26px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; }
th { background: var(--panel-2); color: var(--text); font-weight: 600; }
tr + tr td { border-top: 1px solid var(--line); }
td { color: var(--text-2); }
/* Phones: stack each row (first cell as its heading) instead of squeezing 3 columns. */
@media (max-width: 640px) {
  .tbl-wrap table, .tbl-wrap tbody, .tbl-wrap tr, .tbl-wrap td { display: block; width: 100%; }
  .tbl-wrap tr:first-child { display: none; }
  .tbl-wrap tr { padding: 6px 0 10px; }
  .tbl-wrap tr + tr { border-top: 1px solid var(--line); }
  .tbl-wrap tr + tr td { border-top: 0; }
  .tbl-wrap td { padding: 4px 16px; }
  .tbl-wrap td:first-child { color: var(--text); font-weight: 600; padding-top: 12px; }
}
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); }
.toc ol { margin: 6px 0 0; padding-left: 20px; }

/* ── footer ──────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--text); }
