/* Noxterra — noxterra.app · premium marketing + legal site
   Design: deep-indigo night, one restrained accent, editorial display type, hairline structure. */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:      #07081A;
  --bg-2:    #0B0D26;
  --surface: #12163A;
  --surface-2: #171B44;
  --line:    rgba(159,167,255,0.12);
  --line-2:  rgba(159,167,255,0.20);
  --ink:     #EEF0FB;
  --ink-2:   #A9ADD0;
  --ink-3:   #6C7099;
  --accent:  #6D78FF;
  --accent-2:#9B6BFF;
  --green:   #35D6A4;
  --grad:    linear-gradient(135deg, #6D78FF 0%, #9B6BFF 100%);
  --grad-soft: linear-gradient(135deg, rgba(109,120,255,0.16), rgba(155,107,255,0.16));
  --maxw: 1120px;
  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 30px 80px -40px rgba(0,0,0,0.8), 0 2px 8px -2px rgba(0,0,0,0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background: two soft orbs + a fine grid, fixed behind everything. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60vw 55vh at 78% -8%, rgba(155,107,255,0.20), transparent 60%),
    radial-gradient(55vw 50vh at 12% 4%, rgba(109,120,255,0.18), transparent 62%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120vw 80vh at 50% -10%, #000 20%, transparent 70%);
          mask-image: radial-gradient(120vw 80vh at 50% -10%, #000 20%, transparent 70%);
  opacity: 0.5;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(7,8,26,0.62);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 11px 20px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap; cursor: pointer; border: 0;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(109,120,255,0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(109,120,255,0.85); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 92px 0 64px; }
.hero .shield { width: 108px; height: 108px; margin: 0 auto 34px; position: relative; }
.hero .shield::before {
  content: ''; position: absolute; inset: -46px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(109,120,255,0.45), transparent 70%);
  filter: blur(6px); z-index: -1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); padding: 7px 15px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,0.03); margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
h1 {
  font-family: 'Bricolage Grotesque'; font-weight: 800;
  font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
  margin: 0 auto 22px; max-width: 16ch; text-wrap: balance;
}
h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-2); max-width: 56ch; margin: 0 auto 38px; text-wrap: balance; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* ---------- Section scaffolding ---------- */
section { padding: 72px 0; }
.sec-head { max-width: 62ch; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
h2 { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* ---------- Honest thesis: split rows ---------- */
.thesis { display: grid; gap: 18px; }
.claim { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)); }
.claim .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--accent); flex: none; }
.claim h3 { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin: 2px 0 6px; }
.claim p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* ---------- Tools grid ---------- */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.tool:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.tool .ti { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.tool h3 { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin: 0 0 7px; }
.tool p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Privacy band ---------- */
.band { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 56px 48px; background: linear-gradient(135deg, rgba(109,120,255,0.10), rgba(155,107,255,0.06)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(155,107,255,0.3), transparent 70%); }
.band .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 36px; }
.band .cell h4 { display: flex; align-items: center; gap: 9px; font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 17px; margin: 0 0 7px; }
.band .cell h4 .tick { color: var(--green); }
.band .cell p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .card { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 64px 40px; background: var(--surface); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .col h5 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; font-weight: 600; }
.foot .col a { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 11px; transition: color .2s; }
.foot .col a:hover { color: var(--ink); }
.foot .brandcol { max-width: 300px; }
.foot .brandcol p { color: var(--ink-3); font-size: 14px; margin: 14px 0 0; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }

/* ---------- Legal / prose pages ---------- */
.legal { padding-top: 56px; }
.legal .wrap { max-width: 780px; }
.legal .doc-head { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal h1 { font-size: clamp(32px, 5vw, 46px); text-align: left; max-width: none; margin: 0 0 12px; }
.legal .updated { color: var(--ink-3); font-size: 14px; }
.prose h2 { font-size: 24px; margin: 42px 0 14px; }
.prose h3 { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 26px 0 8px; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.callout { border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 12px; background: rgba(109,120,255,0.06); padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink); font-size: 15px; }
.toc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px 26px; margin: 0 0 40px; }
.toc h5 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 30px; }
.toc a { color: var(--ink-2); font-size: 14px; }
.toc a:hover { color: var(--accent); }
table.data { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--ink-3); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
table.data td { color: var(--ink-2); }
.tbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .tools, .band .grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .band { padding: 40px 26px; }
  .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tools, .band .grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .final .card { padding: 44px 24px; }
  .foot { gap: 30px; }
}
