/* ============================================
   The Analyst — Shared Stylesheet
   ============================================ */

/* --- 0. Font Face --- */
@font-face {
  font-family: 'PF Grand Gothik';
  src: url('/fonts/PFGrandGothikExtended-Light-subset.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PF Grand Gothik';
  src: url('/fonts/PFGrandGothikExtended-Regular-subset.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PF Grand Gothik';
  src: url('/fonts/PFGrandGothikExtended-Regular-subset.otf') format('opentype');
  font-weight: 550;
  font-style: normal;
  font-display: swap;
}

/* --- 1. Design Tokens --- */
:root {
  --color-almost-black: #231F20;
  --color-mint-green: #C3F4C9;
  --color-dark-grey: #231F20;
  --color-mid-grey: #475569;
  --color-light-grey: #F1F5F9;
  --color-white: #FFFFFF;
  --color-mint-green-10: rgba(195, 244, 201, 0.10);
  --color-mint-green-20: rgba(195, 244, 201, 0.20);
  --color-white-5: rgba(255, 255, 255, 0.05);
  --color-white-10: rgba(255, 255, 255, 0.10);
  --color-white-40: rgba(255, 255, 255, 0.40);
  --color-white-60: rgba(255, 255, 255, 0.60);
  --color-white-75: rgba(255, 255, 255, 0.75);

  --font-primary: 'PF Grand Gothik', 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 40px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 80px;
  --space-6xl: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 9999px;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-text: 640px;

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
  color: var(--color-white);
  background: var(--color-almost-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- 3. Background --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(34, 85, 34, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 30%, rgba(26, 61, 26, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 5% 70%, rgba(20, 50, 20, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse 100% 100% at 30% 50%, rgba(15, 35, 15, 0.3) 0%, transparent 70%),
    linear-gradient(135deg, #1a2e1a 0%, #0f1a0f 30%, #231F20 60%, #1a1718 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* --- 4. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 550;
  line-height: 52px;
  letter-spacing: 0;
}

h1 { font-size: 48px; }
h2 { font-size: 48px; }
h3 { font-size: 32px; line-height: 38px; }
h4 { font-size: 20px; line-height: 24px; }

.text-mint { color: var(--color-mint-green); }
.text-muted { color: var(--color-white-75); }
.text-faint { color: var(--color-white-60); }
.text-center { text-align: center; }

.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-mint-green);
  line-height: 12px;
}

/* --- 5. Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--text {
  max-width: var(--max-width-text);
}

section {
  padding: var(--space-6xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-header .label {
  margin-bottom: var(--space-md);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header p {
  color: var(--color-white-75);
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* --- 6. Components: Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  height: 52px;
  padding: 0 var(--space-2xl);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 12px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  color: var(--color-almost-black);
  background: var(--color-mint-green);
  border-color: var(--color-mint-green);
  box-shadow: 0 2px 12px rgba(195, 244, 201, 0.25);
}

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(195, 244, 201, 0.35);
}

.btn--secondary {
  color: var(--color-white);
  background: transparent;
  border-color: var(--color-white-40);
}

.btn--secondary:hover {
  border-color: var(--color-white);
  background: var(--color-white-10);
}

.btn--ghost {
  color: var(--color-mint-green);
  background: transparent;
  border-color: transparent;
  padding: 0;
  height: auto;
}

.btn--ghost:hover {
  opacity: 0.8;
}

.btn--ghost svg {
  transition: transform var(--transition);
}

.btn--ghost:hover svg {
  transform: translateX(4px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* Make paired buttons equal width */
.btn-group .btn {
  min-width: 260px;
}

.btn-group--center {
  justify-content: center;
}

/* --- 7. Components: Cards --- */
.card {
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.card--glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-mint-green-10);
  margin-bottom: var(--space-lg);
  color: var(--color-mint-green);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.card h3, .card h4 {
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-weight: 550;
  font-size: 16px;
  line-height: 20px;
}

.card p {
  color: var(--color-white-75);
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}

/* --- 8. Components: Hero --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--space-lg) var(--space-6xl);
  position: relative;
}

.hero--short {
  min-height: auto;
  padding: 160px var(--space-lg) var(--space-4xl);
}

.hero__content {
  max-width: 800px;
}

.hero .label {
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-mint-green);
  margin-bottom: var(--space-lg);
  line-height: 21px;
}

.hero__text {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-white-75);
  max-width: 600px;
  margin: 0 auto var(--space-sm);
  line-height: 21px;
}

.hero__differentiator {
  font-size: 18px;
  font-weight: 550;
  color: var(--color-white);
  font-style: italic;
  margin-bottom: var(--space-2xl);
  line-height: 21px;
}

.hero .btn-group {
  margin-top: var(--space-xl);
  justify-content: center;
}

/* --- 9. Components: Social Proof Bar --- */
.proof-bar {
  background: var(--color-white-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-xl) 0;
}

.proof-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.proof-bar__item {
  font-size: 14px;
  color: var(--color-white-60);
  line-height: 1.5;
  padding: 0 var(--space-md);
  position: relative;
}

.proof-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* --- 10. Components: Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: var(--space-3xl);
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-mint-green);
  color: var(--color-almost-black);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--space-lg);
}

.step h4 {
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white-75);
  line-height: 20px;
}

