/* nexara.ac marketing site. Same tokens as docs/site/style.css and web/src/styles.css: warm neutrals, one deep green accent, no gradients. */
:root {
  color-scheme: light dark;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bg: #F7F6F3; --surface: #FFFFFF; --surface-2: #F2F1ED; --surface-3: #EAE8E3;
  --border: #E5E3DD; --border-strong: #D2CFC7;
  --ink: #1B1F1C; --muted: #666B67;
  --accent: #17593D; --accent-hover: #0F4A31; --accent-soft: #E3EEE7; --accent-text: #15573B;
  --on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111312; --surface: #171A18; --surface-2: #1D201E; --surface-3: #252926;
    --border: #272B29; --border-strong: #353A37;
    --ink: #E6E8E6; --muted: #9AA09B;
    --accent: #3E9E6F; --accent-hover: #4CAE7E; --accent-soft: #1A2E23; --accent-text: #6CCB9A;
    --on-accent: #0B1A12;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-sans); }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { letter-spacing: -.01em; }
h2 { font-size: 28px; line-height: 1.25; margin: 0 0 16px; }
h3 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); font-weight: 400; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 24px; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 2; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.mark { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); display: inline-block; }
.topnav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.topnav a:not(.btn) { color: var(--ink); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 8px; border: 1px solid var(--accent); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-small { padding: 6px 14px; font-size: 14px; }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 72px; text-align: center; }
.hero h1 { font-size: 52px; line-height: 1.1; margin: 0 auto 18px; max-width: 20ch; letter-spacing: -.02em; text-wrap: balance; }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; max-width: 1072px; height: auto; margin: 0 auto; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }

/* Problem */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 8px; }
.cols3 p { color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.ico { width: 36px; height: 36px; padding: 7px; border-radius: 8px; background: var(--accent-soft); fill: none; stroke: var(--accent-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; display: block; }

/* Trust rings */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.legend { list-style: none; padding: 0; margin: 20px 0; }
.legend li { display: flex; gap: 12px; align-items: baseline; margin: 10px 0; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--accent); position: relative; top: 1px; }
.d1 { background: var(--accent); }
.d2 { background: var(--accent-soft); }
.d3 { background: var(--surface-2); border-style: dashed; border-color: var(--muted); }
.d4 { background: var(--bg); border-style: dashed; border-color: var(--muted); }
.rings { width: 100%; height: auto; display: block; }
.rings circle { stroke-width: 1.5; }
.r4 { fill: var(--bg); stroke: var(--muted); stroke-dasharray: 5 5; }
.r3 { fill: var(--surface-2); stroke: var(--muted); stroke-dasharray: 5 5; }
.r2 { fill: var(--accent-soft); stroke: var(--accent); }
.r1 { fill: var(--accent); stroke: var(--accent); }
.rings text { font-family: var(--font-sans); font-size: 15px; font-weight: 600; fill: var(--ink); }
.rings .t1 { fill: var(--on-accent); font-size: 14px; }
.rings .t2 { fill: var(--accent-text); }
.rings .tp { font-size: 12px; font-weight: 500; fill: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; }

/* Facts */
.facts { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.facts li { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); }
.facts strong { color: var(--ink); display: block; }

/* Footer */
.foot { padding: 40px 0 48px; }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot .small { margin: 8px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.foot-links a { color: var(--ink); }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rings { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .section { padding: 56px 18px; }
  .band { padding: 56px 0; }
  .top { padding: 0 18px; }
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 17px; }
  .actions { margin-bottom: 36px; }
  .shot img { border-radius: 8px; }
  h2 { font-size: 24px; }
  .cols3, .steps, .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot-inner { flex-direction: column; }
}
