:root {
  --green:      #1a5c1a;
  --green-dark: #0f3a0f;
  --green-mid:  #2d7a2d;
  --cream:      #f5f0e8;
  --cream-dark: #e8e2d4;
  --gold:       #c9a84c;
  --gold-light: #dfc06e;
  --charcoal:   #1a1a1a;
  --mid:        #5a5a5a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(245,240,232,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,92,26,0.1);
  transition: box-shadow 0.3s ease;
}

.nav-logo img { height: 44px; width: auto; display: block; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--green); }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none;
  transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-green {
  padding: 0.8rem 1.85rem;
  background: var(--green); color: #fff;
  box-shadow: 0 4px 22px rgba(26,92,26,0.22);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(26,92,26,0.3); }
.btn-green:active { transform: translateY(0); }

.btn-outline-green {
  padding: 0.78rem 1.85rem;
  background: transparent; color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline-green:hover { background: var(--green); color: white; transform: translateY(-2px); }
.btn-outline-green:active { transform: translateY(0); }

.btn-gold {
  padding: 0.9rem 2.1rem;
  background: var(--gold); color: var(--charcoal); font-weight: 600;
  box-shadow: 0 4px 24px rgba(201,168,76,0.28);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(201,168,76,0.38); }
.btn-gold:active { transform: translateY(0); }

.btn-ghost-white {
  padding: 0.9rem 2.1rem;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.07); }

/* ─── EYEBROW ─────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.eyebrow-line { width: 36px; height: 1.5px; background: var(--gold); flex-shrink: 0; }
.eyebrow-text {
  font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 9rem 4rem 6rem;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; left: -15%; bottom: -20%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,92,26,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-arc {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 680px; height: 680px;
  border: 72px solid rgba(26,92,26,0.055);
  border-right-color: transparent; border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem; align-items: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.25rem);
  font-weight: 600; line-height: 1.04;
  letter-spacing: -0.025em; color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--green); }

.hero-body {
  font-size: 1.1rem; line-height: 1.8; color: var(--mid);
  max-width: 480px; margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* hero accent card */
.hero-card {
  background: #fff;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 12px 40px rgba(26,92,26,0.1), 0 30px 80px rgba(26,92,26,0.06);
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.accuracy-badge {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 2rem;
}

.accuracy-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 700;
  color: var(--green); line-height: 1;
  letter-spacing: -0.02em;
}

.accuracy-label {
  font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mid);
  margin-top: 0.5rem; display: block;
}

.accuracy-note {
  font-size: 0.8rem; line-height: 1.6; color: var(--mid);
  font-style: italic; margin-top: 0.75rem; padding: 0 1rem;
}

.db-list-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.9rem;
}
.acc-list-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.9rem; margin-top: 0.9rem;
}
.db-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}

.db-chip {
  font-size: 0.72rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(26,92,26,0.2);
  color: var(--green);
  background: rgba(26,92,26,0.04);
}

/* ─── INTRO BAND ──────────────────────────────────────── */
.intro-band {
  background: var(--green);
  padding: 5rem 4rem;
  position: relative; overflow: hidden;
}

.intro-band::after {
  content: '';
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px;
  border: 50px solid rgba(255,255,255,0.05);
  border-right-color: transparent; border-radius: 50%;
  pointer-events: none;
}

.intro-inner {
  max-width: 900px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}

.intro-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 400; line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

.intro-inner p em {
  font-style: italic;
  color: var(--gold-light);
}

/* ─── FEATURES ────────────────────────────────────────── */
.features {
  background: #fff;
  padding: 8rem 4rem;
}

.section-wrap { max-width: 1200px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 4.5rem; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.75rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem;
}
.section-head h2 em { font-style: italic; color: var(--green); }
.section-head p {
  font-size: 1rem; line-height: 1.75; color: var(--mid);
  max-width: 520px; margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--cream-dark);
}

.feat-card {
  background: #fff;
  padding: 3rem 2.5rem;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.feat-card:hover { transform: translateY(-5px); z-index: 1; box-shadow: 0 20px 60px rgba(26,92,26,0.12); }

.feat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem; font-weight: 300; line-height: 1;
  color: rgba(26,92,26,0.08); margin-bottom: 1.5rem;
  user-select: none;
}
.feat-title {
  font-size: 1.7rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 0.875rem; line-height: 1.2;
}
.feat-body {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; line-height: 1.8; color: var(--mid); margin-bottom: 1.75rem;
}
.feat-note {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem; line-height: 1.65;
  color: rgba(26,92,26,0.7); font-style: italic;
  padding: 0.875rem 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(201,168,76,0.05);
}

/* ─── STREAMLINED UI ──────────────────────────────────── */
.streamlined {
  padding: 8rem 4rem;
  background: var(--cream);
}

.stream-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}

.stream-content h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.75rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.25rem;
}
.stream-content h2 em { font-style: italic; color: var(--green); }

.stream-content p {
  font-size: 1rem; line-height: 1.8; color: var(--mid); margin-bottom: 2rem;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.feature-list li {
  display: flex; align-items: center; gap: 0.875rem;
  font-size: 0.9rem; color: var(--charcoal);
}

.feature-list li::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

.stream-visual { display: flex; flex-direction: column; gap: 1.5rem; }

.ui-card {
  background: #fff;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 24px rgba(26,92,26,0.08), 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
}

.ui-card-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 1rem;
}