/* Connecting line between steps (desktop only) */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 68px;
  left: 60px;
  right: -20px;
  height: 1px;
  background: linear-gradient(to right, var(--color-mint-green-20), transparent);
}

/* --- 10b-0. Light Grey Background Sections --- */
.section--light {
  background: var(--color-light-grey);
  position: relative;
  z-index: 1;
}

.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--color-almost-black);
}

.section--light .label {
  color: var(--color-dark-grey);
  opacity: 0.6;
}

.section--light p,
.section--light .text-muted {
  color: rgba(35, 31, 32, 0.7);
}

.section--light .section-header p {
  color: rgba(35, 31, 32, 0.7);
}

.section--light .card--dark {
  background: rgba(35, 31, 32, 0.04);
  border-color: rgba(35, 31, 32, 0.08);
}

.section--light .card--dark:hover {
  background: rgba(35, 31, 32, 0.07);
  border-color: rgba(35, 31, 32, 0.14);
}

.section--light .card h3,
.section--light .card h4 {
  color: var(--color-almost-black);
}

.section--light .card p {
  color: rgba(35, 31, 32, 0.7);
}

.section--light .card__icon {
  background: rgba(35, 31, 32, 0.06);
  color: var(--color-almost-black);
}

.section--light .step__number {
  background: var(--color-almost-black);
  color: var(--color-mint-green);
}

.section--light .step p {
  color: rgba(35, 31, 32, 0.65);
}

.section--light .step:not(:last-child)::after {
  background: linear-gradient(to right, rgba(35, 31, 32, 0.15), transparent);
}

.section--light .btn--primary {
  background: var(--color-almost-black);
  border-color: var(--color-almost-black);
  color: var(--color-mint-green);
  box-shadow: 0 2px 12px rgba(35, 31, 32, 0.15);
}

.section--light .btn--primary:hover {
  box-shadow: 0 4px 20px rgba(35, 31, 32, 0.25);
}

.section--light .btn--secondary {
  color: var(--color-almost-black);
  border-color: rgba(35, 31, 32, 0.25);
}

.section--light .btn--secondary:hover {
  border-color: var(--color-almost-black);
  background: rgba(35, 31, 32, 0.06);
}

.section--light .btn--ghost {
  color: var(--color-almost-black);
}

.section--light .check-list li {
  color: rgba(35, 31, 32, 0.8);
}

