/* ============================================
   ONEDAI — Shared design system
   Linear/Vercel inspired. Dark. Monospace accents.
   ============================================ */

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

:root {
  --bg: #0A0A0A;
  --bg-elev: #121212;
  --bg-card: #161616;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.15);
  --text: #FFFFFF;
  --text-muted: #999;
  --text-dim: #666;
  --success: #22c55e;
  --info: #3b82f6;
  --warn: #f59e0b;
  --error: #ef4444;
}

html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: #fff;
}
.brand img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 400;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: #fff !important; color: #000 !important;
  padding: 8px 14px; border-radius: 8px;
  font-size: 13px !important; font-weight: 500;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .9; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ============ BUTTONS ============ */
.btn-primary {
  background: #fff; color: #000;
  padding: 12px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .15s, transform .1s;
  font-family: inherit; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: .9; }
.btn-primary:active { transform: scale(.98); }
.btn-ghost {
  background: transparent; color: #fff;
  padding: 12px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong);
  transition: all .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.3); }

/* ============ SECTION HEADERS ============ */
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 600;
  letter-spacing: -1.5px; line-height: 1.2;
  margin-bottom: 16px;
  padding-bottom: 0.15em;
  background: linear-gradient(180deg, #fff 0%, #999 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 620px; line-height: 1.6;
  margin-bottom: 56px;
}
.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ FOOTER ============ */
footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-brand {
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}
.footer-brand img { height: 32px; width: auto; opacity: .9; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-dim);
  letter-spacing: .5px;
}

/* ============ SECTIONS ============ */
section { padding: 96px 32px; border-bottom: 1px solid var(--border); }

/* ============ REVEAL ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
}
