/* ============================================================
   Lanice AI — editorial "wind tunnel lab" design system
   Paper + ink + Lanice orange. No gradients-on-dark, no glass.
   ============================================================ */

:root {
  --paper: #faf6ef;
  --paper-2: #f2ecdf;
  --card: #fffdf8;
  --ink: #10202e;
  --ink-soft: #3d4c5c;
  --ink-faint: #7b8794;
  --orange: #f26b1d;
  --orange-deep: #d9530a;
  --orange-soft: #fbe3d2;
  --line: rgba(16, 32, 46, 0.16);
  --line-strong: rgba(16, 32, 46, 0.4);
  --radius: 6px;
  --maxw: 1180px;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --hard-shadow: 5px 5px 0 rgba(16, 32, 46, 0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }

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

a { color: var(--orange-deep); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 100;
}

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

/* ---------- utility ---------- */

/* headline accent — italic serif in brand orange (was gradient text) */
.grad-text {
  color: var(--orange);
  font-style: italic;
  font-weight: 500;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section { padding: 100px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { flex: 0 0 34px; background: var(--orange); height: 1.5px; }

/* ---------- buttons — hard-edged, offset shadow ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid var(--ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, color 0.14s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  color: #fff;
  background: var(--orange-deep);
}
.btn-primary:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 0 rgba(16, 32, 46, 0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-word b { color: var(--orange); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--orange); }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 20px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--ink); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { position: relative; padding: 180px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute;
  top: 40px; right: -220px;
  width: 780px; height: 780px;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23f26b1d' stroke-width='0.45' opacity='0.55'%3E%3Cellipse cx='50' cy='50' rx='46' ry='27'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(22.5 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(45 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(67.5 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(90 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(112.5 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(135 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(157.5 50 50)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: spiro-drift 60s linear infinite;
}
@keyframes spiro-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-grid { display: none; }
.hero-inner { position: relative; max-width: 900px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(42px, 6.4vw, 74px);
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.hero .lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 72px; }

/* stats — ledger row with rules */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  max-width: 980px;
}
.hero-stat {
  padding: 22px 22px 6px 0;
  border-right: 1px solid var(--line);
  padding-left: 22px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 560;
  color: var(--ink);
  margin-bottom: 6px;
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-faint);
  display: block;
}

/* ---------- ticker (synthetic feed marquee) ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.ticker-item::after { content: "✳"; color: var(--orange); font-size: 11px; }
.ticker-item b { color: var(--ink); font-weight: 600; }
.ticker-item .pos { color: #1a7f4e; }
.ticker-item .neg { color: var(--orange-deep); }

/* ---------- cards & grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-shadow); }
.card h3 { font-size: 21px; margin: 18px 0 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .icon {
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
}
.card .icon svg { width: 23px; height: 23px; stroke: var(--ink); }
/* variant classes kept for markup compat — all resolve to the same brand look */
.card.teal .icon, .card.pink .icon { background: var(--orange-soft); }
.card.teal .icon svg, .card.pink .icon svg { stroke: var(--ink); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 2px;
}
.card-link::after { content: "→"; transition: transform 0.15s ease; }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding: 22px 4px 0 0;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 62px 0;
}
.feature-row + .feature-row { border-top: 1px dashed var(--line-strong); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(25px, 3.2vw, 34px); margin-bottom: 16px; }
.feature-copy > p { color: var(--ink-soft); margin-bottom: 22px; }
.feature-copy ul { list-style: none; display: grid; gap: 12px; }
.feature-copy li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.feature-copy li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-weight: 700;
}
.feature-copy li b { color: var(--ink); font-weight: 600; }

.feature-visual { position: relative; }

/* mock UI — lab report cards */
.mock-window {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 7px 7px 0 rgba(16, 32, 46, 0.1);
  overflow: hidden;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-2);
}
.mock-titlebar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; }
.mock-titlebar i:nth-child(1) { background: var(--orange); }
.mock-titlebar span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body { padding: 20px 18px; display: grid; gap: 13px; }

