:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --brand: #1e3a8a;
  --brand-2: #2563eb;
  --accent: #0ea5e9;
  --accent-text: #0284c7; /* end of gradient headings: 3:1 or more on the page background */
  --btn: #2563eb; /* background of primary buttons: white text reads at 5.2:1 in both colour schemes */
  --ok: #047857;
  --danger: #b91c1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 8px 24px rgb(15 23 42 / 0.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ink: #e2e8f0; --ink-2: #cbd5e1; --muted: #94a3b8; --line: #1e293b; --bg: #0b1220; --bg-2: #0f172a;
    --brand: #60a5fa; --brand-2: #60a5fa; --accent-text: #38bdf8; --ok: #34d399; --danger: #f87171; --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35); color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --ink: #e2e8f0; --ink-2: #cbd5e1; --muted: #94a3b8; --line: #1e293b; --bg: #0b1220; --bg-2: #0f172a;
  --brand: #60a5fa; --brand-2: #60a5fa; --accent-text: #38bdf8; --ok: #34d399; --danger: #f87171; --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35); color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-2); }
img { max-width: 100%; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: filter 0.15s, background 0.15s; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand-2), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 800; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
/* Small screens: the menu links are in the footer; Sign in stays in the header, the call to action is the first button of the page. */
@media (max-width: 820px) { .nav-links { display: none; } .nav .wrap { justify-content: space-between; } }
@media (max-width: 600px) { .nav-cta .btn-primary { display: none; } }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 80% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand-2); background: color-mix(in srgb, var(--brand-2) 10%, transparent); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 20px; }
.hero h1 span { background: linear-gradient(90deg, var(--brand-2), var(--accent-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .cp-card { transform: rotate(-2deg); max-width: 360px; }
.float-chip { position: absolute; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.chip-1 { top: 30px; left: -10px; }
.chip-2 { bottom: 60px; right: -10px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .chip-1, .chip-2 { display: none; } }

/* sections */
section.block { padding: 88px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--ink-2); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-2); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-2); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-2) 12%, transparent); color: var(--brand-2); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .features, .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.rev > :first-child { order: 2; }
.split h3 { font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.split p { color: var(--ink-2); font-size: 17px; }
.split ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.split li { display: flex; gap: 10px; align-items: flex-start; }
.split li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: var(--shadow); padding: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }

/* demo panels */
.scan-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.biz { aspect-ratio: 1.75; border-radius: 12px; background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; padding: 16px; font-size: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.biz b { font-size: 15px; }
.fields { display: grid; gap: 8px; font-size: 13px; }
.fields div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.fields span { color: var(--muted); }
.crm-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.crm-row:last-child { margin-bottom: 0; }
.crm-row .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.crm-row .st { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ok); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: 10px; }
.bars span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent), var(--brand-2)); }

/* pricing */
.billing-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 0 auto 32px; background: var(--bg); }
.billing-toggle button { border: 0; background: none; min-height: 44px; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.billing-toggle button[aria-pressed='true'] { background: var(--btn); color: #fff; }
.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--bg); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand-2); box-shadow: 0 0 0 1px var(--brand-2), var(--shadow); }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: '✓'; color: var(--ok); font-weight: 700; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--ink-2); margin: 12px 0 0; }

/* contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent; }
.msg { font-size: 14px; margin: 0; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--danger); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

.cta-band { background: linear-gradient(135deg, #0b1220, #1e3a8a); color: #fff; border-radius: 24px; padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-band p { color: #cbd5e1; margin: 0 0 26px; font-size: 18px; }
@media (max-width: 600px) { .cta-band { padding: 36px 20px; } }

footer.site { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }

.legal { max-width: 760px; padding: 56px 0 80px; }
.legal h1 { font-size: 36px; letter-spacing: -0.02em; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p, .legal li { color: var(--ink-2); }
.split > *, .contact > *, .hero .wrap > * { min-width: 0; }
.fields div { flex-wrap: wrap; word-break: break-word; }
@media (max-width: 480px) { .scan-demo { grid-template-columns: 1fr; } }

.pricing-ctrl { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.pricing-ctrl .billing-toggle { margin: 0; }
.plan .price.text { font-size: 28px; line-height: 1.25; }
.currency-select { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.plan .trial-note { margin: 0 0 12px; font-size: 13px; color: var(--ok); font-weight: 600; min-height: 20px; }
.plan .trial-note a { color: inherit; }

/* --- legal pages and cookie notice (website kit) --- */
.legal-top { border-bottom: 1px solid var(--line, #e2e8f0); }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.legal-top nav { display: flex; gap: 16px; }
.legal-top nav a { font-weight: 600; text-decoration: none; }
.legal { max-width: 820px; padding: 32px 0 96px; }
.legal h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.15; margin: 24px 0 4px; letter-spacing: -0.02em; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal hr { border: 0; border-top: 1px solid var(--line, #e2e8f0); margin: 56px 0 24px; }
.legal-meta { color: var(--muted, #475569); font-size: 14px !important; margin-top: 0; }
.legal-links { margin-top: 32px; font-size: 15px !important; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--line, #e2e8f0); }
.legal-table code { font-size: 13px; word-break: break-all; }
.legal-lang { scroll-margin-top: 24px; }
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 720px; margin-inline: auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: #0f172a; color: #f8fafc; box-shadow: 0 10px 40px rgb(0 0 0 / 0.35); font-size: 14px; line-height: 1.5; }
.ck p { margin: 0; flex: 1 1 320px; color: #f8fafc; font-size: 14px; }
.ck a { color: #bfdbfe; text-decoration: underline; }
.ck-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #94a3b8; background: transparent; color: #f8fafc; font: inherit; font-weight: 600; cursor: pointer; }
.ck-btn:hover { background: rgb(255 255 255 / 0.08); }
.ck-primary { background: #ffffff; color: #0f172a; border-color: #ffffff; }
.ck-primary:hover { background: #e2e8f0; }
.ck-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
@media (max-width: 520px) { .ck { left: 8px; right: 8px; bottom: 8px; } .ck-actions { width: 100%; } .ck-btn { flex: 1; } }
.form-note { font-size: 13px; color: var(--muted, #475569); margin: 0; }
[aria-invalid='true'] { border-color: var(--danger, #b91c1c) !important; box-shadow: 0 0 0 1px var(--danger, #b91c1c); }
/* honeypot field of public forms: hidden from people, visible to scripts that fill every field */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* --- publisher: the PANGEA Technologies mark and the copyright line in the footer (server/copyright.js)
   The mark is the company's horizontal lock-up, built for a white ground: it always sits on a white plate (also in the
   dark colour scheme), keeps its own colours and proportions, and is never less than 120 px wide. */
.publisher { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); justify-content: flex-start !important; gap: 16px 20px !important; }
.legal-page footer.site .publisher { margin-top: 0; padding-top: 0; border-top: 0; }
.pangea-mark { flex: none; display: inline-block; background: #fff; border-radius: 6px; padding: 4px 6px; line-height: 0; }
.pangea-mark img { display: block; width: 176px; min-width: 120px; height: auto; }
.publisher p { margin: 0; font-size: 13px; line-height: 1.7; min-width: 0; flex: 1 1 240px; }
footer.site .publisher p a { text-decoration: underline; }
