/* ==========================================================================
   Kru-Marc Inc. — Tenthpin-inspired redesign
   White + green palette, premium consulting aesthetic
   ========================================================================== */

:root {
  /* Greens */
  --green-950: #062016;
  --green-900: #0a3525;
  --green-800: #0d4a33;
  --green-700: #137a52;
  --green-600: #189a66;
  --green-500: #1db974;
  --green-400: #3dd68f;
  --green-300: #6ee7a8;
  --green-200: #a7f3c9;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;

  /* Accent: bright lime-green (Tenthpin's chartreuse equivalent) */
  --accent: #2ee87a;
  --accent-dim: rgba(46, 232, 122, 0.12);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Semantic */
  --text-primary: #1a2e28;
  --text-secondary: #5a7068;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);
  --border-light: rgba(16, 38, 28, 0.1);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Layout */
  --max-width: 1200px;
  --section-pad: 140px;
  --container-pad: 40px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
}

blockquote {
  margin: 0;
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--container-pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  transition: color 0.35s ease;
}

.site-header.scrolled .brand {
  color: var(--text-primary);
}

.brand img {
  width: auto;
  height: 38px;
  flex: 0 0 auto;
  transition: filter 0.35s ease;
}

/* On dark hero, the logo (black text) needs inversion for visibility */
.site-header:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
}

.site-header.scrolled .site-nav a {
  color: var(--text-secondary);
}