.score-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.score-row .lbl {
  width: 44%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.score-row .bar { flex: 1; height: 12px; border: 1px solid var(--line-strong); background: var(--paper); overflow: hidden; }
.score-row .bar i { display: block; height: 100%; background: var(--orange); width: var(--w, 60%); }
.score-row .val {
  width: 40px;
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink-soft);
  background: var(--paper);
}
.chip.on { border-color: var(--ink); color: var(--ink); background: #e8f2e6; }
.chip.warn { border-color: var(--orange-deep); color: var(--orange-deep); background: var(--orange-soft); }

.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}
.msg .avatar.b { background: var(--ink); }
.msg .avatar.c { background: #fff; color: var(--ink); }
.msg .bubble {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 3px 10px 10px 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.msg .bubble b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.msg .bubble em { color: var(--orange-deep); font-style: normal; font-family: var(--font-mono); font-size: 11px; }
.msg .bubble u { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* ---------- ICP cards ---------- */

.icp-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.icp-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 rgba(16, 32, 46, 0.16); }
.icp-card .tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  margin-bottom: 22px;
  background: var(--orange-soft);
  color: var(--ink);
}
.icp-card h3 { font-size: 23px; margin-bottom: 12px; }
.icp-card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; flex: 1; }
.icp-card ul { list-style: none; display: grid; gap: 9px; margin-bottom: 26px; }
.icp-card li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.icp-card li::before { content: "▸"; position: absolute; left: 0; color: var(--orange); }
.icp-card .btn { align-self: flex-start; }

/* ---------- quote band — dark ink interlude ---------- */

.quote-band {
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.quote-band::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23f26b1d' stroke-width='0.35' opacity='0.4'%3E%3Cellipse cx='50' cy='50' rx='46' ry='27'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(30 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(60 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(90 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(120 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(150 50 50)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
}
.quote-band blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 50px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.22;
  max-width: 900px;
  margin: 0 auto 20px;
}
.quote-band cite {
  position: relative;
  font-style: normal;
  font-family: var(--font-mono);
  color: rgba(250, 246, 239, 0.55);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- capability list ---------- */

.cap-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.cap-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 26px 4px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.cap-item h4 { font-size: 19px; }
.cap-item p { color: var(--ink-soft); font-size: 15px; }

/* ---------- pills ---------- */

.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-cloud .chip { font-size: 12.5px; padding: 8px 15px; background: var(--card); }

/* ---------- detail page hero ---------- */

.page-hero { padding: 168px 0 66px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-bg { top: -80px; right: -260px; width: 640px; height: 640px; opacity: 0.4; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin-bottom: 20px; max-width: 20ch; letter-spacing: -0.015em; position: relative; }
.page-hero .lede { font-size: 18.5px; color: var(--ink-soft); max-width: 720px; position: relative; }

/* ---------- solution blocks ---------- */

.solution-block { padding: 88px 0; }
.solution-block + .solution-block { border-top: 1px solid var(--line); }
.solution-block:nth-child(even) { background: var(--paper-2); }
.solution-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; margin-bottom: 46px; align-items: start; }
.solution-head h2 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 14px; }
.solution-head .pain {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 26px;
  background: var(--card);
}
.solution-head .pain h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.solution-head .pain ul { list-style: none; display: grid; gap: 10px; }
.solution-head .pain li { font-size: 14.5px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.solution-head .pain li::before { content: "✕"; position: absolute; left: 0; font-size: 11px; color: var(--orange-deep); top: 4px; }

.solution-slogan {
  margin-top: 44px;
  padding: 24px 30px;
  border-left: 4px solid var(--orange);
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  font-weight: 500;
}

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.mini-card:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgba(16, 32, 46, 0.1); }
.mini-card h4 { font-size: 18px; margin-bottom: 8px; }
.mini-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- trust page ---------- */

.trust-item { display: flex; gap: 22px; padding: 30px 0; align-items: flex-start; }
.trust-item + .trust-item { border-top: 1px solid var(--line); }
.trust-item .icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
}
.trust-item .icon svg { width: 22px; height: 22px; stroke: var(--ink); }
.trust-item h3 { font-size: 20px; margin-bottom: 6px; }
.trust-item p { color: var(--ink-soft); font-size: 15px; }

.not-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.not-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--orange);
}
.not-card h4 { font-size: 17px; margin-bottom: 8px; }
.not-card h4::before { content: "✕ "; color: var(--orange-deep); font-family: var(--font-mono); }
.not-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: 10px;
  padding: 80px 44px;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 520px; height: 520px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23f26b1d' stroke-width='0.4' opacity='0.5'%3E%3Cellipse cx='50' cy='50' rx='46' ry='27'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(36 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(72 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(108 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='46' ry='27' transform='rotate(144 50 50)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 16px; }
