/* ============================================================
   NAVISTRADA — Design System
   Based on editorial terra / cream / ink palette.
   ============================================================ */

:root {
  --cream:     #EDE3D3;
  --cream2:    #E4D8C4;
  --cream3:    #F5F0E8;
  --ink:       #2C1A10;
  --ink2:      #4A3728;
  --terra:     #A0432A;
  --terra2:    #7A3120;
  --terra-l:   #C4785A;
  --terra-ll:  #E8C4B0;
  --terra-bg:  #F5EAE2;
  --black:     #0A0A0A;
  --ghost:     #7A6858;
  --border:    #D4C4B0;
  --serif:     'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --serif-sc:  'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', system-ui, sans-serif;
  --maxw:      1180px;
  --gutter:    clamp(24px, 4vw, 40px);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream3);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
em { font-style: italic; }
ol, ul { list-style: none; }

/* ================================================ SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream3); }
::-webkit-scrollbar-thumb { background: var(--terra-l); border-radius: 2px; }

/* ================================================ GRAIN */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.25;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================================================ TYPOGRAPHY UTILITIES */
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 18px;
}
.display-xl {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--ink);
}
.display-xl em { font-style: italic; color: var(--terra); }
.display-lg {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
}
.display-lg em { font-style: italic; color: var(--terra); }
.display-md {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.display-md em { font-style: italic; color: var(--terra); }
.lead {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink2);
}
.body-txt {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.75;
}
.mono-sm {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ghost);
}

/* ================================================ LAYOUT */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); }
.section-terra { background: var(--terra-bg); }

/* ================================================ DECORATIVE */
.terra-rule { width: 48px; height: 1.5px; background: var(--terra); margin-bottom: 28px; }
.terra-rule.center { margin-left: auto; margin-right: auto; }
.terra-rule.wide { width: 80px; }
.ornament { text-align: center; color: var(--terra); font-family: var(--serif); font-size: 22px; opacity: .4; margin: 0 0 28px; }

/* ================================================ BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--terra); color: #fff;
  padding: 14px 32px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid var(--terra);
  transition: all .2s;
}
.btn-primary:hover { background: var(--terra2); border-color: var(--terra2); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ink);
  padding: 13px 30px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--terra); color: var(--terra); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: rgba(255,255,255,.75);
  padding: 13px 30px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2);
  transition: all .2s;
}
.btn-outline-white:hover { border-color: var(--terra-l); color: var(--terra-l); }

.btn-full { width: 100%; justify-content: center; }

/* ================================================ NAV */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(237,227,211,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.nav-logo-icon svg { width: 22px; height: 28px; }
.nav-logo-text {
  font-family: var(--serif-sc);
  font-size: 19px; font-weight: 500;
  color: var(--ink); letter-spacing: 3px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--ink2);
  transition: color .15s;
}
.nav-link:hover, .nav-link.is-active { color: var(--terra); }
.nav-cta {
  font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--terra);
  padding: 9px 20px; border: 1px solid var(--terra);
  transition: all .15s;
}
.nav-cta:hover { background: var(--terra); color: #fff; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 0.5rem;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s; }

/* ================================================ HERO */
.hero {
  background: var(--cream3);
  padding: 112px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: 'NAVISTRADA';
  position: absolute;
  font-family: var(--serif-sc);
  font-size: clamp(80px, 18vw, 260px);
  font-weight: 300;
  color: rgba(160,67,42,.045);
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 20px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--terra-bg); border: 1px solid var(--terra-ll);
  padding: 6px 16px; margin-bottom: 28px;
}
.hero-kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.hero-kicker-txt {
  font-family: var(--sans); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--terra);
}
.hero-btns { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-proof {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.proof-num { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--ink); line-height: 1; }
.proof-lbl { font-family: var(--sans); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ghost); margin-top: 4px; }

