/* =========================================================
   Megabit AI – Home page
   Light/paper aesthetic, refined palette, serif italic accents,
   bento services, sticky process, animated mesh, magnetic UI.
   ========================================================= */

:root {
  /* Surfaces */
  --bg:        #fafaf7;          /* warm paper */
  --bg-soft:   #f3f1ea;          /* slightly deeper paper */
  --surface:   #ffffff;          /* cards */
  --ink:       #0b1020;          /* primary text */
  --ink-2:     #2a2f3d;          /* secondary text */
  --muted:     #6b7180;          /* tertiary text */
  --hairline:  #e7e3d8;          /* subtle borders */
  --hairline-2:#d9d4c4;          /* hover borders */

  /* Brand */
  --brand:     #0d9488;          /* deep teal sampled from the logo */
  --brand-2:   #5eead4;          /* soft teal */
  --brand-3:   #0f766e;          /* hover teal */
  --accent:    #f59e0b;          /* warm accent (amber) */
  --accent-2:  #fcd34d;
  --rose:      #e11d48;
  --violet:    #7c3aed;

  /* Inks for dark band */
  --ink-band:  #0b1020;

  /* Effects */
  --shadow-1:  0 1px 0 rgba(15,20,40,.04), 0 1px 2px rgba(15,20,40,.05);
  --shadow-2:  0 8px 20px -10px rgba(15,20,40,.18), 0 2px 4px rgba(15,20,40,.05);
  --shadow-3:  0 30px 60px -30px rgba(15,20,40,.25), 0 10px 20px -10px rgba(15,20,40,.10);

  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container:  1200px;
  --easing:     cubic-bezier(.2,.7,.2,1);
}

/* -------------------- base -------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: rgba(13,148,136,.22); color: var(--ink); }

/* container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* serif italic accent */
.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .002em;
}

/* gradient text */
.grad {
  background: linear-gradient(100deg, var(--ink) 0%, var(--brand) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(13,148,136,.14);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.eyebrow--ink { color: rgba(255,255,255,.65); }
.eyebrow--ink .eyebrow__dot { background: var(--brand-2); box-shadow: 0 0 0 4px rgba(94,234,212,.18); }
@keyframes pulseDot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.35); opacity: .8; }
}

/* headings */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0;
}
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
h4 { font-size: 16px; }
p  { margin: 0; color: var(--ink-2); }

/* section heads */
.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section__head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.section__head h2 { font-size: clamp(30px, 4.6vw, 56px); }
.section__head p { color: var(--muted); font-size: 17px; }
.section__head--left { text-align: left; align-items: flex-start; margin: 0 0 48px; }

/* -------------------- buttons -------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--easing), background .25s, color .25s, border-color .25s, box-shadow .35s;
  white-space: nowrap;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--easing); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--ink) 0%, #161b30 100%);
  border-color: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(11,16,32,.55), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(11,16,32,.65); }

.btn--ink {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}
.btn--ink:hover { background: var(--ink); color: #fff; }

.btn--ghost {
  color: var(--ink);
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
  border-color: var(--hairline-2);
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.btn--white {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -14px rgba(0,0,0,.45); }

.btn--lg  { padding: 15px 26px; font-size: 15.5px; }
.btn--full{ width: 100%; }

/* -------------------- nav -------------------- */
.nav {
  position: fixed; inset: 16px 16px auto 16px;
  z-index: 50;
  background: rgba(250,250,247,.72);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: box-shadow .3s var(--easing), background .3s, border-color .3s, transform .35s;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-2);
}
.nav__wrap {
  display: flex; align-items: center;
  height: 64px;
  padding: 0 12px 0 18px;
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--ink); }
.brand__mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  filter: drop-shadow(0 6px 12px rgba(13,148,136,.28));
  transition: transform .45s var(--easing), filter .35s;
}
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 10px 18px rgba(13,148,136,.35));
}
.brand__name { font-size: 17px; letter-spacing: -.012em; }
.brand__name em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-weight: 400;
  color: var(--brand);
  margin-left: 2px;
  letter-spacing: 0;
}

.nav__links {
  display: flex; gap: 4px;
  margin-left: 18px;
  flex: 1;
}
.nav__links a {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 14px;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: rgba(11,16,32,.05); }

.nav__cta { padding: 10px 18px; font-size: 14px; }

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0; position: relative;
}
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--easing), opacity .25s;
}
.nav__burger span:nth-child(1){ top: 13px; }
.nav__burger span:nth-child(2){ top: 18px; }
.nav__burger span:nth-child(3){ top: 23px; }