.section--light .check-list li::before {
  background: rgba(195, 244, 201, 0.25);
  border-color: var(--color-mint-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.section--light .steps-stacked__item {
  border-color: rgba(35, 31, 32, 0.1);
}

.section--light .steps-stacked__item:hover,
.section--light .steps-stacked__item--active {
  border-color: var(--color-almost-black);
  background: rgba(35, 31, 32, 0.04);
}

.section--light .steps-stacked__number {
  color: var(--color-almost-black);
}

.section--light .steps-stacked__item h4 {
  color: var(--color-almost-black);
}

.section--light .steps-stacked__item p {
  color: rgba(35, 31, 32, 0.6);
}

.section--light .steps-split__image {
  background: var(--color-almost-black);
  border-color: rgba(35, 31, 32, 0.08);
}

.section--light .steps-split__image::before {
  background: url('/images/wave-bg.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.6;
}

.section--light .team-member p {
  color: rgba(35, 31, 32, 0.7);
}

.section--light .team-member .role {
  color: var(--color-almost-black);
  opacity: 0.5;
}

.section--light .team-member__photo {
  border-color: rgba(35, 31, 32, 0.1);
}

/* --- 10b. Mint Background Sections --- */
.section--mint {
  background: var(--color-mint-green);
  position: relative;
  z-index: 1;
}

.section--mint h2,
.section--mint h3,
.section--mint h4 {
  color: var(--color-almost-black);
}

.section--mint .label {
  color: var(--color-almost-black);
  opacity: 0.5;
}

.section--mint p,
.section--mint .text-muted {
  color: rgba(35, 31, 32, 0.7);
}

.section--mint .section-header p {
  color: rgba(35, 31, 32, 0.7);
}

.section--mint .card--dark {
  background: rgba(35, 31, 32, 0.06);
  border-color: rgba(35, 31, 32, 0.1);
}

.section--mint .card--dark:hover {
  background: rgba(35, 31, 32, 0.1);
  border-color: rgba(35, 31, 32, 0.16);
}

.section--mint .card h3,
.section--mint .card h4 {
  color: var(--color-almost-black);
}

.section--mint .card p {
  color: rgba(35, 31, 32, 0.7);
}

.section--mint .card__icon {
  background: rgba(35, 31, 32, 0.08);
  color: var(--color-almost-black);
}

.section--mint .step__number {
  background: var(--color-almost-black);
  color: var(--color-mint-green);
}

.section--mint .step p {
  color: rgba(35, 31, 32, 0.7);
}

.section--mint .step:not(:last-child)::after {
  background: linear-gradient(to right, rgba(35, 31, 32, 0.2), transparent);
}

.section--mint .btn--primary {
  background: var(--color-almost-black);
  border-color: var(--color-almost-black);
  color: var(--color-mint-green);
  box-shadow: 0 2px 12px rgba(35, 31, 32, 0.2);
}

.section--mint .btn--primary:hover {
  box-shadow: 0 4px 20px rgba(35, 31, 32, 0.3);
}

.section--mint .btn--secondary {
  color: var(--color-almost-black);
  border-color: rgba(35, 31, 32, 0.3);
}

.section--mint .btn--secondary:hover {
  border-color: var(--color-almost-black);
  background: rgba(35, 31, 32, 0.08);
}

.section--mint .btn--ghost {
  color: var(--color-almost-black);
}

.section--mint .check-list li {
  color: rgba(35, 31, 32, 0.8);
}

.section--mint .check-list li::before {
  background: rgba(35, 31, 32, 0.06);
  border-color: var(--color-almost-black);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231F20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- 10b-ii. Mint overrides for stacked steps & splits --- */
.section--mint .steps-stacked__item {
  border-color: rgba(35, 31, 32, 0.12);
}

.section--mint .steps-stacked__item:hover,
.section--mint .steps-stacked__item--active {
  border-color: var(--color-almost-black);
  background: rgba(35, 31, 32, 0.05);
}

.section--mint .steps-stacked__number {
  color: var(--color-almost-black);
}

.section--mint .steps-stacked__item h4 {
  color: var(--color-almost-black);
}

.section--mint .steps-stacked__item p {
  color: rgba(35, 31, 32, 0.65);
}

.section--mint .steps-split__image {
  background: var(--color-almost-black);
  border-color: rgba(35, 31, 32, 0.1);
}

.section--mint .steps-split__image::before {
  background: url('/images/wave-bg.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.6;
}

/* --- 10c. Split Hero --- */
.hero--split {
  text-align: left;
  padding-bottom: 0;
}

.hero--split .hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  max-width: var(--max-width);
  align-items: center;
}

.hero--split .hero__text-col {
  max-width: 560px;
}

.hero--split .hero__text {
  margin: 0 0 var(--space-sm);
}

.hero--split .btn-group {
  justify-content: flex-start;
}

.hero--split .hero__image-col {
  position: relative;
}

.hero--split .hero__image-col img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(35, 31, 32, 0.4);
}

.hero__image-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--color-almost-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero__image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/wave-bg.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.7;
}

/* --- 10c-2. Hero — Full Background Variant --- */
.hero--bg {
  position: relative;
  overflow: hidden;
}

.hero--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/wave-bg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.hero--bg .hero__content {
  position: relative;
  z-index: 1;
}

/* Full-height pages get the large centered treatment */
.hero--bg:not(.hero--short) {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 230px var(--space-lg) 100px;
}

.hero--bg:not(.hero--short) .hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero--bg:not(.hero--short) .hero__text {
  max-width: 620px;
  margin: 0 auto var(--space-sm);
}

/* --- 10d. Split Content Layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(35, 31, 32, 0.3);
}

.split__image img {
  width: 100%;
  display: block;
}

/* --- 10e. Image Cards --- */
.card--image {
  padding: 0;
  overflow: hidden;
}

.card--image .card__img {
  height: 200px;
  overflow: hidden;
}

.card--image .card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--image .card__body {
  padding: var(--space-2xl);
}

/* --- 10f. Full-Bleed Feature Splits (photo + mint panel) --- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  position: relative;
}

.feature-split__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--color-almost-black);
  border: none;
  position: relative;
  overflow: hidden;
}

.feature-split__image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/wave-bg.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.7;
}

.feature-split__content {
  background: var(--color-mint-green);
  padding: var(--space-5xl) var(--space-4xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-split__content .label {
  color: var(--color-almost-black);
  opacity: 0.5;
  margin-bottom: var(--space-md);
}

.feature-split__content h3 {
  color: var(--color-almost-black);
  margin-bottom: var(--space-md);
  font-size: 32px;
  font-weight: 550;
  line-height: 38px;
}

.feature-split__content p {
  color: rgba(35, 31, 32, 0.7);
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
}

/* Dark content variant (dark bg + white text) */
.feature-split__content--dark {
  background: var(--color-almost-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-split__content--dark .label {
  color: var(--color-mint-green);
  opacity: 1;
}

.feature-split__content--dark h3 {
  color: var(--color-white);
}

.feature-split__content--dark p {
  color: var(--color-white-75);
}

/* --- 10g. Stacked Steps (vertical cards with image) --- */
.steps-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.steps-stacked {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0;
}

.steps-stacked__item {
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: -1px;
  transition: all 0.3s ease;
  cursor: default;
}

.steps-stacked__item:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.steps-stacked__item:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin-bottom: 0;
}

.steps-stacked__item:hover,
.steps-stacked__item--active {
  border-color: var(--color-mint-green);
  background: rgba(195, 244, 201, 0.04);
  z-index: 1;
}

.steps-stacked__number {
  color: var(--color-mint-green);
  font-weight: 550;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: var(--space-xs);
}

.steps-stacked__item h4 {
  margin-bottom: var(--space-xs);
  font-size: 16px;
  font-weight: 550;
  line-height: 20px;
}

.steps-stacked__item p {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white-60);
  line-height: 20px;
}

.steps-split__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-almost-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.steps-split__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/wave-bg.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.6;
}

.steps-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 10h. Checklist Split (list + image side by side) --- */
.checklist-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.checklist-split__list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0;
}