/* Hero visual (dashboard mockup) */
.hero-visual { background: var(--black); position: relative; overflow: hidden; }
.hero-visual-inner { padding: 28px; }
.hv-header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 18px;
}
.hv-dot { width: 8px; height: 8px; border-radius: 50%; }
.hv-title { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,.3); text-transform: uppercase; }
.hv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; margin-bottom: 6px;
  border: 1px solid;
}
.hv-row-label { font-size: 11px; color: rgba(255,255,255,.4); font-family: var(--sans); }
.hv-row-val { font-family: var(--serif); font-size: 14px; color: #fff; }
.hv-row-pass { border-color: rgba(160,67,42,.3); background: rgba(160,67,42,.07); }
.hv-row-warn { border-color: rgba(196,120,90,.3); background: rgba(196,120,90,.06); }
.hv-row-ok   { border-color: rgba(160,67,42,.4); background: rgba(160,67,42,.12); }
.hv-score {
  margin-top: 14px; padding: 14px;
  background: rgba(160,67,42,.12); border: 1px solid rgba(160,67,42,.25);
  text-align: center;
}
.hv-score-num { font-family: var(--serif); font-size: 48px; font-weight: 400; color: var(--terra-l); line-height: 1; }
.hv-score-lbl { font-family: var(--sans); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-top: 4px; }
.hv-bar-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.05); }
.hv-bar-title { font-family: var(--sans); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 10px; }
.hv-bar-row { display: grid; grid-template-columns: 90px 1fr 38px; gap: 8px; align-items: center; margin-bottom: 7px; }
.hv-bar-label { font-size: 11px; color: rgba(255,255,255,.35); font-family: var(--sans); }
.hv-bar-bg { height: 4px; background: rgba(255,255,255,.06); }
.hv-bar-fill { height: 100%; }
.hv-bar-pct { font-family: var(--serif); font-size: 13px; color: rgba(255,255,255,.5); text-align: right; }

/* Platform / About hero (centered, no right panel) */
.hero--centered { padding: 96px 0 80px; }
.hero--centered::before { content: none; }
.hero-centered-content { max-width: 760px; }

/* ================================================ PROOF STRIP */
.proof-strip { background: var(--terra); padding: 18px 0; }
.proof-strip-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.proof-strip-label { font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--sans); }
.proof-strip-item { font-family: var(--serif); font-size: 16px; color: #fff; letter-spacing: 1px; }

/* ================================================ STAT CARDS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1px; background: var(--border);
  margin-top: 56px;
}
.stat-card { background: var(--cream3); padding: 36px 28px; }
.stat-card-num { font-family: var(--serif); font-size: 56px; font-weight: 300; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.stat-card-num span { color: var(--terra); }
.stat-card-lbl { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ghost); margin-bottom: 10px; }
.stat-card-desc { font-size: 13.5px; color: var(--ink2); font-weight: 300; line-height: 1.5; }

/* ================================================ PAIN CARDS */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px; margin-top: 48px;
}
.pain-card {
  background: var(--cream3); border: 1px solid var(--border);
  border-top: 2.5px solid var(--terra); padding: 28px 24px;
  transition: transform 0.3s var(--ease);
}
.pain-card:hover { transform: translateY(-4px); }
.pain-num { font-family: var(--serif); font-size: 50px; font-weight: 300; line-height: 1; color: var(--terra); margin-bottom: 10px; }
.pain-title { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.pain-desc { font-size: 13.5px; color: var(--ghost); line-height: 1.6; font-weight: 300; }

/* ================================================ CALLOUT */
.callout {
  background: var(--terra-bg); border: 1px solid var(--terra-ll);
  border-left: 3px solid var(--terra); padding: 24px 28px;
  margin: 32px 0;
}
.callout-label { font-family: var(--sans); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.callout-text { font-family: var(--serif); font-size: 19px; font-weight: 300; line-height: 1.6; color: var(--ink); }

/* ================================================ ROI STRIP */
.roi-strip {
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.roi-item {
  text-align: center; padding: 44px 24px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.roi-item:last-child { border-right: none; }
.roi-val { font-family: var(--serif); font-size: 50px; font-weight: 300; color: var(--terra-l); line-height: 1; margin-bottom: 6px; }
.roi-val sup { font-size: 22px; vertical-align: top; margin-top: 8px; display: inline-block; }
.roi-lbl { font-family: var(--sans); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.roi-sub { font-size: 12.5px; color: rgba(255,255,255,.25); margin-top: 5px; font-weight: 300; }

/* ================================================ FEATURE ROWS */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 9.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--terra);
  border-bottom: 1px solid var(--terra-l); padding-bottom: 4px;
  margin-bottom: 20px;
}
.feature-h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); font-weight: 300; line-height: 1.1; color: var(--ink); margin-bottom: 18px; }
.feature-h3 em { font-style: italic; color: var(--terra); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--ink2); font-weight: 300; line-height: 1.55; }
.check-list li::before { content: '✦'; color: var(--terra); flex-shrink: 0; font-family: var(--serif); margin-top: 1px; font-size: 11px; }