/* -------------------- spotlight + grain -------------------- */
.spotlight {
  position: fixed; pointer-events: none; z-index: 1;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.10) 0%, rgba(13,148,136,0) 60%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: 0;
  mix-blend-mode: multiply;
}
.spotlight.is-on { opacity: 1; }

.grain {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* -------------------- hero -------------------- */
.hero {
  position: relative;
  padding: 200px 0 120px;
  isolation: isolate;
  overflow: hidden;
}
.hero__mesh { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.blob--a { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, #99f6e4, transparent 70%); }
.blob--b { width: 480px; height: 480px; right: -140px; top: 40px; background: radial-gradient(circle, #fde68a, transparent 70%); animation-delay: -4s; }
.blob--c { width: 600px; height: 600px; left: 30%; top: 60%; background: radial-gradient(circle, #ddd6fe, transparent 70%); animation-delay: -8s; }
@keyframes float {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(28px,-24px,0) scale(1.06); }
}

.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(11,16,32,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,16,32,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  z-index: 2;
}
.hero__title {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 980px;
}
.hero__title em { color: var(--brand-3); }
.hero__lead {
  max-width: 660px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* floating chips around the hero */
.hero__chips {
  position: relative;
  width: min(900px, 92%);
  height: 80px;
  margin-top: 18px;
}
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
  animation: floaty 8s ease-in-out infinite;
  will-change: transform;
}
.chip svg { color: var(--brand); }
.chip--1 { top: -10px;  left: 4%;  animation-delay: -.2s; }
.chip--2 { top: 32px;   left: 24%; animation-delay: -1.4s; }
.chip--3 { top: -4px;   left: 50%; transform: translateX(-50%); animation-delay: -.8s; color: var(--ink); border-color: var(--brand); }
.chip--3 svg { color: var(--brand-3); }
.chip--4 { top: 36px;   right: 22%; animation-delay: -2.6s; }
.chip--5 { top: -6px;   right: 5%;  animation-delay: -1.8s; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.chip--3 { animation-name: floatyCenter; }
@keyframes floatyCenter {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-10px); }
}

/* scroll cue */
.hero__scroll {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll__dot {
  width: 22px; height: 36px;
  border: 1.5px solid var(--hairline-2);
  border-radius: 12px;
  position: relative;
}
.hero__scroll__dot::after {
  content: ''; position: absolute; top: 8px; left: 50%;
  width: 4px; height: 6px; background: var(--brand);
  border-radius: 2px; transform: translateX(-50%);
  animation: scrolly 1.8s ease-in-out infinite;
}
@keyframes scrolly {
  0%,100% { transform: translate(-50%, 0); opacity: 1; }
  60%     { transform: translate(-50%, 12px); opacity: 0; }
  61%     { transform: translate(-50%, 0); opacity: 0; }
}

/* -------------------- marquee -------------------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  overflow: hidden;
  background: var(--surface);
}
.marquee__track {
  display: flex; gap: 60px;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee__row {
  display: flex; align-items: center; gap: 60px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__row .dot { color: var(--brand); font-size: 20px; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------------------- bento services -------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 26px 26px 30px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
  transition: transform .5s var(--easing), border-color .35s, box-shadow .35s, background .35s;
  isolation: isolate;
}
.bento__card::before {
  /* mouse-tracked spotlight overlay */
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent, var(--brand)) 14%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--easing);
  pointer-events: none;
  z-index: -1;
}
.bento__card::after {
  /* top accent line */
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--brand)), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.bento__card:hover {
  border-color: color-mix(in srgb, var(--accent, var(--brand)) 35%, var(--hairline));
  box-shadow: var(--shadow-3);
  transform: translateY(-3px);
}
.bento__card:hover::before { opacity: 1; }
.bento__card:hover::after  { opacity: 1; }

.bento__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent, var(--brand)) 12%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--brand)) 22%, var(--hairline));
  color: color-mix(in srgb, var(--accent, var(--brand)) 70%, var(--ink));
  transition: transform .4s var(--easing);
}
.bento__icon svg { width: 22px; height: 22px; }
.bento__card:hover .bento__icon { transform: rotate(-6deg) scale(1.05); }