.checklist-split__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: -1px;
  font-size: 16px;
  color: var(--color-white-75);
  transition: all 0.3s ease;
}

.checklist-split__item:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.checklist-split__item:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin-bottom: 0;
}

.checklist-split__item:hover,
.checklist-split__item--active {
  border-color: var(--color-mint-green);
  background: rgba(195, 244, 201, 0.04);
  z-index: 1;
  color: var(--color-white);
}

.checklist-split__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-mint-green);
}

.checklist-split__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.checklist-split__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-almost-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.checklist-split__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/wave-bg.png') no-repeat bottom center;
  background-size: cover;
  opacity: 0.6;
}

.checklist-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 10i. Decorated CTA (dark with swirl) --- */
.cta-section--swirl {
  background: var(--color-almost-black);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.cta-section--swirl::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/wave-bg.png') no-repeat bottom right;
  background-size: 70%;
  opacity: 0.5;
  pointer-events: none;
}

.cta-section--swirl h2 {
  color: var(--color-white);
  position: relative;
}

.cta-section--swirl p {
  color: var(--color-white-75);
  position: relative;
}

.cta-section--swirl .btn-group {
  position: relative;
}

/* Branded mint CTA with A watermark */
.cta-section--mint {
  overflow: hidden;
}

/* "A." logo watermark — single image so A and dot stay aligned on resize */
.cta-section--mint::before {
  content: '';
  position: absolute;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: url('/images/a-mark.png') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}

