/* ============================================================
   Settlegate · Sentinel Escrow
   Programmable settlement for the off-spec petroleum supply chain.

   Visual lock: Enode (enode.com), "Product Page & Landing".
   White / pale-green canvas; deep-forest-green display headings
   (Bricolage Grotesque ≈ Whyte Inktrap) over a clean grotesque
   body (Hanken Grotesk ≈ Whyte); olive-green pill CTAs; warm
   industrial ORANGE promoted from Enode /optimize as the
   fuel/state/data accent (data + highlight role only, never the
   primary CTA). Signature moves carried over: two-column hero with
   a product mockup + code window, With/Without toggle, node/flow
   diagram on a faint grid, donut data-viz cards, newsletter footer.
   Imagery is code-native: mockups, code windows, SVG donuts, nodes.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --white:    #ffffff;
  --paper:    #fbfbfb;   /* page base */
  --wash:     #eaf1da;   /* pale-green section wash (Enode #E9F1D6) */
  --wash-2:   #f1f5e7;   /* lighter green wash */
  --warm:     #f8f7f1;   /* warm off-white (Enode /optimize) */
  --grid-bg:  #f4f4ea;   /* node-diagram canvas (Enode #F3F3E9) */
  --line:     #e3e6d8;   /* hairline border (greenish) */
  --line-2:   #edefe4;   /* faint divider */

  /* ink */
  --forest:   #1f3318;   /* display headings (Enode #2B301C / #23411F) */
  --ink:      #15180f;   /* near-black emphasis */
  --body:     #444a3a;   /* body copy, olive-gray */
  --muted:    #6c7363;   /* secondary text */
  --faint:    #98a08c;   /* labels / dim (Enode #9CA499) */

  /* accent · olive green · CTA + active state ONLY */
  --olive:      #5f7327;   /* primary (Enode #60722C / #627B27) */
  --olive-d:    #4d5f1f;   /* hover */
  --olive-tint: #e7eed4;   /* faint olive fill for chips/icons */
  --leaf:       #46b555;   /* bright leaf, small accents / ok (Enode #46B555) */

  /* accent · industrial orange · fuel / state / data highlight ONLY */
  --orange:      #cb6a2c;   /* Enode /optimize #CE672B */
  --orange-d:    #b2571f;
  --orange-tint: #f7e7d9;
  --gold:        #e3c466;   /* chart yellow (Enode #F4E08C / #E7CE70) */
  --slate:       #3f5a68;   /* one cool chart segment (Enode #3F5A68) */

  /* status (inside product frames) */
  --ok:      #3f7d2f;  --ok-bg:   #e7f0d8;
  --warn:    #b5732a;  --warn-bg: #f7e8d8;
  --risk:    #bb3b2e;  --risk-bg: #f6e1dc;
  --hold:    #3f5a68;  --hold-bg: #e3ecf0;

  /* code window */
  --code-bg:  #1b2014;
  --code-pan: #222a18;
  --code-line:#33402233;
  --code-txt: #d8e0cb;
  --code-key: #b6d56a;
  --code-str: #e0a36a;
  --code-com: #7c876b;
  --code-fn:  #cbe08a;
  --code-num: #e3c466;

  /* type */
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* metrics */
  --maxw: 1200px;
  --r-card:  16px;
  --r-lg:    22px;
  --r-pill:  9999px;
  --r-input: 10px;
  --shadow:    0 4px 16px rgba(31, 51, 24, .06);
  --shadow-md: 0 10px 30px rgba(31, 51, 24, .08);
  --shadow-lg: 0 24px 60px rgba(31, 51, 24, .13);
  --section-gap: 116px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--forest);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: 76px; }