.bento__card h3 { font-size: 19px; }
.bento__card p { color: var(--muted); font-size: 14.5px; }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  color: var(--ink-2);
  padding: 5px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.bento__corner {
  position: absolute; top: 18px; right: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .18em;
}

/* -------------------- stats strip -------------------- */
.strip {
  padding: 64px 0;
  background: var(--ink-band);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 200px at 80% 100%, rgba(94,234,212,.18), transparent 60%),
    radial-gradient(600px 200px at 0%  0%,   rgba(124,58,237,.20), transparent 60%);
  pointer-events: none;
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.strip__item {
  display: flex; flex-direction: column; gap: 6px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #b9f3e7);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.strip__item span { color: rgba(255,255,255,.6); font-size: 13.5px; letter-spacing: .04em; }

/* -------------------- process (sticky) -------------------- */
.process {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 40px;
  align-items: flex-start;
}
.process__rail {
  position: sticky; top: 120px;
  height: 360px;
  display: flex; justify-content: center;
}
.process__rail__bar {
  width: 2px;
  height: 100%;
  background: var(--hairline);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.process__rail__fill {
  position: absolute; top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, var(--brand), var(--violet));
  height: 0%;
  transition: height .15s linear;
}
.process__steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 24px;
}
.pstep {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: transform .4s var(--easing), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.pstep:hover { border-color: var(--hairline-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pstep__head { display: flex; align-items: center; gap: 18px; }
.pstep__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em;
  color: var(--brand);
  padding: 6px 10px;
  background: color-mix(in srgb, var(--brand) 8%, white);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--hairline));
  border-radius: 999px;
}
.pstep h3 { font-size: 22px; }
.pstep p { color: var(--muted); font-size: 15px; }

/* -------------------- why us -------------------- */
.grid2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.grid2 .lead { font-size: 17px; color: var(--muted); margin: 16px 0 28px; }
.features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  transition: transform .3s var(--easing), border-color .25s, box-shadow .3s;
}
.feature:hover { transform: translateX(4px); border-color: var(--brand); box-shadow: var(--shadow-1); }
.feature__icn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--hairline));
  color: var(--brand-3);
}
.feature__icn svg { width: 20px; height: 20px; }
.feature h4 { font-size: 15.5px; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: 14px; }

/* -------------------- about (orbit) -------------------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about__visual { display: grid; place-items: center; }
.about__orbit {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.about__ring {
  position: absolute; inset: 0;
  border: 1px dashed var(--hairline-2);
  border-radius: 50%;
}
.about__ring--1 { animation: spin 60s linear infinite; }
.about__ring--2 { inset: 12%; animation: spin 45s linear infinite reverse; border-color: color-mix(in srgb, var(--brand) 25%, var(--hairline-2)); }
.about__ring--3 { inset: 25%; animation: spin 30s linear infinite; border-style: solid; border-color: color-mix(in srgb, var(--brand) 15%, var(--hairline-2)); }
@keyframes spin { to { transform: rotate(360deg); } }

.about__logoCard {
  position: relative; z-index: 2;
  width: 56%; aspect-ratio: 1;
  border-radius: 28px;
  display: grid; place-items: center;
  padding: 6%;
  transform: rotate(-3deg);
  transition: transform .6s var(--easing);
  filter: drop-shadow(0 30px 40px rgba(13,148,136,.22)) drop-shadow(0 10px 20px rgba(124,58,237,.18));
}
.about__logoCard:hover { transform: rotate(0deg) scale(1.04); }
.about__logoCard .markLg { width: 100%; height: 100%; }
.markLg__bit  { transform-origin: 24px 25px; animation: bitPulse 2.2s ease-in-out infinite; }
.markLg__halo { transform-origin: 24px 25px; animation: bitHalo 2.2s ease-in-out infinite; }
.markLg__m    { stroke-dasharray: 120; stroke-dashoffset: 120; animation: drawM 1.6s var(--easing) .2s forwards; }
@keyframes bitPulse {
  0%,100% { transform: scale(1);   }
  50%     { transform: scale(1.35); }
}
@keyframes bitHalo {
  0%,100% { opacity: .8; transform: scale(1);   }
  50%     { opacity: .35; transform: scale(1.6); }
}
@keyframes drawM {
  to { stroke-dashoffset: 0; }
}

.about__pin {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(13,148,136,.15);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.about__pin--1 { top: 4%;   left: 50%; }
.about__pin--2 { top: 50%;  right: 0%; }
.about__pin--3 { bottom: 4%; left: 50%; }
.about__pin--4 { top: 50%;  left: 0%;  }

.about__copy h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 46px); }
.about__copy p { color: var(--ink-2); margin-bottom: 14px; font-size: 16px; line-height: 1.75; }
.about__copy .btn { margin-top: 20px; }

/* -------------------- testimonials -------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .4s var(--easing), border-color .3s, box-shadow .3s;
}
.quote:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-3); }
.quote__mark {
  width: 30px; height: 30px;
  color: var(--brand);
  opacity: .7;
}
.quote blockquote {
  margin: 0; padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.55;
}
.quote figcaption {
  display: flex; flex-direction: column;
  font-size: 13px; color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}
.quote figcaption strong { color: var(--ink); font-weight: 600; font-size: 14px; }

/* -------------------- FAQ -------------------- */
.faq__wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: start;
}
.faq__wrap .section__head { margin: 0; }
.faq { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 24px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  transition: color .25s;
}
.faq__q:hover { color: var(--brand-3); }
.faq__plus {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .35s var(--easing);
}
.faq__plus::before,
.faq__plus::after {
  content: ''; position: absolute; background: var(--ink);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq__plus::before { width: 10px; height: 1.5px; }
.faq__plus::after  { width: 1.5px; height: 10px; transition: transform .35s var(--easing); }
.faq__item.is-open .faq__plus { background: var(--ink); border-color: var(--ink); }
.faq__item.is-open .faq__plus::before,
.faq__item.is-open .faq__plus::after { background: #fff; }
.faq__item.is-open .faq__plus::after { transform: translate(-50%,-50%) scaleY(0); }

.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--easing);
}
.faq__a p {
  padding: 0 0 24px 0;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
}
.faq__item.is-open .faq__a { max-height: 240px; }

