/* ===== TOKENS ===== */
:root {
  --bg: #F7F7F3;
  --dark: #050706;
  --dark-2: #0e120f;
  --text: #101010;
  --muted: #666666;
  --lime: #C7FF3D;
  --lime-deep: #B6FF2E;
  --border: rgba(0,0,0,.08);
  --border-d: rgba(255,255,255,.10);
  --radius: 18px;
  --radius-lg: 30px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: "Geist", "ABC Diatype", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }

section { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ===== SHARED ===== */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--lime { color: var(--lime-deep); }
.hl { color: var(--muted); }
.hl-text { font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  background: var(--dark); color: #fff;
  padding: 15px 26px; border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: #fff; border-color: rgba(0,0,0,.18); }
.btn--lime { background: var(--lime); color: var(--dark); }
.btn--lime:hover { box-shadow: 0 14px 34px rgba(199,255,61,.45); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 18px 38px; font-size: 16px; }

.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 54px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head__sub { color: var(--muted); font-size: 17px; margin-top: 18px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 100%; padding: 16px 32px;
  background: rgba(247,247,243,.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck { border-color: var(--border); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.nav__logo { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 100px; transition: .25s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(0,0,0,.05); }

/* ===== HERO ===== */
.hero { padding-top: clamp(60px, 11vw, 130px); padding-bottom: clamp(50px, 8vw, 100px); text-align: center; }
.hero .eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(40px, 8vw, 92px); }
.hero__title .hl { color: var(--muted); }
.hero__sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 620px; margin: 28px auto 0; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 44px;
}
.hero__badges li {
  font-size: 13px; font-weight: 500; color: var(--text);
  background: #fff; border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 100px;
}
.hero__badges li::before { content: "—"; color: var(--lime-deep); margin-right: 8px; font-weight: 700; }

/* hero depth: background grid + glow */
.hero { position: relative; overflow: hidden; }
.hero__content { position: relative; z-index: 2; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 28%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 28%, transparent 76%);
}
.hero__glow {
  position: absolute; top: -14%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 540px; max-width: 110%;
  background: radial-gradient(circle at center, rgba(199,255,61,.32), rgba(199,255,61,0) 66%);
  filter: blur(6px);
}

/* animated headline reveal */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .hl { font-style: normal; position: relative; color: var(--muted); }
.hero__title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .07em;
  background: var(--lime); transform: scaleX(1); transform-origin: left;
}

/* floating proof cards */
.hero__float {
  position: absolute; z-index: 1; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 18px 42px rgba(0,0,0,.12);
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
}
.hero__float small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; margin-top: 1px; }
.hero__float strong { font-weight: 600; }
.hero__stars { color: #f6b500; font-size: 13px; letter-spacing: 1px; }
.hero__dot { width: 9px; height: 9px; border-radius: 50%; background: #16c060; box-shadow: 0 0 0 4px rgba(22,192,96,.16); }
.hero__check { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--dark); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.hero__float--a { top: 20%; left: 4%; }
.hero__float--b { top: 27%; right: 5%; }
.hero__float--c { bottom: 17%; left: 9%; }

@media (max-width: 1080px) { .hero__float { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { transform: translateY(115%); animation: lineUp .9s var(--ease) forwards; }
  .hero__title .line:nth-child(2) > span { animation-delay: .1s; }
  .hero__eyebrow, .hero__sub, .hero__cta, .hero__badges {
    opacity: 0; animation: fadeUp .8s var(--ease) forwards;
  }
  .hero__eyebrow { animation-delay: .05s; }
  .hero__sub { animation-delay: .34s; }
  .hero__cta { animation-delay: .44s; }
  .hero__badges { animation-delay: .54s; }
  .hero__title .hl::after { transform: scaleX(0); animation: drawLine .7s var(--ease) .7s forwards; }
  .hero__float { opacity: 0; animation: fadeUp .7s var(--ease) forwards, floaty 6s ease-in-out infinite; }
  .hero__float--a { animation-delay: .8s, 1.5s; }
  .hero__float--b { animation-delay: .95s, 1.7s; }
  .hero__float--c { animation-delay: 1.1s, 1.9s; }
  @keyframes lineUp { to { transform: translateY(0); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes drawLine { to { transform: scaleX(1); } }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
}

/* ===== INTRO ===== */
.intro { padding: clamp(50px, 7vw, 90px) 28px; border-top: 1px solid var(--border); }
.intro__lead { font-size: clamp(24px, 3.6vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1.22; max-width: 980px; margin: 0 auto; text-align: center; }
.intro__lead .hl-text { color: var(--text); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ===== SERVICES / ACCORDION ===== */
.services { padding: clamp(60px, 8vw, 110px) 28px; }
.acc { border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__item summary {
  display: flex; align-items: center; gap: 20px;
  padding: 30px 4px; cursor: pointer; list-style: none;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__no { font-size: 14px; font-weight: 600; color: var(--muted); width: 32px; flex-shrink: 0; }
.acc__title { font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; flex: 1; transition: color .25s var(--ease); }
.acc__item:hover .acc__title { color: #000; }
.acc__plus { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; background: var(--text); transition: transform .3s var(--ease), background .3s var(--ease); }
.acc__plus::before { top: 10px; left: 0; width: 22px; height: 2px; }
.acc__plus::after { left: 10px; top: 0; width: 2px; height: 22px; }
.acc__item[open] .acc__plus::after { transform: scaleY(0); }
.acc__item[open] .acc__plus::before { background: var(--lime-deep); }
.acc__item > p {
  max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.6;
  margin-left: 52px; overflow: hidden;
  animation: accIn .4s var(--ease);
}
.acc__item:not([open]) > p { display: none; }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acc__item > p { padding-bottom: 32px; }

/* ===== DEMOS (3D scroll-stack centerpiece) ===== */
.demos { padding: clamp(60px, 8vw, 110px) 28px clamp(20px, 4vw, 50px); }
.stack { position: relative; perspective: 1600px; }
.stack__card {
  position: sticky; top: 96px;
  transform-origin: 50% 0%; will-change: transform, filter;
}
.stack__card:not(:last-child) { margin-bottom: 46vh; }

/* graceful fallback when motion is reduced — plain stacked list */
.stack--flat .stack__card { position: static; margin-bottom: 28px; transform: none !important; filter: none !important; }

/* full-bleed image card with overlaid text */
.demo {
  display: block; position: relative; cursor: pointer; text-decoration: none;
  height: clamp(380px, 46vw, 560px);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #2e2e2e);
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
}
.demo img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.demo:hover img { transform: scale(1.04); }
.demo__fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; color: rgba(255,255,255,.55); }
.demo__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5,7,6,.82) 0%, rgba(5,7,6,.34) 34%, rgba(5,7,6,0) 62%); transition: background .4s var(--ease); }
.demo:hover .demo__scrim { background: linear-gradient(to top, rgba(5,7,6,.9) 0%, rgba(5,7,6,.5) 45%, rgba(5,7,6,.12) 80%); }
.demo__cat {
  position: absolute; top: 22px; left: 22px; z-index: 3;
  background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px; font-weight: 500; padding: 8px 14px; border-radius: 100px;
}
.demo__no { position: absolute; top: 24px; right: 26px; z-index: 3; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.demo__overlay { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3.4vw, 44px); color: #fff; }
.demo__title { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
.demo__reveal { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease); }
.demo:hover .demo__reveal, .demo:focus-visible .demo__reveal { max-height: 260px; opacity: 1; margin-top: 16px; }
.demo__desc { color: rgba(255,255,255,.82); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.55; max-width: 560px; }
.demo__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.demo__tags span { font-size: 12px; font-weight: 500; color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 100px; }
.demo__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--dark); font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 100px; }
/* touch devices: no hover — always show the details */
@media (hover: none) {
  .demo__reveal { max-height: 260px; opacity: 1; margin-top: 16px; }
  .demo__scrim { background: linear-gradient(to top, rgba(5,7,6,.9) 0%, rgba(5,7,6,.5) 45%, rgba(5,7,6,.12) 80%); }
}

/* ===== PACKAGE ===== */
.pkg { padding: clamp(60px, 8vw, 110px) 28px; }
.pkg__card {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--dark); color: #fff; border-radius: var(--radius-lg); overflow: hidden;
}
.pkg__left { padding: clamp(34px, 5vw, 60px); border-right: 1px solid var(--border-d); display: flex; flex-direction: column; }
.pkg__price { font-size: clamp(34px, 5vw, 60px); margin: 18px 0 14px; }
.pkg__sub { color: rgba(255,255,255,.6); font-size: 17px; max-width: 340px; }
.pkg__addon {
  margin: 32px 0; padding: 18px 20px; border: 1px solid var(--border-d); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 4px;
}
.pkg__addon strong { font-weight: 600; font-size: 15px; }
.pkg__addon span { color: var(--lime); font-weight: 600; font-size: 15px; }
.pkg__left .btn { align-self: flex-start; margin-top: auto; }
.pkg__right { padding: clamp(34px, 5vw, 60px); background: var(--dark-2); }
.pkg__inc-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.pkg__list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.pkg__list li { padding: 14px 0; border-bottom: 1px solid var(--border-d); font-size: 16px; display: flex; align-items: center; gap: 12px; }
.pkg__list li:last-child { border-bottom: none; }
.pkg__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

/* ===== PROCESS ===== */
.process { padding: clamp(60px, 8vw, 110px) 28px; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pstep { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; min-height: 200px; display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.pstep:hover { transform: translateY(-4px); }
.pstep__no { font-size: 14px; font-weight: 600; color: var(--lime-deep); margin-bottom: auto; }
.pstep h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 40px 0 10px; }
.pstep p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.process__note { text-align: center; margin-top: 36px; font-size: 17px; color: var(--muted); }
.process__note span { color: var(--text); font-weight: 600; }

/* ===== FAQ ===== */
.faq { padding: clamp(60px, 8vw, 110px) 28px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.qa { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 26px; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; background: var(--text); transition: transform .3s var(--ease); }
.qa__plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.qa__plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.qa[open] .qa__plus::after { transform: scaleY(0); }
.qa > p { color: var(--muted); font-size: 16px; line-height: 1.6; padding-bottom: 24px; max-width: 700px; }

/* ===== CTA ===== */
.cta { padding: clamp(40px, 6vw, 80px) 28px clamp(60px, 8vw, 100px); }
.cta__card { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(50px, 9vw, 110px) 28px; text-align: center; position: relative; overflow: hidden; }
.cta__card::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 60%; background: radial-gradient(ellipse at center, rgba(199,255,61,.16), transparent 70%); pointer-events: none; }
.cta__title { font-size: clamp(34px, 6vw, 68px); margin: 18px 0 16px; position: relative; }
.cta__sub { color: rgba(255,255,255,.6); font-size: 18px; margin-bottom: 36px; position: relative; }
.cta .btn { position: relative; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn--ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

/* ===== BOOKING (Calendly) ===== */
.book { max-width: 920px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 28px clamp(70px, 9vw, 110px); }
.book__head { text-align: center; margin-bottom: 32px; }
.book__head .eyebrow { margin-bottom: 14px; }
.book__head h2 { font-size: clamp(28px, 4vw, 44px); }
.book__head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.book__head a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.book__embed {
  position: relative; min-height: 700px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.08);
}
.book__embed .calendly-inline-widget { width: 100%; }
.book__loading {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px;
  background: #fff; transition: opacity .4s var(--ease);
}
.book__loading.is-hidden { opacity: 0; pointer-events: none; }
.book__loading-text { color: var(--muted); font-size: 15px; font-weight: 500; }
.book__fallback { color: var(--text); font-weight: 600; font-size: 14px; border-bottom: 2px solid var(--lime); padding-bottom: 3px; }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(0,0,0,.1); border-top-color: var(--dark);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* ===== FOUNDER (optional trust block) ===== */
.founder { padding: clamp(50px, 7vw, 90px) 28px; }
.founder__card { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.founder__photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; background: #e6e6e2; }
.founder__body .eyebrow { margin-bottom: 14px; }
.founder__body h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 14px; }
.founder__body p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 560px; }

/* ===== FOOTER ===== */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 40px 28px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; }
.foot__brand img { width: 22px; height: 22px; }
.foot__nav { display: flex; gap: 6px; flex-wrap: wrap; }
.foot__nav a { font-size: 14px; color: var(--muted); padding: 6px 12px; border-radius: 100px; transition: .25s var(--ease); }
.foot__nav a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.foot__copy { font-size: 13px; color: var(--muted); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 920px) {
  .nav { padding: 14px 20px; }
  .nav__links { display: none; }
  .demo, .pkg__card, .founder__card { grid-template-columns: 1fr; }
  .demo__media { min-height: 220px; }
  .stack__card:not(:last-child) { margin-bottom: 30vh; }
  .pkg__left { border-right: none; border-bottom: 1px solid var(--border-d); }
  .process__grid { grid-template-columns: 1fr 1fr; }
  .founder__card { text-align: center; }
  .founder__photo { max-width: 200px; margin: 0 auto; }
}
@media (max-width: 540px) {
  section { padding-left: 20px; padding-right: 20px; }
  .process__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .acc__item > p { margin-left: 0; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
