/* Shared styles for NomIQ sub-pages (legal + about) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #070a08;
  --bg2:       #0f1510;
  --surface:   #141a15;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);
  --green:     #4afa7b;
  --green2:    #a8f5be;
  --green-dim: #2a9e4f;
  --text:      #f0f5f1;
  --muted:     #7a9080;
  --muted2:    #5a6e60;
  --radius:    16px;
  --maxw:      820px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  line-height: 1.7;
}
::selection { background: rgba(74,250,123,0.3); color: #fff; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3rem); height: 66px;
  background: rgba(7,10,8,0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-logo span { color: var(--green); }
.nav-logo .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--green), var(--green-dim)); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.nav-back { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.15s; }
.nav-back:hover { color: var(--text); }

/* page */
.page { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem) 4rem; }
.page-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.85rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 0.75rem; }
.page-meta { color: var(--muted2); font-size: 0.9rem; margin-bottom: 2.5rem; }

.legal h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; margin: 2.5rem 0 0.75rem; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--text); }
.legal p { color: var(--muted); margin-bottom: 1rem; }
.legal ul { color: var(--muted); margin: 0 0 1rem 1.25rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--green); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .lead { font-size: 1.1rem; color: var(--text); margin-bottom: 1.5rem; }

.callout {
  background: rgba(74,250,123,0.08); border: 1px solid rgba(74,250,123,0.2);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.callout p { color: var(--green2); margin: 0; }

.addr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.addr p { margin: 0; color: var(--muted); line-height: 1.6; }
.addr strong { display: block; color: var(--text); margin-bottom: 0.3rem; }

/* about-specific */
.about-hero { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.value-card .vi { width: 48px; height: 48px; border-radius: 12px; background: rgba(74,250,123,0.1); border: 1px solid rgba(74,250,123,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* footer */
footer { border-top: 1px solid var(--border); max-width: var(--maxw); margin: 0 auto; padding: 2.5rem clamp(1.25rem, 5vw, 3rem); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-logo { font-size: 1.2rem; font-weight: 800; }
.footer-logo span { color: var(--green); }
footer p { font-size: 0.8rem; color: var(--muted2); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
