/* =========================================================================
   Trailbase — project management for teams that climb
   Design system: Bricolage Grotesque + Inter Tight, olive & cream palette
   ========================================================================= */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Palette */
  --black: #1d1f14;
  --ink: #1d1f14;
  --green: #899921;
  --green-deep: #6f7c1a;
  --light-green: #8a8e5c;
  --muted: #777955;
  --cream: #f5ebd0;
  --dark-cream: #f0deb4;
  --light-cream: #fafaf0;
  --white: #ffffff;
  --line: #e7e0cf;
  --line-dark: #33351f;

  /* Type */
  --font-heading: "Bricolage Grotesque", "Inter Tight", sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;

  --h1: clamp(2.6rem, 1.6rem + 4.4vw, 3.73rem);
  --h2: clamp(2.1rem, 1.4rem + 3.1vw, 3.11rem);
  --h3: clamp(1.7rem, 1.2rem + 2.2vw, 2.59rem);
  --h4: clamp(1.45rem, 1.1rem + 1.5vw, 2.16rem);
  --h5: clamp(1.2rem, 1rem + 0.9vw, 1.8rem);
  --h6: 1rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 1000px;

  /* Spacing */
  --gap: clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --container: 1180px;

  --shadow-sm: 0 1px 2px rgba(29, 31, 20, 0.06), 0 6px 20px rgba(29, 31, 20, 0.05);
  --shadow-md: 0 12px 40px rgba(29, 31, 20, 0.10);
  --shadow-lg: 0 30px 80px rgba(29, 31, 20, 0.16);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--light-cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: var(--h1); letter-spacing: -0.035em; line-height: 1.0; }
h2 { font-size: var(--h2); letter-spacing: -0.03em; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }

/* ----- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 0.5rem + 2.5vw, 2rem);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
  margin-top: 1.1rem;
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--green);
  color: var(--light-cream);
  box-shadow: 0 8px 22px rgba(137, 153, 33, 0.28);
}
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); }

.btn--dark { background: var(--ink); color: var(--light-cream); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: var(--white);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: var(--light-cream); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ============================ NAVBAR ==================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 240, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(250, 250, 240, 0.9); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--green);
  border-radius: 10px;
  color: var(--light-cream);
}
.brand__mark svg { width: 20px; height: 20px; }

/* Mobile dropdown menu — hidden on desktop, becomes the panel under 860px */
.nav__menu { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__actions .nav__login { font-weight: 600; font-size: 0.98rem; padding: 0.5rem 0.4rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1px); }

/* ============================ HERO ===================================== */
.hero {
  position: relative;
  padding-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  overflow: hidden;
}
.hero__topo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 40%, transparent 78%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  text-align: center;
  padding: 0.4rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
}
.pill-badge b { color: var(--ink); }
.pill-badge .tag {
  background: var(--cream);
  color: var(--green-deep);
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
}

.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero__sub {
  max-width: 52ch;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.28rem);
}
.hero__cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero__note {
  margin-top: 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__note svg { width: 16px; height: 16px; color: var(--green); }

/* Social proof avatars */
.proof {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.4rem;
}
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--light-cream);
  margin-left: -12px;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 600;
  color: var(--light-cream);
  font-family: var(--font-heading);
}
.avatars span:first-child { margin-left: 0; }
.proof__text { text-align: left; font-size: 0.9rem; color: var(--muted); }
.proof__text b { color: var(--ink); display: block; font-size: 0.98rem; }
.stars { color: var(--green); letter-spacing: 1px; }

/* Hero app preview */
.hero__preview {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 2rem + 4vw, 4.5rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ---- App / dashboard mockup (pure CSS) ---- */
.app {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 440px;
  text-align: left;
  font-size: 0.9rem;
}
.app__side {
  background: var(--ink);
  color: #cfd0bf;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.app__brand {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--light-cream); font-family: var(--font-heading);
  font-weight: 700; margin-bottom: 1.4rem; padding-inline: 0.4rem;
}
.app__brand i { width: 22px; height: 22px; background: var(--green); border-radius: 6px; display:block; }
.app__nav { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.6rem; border-radius: 9px; color: #a7a992; }
.app__nav.is-active { background: rgba(137,153,33,0.22); color: var(--light-cream); }
.app__nav b { width: 15px; height: 15px; border-radius: 4px; background: currentColor; opacity: 0.7; display:block; }
.app__side-foot { margin-top: auto; padding: 0.6rem; border-radius: 9px; background: rgba(255,255,255,0.05); font-size: 0.78rem; }

.app__main { padding: 1.3rem 1.4rem; background: var(--light-cream); }
.app__topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.app__topbar h5 { font-size: 1.15rem; }
.app__chip { font-size: 0.72rem; font-weight: 600; padding: 0.28rem 0.7rem; border-radius: var(--r-pill); background: var(--cream); color: var(--green-deep); }

.app__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1.1rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 0.9rem; }
.stat span { font-size: 0.72rem; color: var(--muted); }
.stat b { font-family: var(--font-heading); font-size: 1.5rem; display: block; letter-spacing: -0.02em; }
.stat i { font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--green-deep); }

