/* ===== RESET & TOKENS ===== */

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

:root {
  --bg:          #f6f1e7;
  --bg-light:    #fbf8f1;
  --text:        #171716;
  --muted:       #5f5b52;
  --border:      #ddd4c3;
  --gold:        #a88413;
  --gold-dark:   #8a6d0d;
  --forest:      #0d2f24;
  --forest-dark: #071b15;
  --card:        #fffdf7;
  --white:       #ffffff;
  --nav-height:  72px;
  --serif:       'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container:   1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ===== SHARED ===== */

.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow--light { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}

/* Animate-in base */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals for grid children */
[data-animate]:nth-child(2) { transition-delay: 80ms; }
[data-animate]:nth-child(3) { transition-delay: 160ms; }
[data-animate]:nth-child(4) { transition-delay: 240ms; }
[data-animate]:nth-child(5) { transition-delay: 320ms; }
[data-animate]:nth-child(6) { transition-delay: 400ms; }
[data-animate]:nth-child(7) { transition-delay: 480ms; }
[data-animate]:nth-child(8) { transition-delay: 560ms; }


/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, gap 0.15s ease;
}

.btn--primary {
  padding: 14px 32px;
  background: var(--gold);
  color: var(--white);
  border: none;
}

.btn--primary:hover { background: var(--gold-dark); }

.btn--outline {
  padding: 14px 32px;
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  gap: 12px;
}

.btn--lg { padding: 18px 40px; font-size: 16px; }


/* ===================================================
   HEADER
   =================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo-divider {
  width: 2px;
  height: 22px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

.nav-logo-suffix {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-desktop { flex: 1; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-link, .nav-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-label { cursor: default; }
.nav-link:hover { color: var(--text); }
.nav-link--products[aria-expanded="true"] { color: var(--gold); }

.nav-chevron { transition: transform 0.2s ease; opacity: 0.5; }
.nav-link--products[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-indicator {
  position: absolute;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.nav-indicator.is-visible { opacity: 1; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid var(--text);
  border-radius: 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--gold-dark); }

.nav-login:hover { border-color: var(--gold); color: var(--gold); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ===== MEGA MENU ===== */

.mega-menu {
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 99;
}

.mega-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-menu-panel {
  max-width: var(--container);
  margin: 8px auto 0;
  background: #fdfcf9;
  border: 1px solid rgba(168,132,19,0.25);
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 24px 64px -12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.mega-menu-body { display: flex; padding: 36px 36px 28px; gap: 36px; }

.mega-intro { flex: 0 0 260px; display: flex; flex-direction: column; }

.mega-intro-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}

.mega-intro-headline {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  line-height: 1.2; color: var(--text);
  margin-bottom: 14px;
}

.mega-intro-desc { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 24px; }

.mega-intro-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: var(--gold); color: var(--white);
  text-decoration: none; font-size: 13px; font-weight: 600;
  border-radius: 100px;
  transition: background 0.15s ease, gap 0.15s ease;
  align-self: flex-start;
}

.mega-intro-btn:hover { background: var(--gold-dark); gap: 12px; }

.mega-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.mega-card {
  display: flex; flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none; color: var(--text);
  background: var(--white);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mega-card:hover { border-color: var(--gold); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

.mega-card-icon { color: var(--gold); margin-bottom: 12px; }
.mega-card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.mega-card-desc { font-size: 12px; line-height: 1.5; color: var(--muted); flex: 1; margin-bottom: 12px; }

.mega-card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }

.mega-card-badge {
  display: inline-block; padding: 3px 8px;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

.mega-card-arrow { color: var(--gold); opacity: 0.4; transition: opacity 0.15s ease, transform 0.15s ease; }
.mega-card:hover .mega-card-arrow { opacity: 1; transform: translateX(2px); }

.mega-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 36px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mega-strip-left { display: flex; align-items: center; gap: 12px; }
.mega-strip-icon { flex-shrink: 0; }
.mega-strip-title { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--text); display: block; margin-bottom: 1px; }
.mega-strip-desc { font-size: 12px; color: var(--muted); }

.mega-strip-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  text-decoration: none; white-space: nowrap;
  transition: gap 0.15s ease;
}
.mega-strip-cta:hover { gap: 10px; }

.mega-menu-backdrop {
  position: fixed; inset: 0; top: var(--nav-height);
  background: rgba(0,0,0,0.06);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 98;
}
.mega-menu-backdrop.is-open { opacity: 1; visibility: visible; }


