/* ===== Tokens ===== */
:root {
  --bg: #07090F;
  --bg-2: #0B0E18;
  --bg-alt: #090C15;
  --panel: #10141F;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text: #F7FAFC;
  --muted: #A2B0C9;
  --muted-2: #6C7A95;
  --indigo: #818CF8;
  --cyan: #22D3EE;
  --grad: linear-gradient(110deg, #818CF8 0%, #22D3EE 100%);
  --maxw: 1160px;
  --r: 18px;
  --shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.75);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mono-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 18px;
}
.mono-label b { color: var(--cyan); font-weight: 700; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary {
  background: var(--grad); color: #051018;
  box-shadow: 0 12px 34px -12px rgba(34, 211, 238, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(34, 211, 238, 0.75); }
.btn-ghost { background: rgba(255,255,255,0.025); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(34,211,238,0.06); }

/* ===== Announce ticker ===== */
.announce { background: linear-gradient(90deg, rgba(99,102,241,0.16), rgba(34,211,238,0.16)); border-bottom: 1px solid var(--border); overflow: hidden; }
.announce-track { display: flex; align-items: center; gap: 0; white-space: nowrap; padding: 8px 0; width: max-content; animation: ticker 32s linear infinite; }
.announce-track span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--text); padding: 0 18px; opacity: 0.92; }
.announce-track i { color: var(--cyan); font-style: normal; font-size: 9px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(7, 9, 15, 0.72); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7, 9, 15, 0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; }
.wordmark { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: #F8FAFC; line-height: 1; }
.wordmark .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.footer-brand .wordmark { font-size: 21px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-mobile { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 22px; border-bottom: 1px solid var(--border); }
.nav-mobile a { color: var(--muted); padding: 10px 0; font-weight: 500; }
.nav-mobile .btn { margin-top: 8px; }

/* ===== Hero ===== */
.hero { position: relative; padding: 110px 0 92px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(840px 480px at 50% -12%, rgba(99, 102, 241, 0.20), transparent 68%),
    radial-gradient(620px 420px at 85% 2%, rgba(34, 211, 238, 0.10), transparent 66%);
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(760px 520px at 50% 16%, #000 0%, transparent 76%);
  opacity: .6;
  animation: gridpan 24s linear infinite;
}
@keyframes gridpan { from { background-position: 0 0; } to { background-position: 58px 58px; } }

/* Animated growth curves that draw themselves on load */
.hero-lines {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, transparent 52%, #000 88%);
  mask-image: linear-gradient(105deg, transparent 0%, transparent 52%, #000 88%);
}
.hero-lines path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.hero-lines path:nth-child(1) { animation-delay: 0.15s; }
.hero-lines path:nth-child(2) { animation-delay: 0.35s; }
.hero-lines path:nth-child(3) { animation-delay: 0.55s; }
.hero-lines path:nth-child(4) { animation-delay: 0.75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-nodes circle { opacity: 0; animation: nodein 0.6s ease-out forwards; animation-delay: 2.6s; }
@keyframes nodein { from { opacity: 0; } to { opacity: 0.9; } }

/* Shimmering gradient headline */
.hero h1 .grad {
  background: linear-gradient(110deg, #818CF8 0%, #22D3EE 35%, #A5F3FC 50%, #22D3EE 65%, #818CF8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 7.6vw, 84px); font-weight: 600; margin-bottom: 24px; }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 38px 0 56px; }
.hero-actions .btn-primary { animation: ctapulse 3.2s ease-in-out infinite; }
.hero-actions .btn-primary:hover { animation: none; }
@keyframes ctapulse {
  0%, 100% { box-shadow: 0 12px 34px -12px rgba(34, 211, 238, 0.5); }
  50% { box-shadow: 0 14px 44px -10px rgba(34, 211, 238, 0.85); }
}
.hero-stats { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; max-width: 760px; margin: 0 auto; background: rgba(255,255,255,0.012); }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; padding: 22px 30px; flex: 1; min-width: 150px; border-right: 1px solid var(--border); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { font-family: "Plus Jakarta Sans"; font-size: 30px; font-weight: 600; }
.hero-stats span { font-size: 13px; color: var(--muted-2); }

/* ===== Trust row ===== */
.trust { padding: 30px 0 34px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; }
.trust-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 52px; }
.logo-link { display: inline-flex; align-items: center; }
.logo-row img { height: 28px; width: auto; max-width: 150px; object-fit: contain; opacity: .55; filter: brightness(0) invert(1); transition: opacity .2s; }
.logo-link:hover img { opacity: 1; }

/* ===== Sections ===== */
.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.section-head .mono-label { justify-content: center; }
.section-head h2 { font-size: clamp(31px, 4.6vw, 50px); font-weight: 600; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Bento services ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.card {
  position: relative; background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border); border-radius: var(--r); padding: 30px 28px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r); padding: 1px;
  background: linear-gradient(130deg, rgba(34,211,238,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-feature { grid-row: span 2; display: flex; flex-direction: column; }
.card-wide { grid-column: span 2; }
.card-ico { width: 46px; height: 46px; display: grid; place-items: center; font-size: 20px; border-radius: 12px; margin-bottom: 18px; color: var(--cyan); background: rgba(34,211,238,0.10); border: 1px solid rgba(34,211,238,0.25); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.chips li { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 5px 11px; border-radius: 8px; border: 1px solid var(--border-strong); }

/* ===== Compare (what we're not) ===== */
/* ===== Grid system + work/audience components ===== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.case-metric { display: flex; align-items: baseline; gap: 9px; margin: 0 0 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.case-metric strong { font-family: "Plus Jakarta Sans"; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.aud { padding: 24px 22px; border: 1px solid var(--border); border-radius: var(--r); background: rgba(255,255,255,0.012); transition: border-color .2s, transform .2s; }
.aud:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.aud h3 { font-size: 18px; margin-bottom: 8px; }
.aud p { color: var(--muted); font-size: 14.5px; }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.compare-col { border: 1px solid var(--border); border-radius: var(--r); padding: 30px 28px; background: rgba(255,255,255,0.012); }
.compare-col.positive { border-color: rgba(34,211,238,0.35); background: linear-gradient(180deg, rgba(34,211,238,0.06), transparent); }
.compare-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted-2); }
.compare-col.positive .compare-head { color: var(--cyan); }
.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.compare-col.negative li::before { content: "✕"; position: absolute; left: 0; color: #64748B; }
.compare-col.positive li { color: var(--text); }
.compare-col.positive li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); }
.compare-col.positive em { font-style: italic; color: var(--cyan); }
.compare-vs { align-self: center; font-family: var(--mono); font-size: 13px; color: var(--muted-2); padding: 8px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 30px 26px; border-radius: var(--r); border: 1px solid var(--border); background: rgba(255,255,255,0.012); position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); opacity: 0; transition: opacity .25s; }
.step:hover::after { opacity: 1; }
.step-num { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--cyan); display: inline-block; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ===== Case studies ===== */
.case { position: relative; background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 30px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.case:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.case-idx { position: absolute; top: 26px; right: 28px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.case header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.case header h3 { font-size: 25px; }
.case header h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.case header h3 a:hover { color: var(--cyan); }
.tag { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border-strong); white-space: nowrap; }
.case p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.region { font-size: 13.5px; color: var(--muted-2); }

/* ===== Quote ===== */
.quote { max-width: 820px; margin: 48px auto 0; text-align: center; padding: 40px; border: 1px solid var(--border); border-radius: var(--r); background: rgba(255,255,255,0.012); }
.quote blockquote { font-family: "Plus Jakarta Sans"; font-size: clamp(20px, 2.6vw, 27px); font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }
.quote em { color: var(--cyan); font-style: italic; }
.quote figcaption { margin-top: 20px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; margin-bottom: 18px; }
.about-grid > div > p { color: var(--muted); margin-bottom: 18px; }
.about-grid .btn { margin-top: 6px; }
.value-list { list-style: none; display: grid; gap: 14px; }
.value-list li { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--muted); font-size: 15px; }
.value-list strong { color: var(--text); }

/* ===== CTA ===== */
.cta { padding: 116px 0; position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(720px 340px at 50% 0%, rgba(99,102,241,0.3), transparent 70%), radial-gradient(620px 320px at 50% 100%, rgba(34,211,238,0.18), transparent 70%); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner .mono-label { justify-content: center; }
.cta h2 { font-size: clamp(33px, 5vw, 54px); font-weight: 600; margin-bottom: 16px; }
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); margin-top: 26px; }

/* ===== Contact form ===== */
.contact-form { max-width: 560px; margin: 0 auto; text-align: left; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(34,211,238,0.05); box-shadow: 0 0 0 3px rgba(34,211,238,0.14); }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-status { margin: 4px 0 0; font-size: 14px; min-height: 1px; }
.form-status:empty { margin: 0; }
.form-status.ok { color: #34d399; }
.form-status.error { color: #f87171; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 54px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--border); }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; margin-top: 14px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.footer-social:hover { color: var(--cyan); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-feature { grid-row: auto; }
  .card-wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-mobile { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 74px 0; }
  .bento, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card-wide, .card-feature { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { padding: 4px; }
  .hero { padding: 72px 0 60px; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--border); }
  .hero-stats div:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .grad { background-position: 0 center; }
  /* show the growth curves fully drawn, no animation */
  .hero-lines path { stroke-dashoffset: 0 !important; }
  .hero-nodes circle { opacity: 0.9 !important; }
}
