/* BareBones Media — shared design system for subpages (matches the homepage) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a; --surface: #101010; --surface-2: #161616;
  --lime: #c8ff00; --text: rgba(255,255,255,0.92); --text-2: rgba(255,255,255,0.58);
  --text-3: rgba(255,255,255,0.38); --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Bebas Neue', sans-serif; --font-body: 'DM Sans', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', monospace;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 300; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: #000; }

.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--lime); opacity: 0.6; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1rem 3rem; background: rgba(10,10,10,0.55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease), background 0.4s var(--ease); }
nav.scrolled { padding: 0.7rem 3rem; background: rgba(10,10,10,0.8); }
.nav-logo img { height: 70px; width: auto; transition: height 0.4s var(--ease); }
nav.scrolled .nav-logo img { height: 56px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-2); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.25s var(--ease); position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--lime); color: #000; padding: 0.6rem 1.5rem; border-radius: 100px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; transition: box-shadow 0.3s var(--ease); }
.nav-cta:hover { box-shadow: 0 0 30px rgba(200,255,0,0.35); }

/* BUTTONS */
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 1rem 2.2rem; border-radius: 100px; overflow: hidden; transition: transform 0.3s var(--ease); }
.btn span { position: relative; z-index: 2; transition: color 0.4s var(--ease); }
.btn-primary { background: var(--lime); color: #000; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: #000; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); z-index: 1; }
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary:hover span { color: var(--lime); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost::before { content: ''; position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); z-index: 1; }
.btn-ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-ghost:hover span { color: #000; }
.btn-ghost:hover { border-color: var(--lime); }

/* PAGE HERO */
.page-hero { position: relative; padding: 11rem 3rem 5rem; overflow: hidden; border-bottom: 1px solid var(--line); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.glow-1 { top: -30%; right: -5%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(200,255,0,0.14), transparent 66%); }
.glow-2 { bottom: -40%; left: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(0,210,255,0.08), transparent 68%); }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 40% 30%, #000 20%, transparent 75%); z-index: 0; }
.page-hero .inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }
.crumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.4rem; }
.crumb a { color: var(--text-2); } .crumb a:hover { color: var(--lime); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase; margin: 1.2rem 0 1.4rem; }
.page-hero h1 span { color: var(--lime); }
.page-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 640px; margin-bottom: 2.4rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* SECTIONS */
section.block { padding: clamp(4rem, 8vw, 7rem) 3rem; position: relative; }
.container { max-width: 1000px; margin: 0 auto; }
.container-wide { max-width: 1280px; margin: 0 auto; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; margin: 1rem 0 1.2rem; }
.section-title span { color: var(--lime); }
.surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose p { color: var(--text-2); font-size: 1.08rem; line-height: 1.8; margin-bottom: 1.3rem; max-width: 760px; }
.prose p strong { color: var(--text); font-weight: 500; }
.lead-answer { color: var(--text) !important; font-size: 1.2rem !important; font-weight: 400; border-left: 2px solid var(--lime); padding-left: 1.3rem; }

/* FEATURE LIST */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.feature { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feature h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.6rem; }
.feature p { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
.feature .ico { font-family: var(--font-mono); font-size: 0.78rem; color: var(--lime); margin-bottom: 1rem; }
.check-list { list-style: none; margin-top: 1.5rem; max-width: 720px; }
.check-list li { display: flex; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.02rem; }
.check-list li::before { content: '\2192'; color: var(--lime); font-weight: 700; flex: none; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.4rem 0; font-family: var(--font-body); font-size: clamp(1.02rem, 2vw, 1.22rem); font-weight: 500; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; transition: color 0.25s var(--ease); }
.faq-q:hover { color: var(--lime); }
.faq-q::after { content: '+'; font-family: var(--font-mono); color: var(--lime); font-size: 1.7rem; transition: transform 0.3s var(--ease); flex: none; line-height: 1; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { color: var(--text-2); font-size: 1rem; line-height: 1.7; padding: 0 2.5rem 1.5rem 0; max-width: 760px; }

/* CTA BAND */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 1.2rem; }
.cta-band h2 span { color: var(--lime); }
.cta-band p { color: var(--text-2); max-width: 520px; margin: 0 auto 2.2rem; font-size: 1.05rem; }
.cta-band .btn { margin: 0 0.4rem 0.6rem; }

/* CASE STUDY */
.showcase { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; margin-top: 2.5rem; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7); }
.showcase .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1c1c1c; border-bottom: 1px solid var(--line); }
.showcase .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.showcase .bar span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.showcase img { width: 100%; display: block; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2.2rem 0; }
.cs-meta .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.cs-meta .v { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); margin-top: 0.2rem; }
.cs-meta .v.lime { color: var(--lime); }

/* BLOG */
.post-meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.2rem; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: 0.02em; text-transform: uppercase; margin: 2.6rem 0 1rem; color: var(--text); }
.prose h3 { font-size: 1.18rem; font-weight: 600; margin: 1.8rem 0 0.6rem; color: var(--text); }
.prose ul { margin: 0 0 1.3rem 1.3rem; color: var(--text-2); max-width: 760px; }
.prose ul li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose a { color: var(--lime); }
table.cmp { width: 100%; max-width: 760px; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.94rem; }
table.cmp th, table.cmp td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
table.cmp th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
table.cmp td { color: var(--text-2); }
table.cmp tr.hl td { color: var(--lime); font-weight: 500; }
.post-list { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.post-card { display: block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem 2rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.post-card:hover { border-color: var(--lime); transform: translateY(-3px); }
.post-card h3 { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--text); }
.post-card p { color: var(--text-2); font-size: 0.98rem; }
.post-card .rd { font-family: var(--font-mono); font-size: 0.72rem; color: var(--lime); margin-top: 0.8rem; display: inline-block; }

/* FOOTER */
footer { background: var(--surface); padding: 3.5rem 3rem 2.5rem; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; max-width: 1280px; margin: 0 auto; }
.footer-logo img { height: 60px; width: auto; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--lime); }
.footer-copy { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); text-align: center; margin: 2.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); letter-spacing: 0.04em; max-width: 1280px; }

/* REVEAL */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js .reveal:not(.in-view) { opacity: 0; transform: translateY(28px); }

@media (max-width: 860px) {
  nav, nav.scrolled { padding: 0.8rem 1.3rem; }
  .nav-links { display: none; }
  .page-hero { padding: 8rem 1.3rem 3.5rem; }
  section.block { padding: 3.5rem 1.3rem; }
  footer { padding: 2.5rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.js .reveal:not(.in-view), .reveal { opacity: 1 !important; transform: none !important; }
}