.cta-band p { color: rgba(250, 246, 239, 0.75); font-size: 18px; max-width: 620px; margin: 0 auto 36px; }
.cta-band .btn-primary { border-color: var(--paper); box-shadow: 4px 4px 0 rgba(250, 246, 239, 0.9); }
.cta-band .btn-primary:hover { box-shadow: 6px 6px 0 rgba(250, 246, 239, 0.9); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.contact-aside h1, .contact-aside h2 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 18px; }
.contact-aside > p { color: var(--ink-soft); margin-bottom: 32px; }
.contact-points { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.contact-point { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-point .icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
}
.contact-point .icon svg { width: 19px; height: 19px; stroke: var(--ink); }
.contact-point b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.contact-point span { font-size: 14px; color: var(--ink-soft); }

.contact-form {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: 8px 8px 0 rgba(16, 32, 46, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.form-group label .req { color: var(--orange-deep); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 3px 3px 0 var(--orange-soft);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  appearance: none;
  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' fill='none' stroke='%233d4c5c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 16px; }

.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 4px; font-size: 14.5px; font-weight: 500; }
.form-status.ok { display: block; background: #e8f2e6; border: 1.5px solid #1a7f4e; color: #14603b; }
.form-status.err { display: block; background: var(--orange-soft); border: 1.5px solid var(--orange-deep); color: var(--orange-deep); }

.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* ---------- thanks page ---------- */

.thanks-wrap { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 180px 24px 100px; }
.thanks-wrap .check {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  border: 2px solid var(--ink);
}
.thanks-wrap .check svg { width: 36px; height: 36px; stroke: var(--ink); }
.thanks-wrap h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.thanks-wrap p { color: var(--ink-soft); font-size: 17px; max-width: 520px; margin: 0 auto 34px; }

/* ---------- footer — dark ink, white wordmark ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 68px 0 36px;
  border-top: 4px solid var(--orange);
}
.site-footer .logo { color: var(--paper); }
.site-footer .logo-word { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-brand p { color: rgba(250, 246, 239, 0.55); font-size: 14px; margin-top: 18px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(250, 246, 239, 0.75); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 239, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(250, 246, 239, 0.5);
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding-left: 0; padding-right: 22px; border-right: none; border-bottom: 1px solid var(--line); }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .feature-copy { order: 0; }
  .solution-head { grid-template-columns: 1fr; gap: 28px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cap-item { grid-template-columns: 1fr; gap: 8px; }
  .hero-bg { opacity: 0.25; }
}

@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .not-list { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 70px; }
  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 12px 28px 20px;
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 16px; border-bottom: none; }
  .nav-cta { display: none; }
}

@media (max-width: 500px) {
  .hero-stats, .steps { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .cta-band { padding: 56px 24px; }
}

/* ---------- blog / insights ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.post-card:hover { transform: translate(-3px, -3px); box-shadow: var(--hard-shadow); }
.post-card .post-meta { margin-bottom: 14px; }
.post-card h2 { font-size: 24px; margin-bottom: 12px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--orange-deep); }
.post-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.post-card .card-link { margin-top: 20px; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.post-meta .cat { color: var(--orange-deep); }

.post-hero { padding: 168px 0 48px; border-bottom: 1px solid var(--line); }
.post-hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 22ch; margin: 18px 0 20px; letter-spacing: -0.015em; }
.post-hero .standfirst { font-size: 19px; color: var(--ink-soft); max-width: 700px; }

.post-body { max-width: 760px; padding: 64px 0 40px; }
.post-body > * + * { margin-top: 22px; }
.post-body h2 { font-size: 29px; margin-top: 48px; }
.post-body h3 { font-size: 22px; margin-top: 36px; }
.post-body p, .post-body li { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.post-body strong { color: var(--ink); }
.post-body a { border-bottom: 1.5px solid var(--orange); padding-bottom: 1px; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li + li { margin-top: 10px; }
.post-body blockquote {
  border-left: 4px solid var(--orange);
  background: var(--card);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 26px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}
.post-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
}
.post-stat b {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--orange-deep);
  white-space: nowrap;
}
.post-stat span { font-size: 15px; color: var(--ink-soft); }

.post-cta {
  margin: 56px 0 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 6px 6px 0 rgba(16, 32, 46, 0.1);
  padding: 34px 32px;
}
.post-cta h3 { font-size: 23px; margin-bottom: 10px; }
.post-cta p { color: var(--ink-soft); margin-bottom: 22px; font-size: 15.5px; }

.post-sources { border-top: 1px dashed var(--line-strong); margin-top: 56px; padding-top: 24px; }
.post-sources h3 { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.post-sources ol { padding-left: 20px; }
.post-sources li { font-size: 13.5px; color: var(--ink-faint); }
.post-sources li + li { margin-top: 6px; }

@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
}