/* Feature visual panel */
.fv { background: var(--black); overflow: hidden; }
.fv-inner { padding: 28px; }
.fv-hdr { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.fv-d { width: 8px; height: 8px; border-radius: 50%; }
.fv-ttl { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-left: 4px; }
.fv-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 12px; margin-bottom: 6px; font-size: 12px; }
.fv-k { color: rgba(255,255,255,.35); font-family: var(--sans); font-size: 10px; letter-spacing: .5px; }
.fv-v { font-family: var(--serif); font-size: 13.5px; color: #fff; text-align: right; }
.fv-pass { border: 1px solid rgba(160,67,42,.3); background: rgba(160,67,42,.07); }
.fv-warn { border: 1px solid rgba(196,120,90,.25); background: rgba(196,120,90,.06); }
.fv-neutral { border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.fv-success { border: 1px solid rgba(160,67,42,.5); background: rgba(160,67,42,.15); }
.fv-score { text-align: center; padding: 16px 12px; background: rgba(160,67,42,.1); border: 1px solid rgba(160,67,42,.25); margin-top: 10px; }
.fv-score-num { font-family: var(--serif); font-size: 44px; color: var(--terra-l); line-height: 1; }
.fv-score-sub { font-family: var(--sans); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-top: 5px; }
.fv-flag { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; margin-bottom: 6px; font-size: 11.5px; line-height: 1.5; }
.fv-flag-pass { border: 1px solid rgba(160,67,42,.3); background: rgba(160,67,42,.07); color: var(--terra-l); }
.fv-flag-warn { border: 1px solid rgba(196,120,90,.25); background: rgba(196,120,90,.06); color: #E8B090; }
.fv-flag-icon { flex-shrink: 0; font-size: 12px; margin-top: 1px; }

/* ================================================ SPECIALTY CARDS */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  margin-top: 52px;
}
.spec-card { background: var(--cream3); padding: 32px 28px; }
.spec-num { font-family: var(--serif); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; display: block; }
.spec-title { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 18px; }
.spec-rules { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.spec-rules li { font-size: 13px; color: var(--ink2); padding: 8px 12px; background: var(--cream); border-left: 2px solid var(--terra); font-weight: 300; line-height: 1.5; }

/* ================================================ COMPARISON TABLE */
.comp-table { width: 100%; border-collapse: collapse; margin-top: 44px; }
.comp-table th { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--ghost); padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.comp-table th.nav-col { color: var(--terra); }
.comp-table td { padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.04); font-size: 13.5px; color: var(--ink2); font-weight: 300; }
.comp-table .nav-td { background: rgba(160,67,42,.04); border-left: 2px solid var(--terra); }
.comp-table tr:hover td { background: rgba(160,67,42,.025); }
.comp-table tr:hover .nav-td { background: rgba(160,67,42,.07); }
.chk { color: var(--terra); font-size: 16px; font-family: var(--serif); }
.crs { color: rgba(0,0,0,.14); }
.prt { color: var(--terra-l); font-size: 14px; }

/* ================================================ TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card {
  background: var(--cream3); border: 1px solid var(--border);
  padding: 32px 28px; position: relative;
  transition: transform 0.3s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); }
.testi-card::before { content: '\201C'; font-family: var(--serif); font-size: 80px; line-height: 1; color: var(--terra-ll); position: absolute; top: 16px; left: 22px; }
.testi-quote { font-family: var(--serif); font-size: 17px; font-weight: 300; font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 22px; margin-top: 36px; }
.testi-rule { width: 32px; height: 1px; background: var(--terra); margin-bottom: 14px; }
.testi-name { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: .5px; }
.testi-role { font-family: var(--sans); font-size: 11px; color: var(--ghost); margin-top: 3px; }

/* ================================================ PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.price-card { background: var(--cream3); border: 1px solid var(--border); padding: 40px 32px; transition: transform 0.3s var(--ease); }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { background: var(--ink); border-color: var(--ink); }
.price-card.featured .price-tier { color: rgba(255,255,255,.4); }
.price-card.featured .price-num { color: #fff; }
.price-card.featured .price-per { color: rgba(255,255,255,.4); }
.price-card.featured .price-desc { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.08); }
.price-card.featured .price-list li { color: rgba(255,255,255,.65); }
.price-card.featured .price-list li::before { color: var(--terra-l); }
.price-tier { font-family: var(--sans); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--ghost); margin-bottom: 20px; display: block; }
.price-num { font-family: var(--serif); font-size: 52px; font-weight: 300; line-height: 1; color: var(--ink); }
.price-per { font-family: var(--sans); font-size: 12px; color: var(--ghost); display: block; margin-top: 4px; margin-bottom: 20px; }
.price-desc { font-size: 13px; color: var(--ghost); margin-bottom: 28px; font-weight: 300; line-height: 1.5; border-top: 1px solid var(--border); padding-top: 18px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.price-list li { font-size: 13.5px; color: var(--ink2); font-weight: 300; padding-left: 18px; position: relative; line-height: 1.45; }
.price-list li::before { content: '✦'; position: absolute; left: 0; color: var(--terra); font-family: var(--serif); font-size: 10px; top: 3px; }

/* ================================================ GUARANTEE */
.guarantee {
  background: var(--terra-bg); border: 1px solid var(--terra-ll);
  padding: 36px; display: flex; gap: 24px; align-items: flex-start;
  margin-top: 40px;
}
.g-icon { font-size: 32px; flex-shrink: 0; color: var(--terra); margin-top: 2px; }
.g-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.g-body { font-size: 15px; color: var(--ink2); font-weight: 300; line-height: 1.7; }

/* ================================================ INTEGRATION PILLS */
.int-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.int-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream3); border: 1px solid var(--border);
  padding: 9px 16px; font-size: 13px; font-weight: 300; color: var(--ink2);
  transition: border-color 0.2s, color 0.2s;
}
.int-pill:hover { border-color: var(--terra); color: var(--terra); }
.int-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); flex-shrink: 0; }