.site-nav a:hover {
  color: var(--green-600);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.site-header.scrolled .header-cta {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Labels (Tenthpin's underlined section labels)
   ========================================================================== */

.label {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
}

.label--light {
  color: rgba(255, 255, 255, 0.64);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(19, 122, 82, 0.3);
}

.btn--primary:hover {
  background: var(--green-800);
  box-shadow: 0 12px 32px rgba(19, 122, 82, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn--outline:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}

.btn--small {
  padding: 12px 20px;
  font-size: 0.86rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 160px 0 0;
  background: linear-gradient(180deg, var(--green-950) 0%, #0b2e1f 50%, var(--green-900) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad) 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-body {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--text-on-dark-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 40px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 178, 109, 0.2), rgba(35, 178, 109, 0.02) 66%, transparent 74%);
  filter: blur(10px);
  animation: logo-glow 10s ease-in-out infinite;
  z-index: 0;
}

.hero-float-card {
  position: absolute;
  width: 230px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}

.hero-float-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
}

.hero-float-card span {
  color: var(--text-on-dark-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.float-card--top {
  top: 40px;
  left: 10px;
}

.float-card--bottom {
  bottom: 40px;
  right: 0;
}

/* Hero spreadsheet-to-dashboard morph */
.hero-morph {
  position: absolute;
  top: 41%;
  left: 82%;
  transform: translate(-50%, -50%);
  width: 660px;
  height: 460px;
  pointer-events: none;
  z-index: 0;
  animation: float-logo 10s ease-in-out infinite;
}

.hero-morph-card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-morph-topbar {
  display: flex;
  gap: 10px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-morph-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.hero-morph-card--sheet {
  opacity: 0.92;
  animation: hero-sheet-cycle 9s ease-in-out infinite;
}

.hero-sheet-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-sheet-tab {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-sheet-formula {
  margin-left: auto;
  min-width: 146px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
}

.hero-sheet-column-headers {
  display: grid;
  grid-template-columns: 34px repeat(5, 1fr);
  gap: 1px;
  padding: 10px 14px 1px;
}

.hero-sheet-column-headers span {
  display: grid;
  place-items: center;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-sheet-column-headers span:first-child {
  visibility: hidden;
}

.hero-sheet-table {
  display: grid;
  grid-template-columns: 34px repeat(5, 1fr);
  gap: 1px;
  padding: 0 14px 14px;
}

.hero-sheet-row-num,
.hero-sheet-cell {
  min-height: 28px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  line-height: 1.2;
}

.hero-sheet-row-num {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.56);
}

.hero-sheet-cell--header {
  background: rgba(68, 181, 118, 0.22);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-sheet-cell--accent {
  background: rgba(68, 181, 118, 0.18);
  color: #c6f5d8;
  font-weight: 700;
}

.hero-morph-card--dashboard {
  background:
    linear-gradient(180deg, rgba(12, 36, 26, 0.94), rgba(7, 22, 16, 0.95));
  opacity: 0;
  transform: scale(0.94) rotate(-3deg);
  animation: hero-dashboard-cycle 9s ease-in-out infinite;
}

.hero-dashboard-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 18px 0;
}

.hero-dashboard-filter {
  padding: 6px 10px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dashboard-filter label {
  display: block;
  margin-bottom: 3px;
  color: rgba(216, 246, 229, 0.64);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-dashboard-filter span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.64rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-dashboard-filter span::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.72);
  flex: 0 0 auto;
}

.hero-dashboard-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 18px 0;
}

.hero-dashboard-kpi {
  min-height: 66px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(70, 196, 125, 0.32), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(95, 215, 146, 0.24);
}

.hero-dashboard-kpi small {
  display: block;
  margin-bottom: 6px;
  color: rgba(216, 246, 229, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-dashboard-kpi strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
}

.hero-dashboard-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding: 14px 18px 0;
}

.hero-dashboard-chart {
  min-height: 122px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dashboard-chart b,
.hero-dashboard-table b,
.hero-dashboard-trend b {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-dashboard-chart--bars {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  padding: 16px;
}

.hero-dashboard-chart--bars::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-dashboard-chart--bars b {
  width: 100%;
}

.hero-dashboard-chart--bars i {
  display: block;
  margin-top: auto;
  flex: 1 1 calc(20% - 8px);
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #6ee7a4, #1c8f59);
}

.hero-dashboard-chart--bars i:nth-child(1) { height: 54%; }
.hero-dashboard-chart--bars i:nth-child(2) { height: 76%; }
.hero-dashboard-chart--bars i:nth-child(3) { height: 66%; }
.hero-dashboard-chart--bars i:nth-child(4) { height: 92%; }
.hero-dashboard-chart--bars i:nth-child(5) { height: 48%; }

.hero-dashboard-chart--donut {
  position: relative;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hero-dashboard-chart--donut::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  top: 40px;
  left: 24px;
  border-radius: 50%;
  background:
    conic-gradient(
      #6ee7a4 0 34%,
      rgba(16, 42, 29, 0.96) 34% 35.5%,
      #2eb26d 35.5% 68%,
      rgba(16, 42, 29, 0.96) 68% 69.5%,
      #d8f6e5 69.5% 100%
    );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-dashboard-chart--donut::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  top: 65px;
  left: 49px;
  border-radius: 50%;
  background: #102a1d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-dashboard-donut-center {
  position: absolute;
  top: 72px;
  left: 149px;
  display: grid;
  gap: 4px;
}

.hero-dashboard-donut-center strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
}

.hero-dashboard-donut-center span {
  color: rgba(216, 246, 229, 0.72);
  font-size: 0.64rem;
}

.hero-dashboard-donut-legend {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-left: 150px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.66rem;
}

.hero-dashboard-donut-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dashboard-donut-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.hero-dashboard-donut-legend span:nth-child(1) i {
  background: #6ee7a4;
}

.hero-dashboard-donut-legend span:nth-child(2) i {
  background: #2eb26d;
}

.hero-dashboard-donut-legend span:nth-child(3) i {
  background: #d8f6e5;
}

.hero-dashboard-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px 18px 18px;
}

.hero-dashboard-table,
.hero-dashboard-trend {
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dashboard-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
}

.hero-dashboard-table b {
  grid-column: 1 / -1;
}

.hero-dashboard-trend {
  position: relative;
}

.hero-dashboard-trend i {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  top: 36px;
  background:
    linear-gradient(transparent calc(100% - 1px), rgba(255, 255, 255, 0.12) 0),
    linear-gradient(135deg, transparent 0 12%, rgba(110, 231, 164, 0.92) 12% 16%, transparent 16% 28%, rgba(110, 231, 164, 0.92) 28% 32%, transparent 32% 46%, rgba(110, 231, 164, 0.92) 46% 50%, transparent 50% 64%, rgba(110, 231, 164, 0.92) 64% 68%, transparent 68%);
  border-radius: 10px;
  opacity: 0.9;
}

@keyframes float-logo {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
  50% { transform: translate(-49%, -53%) rotate(2deg) scale(1.03); }
}

@keyframes hero-sheet-cycle {
  0%, 38% {
    opacity: 0.86;
    transform: scale(1) rotate(0deg);
  }
  50%, 88% {
    opacity: 0;
    transform: scale(0.92) rotate(4deg);
  }
  100% {
    opacity: 0.86;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes hero-dashboard-cycle {
  0%, 38% {
    opacity: 0;
    transform: scale(0.94) rotate(-3deg);
  }
  50%, 88% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.94) rotate(-3deg);
  }
}

@keyframes logo-glow {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.9; }
  50% { transform: translateY(-16px) scale(1.04); opacity: 1; }
}

/* Stats strip */
.stats-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat {
  padding: 28px var(--container-pad);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
}

.stat span {
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.section--white {
  background: var(--white);
}

.section--mint {
  background: var(--green-50);
}

.section--dark {
  background: linear-gradient(180deg, var(--green-950), #0b2e1f);
  color: var(--text-on-dark);
}

/* Section headers */
.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
}

.section-subhead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section--dark .section-header h2 {
  color: var(--text-on-dark);
}

/* ==========================================================================
   Accent Shapes (large geometric, bleeding off edge - Tenthpin signature)
   ========================================================================== */

.accent-shape {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 48px;
  background: var(--accent);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.accent-shape--right {
  top: -80px;
  right: -100px;
  transform: rotate(35deg);
}

.accent-shape--left {
  bottom: -60px;
  left: -120px;
  transform: rotate(-25deg);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}

.card-kicker {
  margin: 0 0 14px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-400);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.section--dark .card-kicker {
  color: var(--green-300);
  border-bottom-color: var(--green-600);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.card--dark h3 {
  color: var(--text-on-dark);
}

.card p,
.card li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.card--dark p {
  color: var(--text-on-dark-muted);
}

.card ul {
  display: grid;
  gap: 12px;
}

.card-tag {
  display: inline-flex;
  padding: 6px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   Capability Cards
   ========================================================================== */

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.capability-card {
  position: relative;
  padding: 36px 32px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.capability-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.capability-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cap-num {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-600);
  letter-spacing: 0.04em;
}

.capability-card h3 {
  margin: 0 0 12px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.capability-feature {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px 32px 36px;
  border-radius: 28px;
  border: 1px solid rgba(19, 122, 82, 0.24);
  background:
    radial-gradient(circle at top right, rgba(79, 209, 136, 0.22), transparent 34%),
    linear-gradient(160deg, #124734 0%, #0d3628 52%, #08261c 100%);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.capability-feature::before {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 209, 136, 0.24), transparent 68%);
}

.capability-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.22);
  border-color: rgba(79, 209, 136, 0.34);
}

.capability-feature .cap-num {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.capability-feature h3 {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.capability-feature p {
  max-width: 34ch;
  margin: 0;
  color: rgba(240, 245, 255, 0.84);
  line-height: 1.7;
}

.capability-feature__eyebrow {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-feature__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
}

.cap-arrow {
  position: absolute;
  bottom: 18px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.capability-card:hover .cap-arrow {
  background: var(--green-700);
  color: var(--white);
  transform: translateX(3px);
}

.cap-arrow--feature {
  position: static;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.capability-feature:hover .cap-arrow--feature {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.dashboard-demo-page {
  background:
    radial-gradient(circle at top right, rgba(46, 232, 122, 0.1), transparent 26%),
    linear-gradient(180deg, var(--gray-50), var(--white));
}

.dashboard-demo-main {
  padding-top: 132px;
}

.dashboard-demo-header {
  max-width: 880px;
  margin-bottom: 32px;
  text-align: center;
}

.dashboard-demo-header h1 {
  margin: 0 0 18px;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.dashboard-demo-body {
  margin: 0 auto 28px;
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.75;
}

.dashboard-demo-header .hero-actions {
  justify-content: center;
}

.dashboard-demo-stage {
  max-width: 1560px;
}

.dashboard-demo-frame {
  overflow: auto;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf7 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

.dashboard-demo-frame iframe {
  display: block;
  width: 1450px;
  height: 900px;
  max-width: none;
  border: 0;
}

/* ==========================================================================
   Client Showcase Section
   ========================================================================== */

.section--showcase {
  border-top: 1px solid var(--gray-100);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-card {
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  padding: 30px 28px;
  display: grid;
  gap: 24px;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}

.client-card--proof {
  background:
    radial-gradient(circle at top right, rgba(46, 204, 113, 0.14), transparent 34%),
    linear-gradient(180deg, #fbfdfc 0%, #f2f7f4 100%);
  align-content: start;
}

.client-logo-wrap {
  min-height: 168px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
  display: grid;
  place-items: center;
  padding: 28px;
}

.client-logo-wrap img {
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
}

.client-copy {
  display: grid;
  gap: 14px;
}

.client-kicker {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-card h3 {
  font-size: 1.24rem;
  line-height: 1.2;
}

.client-card p {
  color: var(--text-secondary);
}

.client-proof-list {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.client-note {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ==========================================================================
   Quote Section
   ========================================================================== */

.section--quote {
  padding: 100px 0;
}

.section--quote blockquote {
  max-width: 38ch;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.quote-attr {
  margin-top: 24px;
  color: var(--text-on-dark-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  margin-bottom: 24px;
}

.founder-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.founder-panel--link {
  color: inherit;
  text-decoration: none;
}

.founder-panel:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
}

.founder-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-50);
}

.founder-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.92);
  transform-origin: center;
}

.founder-boss {
  object-position: center 0%;
}

.founder-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-copy h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.founder-copy p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.founder-link {
  margin-top: 16px;
  color: var(--green-700);
  font-weight: 700;
}

.about-intro-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--green-50);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-intro-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
}

.about-intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.about-intro-content {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
}

.about-intro-card h3 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}

.about-intro-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-page-main {
  padding-top: 132px;
}

.team-page-hero {
  padding-bottom: 24px;
}

.team-page-hero h1 {
  margin: 0 0 18px;
  max-width: 14ch;
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.team-page-hero p {
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.8;
}

.team-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.team-profile-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 119, 73, 0.12);
  background: linear-gradient(135deg, #dff4ea 0%, #f3f8f5 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.team-avatar__img--ashton {
  object-position: center 12%;
}

.team-avatar__img--charlie {
  object-position: center 0%;
}

.team-avatar__img--vinceD {
  object-position: center 6%;
}

.team-avatar__img--akhila {
  object-position: center 30%;
}

.team-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-profile-card h3 {
  margin: 0 0 6px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.15rem;
}

.team-role {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.85rem;
  font-weight: 800;
}

.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-credentials span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 119, 73, 0.14);
  border-radius: 999px;
  background: rgba(0, 174, 114, 0.08);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

.team-profile-card p:last-child {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.team-profile-card--link {
  display: flex;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.team-profile-card--link:hover {
  border-color: var(--green-700);
  box-shadow: 0 6px 24px rgba(13, 74, 51, 0.15);
  transform: translateY(-3px);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.blog-lead p {
  max-width: 50ch;
  color: var(--text-on-dark-muted);
}

.blog-all-link {
  color: var(--text-on-dark);
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.blog-all-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

/* Contact illustration accent */
.contact-illustration {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 380px;
  height: auto;
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section--contact {
  text-align: left;
}

.section--contact h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.contact-body {
  max-width: 50ch;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.7;
}

.section--contact .hero-actions {
  margin-top: 36px;
}

/* ==========================================================================
   Book Intro Page
   ========================================================================== */

.intro-page {
  background:
    radial-gradient(circle at top right, rgba(46, 232, 122, 0.14), transparent 28%),
    linear-gradient(180deg, var(--gray-50), var(--white));
}

.intro-page-main {
  padding: 148px 0 96px;
}

.intro-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.intro-page-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
}

.intro-page-body {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.75;
}

.intro-page-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.intro-page-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.intro-page-points span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green-500);
  box-shadow: 0 0 0 6px rgba(29, 185, 116, 0.12);
}

.intro-card {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(16, 38, 28, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.intro-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--green-700), var(--accent));
}

.intro-card h2 {
  font-size: 1.6rem;
}

.intro-card-copy {
  margin-top: 12px;
  color: var(--text-secondary);
}

.intro-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.intro-field {
  display: grid;
  gap: 8px;
}

.intro-field span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.intro-field input,
.intro-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: var(--white);
  color: var(--text-primary);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.intro-field textarea {
  min-height: 180px;
  resize: vertical;
}

.intro-field input:focus,
.intro-field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(24, 154, 102, 0.12);
}

.intro-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.intro-form-note {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.intro-form-note[data-state="error"] {
  color: #9f1239;
}

.intro-form-note[data-state="success"] {
  color: var(--green-700);
}

.intro-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px var(--container-pad);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--green-600);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--green-700);
  color: var(--white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  :root {
    --section-pad: 100px;
    --container-pad: 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .card-grid--3,
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-layout {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .hero-copy h1 {
    max-width: none;
  }

  .intro-page-layout {
    grid-template-columns: 1fr;
  }

  .team-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  :root {
    --section-pad: 72px;
    --container-pad: 20px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 14px var(--container-pad);
  }

  .site-nav {
    gap: 16px;
    font-size: 0.86rem;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    padding-top: 120px;
  }

  .intro-page-main {
    padding: 128px 0 72px;
  }

  .intro-card {
    padding: 24px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-visual::before {
    width: 240px;
    height: 240px;
    top: 18px;
    right: 18px;
  }

  .hero-morph {
    width: 410px;
    height: 286px;
  }

  .contact-illustration {
    display: none;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 20px var(--container-pad);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .card-grid--3,
  .capability-grid,
  .client-grid,
  .about-hero,
  .about-grid,
  .team-profile-grid {
    grid-template-columns: 1fr;
  }

  .capability-feature {
    padding: 28px 24px 30px;
  }

  .capability-feature__meta {
    align-items: flex-start;
  }

  .founder-panel {
    grid-template-columns: 1fr;
  }

  .founder-image-wrap {
    max-height: 260px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

}
