:root{
  --bg: #F7FAFC;
  --ink: #0B1220;
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow2: 0 18px 50px rgba(11,18,32,0.12);
  --accent: #18B8A6;
  --accent2:#0FA69A;
  --radius2: 26px;

  --rail-x: 10px;
  --rail-w: 2px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 650px at 20% 0%, rgba(24,184,166,0.06) 0%, rgba(24,184,166,0.00) 62%),
    radial-gradient(900px 520px at 82% 20%, rgba(24,184,166,0.04) 0%, rgba(24,184,166,0.00) 58%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding-left: 18px; }
p{ margin:0; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Remove iOS tap highlight (fixes grey flash on mobile) */
a, button, summary{
  -webkit-tap-highlight-color: transparent;
}

/* Keep keyboard focus nice, remove ugly tap focus boxes */
button:focus{ outline: none; }
summary:focus{ outline: none; }
button:focus-visible, summary:focus-visible, a:focus-visible{
  outline: 3px solid rgba(24,184,166,0.35);
  outline-offset: 3px;
  border-radius: 14px;
}

.skip{
  position:absolute;
  left:-9999px;
  top: 12px;
  background: #fff;
  border: 1px solid var(--stroke);
  padding: 10px 14px;
  border-radius: 12px;
}
.skip:focus{ left: 12px; z-index: 9999; }

/* Reveal animation: enabled only when JS adds .js */
.js .reveal{
  opacity: 0;
  transform: translateY(12px);
}
.js .reveal.is-revealed{
  opacity: 1;
  transform: translateY(0);
}
.reveal{
  transition: opacity .38s ease, transform .38s ease;
  will-change: opacity, transform;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,250,252,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 3px;              /* tighter header logo ↔ name */
  min-width: 160px;
}
.brand-logo{ width: 24px; height: 24px; border-radius: 8px; }
.brand-name{ font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }

.nav{
  margin-left: auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 26px;
}
.nav-link{
  font-weight: 600;
  color: rgba(11,18,32,0.72);
  padding: 8px 0;
}
.nav-link:hover{ color: rgba(11,18,32,0.95); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(15,23,42,0.12);
  background: transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 30px rgba(11,18,32,0.10); }
.btn:active{ transform: translateY(0); box-shadow: none; }

.btn-primary{
  background: linear-gradient(180deg, #0B1220, #0B1220);
  border-color: rgba(11,18,32,0.16);
  color: #fff;
}
.btn-lg{ padding: 14px 22px; font-size: 16px; }

.header-cta{
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
}
.header-cta.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle{
  display:none;
  margin-left: 6px;
  width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.70);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span{
  display:block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(11,18,32,0.82);
}

.mobile-nav{
  display:none;
  border-top: 1px solid rgba(15,23,42,0.08);
  background: rgba(247,250,252,0.92);
  backdrop-filter: blur(10px);
}
.mobile-nav[aria-hidden="false"]{ display:block; }
.mobile-nav-inner{
  padding: 12px 0 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-link{
  padding: 12px 6px;
  font-weight: 700;
  color: rgba(11,18,32,0.80);
  border-radius: 12px;
}
.mobile-link:hover{ background: rgba(15,23,42,0.04); }
.mobile-cta{ margin-top: 8px; }

/* Hero */
.hero{ padding: 44px 0 22px; }
.hero-copy{ max-width: 900px; }
.hero-title{
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.accent{ color: var(--accent); }
.nowrap{ white-space: nowrap; }
.hero-sub{
  margin-top: 10px;
  color: rgba(11,18,32,0.72);
  font-size: 18px;
  line-height: 1.5;
  max-width: 64ch;
}
.hero-sub-strong{
  margin-top: 8px;
  font-weight: 800;
  color: rgba(11,18,32,0.82);
}
.hero-actions{ margin-top: 20px; }

/* 2x more space between Book a call and cards below */
.hero-cards{
  margin-top: 44px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Sections */
.section{ padding: 40px 0; }
.section-head{ margin-bottom: 16px; }
.section-head h2{
  font-size: 34px;
  letter-spacing: -0.03em;
  margin:0 0 10px;
}
.section-head p{
  color: rgba(11,18,32,0.68);
  font-size: 18px;
  line-height: 1.55;
  max-width: 72ch;
}

.grid-3{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Cards */
.card{
  position: relative;
  display:flex;
  flex-direction: column;
  border-radius: var(--radius2);
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 10px 30px rgba(11,18,32,0.06);
  padding: 18px 18px;
  overflow:hidden;
}
.card-title{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card h3{ margin: 0 0 10px; letter-spacing: -0.02em; }
.card p{ color: rgba(11,18,32,0.70); line-height: 1.55; }

.stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 10px;
}
.stat-num{ font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.stat-label{ margin-top: 6px; color: rgba(255,255,255,0.78); line-height: 1.4; }

.hero .card:first-child{
  background: radial-gradient(900px 420px at 10% 0%, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 60%), #0B1220;
  border-color: rgba(255,255,255,0.10);
  box-shadow: var(--shadow2);
  color: #fff;
}
.hero .card:first-child .card-title{ color:#fff; }
.hero .card:first-child .stat-num{ color:#fff; }
.hero .card:first-child .stat-label{ color: rgba(255,255,255,0.78); }

.bullets{ color: rgba(11,18,32,0.72); line-height: 1.6; }
.bullets.tight{ line-height: 1.55; }

.mini{
  margin-top: 10px;
  color: rgba(11,18,32,0.62);
  font-weight: 600;
}

/* “What you get” */
.card-get .tagline{ margin-top: auto; }
.tagline{
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,0.10);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* How we work */
.work{
  display:grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 14px;
}
.work-rail{ position: relative; min-height: 260px; }
.rail-track, .rail-fill{
  position:absolute;
  left: var(--rail-x);
  width: var(--rail-w);
  border-radius: 999px;
}
.rail-track{ background: rgba(15,23,42,0.16); }
.rail-fill{
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(24,184,166,0.10);
  transform-origin: top;
  transform: scaleY(0);
  will-change: transform;
  transition: transform .26s cubic-bezier(.2,.8,.2,1);
}
.rail-dots{ position:absolute; inset: 0; }

/* FIXED: dots are perfectly centered on the rail and opaque (rail won't show through) */
.rail-dot{
  position:absolute;

  /* Center dot on the centerline of the rail */
  left: calc(var(--rail-x) + (var(--rail-w) / 2) - 5px);

  width: 10px;
  height: 10px;
  border-radius: 999px;

  /* Opaque fill so the rail is not visible through the dot */
  background: var(--bg);

  /* Clean outline */
  border: 2px solid rgba(15,23,42,0.20);

  box-shadow: 0 6px 18px rgba(11,18,32,0.10);
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.rail-dot.is-active{
  background: var(--accent);
  border-color: rgba(247,250,252,1);
  transform: translateY(-50%) scale(1.18);
}

.work-steps{ display:flex; flex-direction: column; gap: 12px; }

.step-card{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 10px 26px rgba(11,18,32,0.06);
  overflow:hidden;
}
.step-trigger{
  width:100%;
  text-align:left;
  background: transparent;
  border: 0;
  padding: 16px 16px;
  cursor: pointer;
  color: inherit;
}
.step-meta{
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(11,18,32,0.46);
  font-weight: 800;
}
.step-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

/* Force desktop-like color everywhere (fixes mobile blue titles) */
.step-title{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(11,18,32,0.96) !important;
}

.step-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: rgba(11,18,32,0.70);
  background: rgba(255,255,255,0.70);
  transition: transform .18s ease, background .18s ease;
}
.step-sub{
  margin-top: 8px;
  color: rgba(11,18,32,0.66);
  line-height: 1.5;
  max-height: 64px;
  overflow:hidden;
  transition: max-height .30s ease, opacity .22s ease;
}
.step-out{
  margin-top: 8px;
  color: rgba(11,18,32,0.58);
  font-weight: 700;
  font-size: 13px;
}

.step-card[data-open="true"] .step-sub{
  max-height: 0;
  opacity: 0;
}
.step-card[data-open="true"] .step-icon{
  background: rgba(24,184,166,0.10);
  color: var(--accent2);
  border-color: rgba(24,184,166,0.22);
}

.step-panel{
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: grid-template-rows .30s cubic-bezier(.2,.8,.2,1), opacity .18s ease, border-color .18s ease;
}
.step-panel > .step-panel-inner{
  overflow: hidden;
  padding: 12px 16px 16px;
}
.step-panel.is-open{
  grid-template-rows: 1fr;
  opacity: 1;
  border-top-color: rgba(15,23,42,0.10);
}

/* FAQs */
.faq{ display:flex; flex-direction: column; gap: 12px; }
.faq-item{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.86);
  overflow:hidden;
}
.faq-item summary{
  list-style: none;
  cursor:pointer;
  padding: 16px 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(11,18,32,0.56);
  border-bottom: 2px solid rgba(11,18,32,0.56);
  transform: rotate(45deg);
  transition: transform .18s ease;
  margin-left: 8px;
}
.faq-item[open] .chev{ transform: rotate(-135deg); }
.faq-body{
  padding: 0 16px 16px;
  color: rgba(11,18,32,0.70);
  line-height: 1.6;
}

/* CTA */
.cta{ padding: 40px 0 48px; }
.cta-card{
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 54px rgba(11,18,32,0.10);
  padding: 26px 22px;
  overflow: hidden;
}
.cta-card h2{
  margin:0 0 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}
.cta-card p{
  color: rgba(11,18,32,0.68);
  font-size: 18px;
  line-height: 1.55;
  max-width: 70ch;
}
.cta-actions{ margin-top: 16px; }

/* Footer */
.footer{
  padding: 22px 0 30px;
  border-top: 1px solid rgba(15,23,42,0.08);
  background: rgba(247,250,252,0.70);
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 18px;
}

/* Footer left: logo + name tighter */
.footer-brand{
  display:flex;
  align-items:flex-start;
  gap: 3px;                 /* tighter footer logo ↔ name */
}

.footer-logo{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-text{
  display:flex;
  flex-direction: column;
}

.footer-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.footer-sub{
  margin-top: 6px;
  color: rgba(11,18,32,0.64);
  line-height: 1.5;
  max-width: 34ch;
}

/* Footer right: email + LinkedIn ultra tight */
.footer-links{
  display:flex;
  flex-direction: column;
  align-items:flex-end;
  gap: 0px;
}

.footer-link{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(11,18,32,0.78);
  line-height: 1.05;
  margin: 0;
  padding: 0;
}
.footer-link:hover{ color: rgba(11,18,32,0.95); }

.footer-linkedin{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -25px;
  padding: 0;
}

.footer-linkedin img{
  width: 77px;
  height: 77px;
  display:block;
  opacity: 0.92;
}
.footer-linkedin:hover img{ opacity: 1; }

/* Sheen */
.sheen{ position: relative; }
.sheen::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%),
    rgba(24,184,166,0.10),
    rgba(24,184,166,0.00) 62%);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}
@media (pointer: fine){
  .sheen:hover::before{ opacity: 1; }
}
@media (pointer: coarse){
  .sheen::before{ display:none; }
}

/* Responsive */
@media (min-width: 820px){
  .hero{ padding: 52px 0 26px; }
  .hero-cards{
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 44px;
  }
  .grid-3{ grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
  .grid-2{ grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (max-width: 860px){
  .nav{ display:none; }
  .nav-toggle{ display:flex; margin-left:auto; }
  .header-cta{ display:none; }

  .footer-inner{ flex-direction: column; }
  .footer-links{ align-items:flex-start; }
}

@media (max-width: 520px){
  .hero{ padding: 40px 0 18px; }
  .hero-actions{ margin-top: 18px; }
  .hero-cards{ margin-top: 52px; }
  .section{ padding: 34px 0; }
  .cta{ padding: 34px 0 40px; }
  .section-head h2{ font-size: 30px; }
  .hero-sub{ font-size: 17px; }
  .step-title{ font-size: 19px; }

  .work{ grid-template-columns: 1fr; }
  .work-rail{ display:none; }

  .footer-links{
    align-items:flex-start;
    gap: 0px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn, .rail-dot, .step-panel, .step-sub, .chev, .rail-fill, .reveal{
    transition: none !important;
  }
}