.app__board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.col__title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.55rem; display: flex; justify-content: space-between; }
.card-task {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.7rem 0.75rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 1px 2px rgba(29,31,20,0.04);
}
.card-task p { font-size: 0.82rem; font-weight: 500; line-height: 1.35; }
.card-task .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.55rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); }
.dot--amber { background: #d9a441; }
.dot--slate { background: #758696; }
.mini-av { width: 20px; height: 20px; border-radius: 50%; background: var(--dark-cream); font-size:0.62rem; display:grid; place-items:center; font-weight:700; color: var(--green-deep); }
.bar { height: 5px; border-radius: 3px; background: var(--cream); overflow: hidden; margin-top: 0.5rem; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }

/* ============================ LOGOS / MARQUEE ========================== */
.logos { padding-block: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); border-block: 1px solid var(--line); background: var(--white); }
.logos__label { text-align: center; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; font-weight: 600; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.6rem, 1rem + 3vw, 3.4rem); }
.logos__row .logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--light-green); opacity: 0.85; letter-spacing: -0.02em; }
.logos__row .logo svg { width: 22px; height: 22px; }

/* ============================ FEATURES ================================= */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--green-deep);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h4 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ============================ DASHBOARD SPLIT ========================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.split__list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.split__list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: var(--light-cream);
  display: grid; place-items: center; margin-top: 2px;
}
.split__list .tick svg { width: 14px; height: 14px; }
.split__list b { display: block; font-family: var(--font-heading); font-size: 1.05rem; }
.split__list span { color: var(--muted); font-size: 0.96rem; }

.media-frame {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* ============================ CTA BANNER =============================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--light-cream);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  text-align: center;
}
.cta-banner__topo { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--light-cream); }
.cta-banner p { color: #c7c8b4; max-width: 46ch; margin: 1rem auto 2rem; }
.cta-banner .hero__cta { margin-top: 0; }

/* ============================ TESTIMONIALS ============================= */
.tst__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.tst {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  position: relative;
}
.tst:nth-child(2), .tst:nth-child(3) { background: var(--dark-cream); }
.tst__quote-mark { font-family: var(--font-heading); font-size: 3.5rem; line-height: 0.5; color: var(--green); opacity: 0.4; }
.tst p { font-size: 1.08rem; margin: 0.8rem 0 1.4rem; color: #3a3c2a; }
.tst__who { display: flex; align-items: center; gap: 0.8rem; }
.tst__who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; color: var(--light-cream); }
.tst__who b { display: block; font-family: var(--font-heading); }
.tst__who span { font-size: 0.86rem; color: var(--muted); }

/* ============================ BENEFITS ================================= */
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.benefit {
  padding: 1.8rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.benefit__num { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--green); }
.benefit__viz { height: 120px; margin: 1rem 0 1.3rem; border-radius: var(--r-md); background: var(--light-cream); display: grid; place-items: center; overflow: hidden; }
.benefit h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.benefit p { color: var(--muted); font-size: 0.98rem; }

/* ============================ PRICING ================================== */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.2s ease;
}
.plan--featured {
  background: var(--ink);
  color: var(--light-cream);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan--featured .plan__desc, .plan--featured .plan__price small, .plan--featured .plan__feats li { color: #c7c8b4; }
.plan--featured h3, .plan--featured .plan__price b { color: var(--light-cream); }
.plan__badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--green); color: var(--light-cream);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: var(--r-pill);
}
.plan__tier { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.plan h3 { font-size: 1.7rem; margin: 0.3rem 0 0.2rem; }
.plan__desc { color: var(--muted); font-size: 0.94rem; min-height: 2.8em; }
.plan__price { margin: 1.3rem 0; display: flex; align-items: baseline; gap: 0.3rem; }
.plan__price b { font-family: var(--font-heading); font-size: 3rem; letter-spacing: -0.03em; }
.plan__price small { color: var(--muted); font-size: 0.95rem; }
.plan__feats { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.plan__feats li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.96rem; }
.plan__feats svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }

/* ============================ FAQ ===================================== */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.faq__aside .metric { font-family: var(--font-heading); font-size: clamp(3.5rem, 2rem + 6vw, 5.5rem); color: var(--green); line-height: 1; letter-spacing: -0.04em; }
.faq__aside .metric-note { color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1.15rem;
  text-align: left;
  color: var(--ink);
}
.faq__q .ic { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: 0.25s; position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.faq__q .ic::before { width: 12px; height: 2px; }
.faq__q .ic::after { width: 2px; height: 12px; transition: transform 0.25s ease; }
.faq__item.is-open .faq__q .ic { background: var(--green); border-color: var(--green); }
.faq__item.is-open .faq__q .ic::before, .faq__item.is-open .faq__q .ic::after { background: var(--light-cream); }
.faq__item.is-open .faq__q .ic::after { transform: rotate(90deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.faq__a p { color: var(--muted); padding-bottom: 1.4rem; max-width: 60ch; }

/* ============================ FOUNDERS ================================ */
.founders__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.founder {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
}
.founder p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.01em; line-height: 1.4; }
.founder__who { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.founder__who .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; color: var(--light-cream); font-size: 1.1rem; }
.founder__who b { display: block; font-family: var(--font-heading); }
.founder__who span { font-size: 0.86rem; color: var(--muted); }

/* ============================ CONTACT ================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.contact__card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--light-cream);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: var(--cream); color: var(--green-deep);
  border-radius: var(--r-md); padding: 1rem 1.2rem; font-weight: 600;
  margin-bottom: 1.1rem;
}
.form-success.show { display: block; }
.contact__facts { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.contact__facts li { display: flex; gap: 0.8rem; align-items: center; color: var(--muted); }
.contact__facts .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green-deep); flex: 0 0 auto; }
.contact__facts b { color: var(--ink); display: block; font-family: var(--font-heading); }

/* ============================ FOOTER ================================== */
.footer { background: var(--ink); color: #b9bba4; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: var(--light-cream); margin-bottom: 1rem; }
.footer__blurb { max-width: 34ch; font-size: 0.95rem; }
.footer__col h6 { color: var(--light-cream); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col a { display: block; padding: 0.35rem 0; font-size: 0.95rem; transition: color 0.15s ease; }
.footer__col a:hover { color: var(--light-cream); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: 0.9rem; }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.footer__social a:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.footer__social svg { width: 17px; height: 17px; }

/* ============================ REVEAL ANIM ============================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================== */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions .nav__login, .nav__actions .btn { display: none; }
  .nav__toggle { display: grid; }
  .nav__menu .btn { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--light-cream);
    border-bottom: 1px solid var(--line);
    padding: 1.2rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { padding: 0.7rem 0.4rem; font-size: 1.05rem; color: var(--ink); font-weight: 500; }
  .nav__menu .btn { margin-top: 0.5rem; }

  .split, .split--reverse .split__media { order: 0; }
  .split, .faq, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .benefits__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .tst__grid, .founders__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .features__grid { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__board { grid-template-columns: 1fr; }
  .app__board .col:nth-child(n+2) { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__bottom { justify-content: flex-start; }
  .proof { flex-direction: column; }
}

/* ============================ ISPL PATTERNS ========================== */

/* Brand logo image in nav / footer */
.brand__logo { height: 30px; width: auto; }
.footer .brand__logo { height: 30px; filter: brightness(0) invert(1) opacity(0.92); }

/* External nav link (DigiPatra) */
.nav__ext { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav__ext svg { width: 13px; height: 13px; opacity: 0.7; }

/* Chip / tag pills — used for convergence, applications, research areas, capabilities, standards */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500; color: #40422e;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.chip--plain::before { display: none; }
.chip--cream { background: var(--cream); border-color: transparent; }

/* Convergence panel (Who We Are) */
.converge {
  background: var(--ink); color: var(--light-cream);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  position: relative; overflow: hidden;
}
.converge > * { position: relative; z-index: 1; }
.converge h4 { color: var(--light-cream); margin-bottom: 1.2rem; }
.converge .chip { background: rgba(255,255,255,0.06); border-color: var(--line-dark); color: #d7d8c4; }
.converge__topo { position: absolute; inset: 0; opacity: 0.13; }

/* Stat row (About / trust metrics) */
.statline { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); margin-top: 2rem; }
.statline .s b { font-family: var(--font-heading); font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); color: var(--green); letter-spacing: -0.03em; display: block; line-height: 1; }
.statline .s span { color: var(--muted); font-size: 0.92rem; }

/* How it works — pipeline steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding-top: 0.5rem; }
.step__ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--green-deep);
  display: grid; place-items: center; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.step__ico svg { width: 26px; height: 26px; }
.step:not(:last-child) .step__ico::after {
  content: ""; position: absolute; left: 100%; top: 50%;
  width: calc(var(--gap) + 4px); height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.step__n { font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; color: var(--green); }
.step h5 { font-size: 1.12rem; margin: 0.15rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* DigiPatra flagship visual card */
.dp-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.dp-doc {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.2rem; background: var(--light-cream);
}
.dp-doc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dp-verified { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--green-deep); background: var(--cream); padding: 0.3rem 0.7rem; border-radius: var(--r-pill); }
.dp-verified svg { width: 14px; height: 14px; }
.dp-line { height: 9px; border-radius: 5px; background: var(--dark-cream); margin: 0.55rem 0; }
.dp-line.w1 { width: 70%; } .dp-line.w2 { width: 90%; } .dp-line.w3 { width: 55%; }
.dp-hash { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.72rem; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.7rem; margin-top: 1rem; word-break: break-all; }
.dp-logo-wrap { display: inline-flex; align-items: center; background: var(--ink); padding: 0.55rem 0.9rem; border-radius: 12px; margin-bottom: 1.2rem; }
.dp-logo { height: 26px; width: auto; display: block; }

/* Solutions cards */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.sol {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sol:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sol__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.sol__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); color: var(--green-deep); display: grid; place-items: center; flex: 0 0 auto; }
.sol__ico svg { width: 24px; height: 24px; }
.sol h4 { font-size: 1.2rem; }
.sol > p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.1rem; }
.sol .chips .chip { padding: 0.35rem 0.75rem; font-size: 0.8rem; background: var(--light-cream); }
.sol__std { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sol__std span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Industries grid */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.ind {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ind:hover { border-color: var(--green); transform: translateY(-3px); }
.ind__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 0.9rem; }
.ind__ico svg { width: 22px; height: 22px; }
.ind h5 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.ind p { color: var(--muted); font-size: 0.9rem; }

/* Why ISPL — compact row */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.why {
  text-align: center; padding: 1.6rem 1.2rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.why__ico { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--green-deep); display: grid; place-items: center; margin: 0 auto 1rem; }
.why__ico svg { width: 26px; height: 26px; }
.why h5 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.why p { color: var(--muted); font-size: 0.88rem; }

/* Advisory board grid */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.adv {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem; text-align: center;
}
.adv__av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; }
img.adv__av { object-fit: cover; object-position: 50% 18%; display: block; background: var(--cream); }
div.adv__av { display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--light-cream); }
.adv b { font-family: var(--font-heading); font-size: 1.05rem; display: block; letter-spacing: -0.01em; }
.adv span { color: var(--muted); font-size: 0.85rem; display: block; margin-top: 0.35rem; line-height: 1.4; }

/* Partner / validation logos */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.partners img { height: 52px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.9; transition: opacity 0.2s ease, filter 0.2s ease; }
.partners img:hover { opacity: 1; }

/* Research pull-quote */
.pullquote {
  border-left: 3px solid var(--green);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  letter-spacing: -0.01em; line-height: 1.35; color: #40422e;
  max-width: 60ch; margin-top: 2rem;
}

/* Vision / Mission cards */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.vm { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; }
.vm--dark { background: var(--ink); color: var(--light-cream); position: relative; overflow: hidden; }
.vm--dark h3, .vm--dark .vm__k { color: var(--light-cream); }
.vm--dark p { color: #c7c8b4; }
.vm__k { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.9rem; }
.vm__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.vm--dark .vm__ico { background: rgba(137,153,33,0.22); color: var(--light-cream); }
.vm__ico svg { width: 24px; height: 24px; }
.vm h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.vm p { color: var(--muted); font-size: 1.02rem; }

/* Responsive for ISPL patterns */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child) .step__ico::after { display: none; }
  .ind-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sol-grid, .vm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .steps, .ind-grid, .adv-grid, .why-grid { grid-template-columns: 1fr; }
}

/* ============================ A11Y =================================== */
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
