/* KitCrew, by KitFire — shared stylesheet. Draft v1, S246. */
:root {
  --crew-teal: #22d3c7;
  --crew-indigo: #6366f1;
  --crew-soft: rgba(99, 102, 241, 0.13);
  --crew-line: rgba(99, 102, 241, 0.4);
  --ink: #0a0e16;
  --bg: #0a0e16;
  --bg-raise: #121826;
  --bg-raise-2: #1a2233;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-dim: #9aa4b5;
  --text-faint: #626d80;
  --good: #3ecf8e;
  --font-brand: "Sora", sans-serif;
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
::selection { background: var(--crew-indigo); color: #fff; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ============ NAV ============ */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 22, 0.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark .mark { width: 30px; height: 30px; flex-shrink: 0; }
.wordmark .wm-text { font-family: var(--font-brand); font-size: 21px; font-weight: 800; letter-spacing: -0.4px; color: var(--text); }
.wordmark .wm-by { font-size: 11px; font-weight: 400; color: var(--text-faint); margin-left: 6px; letter-spacing: 0.2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.btn-login { padding: 9px 18px; border: 1px solid var(--crew-line); border-radius: 10px; color: var(--crew-teal) !important; font-weight: 600 !important; }
.btn-login:hover { background: var(--crew-soft); }
@media (max-width: 760px) { .nav-links a:not(.btn-login) { display: none; } }

/* ============ HERO ============ */
.hero { padding: 96px 0 84px; text-align: center; }
.hero-kicker {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--crew-line);
  border-radius: 100px; background: var(--crew-soft); color: var(--crew-teal);
  font-size: 13px; font-weight: 600; letter-spacing: 0.4px; margin-bottom: 26px;
}
h1 { font-family: var(--font-brand); font-size: clamp(32px, 5.4vw, 56px); font-weight: 800; line-height: 1.14; letter-spacing: -1.3px; max-width: 820px; margin: 0 auto 22px; }
h1 .accent { background: linear-gradient(90deg, var(--crew-teal), var(--crew-indigo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 640px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 15px 30px; background: linear-gradient(90deg, var(--crew-teal), var(--crew-indigo));
  color: #060810; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}
.btn-ghost {
  display: inline-block; padding: 15px 30px; border: 1px solid var(--line-strong);
  color: var(--text); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 12px;
}
.btn-ghost:hover { border-color: var(--crew-line); background: var(--crew-soft); }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-faint); }

/* ============ SECTIONS ============ */
section { padding: 72px 0; }
.sec-kicker { color: var(--crew-teal); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
h2 { font-family: var(--font-brand); font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.7px; line-height: 1.22; margin-bottom: 16px; }
h2.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sec-sub { color: var(--text-dim); max-width: 640px; font-size: 16.5px; margin-bottom: 42px; }
.sec-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ PAIN GRID ============ */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pain-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.pain-num { font-family: var(--font-brand); font-size: 28px; font-weight: 800; color: var(--crew-teal); margin-bottom: 10px; }
.pain-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text-dim); }

/* ============ CREW GRID ============ */
.crew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.crew-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.crew-role { color: var(--crew-teal); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.crew-card h3 { font-family: var(--font-brand); font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.crew-card p { font-size: 14.5px; color: var(--text-dim); }

/* ============ HOW STEPS ============ */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; counter-reset: step; }
.how-step { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.how-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 16px;
  background: var(--crew-soft); border: 1px solid var(--crew-line);
  color: var(--crew-teal); font-family: var(--font-brand); font-weight: 800; font-size: 17px;
}
.how-step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.how-step p { font-size: 14.5px; color: var(--text-dim); }

/* ============ TRUST BAND ============ */
.trust-band { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 18px; padding: 38px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.trust-item h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.trust-item h3 .tick { color: var(--good); font-size: 17px; }
.trust-item p { font-size: 13.5px; color: var(--text-dim); }

/* ============ MARKETHIVE PANEL ============ */
.mh-panel { background: linear-gradient(135deg, var(--bg-raise) 0%, var(--bg-raise-2) 100%); border: 1px solid var(--line-strong); border-radius: 18px; padding: 42px 38px; }
.mh-list { list-style: none; margin: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.mh-list li { font-size: 14.5px; color: var(--text-dim); padding-left: 22px; position: relative; }
.mh-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.mh-fine { font-size: 13px; color: var(--text-faint); max-width: 720px; margin-top: 8px; }

/* ============ PRICING (appears LATE on the page — price-last doctrine) ============ */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.price-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; text-align: center; }
.price-card.hot { border-color: var(--crew-line); position: relative; }
.price-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--crew-indigo); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; }
.price-tier { font-size: 13px; color: var(--text-faint); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; }
.price-amount { font-family: var(--font-brand); font-size: 38px; font-weight: 800; margin-bottom: 4px; }
.price-amount span { font-size: 15px; color: var(--text-dim); font-weight: 500; }
.price-note { font-size: 13px; color: var(--text-faint); margin-bottom: 20px; }
.price-feats { list-style: none; text-align: left; margin-bottom: 26px; }
.price-feats li { font-size: 13.5px; color: var(--text-dim); padding: 6px 0 6px 22px; position: relative; }
.price-feats li::before { content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.price-fine { text-align: center; font-size: 13px; color: var(--text-faint); margin-top: 26px; }

/* ============ FAQ ============ */
.faq-list details { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--crew-teal); font-weight: 700; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin-top: 12px; font-size: 14.5px; color: var(--text-dim); }

/* ============ BLOG ============ */
.blog-list { display: grid; gap: 16px; }
.blog-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; display: block; }
.blog-card:hover { border-color: var(--crew-line); }
.blog-card h3 { font-family: var(--font-brand); font-size: 18px; margin-bottom: 8px; color: var(--text); }
.blog-card p { font-size: 14px; color: var(--text-dim); }
.blog-card .tag { display: inline-block; font-size: 11.5px; color: var(--crew-teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
article.post { max-width: 720px; margin: 0 auto; }
article.post h1 { text-align: left; margin: 0 0 18px; font-size: clamp(28px, 4.6vw, 42px); }
article.post .post-meta { color: var(--text-faint); font-size: 13.5px; margin-bottom: 34px; }
article.post h2 { margin-top: 38px; font-size: 22px; }
article.post p { color: var(--text-dim); font-size: 16px; margin-bottom: 18px; }
article.post ul { margin: 0 0 18px 20px; color: var(--text-dim); font-size: 16px; }
article.post li { margin-bottom: 8px; }

/* ============ FINAL CTA ============ */
.final-cta { text-align: center; }
.final-cta h2 { margin: 0 auto 16px; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--line); padding: 44px 0; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; justify-content: space-between; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); text-decoration: none; font-size: 13.5px; }
.foot-links a:hover { color: var(--text); }
.foot-legal { width: 100%; margin-top: 22px; font-size: 12.5px; color: var(--text-faint); max-width: 900px; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 76px 0 64px; }
}