/* ===== MOBILE MENU ===== */

.mobile-menu {
  position: fixed; top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 97;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-inner { padding: 8px 24px 40px; }

.mobile-nav-link {
  display: block; padding: 16px 0;
  font-size: 17px; font-weight: 500; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid #eee;
}
.mobile-nav-link:hover { color: var(--text); }

.mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.mobile-login {
  display: block; padding: 14px; text-align: center;
  border: 1px solid var(--text); border-radius: 20px;
  color: var(--text); text-decoration: none;
  font-size: 16px; font-weight: 600;
}

.mobile-cta {
  display: block; padding: 14px; text-align: center;
  background: var(--gold); color: var(--white);
  text-decoration: none; font-size: 16px; font-weight: 600;
  border-radius: 20px;
}

.mobile-accordion { border-bottom: 1px solid #eee; }

.mobile-accordion-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 0; background: none; border: none;
  font-family: var(--sans); font-size: 17px; font-weight: 500;
  color: var(--muted); cursor: pointer;
}
.mobile-accordion-trigger:hover { color: var(--text); }
.mobile-accordion-chevron { transition: transform 0.2s ease; }
.mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-chevron { transform: rotate(180deg); }
.mobile-accordion-trigger[aria-expanded="true"] { color: var(--text); }
.mobile-accordion-panel { display: none; padding-bottom: 16px; }
.mobile-accordion.is-open .mobile-accordion-panel { display: block; }

.mobile-platform-intro { background: var(--bg); border-radius: 12px; padding: 16px; margin-bottom: 8px; }
.mobile-platform-intro h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.mobile-platform-intro p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.mobile-platform-intro a { font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none; }

.mobile-product-link { display: block; padding: 12px 16px; border-radius: 10px; text-decoration: none; color: var(--text); transition: background 0.15s ease; }
.mobile-product-link:hover { background: var(--bg); }
.mobile-product-name { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.mobile-product-desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }


/* ===================================================
   1. HERO
   =================================================== */

.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
  margin-top: var(--nav-height);
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.hero-content {
  flex: 1;
  max-width: 520px;
  padding-top: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-highlight {
  background: linear-gradient(135deg, #c9a83c 0%, #a88413 50%, #8a6d0d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.hero-metric { display: flex; flex-direction: column; }

.hero-metric-number {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-metric-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

.hero-metric-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ——— Product Mockup ——— */

.hero-mockup {
  flex: 0 0 540px;
  position: relative;
}

.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(168,132,19,0.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.mockup-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06),
    0 24px 48px rgba(0,0,0,0.04),
    0 48px 80px rgba(0,0,0,0.03);
  transform: perspective(2000px) rotateY(-8deg) rotateX(2deg);
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #faf7f0;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-tabs {
  display: flex;
  gap: 2px;
}

.mockup-tab {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  cursor: default;
}

.mockup-tab--active {
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.mockup-body {
  display: flex;
  min-height: 340px;
}

.mockup-sidebar {
  flex: 0 0 170px;
  padding: 16px;
  border-right: 1px solid var(--border);
  background: #fdfbf6;
}

.mockup-sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.mockup-source {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.mockup-source-icon {
  color: var(--gold);
  font-size: 6px;
  margin-top: 3px;
  flex-shrink: 0;
}

.mockup-sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text);
  padding: 5px 0;
}

.mockup-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-status-dot--green { background: #2d8a56; }
.mockup-status-dot--gold { background: var(--gold); }

.mockup-main {
  flex: 1;
  padding: 20px;
}

.mockup-draft-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mockup-draft-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mockup-draft-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(168,132,19,0.1);
  border: 1px solid rgba(168,132,19,0.2);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-dark);
}

.mockup-draft-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
  padding: 14px;
  background: #fdfbf6;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.mockup-citations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mockup-citation {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}


/* ===================================================
   2. PURPOSE-BUILT
   =================================================== */

.purpose {
  position: relative;
  padding: 120px 0;
  background: #f7f3ea;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.purpose-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.purpose-container {
  position: relative;
  z-index: 1;
}

.purpose-header {
  max-width: 760px;
  margin-bottom: 64px;
}

.purpose-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.purpose-headline em {
  font-style: italic;
  color: var(--gold);
}

.purpose-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.purpose-card {
  padding: 32px 28px;
  background: #fbf8f1;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(30, 24, 12, 0.04);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}

.purpose-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(30, 24, 12, 0.07);
}

.purpose-card-icon {
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.purpose-card-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.purpose-card:hover .purpose-card-icon {
  opacity: 1;
}

.purpose-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.purpose-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}


/* ===================================================
   3. PLATFORM
   =================================================== */

.platform {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.platform-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.platform-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}

.platform-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 auto;
  max-width: 600px;
}

/* Bento grid */

.platform-bento {
  display: grid;
  grid-template-columns: 5fr 3.5fr 3.5fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 20px;
  min-height: 420px;
}

/* Knowledge Base hub — dark, spans 2 rows */

.platform-bento-hub {
  grid-row: 1 / 4;
  background: var(--forest);
  color: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(168,132,19,0.06), 0 8px 32px rgba(0,0,0,0.1);
}

.platform-bento-hub::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(168,132,19,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.platform-bento-hub-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,132,19,0.12);
  border-radius: 14px;
  color: var(--gold);
  margin-bottom: 24px;
}

.platform-bento-hub-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.platform-bento-hub h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.platform-bento-hub-sub {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.platform-bento-hub-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.platform-bento-hub-tags {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  flex: 1;
}

.platform-bento-hub-proof {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(168,132,19,0.7);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

/* Module cards */

.platform-bento-module {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}

.platform-bento-module:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30,24,12,0.08);
}

.platform-bento-module-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,132,19,0.07);
  border-radius: 10px;
  color: var(--gold);
  margin-bottom: 16px;
}