/* ================================================ CTA SECTION */
.cta-section {
  background: var(--black); padding: 108px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(160,67,42,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-display { font-family: var(--serif); font-size: clamp(36px, 5.5vw, 68px); font-weight: 300; color: #fff; line-height: 1.05; margin-bottom: 20px; }
.cta-display em { font-style: italic; color: var(--terra-l); }
.cta-sub { font-family: var(--serif); font-size: 19px; font-weight: 300; font-style: italic; color: rgba(255,255,255,.45); max-width: 540px; margin: 0 auto 48px; line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cta-badge {
  font-family: var(--sans); font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; padding: 7px 16px; border: 1px solid;
}
.cb-terra { border-color: rgba(196,120,90,.4); color: var(--terra-l); }
.cb-ghost { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.35); }

/* ================================================ ABOUT PAGE */
.about-hero-inner { max-width: 820px; }
.about-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 56px;
}
.about-meta-item {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
}
.about-meta-item:last-child { border-right: none; }
.about-meta-label { font-family: var(--sans); font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.about-meta-val { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--ink); }

.story-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.story-label-wrap { position: sticky; top: 96px; }
.story-body { display: flex; flex-direction: column; gap: 1.4rem; }
.story-body p { color: var(--ink2); font-size: 16px; font-weight: 300; line-height: 1.75; }
.story-lede { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 26px); font-weight: 300; line-height: 1.45; color: var(--ink); }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 0; border: 1px solid var(--border); margin-top: 52px; }
.value-item { padding: 36px 32px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.value-item:nth-child(even) { border-right: none; }
.value-item:nth-last-child(-n+2) { border-bottom: none; }
.value-num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--terra); margin-bottom: 12px; display: block; letter-spacing: 1px; }
.value-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.value-desc { font-size: 14px; color: var(--ghost); font-weight: 300; line-height: 1.65; max-width: 40ch; }

.founding-pullquote {
  background: var(--ink); padding: 64px var(--gutter);
  text-align: center;
}
.founding-pullquote blockquote {
  max-width: 700px; margin: 0 auto;
}
.founding-pullquote p {
  font-family: var(--serif); font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 300; font-style: italic; color: var(--cream3);
  line-height: 1.55; margin-bottom: 24px;
}
.founding-pullquote cite {
  font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--terra-l);
  font-style: normal;
}

/* ================================================ FOOTER */
.site-footer { background: var(--ink); padding: 56px 0 32px; border-top: 1px solid rgba(255,255,255,.05); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand-name { font-family: var(--serif-sc); font-size: 22px; font-weight: 500; color: var(--terra-l); letter-spacing: 4px; margin-bottom: 10px; }
.footer-tagline { font-family: var(--serif); font-size: 14px; font-style: italic; color: rgba(255,255,255,.25); margin-bottom: 16px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.25); line-height: 1.7; font-weight: 300; max-width: 260px; }
.footer-col-title { font-family: var(--sans); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.2); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,.35); transition: color .15s; font-weight: 300; }
.footer-link:hover { color: var(--terra-l); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.18); font-family: var(--sans); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.18); font-family: var(--sans); transition: color .15s; }
.footer-legal a:hover { color: var(--terra-l); }

