/* Zeriosity company site. Same design system as the app landing page
   (web/src/styles/index.css and landing.css): warm graphite, one amber
   accent, 2px radius, 5-size type scale, 2 weights. No gradients,
   no decorative shapes, no stock imagery. */

:root {
  --bg-base: #121212;
  --bg-surface: #181818;
  --bg-panel: #1e1e1e;
  --text-primary: #ededed;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-subtle: #27272a;
  --accent: #f5a623;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
}

.site { min-height: 100vh; }

.site-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.25rem;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
p { color: var(--text-secondary); }

a { color: var(--text-primary); }
a:hover { color: var(--text-primary); }

/* Buttons: same grammar as the app. Primary is a white button with dark
   text; ghost is transparent. */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: #121212;
}
.btn-primary:hover { background-color: #ffffff; border-color: #ffffff; color: #121212; }
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { background-color: var(--bg-panel); color: var(--text-primary); }

.site-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* Brand */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-mark { width: 22px; height: 22px; display: block; }
.site-wordmark {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}
.site-nav-links { display: flex; gap: 1.75rem; margin-left: 1rem; }
.site-nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}
.site-nav-links a:hover { color: var(--text-primary); }
.site-nav-actions { margin-left: auto; display: flex; gap: 0.5rem; align-items: center; }
.site-nav-actions .btn { font-size: 13px; padding: 0.6rem 1rem; }

/* Hero */
.site-hero { padding: 5.5rem 0 4rem; border-bottom: 1px solid var(--border-subtle); }
.site-lede {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 2rem;
}
.site-hero-actions { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 2.5rem; }
.site-trust {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  max-width: 620px;
}
.site-trust li {
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.site-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background-color: var(--accent);
}

/* Sections */
.site-section { padding: 4rem 0; border-bottom: 1px solid var(--border-subtle); }
.site-section > .site-wrap > p:not(.site-kicker) { max-width: 680px; }
.site-note { margin-top: 1.5rem; }

/* Product cards */
.site-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin-top: 2rem;
}
.site-card { background-color: var(--bg-base); padding: 1.5rem; }
.site-card-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Enterprise grid */
.site-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 2rem;
}
.site-grid h3 { margin-bottom: 0.25rem; }

/* Closing CTA */
.site-cta { padding: 4.5rem 0; text-align: center; border-bottom: 1px solid var(--border-subtle); }
.site-cta p { max-width: 560px; margin: 0 auto 1.75rem; }

/* Footer */
.site-footer { padding: 3rem 0 2rem; }
.site-footer-inner {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}
.site-footer-brand { max-width: 380px; }
.site-footer-brand p { margin-top: 0.75rem; font-size: 14px; }
.site-footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.site-footer-nav a { font-size: 14px; color: var(--text-secondary); text-decoration: none; }
.site-footer-nav a:hover { color: var(--text-primary); }
.site-footer-fine {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}
.site-footer-fine p { font-size: 13px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 860px) {
  .site-cards { grid-template-columns: 1fr; }
  .site-grid { grid-template-columns: 1fr; }
  .site-footer-inner { flex-direction: column; gap: 2rem; }
}
@media (max-width: 640px) {
  .site-nav-links { display: none; }
  .site-hero { padding: 3.5rem 0 3rem; }
  .site-hero-actions { flex-wrap: wrap; }
  .site-footer-fine { flex-direction: column; }
}
