/* Nelzn LLC — public site. Single stylesheet, no build tooling, no external fonts or CDNs. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-card: #ffffff;
  --fg: #17191c;
  --fg-muted: #5c636e;
  --line: #e3e6ea;
  --accent: #0f766e;
  --accent-fg: #ffffff;
  --accent-soft: #e6f2f0;
  --radius: 10px;
  --wrap: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101215;
    --bg-soft: #16191d;
    --bg-card: #181b1f;
    --fg: #e9ecef;
    --fg-muted: #a2aab4;
    --line: #272b31;
    --accent: #2dd4bf;
    --accent-fg: #06231f;
    --accent-soft: #12312d;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 7px;
  background: var(--accent);
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.site-header nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.9rem;
}

.site-header nav a {
  color: var(--fg-muted);
}

.site-header nav a[aria-current='page'] {
  color: var(--fg);
  font-weight: 600;
}

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

section {
  padding: 3.5rem 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin: 0 0 1.1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

h2 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.6rem;
}

p {
  margin: 0 0 1rem;
  max-width: 68ch;
}

.lede {
  font-size: 1.12rem;
  color: var(--fg-muted);
  max-width: 60ch;
}

.muted {
  color: var(--fg-muted);
}

.small {
  font-size: 0.875rem;
}

/* ---------- cards & lists ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

ul,
ol {
  max-width: 68ch;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

.plain {
  list-style: none;
  padding-left: 0;
}

/* No .btn / .actions rules: the site has no call-to-action buttons by design. The only links are the
   nav, the footer, and mailto: — nothing points into the product. */

.panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-label {
  min-width: 9rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

address {
  font-style: normal;
  color: var(--fg-muted);
}

/* ---------- legal documents ---------- */

.doc {
  padding: 3rem 0 4rem;
}

.doc h1 {
  max-width: none;
  font-size: clamp(1.75rem, 4vw, 2.3rem);
}

.doc h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.25rem;
}

.doc p,
.doc li {
  color: var(--fg);
}

.doc-meta {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  max-width: 68ch;
}

.toc p {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.toc ol {
  margin: 0;
  font-size: 0.92rem;
}

.toc li {
  margin-bottom: 0.25rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
}

.footer-grid p {
  margin: 0 0 0.35rem;
}

.footer-name {
  font-weight: 600;
  margin-bottom: 0.5rem !important;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.82rem;
  max-width: none;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.table-scroll {
  overflow-x: auto;
}

th,
td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
}