.wash-green { background: var(--wash); }
.wash-2 { background: var(--wash-2); }
.warm-bg  { background: var(--warm); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* section intro */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 16px;
}
.intro { max-width: 720px; margin-bottom: 56px; }
.intro.center { margin-inline: auto; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.hl { color: var(--olive); }
.hl-o { color: var(--orange); }
code { font-family: var(--mono); font-size: .9em; background: var(--olive-tint); color: var(--olive-d); padding: 1px 6px; border-radius: 6px; }
.textlink {
  display: inline-flex; align-items: center; gap: 7px; color: var(--olive);
  font-weight: 600; border-bottom: 1.5px solid transparent; transition: border-color .15s;
}
.textlink::after { content: "→"; transition: transform .15s; }
.textlink:hover { border-color: var(--olive); }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 600; font-size: 15.5px; line-height: 1; border-radius: var(--r-pill);
  padding: 14px 22px; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .12s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-d); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn--on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--on-dark:hover { background: rgba(255,255,255,.16); }
.btn--sm { padding: 10px 16px; font-size: 14.5px; }
.btn--lg { padding: 16px 26px; font-size: 16.5px; }
.arrow::after { content: "→"; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-2); }
.nav__inner { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--forest); letter-spacing: -.02em; }
.brand__mark { width: 26px; height: 26px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav__item { position: relative; }
.nav__links > a, .nav__item > button {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 9px;
  color: var(--forest); font-weight: 500; font-size: 15px; background: transparent; border: 0;
}
.nav__item > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg) translateY(-1px); margin-left: 2px; }
.nav__links > a:hover, .nav__item > button:hover { background: var(--wash-2); color: var(--olive); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 264px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; display: grid; gap: 2px;
}
.nav__item:hover .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--forest); font-weight: 600; font-size: 14.5px; }
.nav__menu a span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.nav__menu a:hover { background: var(--wash-2); }
.nav__spacer { flex: 1; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.plain { color: var(--forest); font-weight: 600; font-size: 15px; padding: 8px 6px; }
.plain:hover { color: var(--olive); }
.nav__burger { display: none; background: transparent; border: 0; color: var(--forest); padding: 6px; }
.nav__burger svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 78px; padding-bottom: 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 48px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__note { font-size: 14px; color: var(--muted); }
.hero__note b { color: var(--forest); font-weight: 700; }
.hero__art { position: relative; }

/* ---------- Mockup frame (console) ---------- */
.frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame--flush { box-shadow: var(--shadow-md); }
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--line-2); background: var(--warm); }
.frame__dot { width: 9px; height: 9px; border-radius: 50%; background: #d6d8cb; }
.frame__dot:nth-child(1){ background:#e0b15a; } .frame__dot:nth-child(2){ background:#cdd2bb; } .frame__dot:nth-child(3){ background:#bcd07f; }
.frame__title { margin-left: 8px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.frame__body { padding: 16px; display: grid; grid-template-columns: 168px 1fr; gap: 14px; min-height: 308px; }
.frame--solo .frame__body { grid-template-columns: 1fr; }
.frame__side { display: flex; flex-direction: column; gap: 3px; }
.frame__navitem { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); font-weight: 500; }
.frame__navitem i { width: 7px; height: 7px; border-radius: 2px; background: #cdd2bb; }
.frame__navitem.is-active { background: var(--olive-tint); color: var(--forest); font-weight: 600; }
.frame__navitem.is-active i { background: var(--olive); }
.frame__main { display: flex; flex-direction: column; gap: 12px; }
.frame__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.stat { background: var(--warm); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; }
.stat b { display: block; font-family: var(--display); font-size: 21px; color: var(--forest); line-height: 1; margin-bottom: 5px; }
.stat b.hl { color: var(--olive); } .stat b.hl-o { color: var(--orange); }
.stat span { font-size: 11.5px; color: var(--muted); }

/* record card */
.record { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.record__hd { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.record__logo { width: 38px; height: 38px; border-radius: 10px; background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; font-weight: 700; font-family: var(--display); font-size: 14px; }
.record__hd h4 { font-size: 15px; color: var(--forest); margin: 0; font-family: var(--sans); font-weight: 700; }
.record__hd p { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.record__hd .chip { margin-left: auto; }
.record__rows { display: grid; gap: 8px; }
.rrow { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 9px 11px; background: var(--warm); border-radius: 10px; font-size: 12.5px; }
.rrow > span:first-child { color: var(--muted); }
.rrow b { color: var(--forest); font-weight: 600; font-size: 12.5px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip--ok   { background: var(--ok-bg);   color: var(--ok); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--risk { background: var(--risk-bg); color: var(--risk); }
.chip--hold { background: var(--hold-bg); color: var(--hold); }
.chip--info { background: var(--olive-tint); color: var(--olive); }

/* pipeline list */
.pipe { display: grid; gap: 7px; }
.pipe__row { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; color: var(--forest); background: #fff; }
.pipe__row .chip { margin-left: auto; }
.dotmark { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); flex: none; }

/* gauge / ring */
.gauge { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 14px; padding: 13px; background: #fff; }
.gauge__ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--olive) 0 78%, var(--line) 78% 100%); }
.gauge__ring i { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--forest); }
.gauge__meta b { display: block; font-size: 14px; color: var(--forest); font-family: var(--sans); }
.gauge__meta span { font-size: 12px; color: var(--muted); }

/* ---------- Code window ---------- */
.code { background: var(--code-bg); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #2c351c; }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid #2c351c; }
.code__bar .frame__dot:nth-child(1){ background:#c98b4a; } .code__bar .frame__dot:nth-child(2){ background:#9aa86a; } .code__bar .frame__dot:nth-child(3){ background:#7c9a3e; }
.code__bar span.t { margin-left: 8px; font-size: 12px; color: #8d9874; font-family: var(--mono); }
.code pre { margin: 0; padding: 18px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.72; color: var(--code-txt); overflow-x: auto; }
.code .k { color: var(--code-key); } .code .s { color: var(--code-str); } .code .c { color: var(--code-com); }
.code .f { color: var(--code-fn); } .code .n { color: var(--code-num); }

/* hero stacked art (console behind, code in front) */
.hero__stack { position: relative; }
.hero__stack .code { position: absolute; right: -18px; top: 38px; width: 60%; z-index: 2; }
.hero__stack .frame { width: 78%; }
@media (max-width: 1080px){ .hero__stack .code { position: static; width: 100%; margin-top: 16px; } .hero__stack .frame { width: 100%; } }

/* ---------- Logo wall ---------- */
.logos { text-align: center; }
.logos__label { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; }
.logos__row span { font-family: var(--display); font-weight: 700; font-size: 20px; color: #aab09c; letter-spacing: -.01em; }

/* ---------- Feature tiles ---------- */
.feat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; transition: box-shadow .18s, transform .18s, border-color .18s; }
.fcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line); }
.fcard__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--olive-tint); display: grid; place-items: center; margin-bottom: 16px; }
.fcard__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--olive); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fcard--o .fcard__ico { background: var(--orange-tint); }
.fcard--o .fcard__ico svg { stroke: var(--orange); }
.fcard h4 { font-size: 17.5px; color: var(--forest); margin-bottom: 8px; font-family: var(--sans); font-weight: 700; }
.fcard p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Steps (alternating text + media) ---------- */
.steps { display: grid; gap: 84px; }
.step { display: grid; grid-template-columns: 1fr 1.08fr; gap: 52px; align-items: center; }
.step:nth-child(even) .step__text { order: 2; }
.step__num { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--orange); margin-bottom: 14px; font-weight: 500; }
.step__text h3 { margin-bottom: 14px; }
.step__text p { color: var(--muted); margin-bottom: 18px; }
.step__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.step__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--body); }
.step__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--olive-tint); }
.step__list li::after { content: ""; position: absolute; left: 4px; top: 10px; width: 5px; height: 8px; border-right: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(40deg); }