.search-bar-mock {
  display: flex; align-items: center; gap: 0.75rem;
  border: 1.5px solid rgba(26,92,26,0.25);
  padding: 0.75rem 1rem;
  background: var(--cream);
}

.search-bar-mock .mock-icon { color: var(--green); font-size: 1rem; }

.search-bar-mock .mock-text {
  font-size: 0.875rem; color: var(--mid); font-style: italic;
}

.mock-cursor {
  display: inline-block;
  width: 2px; height: 14px;
  background: var(--green);
  animation: blink 1s step-end infinite;
  vertical-align: middle; margin-left: 2px;
}

@keyframes blink { 50% { opacity: 0; } }

.perf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}

.perf-item { text-align: center; }

.perf-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600;
  color: var(--green); line-height: 1;
  margin-bottom: 0.3rem;
}

.perf-label {
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid);
}

/* ─── OPEN ARCHITECTURE ───────────────────────────────── */
.open-arch {
  background: #fff;
  padding: 8rem 4rem;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem; margin-top: 1rem;
}

.arch-block h3 {
  font-size: 1.5rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 1rem; line-height: 1.2;
}

.arch-block p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; line-height: 1.8; color: var(--mid);
  margin-bottom: 1.25rem;
}

.arch-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.arch-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; line-height: 1.5; color: var(--charcoal);
}

.arch-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 0.45rem;
}

.deploy-options { display: flex; flex-direction: column; gap: 0.875rem; }

.deploy-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--cream-dark);
  font-size: 0.875rem; color: var(--charcoal);
  transition: border-color 0.2s, background 0.2s;
}

.deploy-option:hover {
  border-color: rgba(26,92,26,0.3);
  background: rgba(26,92,26,0.02);
}

.deploy-icon {
  width: 32px; height: 32px;
  background: rgba(26,92,26,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ─── PRICING ─────────────────────────────────────────── */
.pricing {
  background: var(--charcoal);
  padding: 8rem 4rem;
  position: relative; overflow: hidden;
}

.pricing::after {
  content: '';
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px;
  border: 60px solid rgba(201,168,76,0.07);
  border-right-color: transparent; border-radius: 50%;
  pointer-events: none;
}

.pricing-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}

.pricing-inner .section-head h2 { color: #fff; }
.pricing-inner .section-head p { color: rgba(255,255,255,0.55); }
.pricing-inner .eyebrow-line { background: rgba(201,168,76,0.45); }
.pricing-inner .eyebrow-text { color: rgba(201,168,76,0.85); }

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-tier {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  transition: background 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.price-tier:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.price-tier-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.price-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}

.price-badge {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 0.3rem 0.7rem;
}

.price-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem; font-weight: 600;
  color: #fff; margin-bottom: 0.5rem; line-height: 1.2;
}

.price-amount {
  margin-bottom: 1rem;
  display: flex; align-items: baseline; gap: 0.25rem; flex-wrap: wrap;
}

.price-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--gold); line-height: 1;
  letter-spacing: -0.02em;
}

.price-num-free {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem; font-weight: 600;
  color: var(--gold-light); line-height: 1;
}

.price-per {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

.price-desc {
  font-size: 0.875rem; line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 2rem; flex: 1;
}

.price-features li {
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 0.625rem;
}

.price-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

.price-cta {
  display: block; text-align: center; margin-top: auto;
}

.pricing-cta {
  text-align: center; margin-top: 4rem;
}

.pricing-cta p {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
  margin-top: 1rem;
}

/* ─── CTA ─────────────────────────────────────────────── */
.cta-section {
  background: var(--green-dark);
  padding: 8rem 4rem;
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; left: -6%; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px;
  border: 60px solid rgba(255,255,255,0.04);
  border-right-color: transparent; border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  max-width: 700px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}

.cta-inner .eyebrow { justify-content: center; }
.cta-inner .eyebrow-line { background: rgba(201,168,76,0.45); }
.cta-inner .eyebrow-text { color: rgba(201,168,76,0.85); }

.cta-inner h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.75rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1;
  color: #fff; margin-bottom: 1.25rem;
}

.cta-inner h2 em { font-style: italic; color: var(--gold-light); }

.cta-inner p {
  font-size: 1rem; line-height: 1.75;
  color: rgba(255,255,255,0.55); margin-bottom: 2.5rem;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────── */
footer { background: var(--green-dark); padding: 4rem 4rem 2.5rem; }

.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 44px; filter: brightness(0) invert(1); opacity: 0.85;
  display: block; margin-bottom: 1.25rem;
}
.footer-tagline {
  font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.38);
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.875rem; color: rgba(255,255,255,0.42);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.78rem; color: rgba(255,255,255,0.26); text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }

/* ─── SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.32s; }

/* ─── BACK TO TOP ─────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 500;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(26,92,26,0.28);
  text-decoration: none;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.2s, box-shadow 0.2s;
}
#back-to-top.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
#back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26,92,26,0.36);
}
#back-to-top:active { transform: translateY(0); }
#back-to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }