/* Markdown Locker — marketing site
   Product-launch density, agency-level detail. */

:root {
  --bg: #050506;
  --bg-elevated: #0c0c0e;
  --surface: #121216;
  --surface-2: #18181c;
  --border: #222228;
  --border-subtle: #1a1a1e;
  --text: #f2f2f6;
  --text-secondary: #a0a0ae;
  --muted: #6e6e7a;
  --accent: #6b8afd;
  --accent-hover: #5a7aef;
  --pro: #e07070;
  --pro-soft: rgba(224, 112, 112, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-content {
  position: relative;
  z-index: 1;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(5, 5, 6, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-nav.scrolled { border-bottom-color: var(--border-subtle); }

.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.3px;
  color: var(--text);
  flex-shrink: 0;
  justify-self: start;
}
.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);
}
.logo-fallback {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
  transform: translateX(-25px);
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-cta {
  justify-self: end;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 980px;
  transition: background 0.15s, border-color 0.15s;
}
.nav-cta:hover { background: #222228; border-color: #333; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

.hero {
  position: relative;
  padding: 72px 28px 0;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 7.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-sub {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.45;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  padding: 14px 18px;
  border-radius: 980px;
  transition: background 0.15s;
}
.btn-ghost:hover { background: rgba(107, 138, 253, 0.08); }

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 56px;
}

.product-stage {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.shot-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  border: none;
  background: transparent;
  line-height: 0;
  box-shadow: none;
}

.shot-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  right: -8%;
  top: -6%;
  bottom: -18%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(120, 150, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 60%, rgba(180, 160, 255, 0.06), transparent 70%),
    radial-gradient(ellipse 35% 25% at 70% 35%, rgba(100, 180, 255, 0.05), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.shot-frame img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.shot-frame--hero { border-radius: var(--radius-xl); }

.shot-frame--hero::before {
  left: -12%;
  right: -12%;
  top: -10%;
  bottom: -22%;
  background:
    radial-gradient(ellipse 65% 50% at 50% 40%, rgba(130, 160, 255, 0.18), transparent 68%),
    radial-gradient(ellipse 45% 35% at 25% 55%, rgba(160, 140, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 30% at 75% 30%, rgba(90, 170, 255, 0.07), transparent 70%);
  filter: blur(48px);
}

.shot-frame--hero img {
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.shot-frame--wide {
  max-width: 880px;
  margin: 0 auto;
}

.shot-frame--wide::before {
  background:
    radial-gradient(ellipse 65% 50% at 50% 45%, rgba(224, 112, 112, 0.12), transparent 68%),
    radial-gradient(ellipse 40% 30% at 60% 60%, rgba(180, 100, 140, 0.06), transparent 70%);
}

.shot-frame--wide img { border-radius: var(--radius-xl); }

.section-rule {
  width: 96px;
  height: 1px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.22);
  border: none;
}

.chapter {
  padding: 100px 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.chapter-grid.reverse .chapter-copy { order: 2; }
.chapter-grid.reverse .chapter-media { order: 1; }

@media (max-width: 860px) {
  .chapter { padding: 72px 24px; }
  .chapter-grid,
  .chapter-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .chapter-grid.reverse .chapter-copy,
  .chapter-grid.reverse .chapter-media { order: unset; }
}

.chapter-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.chapter-kicker.pro { color: var(--pro); }

.chapter h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.chapter-body {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 400px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.feature-row--think {
  position: relative;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .feature-row { grid-template-columns: 1fr; }
}

a.feature-chip {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

a.feature-chip:hover {
  border-color: rgba(107, 138, 253, 0.35);
  background: rgba(107, 138, 253, 0.06);
  transform: translateY(-1px);
  text-decoration: none;
}

a.feature-chip:hover .feature-label {
  color: var(--accent);
}

.feature-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.15s;
}

.feature-desc {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.think-band {
  padding: 100px 28px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.think-band::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90vw);
  height: 320px;
  background: radial-gradient(ellipse, var(--pro-soft), transparent 70%);
  pointer-events: none;
}

.think-band .pro-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro);
  background: var(--pro-soft);
  border: 1px solid rgba(224, 112, 112, 0.25);
  padding: 5px 12px;
  border-radius: 980px;
  margin-bottom: 22px;
  position: relative;
}

.think-band h2 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 720px;
  margin: 0 auto 20px;
  position: relative;
}

.think-band .lead {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.5;
  position: relative;
}

.closing {
  padding: 100px 28px 120px;
  text-align: center;
}

.closing h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.closing p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 28px;
}

.site-footer {
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 48px 28px 40px;
  border-top: none;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-brand {
  font-size: 13px;
  color: #6e6e73;
}
.footer-brand strong {
  display: block;
  color: #1d1d1f;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: #1d1d1f;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #6b8afd; }

.footer-nod {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #d2d2d7;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: #6e6e73;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.footer-nod a {
  color: #1d1d1f;
  transition: color 0.15s;
}
.footer-nod a:hover { color: #6b8afd; }
.footer-nod .sep { opacity: 0.4; }