.platform-bento-module-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.platform-bento-module h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.platform-bento-module-sub {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
}

.platform-bento-module p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}


/* ===================================================
   4. WORKFLOW
   =================================================== */

.workflow {
  padding: 120px 0;
  background: #f7f3ea;
  border-top: 1px solid var(--border);
}

.workflow .section-title {
  max-width: 560px;
  margin-bottom: 56px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

/* Connecting line behind steps */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(168,132,19,0.2);
}

.workflow-step {
  text-align: center;
  position: relative;
}

.workflow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.workflow-step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}


/* ===================================================
   5. OUTCOMES
   =================================================== */

.outcomes {
  padding: 120px 0;
  background: radial-gradient(ellipse at 50% 0%, #163d2e 0%, #0d2f24 50%, #071b15 100%);
  color: var(--white);
  border-top: 1px solid rgba(168,132,19,0.15);
}

.outcomes .section-container {
  text-align: center;
}

.outcomes-title {
  color: var(--white);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.outcomes-body {
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.outcome-stat {
  text-align: center;
  padding: 40px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  transition: background 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.25s cubic-bezier(0.4,0,0.2,1);
}

.outcome-stat:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(168,132,19,0.25);
}

.outcome-icon {
  color: rgba(168,132,19,0.7);
  margin-bottom: 20px;
}

.outcome-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.outcome-number-wrap {
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.outcome-number {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #d4a91a 0%, #a88413 60%, #8a6d0d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outcome-suffix {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #d4a91a 0%, #a88413 60%, #8a6d0d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outcome-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin-bottom: 8px;
}

.outcome-context {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}


/* ===================================================
   6. SECTORS
   =================================================== */

.sectors {
  padding: 120px 0;
  background: var(--white);
}

.sectors-header {
  margin-bottom: 56px;
}

.sectors-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.sectors-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
}

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

.sector-card {
  background: #fbf8f1;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.sector-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(20, 16, 8, 0.07);
  transform: translateY(-2px);
}

.sector-card-accent {
  height: 2px;
  background: var(--gold);
  opacity: 1;
}


.sector-card-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sector-card-icon {
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.sector-card-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.sector-card:hover .sector-card-icon {
  opacity: 1;
}

.sector-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.sector-desc {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  flex: 1;
}

.sector-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 18px 0 14px;
}

.sector-list {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}


/* ===================================================
   7. TRUST
   =================================================== */

.trust {
  padding: 120px 0;
  background: #f7f3ea;
  border-top: 1px solid var(--border);
}

.trust .section-title {
  margin-bottom: 16px;
}

.trust-body {
  margin-bottom: 56px;
}

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

.trust-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border-left: 2px solid rgba(168,132,19,0.3);
  border-radius: 0 12px 12px 0;
  transition: border-color 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
}

.trust-point:hover {
  border-left-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.trust-point-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,132,19,0.07);
  border-radius: 8px;
  color: var(--gold);
}

.trust-point-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

.trust-point-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-point-content strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.trust-point-content span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}


/* ===================================================
   8. CEQA SEARCH
   =================================================== */