/* ---------- Value-prop split band ---------- */
.vp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vpcard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: #fff; display: flex; flex-direction: column; }
.vpcard__tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: 18px; }
.vpcard--green .vpcard__tag { background: var(--olive-tint); color: var(--olive); }
.vpcard--orange .vpcard__tag { background: var(--orange-tint); color: var(--orange); }
.vpcard h3 { font-size: 21px; margin-bottom: 12px; }
.vpcard p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.vpcard .textlink { margin-top: auto; }

/* ---------- Node / flow diagram ---------- */
.diagram { background: var(--grid-bg);
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 28px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 28px; }
.diagram__inner { display: grid; grid-template-columns: 0.9fr 1.2fr 1.1fr; gap: 26px; align-items: center; }
.dnode { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--forest); }
.dnode i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.dnode i svg { width: 17px; height: 17px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dnode--app { background: var(--forest); color: #fff; border-color: var(--forest); justify-content: center; padding: 22px 15px; font-size: 15px; }
.dnode--app i { background: rgba(255,255,255,.14); } .dnode--app i svg { stroke: #bcd07f; }
.dnode--engine { background: var(--olive); color: #fff; border-color: var(--olive); justify-content: center; text-align: center; padding: 26px 16px; box-shadow: var(--shadow-md); }
.dnode--engine b { display:block; font-family: var(--display); font-size: 17px; }
.dnode--engine span { font-size: 12px; opacity: .85; font-weight: 500; }
.dcol { display: grid; gap: 11px; }
.dcol .dnode i { background: var(--olive-tint); } .dcol .dnode i svg { stroke: var(--olive); }
.dcol--escrow .dnode i { background: var(--orange-tint); } .dcol--escrow .dnode i svg { stroke: var(--orange); }
.dcol__label { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 2px; }

/* ---------- With / Without toggle ---------- */
.toggle { display: inline-flex; padding: 4px; background: var(--wash-2); border: 1px solid var(--line); border-radius: var(--r-pill); margin-bottom: 30px; }
.toggle button { padding: 9px 20px; border: 0; background: transparent; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; color: var(--muted); transition: .15s; }
.toggle button.is-active { background: var(--olive); color: #fff; box-shadow: var(--shadow); }
.compare { position: relative; }
.compare__pane { display: none; }
.compare__pane.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none; } }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: #fff; }
.ccard__h { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--forest); font-size: 15.5px; margin-bottom: 9px; }
.ccard__h .mk { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 14px; font-weight: 800; flex: none; }
.ccard p { font-size: 14px; color: var(--muted); }
.ccard--bad .ccard__h .mk { background: var(--risk-bg); color: var(--risk); }
.ccard--good .ccard__h .mk { background: var(--ok-bg); color: var(--ok); }

/* ---------- Donut data-viz cards ---------- */
.charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chart { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow); }
.chart h4 { font-size: 14px; font-family: var(--sans); font-weight: 700; color: var(--forest); margin-bottom: 16px; }
.donut { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; position: relative; }
.donut::after { content: ""; position: absolute; width: 78px; height: 78px; border-radius: 50%; background: #fff; }
.donut b { position: relative; z-index: 1; font-family: var(--display); font-size: 22px; color: var(--forest); }
.legend { display: grid; gap: 7px; }
.legend div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; color: var(--forest); font-weight: 700; }

/* ---------- Metric strip ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric { text-align: center; padding: 8px; }
.metric b { display: block; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--forest); line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.metric b.o { color: var(--orange); }
.metric span { font-size: 14px; color: var(--muted); }

/* ---------- Banner ---------- */
.banner { background: var(--wash); padding-block: 84px; }
.banner .wrap { text-align: center; }
.banner h2 { max-width: 880px; margin: 0 auto 22px; }

/* ---------- Dark feature band ---------- */
.dark { background: var(--forest); color: #e8eddf; }
.dark .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.dark .eyebrow { color: #bcd07f; }
.dark h2 { color: #fff; margin-bottom: 16px; }
.dark p { color: #c4cdb4; margin-bottom: 24px; }
.frame--dark { background: var(--code-pan); border-color: #33401f; }
.frame--dark .frame__bar { background: #1b2014; border-color: #33401f; }
.frame--dark .frame__title { color: #8d9874; }
.frame--dark .stat { background: #1b2014; border-color: #33401f; }
.frame--dark .stat b { color: #fff; }
.frame--dark .stat span { color: #9aa581; }
.frame--dark .pipe__row { background: #1b2014; border-color: #33401f; color: #d8e0cb; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: #fff; display: flex; flex-direction: column; }
.tcard.feature { grid-row: span 2; background: var(--wash); border-color: transparent; }
.tcard__stars { color: var(--orange); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.tcard p { color: var(--forest); font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.tcard.feature p { font-size: 18px; }
.tcard__by { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.tcard__av { width: 38px; height: 38px; border-radius: 50%; background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.tcard__by b { display: block; font-size: 14px; color: var(--forest); }
.tcard__by span { font-size: 12.5px; color: var(--muted); }

/* ---------- Use-case tiles ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ucard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: #fff; }
.ucard__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--olive-tint); display: grid; place-items: center; margin-bottom: 14px; }
.ucard__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--olive); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ucard h4 { font-size: 15.5px; font-family: var(--sans); font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.ucard p { font-size: 13.5px; color: var(--muted); }

/* ---------- Closing CTA ---------- */
.endcta { background: var(--forest); color: #fff; padding-block: 100px; text-align: center; position: relative; overflow: hidden; }
.endcta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 120%, rgba(95,115,39,.55), transparent 45%), radial-gradient(circle at 85% -10%, rgba(203,106,44,.30), transparent 40%); }
.endcta .wrap { position: relative; }
.endcta h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 16px; }
.endcta p { color: #c8d1b9; max-width: 540px; margin: 0 auto 30px; }
.endcta__cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding-block: 64px 34px; }
.foot__top { display: grid; grid-template-columns: 1.5fr 2.5fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.foot__brand p { color: var(--muted); font-size: 14.5px; margin: 14px 0 20px; max-width: 34ch; }
.news { display: flex; gap: 8px; max-width: 360px; }
.news input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-input); font: inherit; font-size: 14px; background: #fff; color: var(--forest); }
.news input:focus { outline: 2px solid var(--olive); outline-offset: 1px; border-color: transparent; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footcol h5 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; font-weight: 700; }
.footcol a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; }
.footcol a:hover { color: var(--olive); }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.foot__base span { font-size: 13px; color: var(--faint); }
.foot__base a { color: var(--faint); margin-left: 18px; }
.foot__base a:hover { color: var(--olive); }

/* ---------- Page hero (interior) ---------- */
.phero { padding-block: 80px 56px; }
.phero .lede { margin-top: 18px; }
.phero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px){
  .hero__grid, .step, .dark .wrap, .foot__top { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__text { order: 0; }
  .hero__art, .dark .step__media { order: -1; }
  .feat3, .charts, .cgrid, .tgrid { grid-template-columns: repeat(2, 1fr); }
  .uses, .metrics { grid-template-columns: repeat(2, 1fr); }
  .diagram__inner { grid-template-columns: 1fr; }
  .tcard.feature { grid-row: auto; }
  .vp { grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  body { font-size: 16px; }
  .nav__links, .nav__right .plain { display: none; }
  .nav__burger { display: block; }
  .feat3, .charts, .cgrid, .tgrid, .uses, .metrics, .foot__cols, .frame__row { grid-template-columns: 1fr 1fr; }
  .frame__body { grid-template-columns: 1fr; }
  .frame__side { flex-direction: row; flex-wrap: wrap; }
  .section { padding-block: 72px; }
  .foot__cols { gap: 18px 24px; }
}
@media (max-width: 460px){
  .feat3, .tgrid, .uses, .cgrid, .charts { grid-template-columns: 1fr; }
}
