/* HUMENS AI, Inc. — minimal static website stylesheet.
   Plain CSS only. System font stack. No external fonts, no trackers,
   no third-party assets. Self-contained for a static host. */

:root {
  --bg: #0e1116;
  --bg-elevated: #161b22;
  --surface: #1c2430;
  --border: #2a3340;
  --text: #e6e9ef;
  --text-muted: #9aa6b6;
  --accent: #4f9cf9;
  --accent-soft: rgba(79, 156, 249, 0.12);
  --max-width: 1080px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

/* CSS-only wordmark logo (no image assets) */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.wordmark:hover,
.wordmark:focus {
  text-decoration: none;
}

.wordmark .mark {
  color: var(--accent);
}

.wordmark .suffix {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(
      1200px 400px at 50% -10%,
      var(--accent-soft),
      transparent
    ),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.hero .subhead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 1.75rem;
}

/* ---------- Generic page heading ---------- */
.page-head {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.page-head p {
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0;
}

/* ---------- Sections ---------- */
section {
  padding: 2.5rem 0;
}

section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

section h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

p {
  max-width: 70ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #06121f;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  filter: brightness(1.08);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.card h3 {
  margin-top: 0;
}

.card .stage {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}

/* ---------- Callout / disclaimer block ---------- */
.callout {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
}

.callout strong {
  color: var(--text);
}

/* ---------- Definition-style content ---------- */
dl.terms dt {
  font-weight: 600;
  margin-top: 1rem;
}

dl.terms dd {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

ol,
ul.content-list {
  max-width: 70ch;
}

ol li,
ul.content-list li {
  margin-bottom: 0.5rem;
}

/* ---------- Contact ---------- */
.contact-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  max-width: 520px;
}

.placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.5rem 0;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-address strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  max-width: none;
  font-size: 0.85rem;
}

.footer-meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