.ceqa-search {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.ceqa-search-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.ceqa-search-title {
  margin-bottom: 18px;
}

.ceqa-search-body {
  margin: 0 auto 36px;
}

.ceqa-search-btn {
  padding: 16px 36px;
  font-size: 16px;
}

.ceqa-search-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}


/* ===================================================
   9. FINAL CTA
   =================================================== */

.final-cta {
  padding: 120px 0 0;
  background: radial-gradient(ellipse at 50% 0%, #163d2e 0%, #0d2f24 50%, #071b15 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta .section-container {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

/* Decorative SVGs */

.final-cta-deco-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.final-cta-deco-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Divider with shield */

.final-cta-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.final-cta-divider-line {
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168,132,19,0.35) 100%);
}

.final-cta-divider-line:last-child {
  background: linear-gradient(90deg, rgba(168,132,19,0.35) 0%, transparent 100%);
}

.final-cta-shield {
  flex-shrink: 0;
}

/* Eyebrow */

.final-cta-eyebrow {
  margin-bottom: 32px;
}

/* Title */

.final-cta-title {
  color: var(--white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* Body */

.final-cta-body {
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 1.65;
}

/* Buttons */

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn--primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 52px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(180deg, #c9a83c 0%, #a88413 100%);
  border: 1px solid rgba(168,132,19,0.6);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(168,132,19,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.btn--primary-cta:hover {
  box-shadow: 0 6px 28px rgba(168,132,19,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn--outline-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 52px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: none;
  border: 1px solid rgba(168,132,19,0.3);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s cubic-bezier(0.4,0,0.2,1), color 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1);
}

.btn--outline-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

/* Footer proof line */

.final-cta-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 40px;
}

.final-cta-footer-line {
  display: block;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

.final-cta-footer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.final-cta-footer-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  max-width: 440px;
}

/* Bottom gold bar */

.final-cta-gold-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(168,132,19,0.15) 20%, var(--gold) 50%, rgba(168,132,19,0.15) 80%, transparent 100%);
}


/* ===================================================
   FOOTER
   =================================================== */

.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-brand { max-width: 260px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-logo-divider {
  width: 2px;
  height: 18px;
  background: var(--gold);
  border-radius: 1px;
  flex-shrink: 0;
}

.footer-logo-suffix {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.footer-tagline { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); }

.footer-nav { display: flex; gap: 56px; }

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}


/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 960px) {
  .nav-desktop, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .mega-menu, .mega-menu-backdrop { display: none; }
  .nav-indicator { display: none; }

  .hero { padding: 80px 0 60px; }
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-content { max-width: 100%; }
  .hero-mockup { flex: none; width: 100%; }
  .mockup-window { max-width: 100%; }

  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-bg { display: none; }
  .purpose-card { min-height: auto; }

  /* Platform */
  .platform-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .platform-bento-hub { grid-row: auto; min-height: auto; }

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

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

  .sectors-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

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

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { gap: 40px; }

  .final-cta-actions { flex-direction: column; align-items: stretch; }
  .final-cta-deco-left, .final-cta-deco-right { display: none; }
  .btn--primary-cta, .btn--outline-cta { padding: 18px 36px; font-size: 16px; justify-content: center; }
  .mockup-window { transform: none; }
  .final-cta { padding: 100px 0 0; }
}

@media (min-width: 961px) {
  .mobile-menu { display: none; }
}

@media (max-width: 600px) {
  .section-container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }

  .hero { padding: 56px 0 48px; }
  .hero-headline { font-size: 36px; }
  .hero-body { font-size: 16px; }
  .hero-metrics { flex-direction: column; gap: 20px; }
  .hero-metric-divider { width: 40px; height: 1px; margin-top: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .mockup-sidebar { display: none; }

  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-headline { font-size: 34px; }

  .platform-headline { font-size: 34px; }
  .platform-bento-hub { padding: 28px 24px; }

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

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

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

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

  .footer-nav { flex-direction: column; gap: 28px; }

  .hero-inner { padding: 0 24px; }
  .final-cta { padding: 72px 0 0; }
  .final-cta-footer { padding-bottom: 24px; }
  .section-title { font-size: 28px; }
  .outcome-number, .outcome-suffix { font-size: 42px; }
}



@media (max-width: 1200px) and (min-width: 961px) {
  .hero-mockup { flex: 0 0 440px; }

  .mega-menu-panel { margin-left: 16px; margin-right: 16px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-intro { flex: 0 0 220px; }
  .mega-intro-headline { font-size: 22px; }
}
