/* ============================================================
   JaswantLabs — jaswantlabs.com
   Clean monochrome design: white ground, black accents, no motion
   ============================================================ */

:root {
  --ink: #111110;
  --black: #0a0a0a;
  --white: #ffffff;
  --paper: #f7f7f5;
  --gray-400: #9a9a97;
  --gray-500: #6e6e6b;
  --line: #e5e5e3;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

::selection { background: var(--black); color: var(--white); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.section__lead {
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--gray-500);
  max-width: 620px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2b2b2a; }

.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--small { padding: 9px 20px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav__inner .nav__brand { margin-right: auto; }
.nav__logo { width: 42px; height: 42px; border-radius: 10px; }
.nav__text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav__name--labs { color: var(--gray-400); }
.nav__tag { font-size: 12px; color: var(--gray-500); white-space: nowrap; }

.nav__links { display: flex; gap: 28px; }
.nav__contact { display: none; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(130px, 16vw, 180px);
  padding-bottom: clamp(80px, 10vw, 130px);
}

.hero__title {
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
  text-wrap: balance;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-500);
  max-width: 600px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__note {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); scroll-margin-top: 64px; }
.section--tint { background: var(--paper); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Split layout: heading beside content, alternating sides ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.split__head { position: sticky; top: 104px; }
.split__head .section__lead { margin-bottom: 0; }
.split--flip { grid-template-columns: 7fr 5fr; }
.split--flip .split__head { order: 2; }
.split--flip .split__body { order: 1; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-bottom: 18px;
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--ink);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card p { font-size: 15px; color: var(--gray-500); }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.step {
  display: flex;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  padding-top: 5px;
  flex-shrink: 0;
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.step p { font-size: 15px; color: var(--gray-500); max-width: 420px; }

/* ---------- Stats & Why ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 20px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-block: 1px solid var(--line);
  margin-top: 14px;
}
.stat { text-align: left; }
.stat__value {
  display: block;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.why { gap: 34px; }
.why__item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.why__item p { font-size: 15.5px; color: var(--gray-500); max-width: 520px; }

/* ---------- Pricing checklist ---------- */
.checks { display: grid; gap: 26px; }
.checks li {
  border-left: 2px solid var(--black);
  padding-left: 24px;
}
.checks h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.checks p { font-size: 15px; color: var(--gray-500); max-width: 520px; }

/* ---------- Contact ---------- */
.cta { text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__lead { margin-inline: auto; margin-bottom: 36px; }
.cta__address {
  margin-top: 28px;
  font-style: normal;
  font-size: 14px;
  color: var(--gray-500);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 52px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.footer__brand .nav__name { font-size: 18px; }
.footer__tagline { font-size: 12px; color: var(--gray-500); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer__links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--ink); }
.footer__legal { font-size: 13px; color: var(--gray-500); }
.footer__legal a:hover { color: var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav, .nav__links a, .footer__links a { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .split--flip .split__head { order: 0; }
  .split--flip .split__body { order: 1; }

  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 64px;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 16px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 13px clamp(20px, 5vw, 40px);
    font-size: 16px;
    color: var(--ink);
  }
  .nav__contact { display: block; }
}

@media (max-width: 640px) {
  .grid--2 { grid-template-columns: 1fr; }
  .why { gap: 32px; }
}

@media (max-width: 360px) {
  .nav__tag { display: none; }
}