/* ============ MOTION LAYER (S246 elevation) ============ */
/* Runs unconditionally — no prefers-reduced-motion gate on marketing surfaces (Chris standing ruling). */

/* Ambient glow orbs behind the hero */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; border-radius: 50%; filter: blur(110px); opacity: 0.32; pointer-events: none;
}
body::before {
  width: 560px; height: 560px; top: -180px; left: -140px;
  background: radial-gradient(circle, rgba(34, 211, 199, 0.55), transparent 65%);
  animation: kc-drift-a 26s ease-in-out infinite alternate;
}
body::after {
  width: 640px; height: 640px; top: 60px; right: -220px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 65%);
  animation: kc-drift-b 32s ease-in-out infinite alternate;
}
@keyframes kc-drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, 70px) scale(1.12); } }
@keyframes kc-drift-b { from { transform: translate(0, 0) scale(1.08); } to { transform: translate(-80px, 110px) scale(0.96); } }

/* Hero entrance */
.hero > * { opacity: 0; transform: translateY(18px); animation: kc-rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2) { animation-delay: 0.16s; }
.hero > *:nth-child(3) { animation-delay: 0.28s; }
.hero > *:nth-child(4) { animation-delay: 0.4s; }
.hero > *:nth-child(5) { animation-delay: 0.5s; }
.hero > *:nth-child(6) { animation-delay: 0.62s; }
@keyframes kc-rise { to { opacity: 1; transform: translateY(0); } }

/* Animated gradient sweep on accent text */
h1 .accent {
  background-size: 220% 100%;
  animation: kc-sheen 6s ease-in-out infinite;
}
@keyframes kc-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Scroll reveals (motion.js adds .kc-in) */
.kc-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.kc-reveal.kc-in { opacity: 1; transform: translateY(0); }

/* Card hover lift */
.pain-card, .crew-card, .how-step, .price-card, .blog-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover, .crew-card:hover, .how-step:hover {
  transform: translateY(-4px); border-color: var(--crew-line);
  box-shadow: 0 14px 40px rgba(6, 10, 20, 0.55);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(6, 10, 20, 0.6); }
.btn-primary { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(99, 102, 241, 0.5); }

/* Hero visual frame */
.hero-visual {
  max-width: 880px; margin: 54px auto 0; border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 90px rgba(6, 10, 20, 0.7), 0 0 0 1px rgba(34, 211, 199, 0.06), 0 0 80px rgba(99, 102, 241, 0.18);
}
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(10, 14, 22, 0.55));
}

/* Blog post cover */
.post-cover { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); margin-bottom: 34px; box-shadow: 0 20px 60px rgba(6, 10, 20, 0.6); }
.post-cover img { width: 100%; height: auto; display: block; }