/* --- 10j. Stats/Metrics Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__value {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: var(--space-sm);
  color: var(--color-almost-black);
}

.stat__label {
  font-size: 14px;
  color: rgba(35, 31, 32, 0.6);
  line-height: 1.4;
}

/* --- 11. Components: CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-6xl) 0;
}

.cta-section h2 {
  margin-bottom: var(--space-lg);
}

.cta-section p {
  color: var(--color-white-75);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
}

/* Bold CTA variant */
.cta-section--mint {
  background: var(--color-mint-green);
  position: relative;
  z-index: 1;
}

.cta-section--mint h2 {
  color: var(--color-almost-black);
}

.cta-section--mint p {
  color: rgba(35, 31, 32, 0.7);
}

.cta-section--mint .btn--primary {
  background: var(--color-almost-black);
  border-color: var(--color-almost-black);
  color: var(--color-mint-green);
  box-shadow: 0 2px 12px rgba(35, 31, 32, 0.2);
}

.cta-section--mint .btn--primary:hover {
  box-shadow: 0 4px 20px rgba(35, 31, 32, 0.3);
}

.cta-section--mint .btn--secondary {
  color: var(--color-almost-black);
  background: var(--color-white);
  border-color: var(--color-white);
}

.cta-section--mint .btn--secondary:hover {
  border-color: var(--color-almost-black);
  background: var(--color-white);
}

.cta-section--mint .btn--ghost {
  color: var(--color-almost-black);
}

/* --- 12. Components: FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 550;
  line-height: 20px;
  text-align: left;
  padding: var(--space-lg) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-mint-green);
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer__inner {
  padding-bottom: var(--space-lg);
  color: var(--color-white-75);
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}

/* --- 13. Components: Team --- */
.team-member {
  text-align: center;
}

.team-member__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  background: var(--color-almost-black);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member__initials {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-almost-black);
  border: 2px solid rgba(255, 255, 255, 0.08);
  font-size: 42px;
  font-weight: 600;
  color: var(--color-mint-green);
}

.team-member h4 {
  margin-bottom: var(--space-xs);
}

.team-member .role {
  font-size: 14px;
  color: var(--color-mint-green);
  margin-bottom: var(--space-md);
}

.team-member p {
  font-size: 16px;
  color: var(--color-white-75);
  line-height: 1.7;
}

/* --- 14. Components: Divider --- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--color-mint-green-20);
  margin: var(--space-3xl) auto;
}

/* --- 15. Components: List --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white-75);
  line-height: 20px;
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--color-mint-green-10);
  border: 1.5px solid var(--color-mint-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C3F4C9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- 16. Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-almost-black);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- 17. Animations --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-reveal: elements start invisible, become visible via JS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Hero entrance animations (no scroll needed) */
.hero-animate {
  animation: fadeInUp 0.8s ease-out both;
}

.hero-animate-1 { animation-delay: 0.1s; }
.hero-animate-2 { animation-delay: 0.2s; }
.hero-animate-3 { animation-delay: 0.3s; }
.hero-animate-4 { animation-delay: 0.4s; }
.hero-animate-5 { animation-delay: 0.5s; }

/* --- 18. Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-lg) var(--space-2xl);
  transition: background 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(35, 31, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-md) var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-header__nav a {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-white-75);
  transition: color var(--transition);
  position: relative;
  line-height: 12px;
}

.site-header__nav a:hover,
.site-header__nav a.active {
  color: var(--color-white);
}

.site-header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-mint-green);
  border-radius: 1px;
}

/* Solutions dropdown */
.dropdown {
  position: relative;
}

.dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown__trigger svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown__trigger svg {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
}

