/* OBZDN Group LLC for obzdn.co
   Zero-dependency stylesheet. No external requests. */

:root {
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --bg-card: #121419;
  --text: #f3f1ec;
  --muted: #9aa1ab;
  --muted-2: #6c727c;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.14);
  --accent-line: rgba(255, 122, 26, 0.35);
  --max: 1120px;
  --pad: clamp(20px, 5vw, 40px);
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", "Menlo", "Consolas", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-line);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(10, 11, 13, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand .mark {
  width: 26px;
  height: 26px;
  flex: none;
}
.brand .wordmark { font-size: 16px; }
.brand .wordmark b { color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-primary {
  background: var(--accent);
  color: #140a02;
  border-color: var(--accent);
}
.btn-primary:hover { transform: translateY(-1px); background: #ff8a34; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 13vw, 150px) 0 clamp(64px, 10vw, 120px);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  /* accent glow */
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(255, 122, 26, 0.16), transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 {
  font-size: clamp(44px, 8.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 24px;
  max-width: 15ch;
}
.hero .lede {
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 36px;
}
.hero .lede strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Section shells ---------- */
section { padding: clamp(64px, 10vw, 118px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
}
.section-head p {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  margin: 0;
}

/* ---------- What we build ---------- */
#build { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.product {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  padding: clamp(28px, 4.5vw, 52px);
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
}
.product-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.product-top h3 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
}
.pill {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.pill.accent { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.product-desc {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text);
  max-width: 60ch;
  margin: 0 0 12px;
}
.product-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 36px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.feature {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.feature .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.feature h4 {
  font-size: 18px;
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.product-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
}
.product-foot .dot { color: var(--accent); }

/* ---------- About ---------- */
#about { border-top: 1px solid var(--border); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about-grid .lead {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
.about-grid .lead .hl { color: var(--accent); }
.about-body p { color: var(--muted); margin: 0 0 20px; }
.about-body p:last-child { margin-bottom: 0; }
.founder {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.founder span { color: var(--muted); }

/* ---------- Contact ---------- */
#contact { border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.contact-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
}
.contact-card h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
}
.contact-card p { color: var(--muted); max-width: 48ch; margin: 0 auto 30px; }
.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  font-family: var(--mono);
  font-size: clamp(16px, 2.6vw, 26px);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
  padding: 14px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow-wrap: anywhere;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.email-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.email-link .at { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  background: var(--bg);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}
.footer .brand { margin-bottom: 14px; }
.footer .entity {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}
.footer .loc { color: var(--muted); font-size: 15px; margin: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 14px;
}
.footer-bottom .mono { font-family: var(--mono); letter-spacing: 0.02em; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 8vw, 96px); }
.legal .container { max-width: 760px; }
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 34px;
}
.legal .back:hover { color: var(--accent); }
.legal h1 {
  font-size: clamp(34px, 6vw, 54px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.02;
}
.legal .meta { color: var(--muted-2); font-family: var(--mono); font-size: 13.5px; margin: 0 0 46px; }
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 46px 0 14px;
  font-weight: 700;
}
.legal h2 .n { font-family: var(--mono); color: var(--accent); font-size: 15px; margin-right: 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.legal a:hover { text-decoration-color: var(--accent); }
.legal strong { color: var(--text); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; gap: 4px; }
  .feature { border-top: 1px solid var(--border); padding: 20px 0; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