/* ================================================ CONTACT PAGE */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-top: 4px; }
.contact-detail { margin-bottom: 24px; }
.contact-detail-label { font-family: var(--sans); font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--terra); margin-bottom: 4px; }
.contact-detail-val { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); line-height: 1.4; }
.contact-note { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.contact-note p { font-size: 13.5px; color: var(--ghost); line-height: 1.7; font-weight: 300; font-style: italic; }

.contact-form-wrap { background: var(--cream3); border: 1px solid var(--border); padding: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { width: 100%; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: var(--sans); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink2); }
.form-req { color: var(--terra); }
.form-input {
  background: #fff;
  border: 1px solid var(--border);
  padding: 13px 16px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input::placeholder { color: var(--ghost); opacity: 0.7; }
.form-input:focus { outline: none; border-color: var(--terra); }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6858' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.form-checkbox {
  flex-shrink: 0; width: 16px; height: 16px;
  border: 1px solid var(--border);
  appearance: none; -webkit-appearance: none;
  cursor: pointer; margin-top: 2px;
  transition: all .15s; position: relative;
  background: #fff; border-radius: 0;
}
.form-checkbox:checked { background: var(--terra); border-color: var(--terra); }
.form-checkbox:checked::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.form-check-label { font-size: 13px; color: var(--ghost); line-height: 1.5; font-weight: 300; }

.form-success { text-align: center; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(160,67,42,.1); border: 1px solid rgba(160,67,42,.25); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--terra); margin-bottom: 20px; font-family: var(--serif); }
.form-success-title { font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--ink); margin-bottom: 12px; }
.form-success-body { font-size: 15px; color: var(--ghost); line-height: 1.65; max-width: 360px; font-weight: 300; }
.form-error-banner { background: rgba(180,30,30,.07); border: 1px solid rgba(180,30,30,.25); padding: 14px 18px; margin-bottom: 20px; font-size: 13.5px; color: #8B2020; font-weight: 300; }

/* ================================================ SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================ ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}

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

/* --- Tablet (≤ 960px) --- */
@media (max-width: 960px) {
  /* Nav: hide links, show hamburger */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Nav open state — full-width dropdown */
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(237,227,211,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px -8px rgba(44,26,16,.12);
    padding: 8px 0 16px;
    z-index: 99;
  }
  .nav-links.is-open .nav-link,
  .nav-links.is-open .nav-cta {
    display: block;
    width: 100%;
    padding: 14px var(--gutter);
    border: none;
    font-size: 11px;
  }
  .nav-links.is-open .nav-cta {
    margin-top: 8px;
    color: var(--terra);
  }

  /* Section spacing */
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 60px; }
  .hero--centered { padding: 72px 0 56px; }
  .founding-pullquote { padding: 48px var(--gutter); }
  .cta-section { padding: 72px 0; }

  /* Hero layout */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }

  /* ROI */
  .roi-strip { grid-template-columns: 1fr 1fr; }
  .roi-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }

  /* Feature rows */
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse { direction: ltr; }

  /* Grids collapse to 1-col */
  .specialty-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  /* About page */
  .about-meta { grid-template-columns: 1fr 1fr; }
  .about-meta-item:nth-child(even) { border-right: none; }
  .about-meta-item { border-bottom: 1px solid var(--border); }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-label-wrap { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; }
  .value-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .value-item:last-child { border-bottom: none; }

  /* Comparison table — horizontal scroll */
  .comp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comp-table { min-width: 560px; }

  /* Contact page */
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 32px 28px; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Proof strip */
  .proof-strip-inner { gap: 20px 32px; padding: 16px var(--gutter); }
}

/* --- Mobile (≤ 600px) --- */
@media (max-width: 600px) {
  /* Tighter section spacing */
  .section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .hero--centered { padding: 56px 0 40px; }

  /* Stat / pain / meta grids */
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .about-meta { grid-template-columns: 1fr; }
  .about-meta-item { border-right: none; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }

  /* ROI */
  .roi-strip { grid-template-columns: 1fr 1fr; }

  /* Hero proof numbers row */
  .hero-proof { gap: 20px; }

  /* Buttons go full-width on very small screens */
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* CTA badges wrap */
  .cta-badges { gap: 8px; }

  /* Proof strip items smaller */
  .proof-strip-inner { gap: 12px 24px; }
  .proof-strip-item { font-size: 14px; }
}

/* --- Extra small (≤ 400px) --- */
@media (max-width: 400px) {
  .roi-strip { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .testi-card { padding: 28px 20px; }
  .price-card { padding: 32px 20px; }
  .value-item { padding: 28px 20px; }
  .pain-card { padding: 28px 20px; }
}
