/* NEXUS Research. Dark navy/black with a single teal accent. No web fonts, no JavaScript. */

:root {
  --bg: #060a13;
  --bg-raised: #0a1120;
  --bg-footer: #04070d;
  --surface: #0e172b;
  --surface-hover: #132039;
  --border: #1c2944;
  --border-strong: #2b3c60;
  --text: #e9eef8;
  --text-muted: #a9b4cb;
  --text-faint: #8794ae;
  --accent: #4fe3c9;
  --accent-hover: #86efdf;
  --on-accent: #03201b;
  --accent-soft: rgba(79, 227, 201, 0.1);
  --accent-line: rgba(79, 227, 201, 0.32);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --gutter: clamp(16px, 4.5vw, 32px);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 12px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
main { flex: 1; }

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.4vw, 2.15rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
h1 a, h2 a, h3 a { color: inherit; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--text); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-muted); }
.small { font-size: 0.92rem; }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--text-muted); max-width: 62ch; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: var(--gutter); top: 12px; z-index: 20; padding: 0.6em 1em; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 650; }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--border); background: rgba(6, 10, 19, 0.92); }
@media (min-width: 720px) {
  .site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
  html { scroll-padding-top: 88px; }
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand .logo { width: 32px; height: 32px; flex: none; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--text-muted); font-weight: 550; font-size: 0.98rem; text-decoration: none; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a[aria-current="page"], .site-nav a.is-section { color: var(--text); background: var(--surface); box-shadow: inset 0 -2px 0 var(--accent); }

@media (max-width: 559px) {
  .header-inner { padding-top: 12px; padding-bottom: 6px; }
  .site-nav { width: calc(100% + 20px); margin: 0 -10px; }
  .site-nav ul { justify-content: space-between; }
  .site-nav a { padding: 10px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.3em;
  border: 1px solid transparent; border-radius: 12px;
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 9vw, 104px) 0 clamp(44px, 7vw, 80px);
  background:
    radial-gradient(700px 360px at 85% -10%, rgba(79, 227, 201, 0.12), transparent 70%),
    radial-gradient(600px 300px at -10% 110%, rgba(79, 227, 201, 0.05), transparent 70%);
}
.hero h1 { max-width: 18ch; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } }

.product-list { padding: 22px; background: rgba(14, 23, 43, 0.85); border: 1px solid var(--border-strong); border-radius: var(--radius); }
.product-list-label { margin: 0 0 10px; color: var(--text-faint); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.product-list ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.product-list a { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.product-list a:hover { border-color: var(--accent); color: var(--text); }
.product-list-name { font-weight: 700; font-size: 1.08rem; }
.product-list-price { color: var(--text-muted); font-size: 0.95rem; }
.product-list-price strong { color: var(--accent); }
.product-list-more { margin: 12px 0 0; font-size: 0.95rem; }
.hero .lead { margin-bottom: 28px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- sections ---------- */

.section { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-raised); }
.section-tight { padding: 28px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--text-muted); }

.two-col { display: grid; gap: 40px 56px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- cards ---------- */

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid:has(> .card:only-child) { grid-template-columns: minmax(0, 680px); }
.card { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card p { margin: 0; color: var(--text-muted); }
.card h3, .card h2 { margin: 0; }

.product-card { transition: border-color 0.15s, background-color 0.15s; }
.product-card:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.product-card-title { font-size: 1.35rem; }
.product-card .product-card-price { color: var(--text); }
.product-card-price strong { font-size: 1.25rem; }
.product-card-price span { color: var(--text-muted); font-size: 0.95rem; }
.product-card .btn-row { margin-top: auto; padding-top: 8px; }

.badge { align-self: flex-start; display: inline-block; margin: 0 0 4px; padding: 3px 10px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.card .badge { margin: 0; }

.steps-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps-3 li { counter-increment: step; }
@media (min-width: 720px) { .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-3 li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 4px; color: var(--accent); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; }

/* ---------- featured product / price panel ---------- */

.feature { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.feature-body h2 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.5rem); }

.price-panel { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 20px 50px -30px rgba(79, 227, 201, 0.35); }
.price-panel p { margin: 0; }
.price-panel-label { color: var(--text-faint); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-amount { font-size: 2.6rem; font-weight: 750; line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.price-currency { color: var(--text); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.price-terms { color: var(--text-muted); font-weight: 550; }
.price-inline { margin-bottom: 16px; }
.price-free { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-weight: 600; }
.price-free::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.price-note { color: var(--text-muted); font-size: 0.92rem; }
.price-note-strong { color: var(--text); }
.price-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9rem; }
.price-links a { color: var(--text-muted); }
.price-links a:hover { color: var(--accent); }
.price-panel .btn { margin-top: 2px; }

/* ---------- lists ---------- */

:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.2 3.9 10.5l1.4-1.4 2.3 2.3 7.1-7.1 1.4 1.4z'/%3E%3C/svg%3E"); }
.checklist { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); }
.checklist li::after { content: ""; position: absolute; left: 3px; top: calc(0.2em + 3px); width: 14px; height: 14px; background: var(--accent); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }

/* "What we don't do" lists: a dash instead of a tick. */
:root { --minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 9h11v2h-11z'/%3E%3C/svg%3E"); }
.checklist.limits li::before { background: rgba(169, 180, 203, 0.12); }
.checklist.limits li::after { background: var(--text-muted); -webkit-mask-image: var(--minus); mask-image: var(--minus); }
.wide { max-width: 820px; }
.wide p { color: var(--text-muted); }
.wide p strong { color: var(--text); }

.steps { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
@media (max-width: 559px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 22px; padding-top: 64px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; top: 20px; left: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 750; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

.facts { display: grid; gap: 0; margin: 0 0 16px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; gap: 2px 20px; padding: 16px 20px; background: var(--surface); }
.facts div + div { border-top: 1px solid var(--border); }
@media (min-width: 520px) { .facts div { grid-template-columns: 180px 1fr; } }
.facts dt { color: var(--text-muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text); font-size: 0.92rem; font-weight: 550; }

/* ---------- product page ---------- */

.hero-product { padding-top: clamp(28px, 5vw, 56px); }
.product-hero { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .product-hero { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.product-hero h1 { max-width: 16ch; }
.product-hero .lead { margin-bottom: 24px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--text-faint); font-size: 0.92rem; }
.breadcrumb li + li::before { content: "/"; content: "/" / ""; margin-right: 6px; color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.jump { margin-top: 32px; }
.jump ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--border); list-style: none; }
.jump a { color: var(--text-muted); font-size: 0.95rem; font-weight: 550; text-decoration: none; }
.jump a:hover { color: var(--accent); }

.faq { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.faq-item { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--text-muted); }

.cta-band { background: linear-gradient(180deg, var(--bg-raised), var(--bg)); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { margin-bottom: 6px; }

/* ---------- text pages ---------- */

.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 20ch; }
.prose { padding-bottom: clamp(48px, 7vw, 88px); }
.prose > * { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }

.notice { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin: 0 0 32px; padding: 14px 18px; border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); }
.notice strong { letter-spacing: 0.02em; }
.notice span { color: var(--text-muted); font-size: 0.95rem; }
.updated { color: var(--text-muted); }

.summary-box { margin: 0 0 32px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.summary-box h2 { margin-top: 0; font-size: 1.1rem; }
.summary-box ul { margin-bottom: 0; }

.contact-card { display: grid; gap: 14px; justify-items: start; max-width: 640px; margin-bottom: 40px; padding: 28px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); }
.contact-card p { margin: 0; }
.contact-email { font-size: clamp(1.15rem, 1rem + 1.2vw, 1.6rem); font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.contact-email a { color: inherit; text-decoration: none; }
.contact-email a:hover { color: var(--accent); }

.email-link, a[href^="mailto:"]:not(.btn) { overflow-wrap: anywhere; }
.after-grid { margin-top: 28px; }

/* ---------- footer ---------- */

.site-footer { padding: 52px 0 28px; border-top: 1px solid var(--border); background: var(--bg-footer); color: var(--text-muted); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) max-content minmax(0, 0.8fr) minmax(0, 1fr); gap: 32px 48px; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 12px; }
.site-footer h2 { margin: 0 0 12px; color: var(--text); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { color: var(--text-muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
.disclaimer { color: var(--text); font-weight: 600; }

/* Windows high-contrast mode drops box-shadows, so mark the current page with an underline. */
@media (forced-colors: active) {
  .site-nav a[aria-current="page"], .site-nav a.is-section { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

/* ---------- print ---------- */

@media print {
  :root { --text: #000; --text-muted: #333; --bg: #fff; }
  body { background: #fff; color: #000; }
  .site-header .site-nav, .skip-link, .btn, .jump, .cta-band { display: none !important; }
  .site-footer, .section-alt, .card, .faq-item, .steps li, .price-panel, .notice, .summary-box, .facts div { background: #fff !important; box-shadow: none; }
  a { color: #000; }
}