.dropdown__menu-inner {
  background: rgba(35, 31, 32, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) 0;
  min-width: 220px;
  box-shadow: 0 16px 48px rgba(35, 31, 32, 0.4);
}

.dropdown__menu a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-white-75);
  transition: all var(--transition);
}

.dropdown__menu a:hover {
  color: var(--color-white);
  background: var(--color-white-5);
}

/* Header CTA */
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 var(--space-lg);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 12px;
  color: var(--color-almost-black);
  background: var(--color-mint-green);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.site-header__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-white);
}

.hamburger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Mobile overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(35, 31, 32, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-white-75);
  transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-mint-green);
}

.mobile-nav__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-2xl);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  padding: var(--space-sm);
}

.mobile-nav__close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* --- 19. Footer --- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.site-footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: var(--space-md);
}

.site-footer__brand p {
  font-size: 14px;
  color: var(--color-white-60);
  line-height: 1.6;
  max-width: 280px;
}

.site-footer__col h5 {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 12px;
}

.site-footer__col a {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white-60);
  padding: var(--space-xs) 0;
  transition: color var(--transition);
  line-height: 20px;
}

.site-footer__col a:hover {
  color: var(--color-mint-green);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--color-white-40);
}

.site-footer__bottom a {
  color: var(--color-white-40);
  transition: color var(--transition);
}

.site-footer__bottom a:hover {
  color: var(--color-mint-green);
}

.site-footer__legal {
  display: flex;
  gap: var(--space-lg);
}

/* --- 20. Page-specific: Content pages (letter, privacy) --- */
.content-page {
  padding-top: 120px;
  padding-bottom: var(--space-4xl);
}

.content-page h1 {
  font-size: 40px;
  margin-bottom: var(--space-xl);
}

.content-page h2 {
  font-size: 24px;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.content-page p {
  color: var(--color-white-75);
  margin-bottom: var(--space-md);
}

.content-page ul, .content-page ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.content-page li {
  color: var(--color-white-75);
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.content-page a {
  color: var(--color-mint-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page a:hover {
  opacity: 0.8;
}

/* --- 21. Responsive --- */
@media (max-width: 1023px) {
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 36px; line-height: 40px; }
  h3 { font-size: 24px; line-height: 30px; }

  section {
    padding: var(--space-4xl) 0;
  }

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

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

  .step:not(:last-child)::after {
    display: none;
  }

  .proof-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .proof-bar__item:nth-child(2)::after {
    display: none;
  }

  /* Split hero/layout */
  .hero--split .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero--split .hero__text-col {
    max-width: none;
    text-align: center;
  }

  .hero--split .btn-group {
    justify-content: center;
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .split--reverse {
    direction: ltr;
  }

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

  .feature-split {
    grid-template-columns: 1fr;
  }

  .feature-split--reverse {
    direction: ltr;
  }

  .feature-split__image,
  .feature-split__image-placeholder {
    min-height: 300px;
  }

  .feature-split__content {
    padding: var(--space-3xl) var(--space-xl);
  }

  .steps-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .checklist-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Header: hide desktop nav, show hamburger */
  .site-header__nav,
  .site-header__cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav {
    display: flex;
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  h1 { font-size: 28px; line-height: 34px; }
  h2 { font-size: 28px; line-height: 34px; }
  h3 { font-size: 20px; line-height: 26px; }

  section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: 80vh;
    padding: 120px var(--space-md) var(--space-3xl);
  }

  .hero--short {
    padding: 120px var(--space-md) var(--space-xl);
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__text {
    font-size: 16px;
    line-height: 20px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .proof-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-bar__item::after {
    display: none !important;
  }

  .hero--split {
    text-align: center;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat__value {
    font-size: 36px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .btn {
    height: 48px;
    font-size: 12px;
  }

  .site-header {
    padding: var(--space-md) var(--space-md);
  }

  .site-header.scrolled {
    padding: var(--space-sm) var(--space-md);
  }

  .site-header__logo img {
    height: 36px;
  }

  /* Footer */
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .team-member__photo,
  .team-member__initials {
    width: 120px;
    height: 120px;
    font-size: 32px;
  }
}
