/* pages/shared.css — common styling for Daydeck sub-pages */

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: #050507; color: #fff;
  font-family: 'Onest', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(160,120,255,0.4); color: #fff; }
h1, h2, h3, h4, p { margin: 0; }

/* App-wide ambient background */
.app-bg {
  position: fixed; inset: 0; z-index: 0;
  background: #050507;
}
.app-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 0%,  oklch(0.62 0.22 285 / 0.45), transparent 50%),
    radial-gradient(ellipse at 85% 100%, oklch(0.72 0.18 220 / 0.40), transparent 50%);
  filter: blur(80px);
  opacity: 0.6;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px) saturate(140%);
  background: rgba(5,5,7,0.55);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.nav .brand { display: flex; align-items: center; gap: 10px; }
.nav .brand-name {
  font-family: 'Bricolage Grotesque', system-ui;
  font-size: 22px; font-weight: 500; letter-spacing: -0.04em;
}
.nav .links { display: flex; gap: 28px; font-size: 14px; color: rgba(255,255,255,0.6); }
.nav .links a:hover { color: #fff; }
.nav .cta {
  background: oklch(0.72 0.20 285); color: #fff; border: none;
  padding: 10px 18px; border-radius: 100px; font-size: 14px; font-weight: 500;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 0 24px oklch(0.62 0.22 285 / 0.6);
}

/* Mono label */
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}

/* Wrap & content above bg */
.wrap { position: relative; z-index: 1; }

/* Hero */
.page-hero {
  position: relative;
  padding: 160px 40px 80px;
  max-width: 1200px; margin: 0 auto;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; margin-bottom: 32px;
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: oklch(0.72 0.20 285);
  backdrop-filter: blur(20px);
}
.page-hero .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.72 0.20 285);
  box-shadow: 0 0 12px oklch(0.72 0.20 285);
}
.page-hero h1 {
  font-family: 'Bricolage Grotesque', system-ui;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500; letter-spacing: -0.05em; line-height: 0.92;
  text-wrap: pretty;
  max-width: 900px;
}
.page-hero h1 em { font-style: italic; font-weight: 300; }
.page-hero .lede {
  margin-top: 28px;
  font-size: 20px; line-height: 1.5;
  color: rgba(255,255,255,0.6); max-width: 640px;
  text-wrap: pretty;
}
.page-hero .ctas {
  margin-top: 40px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-primary {
  background: oklch(0.72 0.20 285); color: #fff;
  border: none; padding: 16px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 500; font-family: inherit; cursor: pointer;
  box-shadow: 0 0 40px oklch(0.62 0.22 285 / 0.6);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.18);
  color: #fff; padding: 16px 24px; border-radius: 100px;
  font-size: 15px; font-family: inherit; cursor: pointer;
  backdrop-filter: blur(20px);
  display: inline-flex; align-items: center; gap: 8px;
}

/* Section */
section {
  padding: 100px 40px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
section .inner { max-width: 1200px; margin: 0 auto; }
section h2 {
  font-family: 'Bricolage Grotesque', system-ui;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 0.95;
  margin-bottom: 24px;
  text-wrap: pretty; max-width: 800px;
}
section h2 em { font-style: italic; font-weight: 300; }
section .lede {
  font-size: 18px; line-height: 1.5;
  color: rgba(255,255,255,0.6); max-width: 600px;
  margin-bottom: 48px; text-wrap: pretty;
}

/* Card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 28px;
}
.card h3 {
  font-family: 'Bricolage Grotesque', system-ui;
  font-size: 24px; font-weight: 500; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.card p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.5; }

/* Footer */
.page-footer {
  padding: 64px 40px 32px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  background: #0a0a14;
}
.page-footer .inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: rgba(255,255,255,0.5); font-size: 13px;
}
.page-footer a { color: rgba(255,255,255,0.7); }
.page-footer a:hover { color: #fff; }

@media (max-width: 800px) {
  .nav { padding: 14px 20px; }
  .nav .links { display: none; }
  .page-hero { padding: 130px 20px 60px; }
  section { padding: 70px 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