/* -------------------- CTA band -------------------- */
.ctaband {
  background: var(--ink-band);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.ctaband::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 220px at 0% 0%, rgba(94,234,212,.22), transparent 60%),
    radial-gradient(700px 220px at 100% 100%, rgba(245,158,11,.18), transparent 60%);
  pointer-events: none;
}
.ctaband__wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.ctaband__wrap h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin-top: 12px; max-width: 720px; }
.ctaband__wrap h2 em { color: var(--brand-2); }

/* -------------------- contact -------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.contact__copy h2 { margin-bottom: 18px; }
.contact__copy p { color: var(--muted); margin-bottom: 22px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact__list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.contact__list svg {
  width: 18px; height: 18px;
  color: var(--brand);
}
.contact__list a { border-bottom: 1px solid var(--hairline); transition: border-color .2s; }
.contact__list a:hover { border-color: var(--brand); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; gap: 18px;
}
.field { position: relative; }
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 22px 16px 12px;
  font: 500 15px 'Inter', sans-serif;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 120px; }
.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13,148,136,.12);
}
.field label {
  position: absolute;
  left: 16px; top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--easing), color .25s;
  padding: 0 4px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translate(-2px, -8px) scale(.82);
  color: var(--brand-3);
}
.contact__status {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  color: var(--muted);
  min-height: 18px;
}
.contact__status.is-ok  { color: var(--brand-3); }
.contact__status.is-err { color: var(--rose); }

/* -------------------- footer -------------------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--hairline);
  padding: 70px 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 340px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer__cols a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color .2s, transform .2s;
}
.footer__cols a:hover { color: var(--brand-3); transform: translateX(3px); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--muted);
}

/* -------------------- reveal anim -------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--easing), transform .8s var(--easing); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------- responsive -------------------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }

  .grid2, .about, .contact, .faq__wrap { grid-template-columns: 1fr; gap: 50px; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__rail { display: none; }

  .quotes { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav { inset: 10px 10px auto 10px; border-radius: 22px; }
  .nav__wrap { padding: 0 8px 0 14px; height: 60px; gap: 10px; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 14px;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-6px);
    opacity: 0; pointer-events: none;
    transition: opacity .25s var(--easing), transform .25s var(--easing);
    box-shadow: var(--shadow-3);
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .hero { padding: 160px 0 80px; }
  .hero__chips { display: none; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }

  .bento { grid-template-columns: 1fr; }

  .strip__inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .strip__item { padding-left: 0; border-left: 0; }
  .strip__item strong { font-size: 32px; }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }

  .ctaband__wrap { flex-direction: column; align-items: flex-start; }
}
