:root {
  color-scheme: light;
  --ink: #10120f;
  --ink-2: #1b201b;
  --paper: #f7f2e8;
  --paper-2: #eee6d8;
  --sage: #dfe9df;
  --green: #1f6d4a;
  --green-bright: #78d7a5;
  --signal-blue: #174fff;
  --signal-cyan: #00a99d;
  --amber: #c7832f;
  --blue: #476f8b;
  --rust: #9e513b;
  --muted: #626b60;
  --line: rgba(16, 18, 15, .14);
  --line-dark: rgba(247, 242, 232, .16);
  --white: #fffaf1;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(18, 20, 16, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(16, 18, 15, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 15, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
p, h1, h2, h3, h4 { margin: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 242, 232, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  text-transform: uppercase;
}
.brand img { width: 138px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hero-copy .nav-actions { flex-wrap: wrap; }
.client-login { color: var(--muted); font-size: 14px; font-weight: 750; }

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}
.btn.primary { background: var(--signal-blue); border-color: var(--signal-blue); color: var(--white); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn:hover { transform: translateY(-1px); transition: transform .16s ease, background .16s ease; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0%;
  height: 3px;
  background: var(--green-bright);
}

.section {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.inner { width: min(1180px, 100%); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  gap: clamp(24px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 62px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--signal-blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow::before { width: 32px; height: 2px; background: currentColor; content: ""; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
}
h1 { max-width: 860px; font-size: clamp(50px, 8vw, 112px); }
h2 { max-width: 780px; font-size: clamp(38px, 5.4vw, 76px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.08; letter-spacing: 0; }
.lead { max-width: 680px; color: #4f574e; font-size: clamp(18px, 1.6vw, 22px); }
.small { color: var(--muted); font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  min-height: calc(100vh - 73px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 242, 232, .98) 0%, rgba(247, 242, 232, .9) 48%, rgba(247, 242, 232, .2) 100%),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1800&q=78") center / cover;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(54px, 7vw, 98px) clamp(18px, 4vw, 64px);
}
.hero-copy .lead { font-size: clamp(18px, 1.75vw, 24px); }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.proof-strip div { padding: 15px; background: rgba(255, 250, 241, .55); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { display: block; font-size: clamp(22px, 3vw, 36px); line-height: 1; }
.proof-strip span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.hero-visual {
  position: relative;
  min-height: 620px;
  padding: clamp(22px, 4vw, 54px);
  background: linear-gradient(135deg, rgba(8, 9, 12, .86), rgba(16, 26, 42, .78));
  color: var(--ink);
  overflow: hidden;
}
.hero-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
}
.dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  border: 1px solid rgba(8, 9, 12, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 30px 90px rgba(12, 22, 44, .24);
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid rgba(8, 9, 12, .1);
  background: rgba(255, 255, 255, .72);
}
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--signal-blue); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.status::before { width: 9px; height: 9px; border-radius: 50%; background: currentColor; content: ""; box-shadow: 0 0 0 8px rgba(120, 215, 165, .12); }
.dash-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; padding: 22px; }
.metric-panel, .signal-panel {
  border: 1px solid rgba(8, 9, 12, .09);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}
.metric-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}
.metric-panel strong { display: block; font-size: clamp(44px, 7vw, 82px); line-height: .9; color: var(--signal-blue); }
.bars { display: grid; gap: 12px; margin-top: 22px; }
.bar { height: 12px; border-radius: 99px; background: rgba(8, 9, 12, .09); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); background: var(--c); border-radius: inherit; animation: loadbar 1.4s ease both; }
@keyframes loadbar { from { width: 0; } }
.mini-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.mini-feed div {
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(8, 9, 12, .1);
  border-radius: 8px;
  background: #f7f8f5;
}
.mini-feed b { display: block; color: var(--ink); font-size: 20px; }
.mini-feed span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.signals { display: grid; gap: 13px; }
.signal { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(8, 9, 12, .1); color: #4f574e; font-size: 14px; }
.signal:last-child { border-bottom: 0; }
.signal b { color: var(--ink); }
.call-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #10120f;
  color: var(--white);
}
.call-card .small { color: rgba(255, 250, 241, .65); }
.call-card strong { display: block; margin-top: 10px; font-size: 20px; line-height: 1.1; }
.pipeline {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.pipeline span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 250, 241, .82);
  font-size: 13px;
}
.pipeline span::after {
  flex: 1;
  height: 6px;
  max-width: var(--w);
  border-radius: 999px;
  background: var(--signal-blue);
  content: "";
}
.dash-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(8, 9, 12, .1);
}
.dash-bottom div { padding: 18px; border-right: 1px solid rgba(8, 9, 12, .1); background: rgba(255,255,255,.62); }
.dash-bottom div:last-child { border-right: 0; }
.dash-bottom strong { display: block; color: var(--ink); font-size: 24px; }

.ticker {
  display: flex;
  overflow: hidden;
  background: var(--signal-blue);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  min-width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker span { padding: 14px 28px; border-right: 1px solid rgba(255,255,255,.22); }
@keyframes ticker { to { transform: translateX(-50%); } }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.problem-card {
  display: grid;
  gap: 28px;
  min-height: 260px;
  padding: 26px;
  background: var(--paper);
}
.problem-card span { color: var(--signal-blue); font-size: 13px; font-weight: 950; }
.problem-card p { color: var(--muted); }

.dark-section {
  background: var(--ink);
  color: var(--white);
}
.dark-section .lead, .dark-section .small { color: rgba(255, 250, 241, .68); }
.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}
.image-frame {
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.signal-list { display: grid; gap: 14px; }
.signal-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}
.signal-list ul, .signal-list { padding: 0; margin: 0; }
.signal-list i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(120, 215, 165, .14);
  color: var(--green-bright);
  font-style: normal;
  font-weight: 950;
}
.signal-list p { color: rgba(255, 250, 241, .68); margin-top: 4px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .54);
}
.service-card p { color: var(--muted); margin-top: 14px; }
.service-card .tag { width: fit-content; margin-top: 30px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--green); font-size: 12px; font-weight: 950; text-transform: uppercase; }

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.method-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(247, 242, 232, .07);
}
.method-card .label { color: var(--green-bright); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.method-card p { margin-top: 18px; color: rgba(255, 250, 241, .68); }

.proof-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}
.quote {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(18, 20, 16, .1);
}
.quote p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 42px); line-height: 1.15; }
.quote footer { margin-top: 22px; color: var(--muted); font-weight: 800; }
.case-grid { display: grid; gap: 12px; }
.case-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.case-row b { color: var(--green); }
.case-row p { color: var(--muted); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.article-card time { color: var(--green); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.article-card h3 { margin-top: 24px; }
.article-card p { margin-top: 14px; color: var(--muted); }
.article-card a { margin-top: auto; color: var(--green); font-weight: 900; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.faq-item p { margin-top: 12px; color: var(--muted); }

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}
.diagnosis-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.field { display: grid; gap: 7px; }
.field label { color: var(--muted); font-size: 13px; font-weight: 850; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf7;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
.field textarea { min-height: 118px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }

.footer {
  padding: 44px clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: var(--white);
}
.footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}
.footer p { color: rgba(255, 250, 241, .58); font-size: 13px; }

.page-hero {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 1000px; }
.content-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 90px) 0;
}
.content-page h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 56px; }
.content-page h2:first-child { margin-top: 0; }
.content-page p, .content-page li { color: #4f574e; font-size: 18px; }
.content-page p { margin-top: 16px; }
.content-page ul { display: grid; gap: 12px; margin-top: 18px; }

@media (max-width: 980px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero, .section-head, .intelligence-grid, .proof-layout, .form-wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .problem-grid, .services-grid, .articles-grid, .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .topbar { padding: 12px 16px; }
  .brand img { width: 116px; }
  .nav-actions { width: 100%; justify-content: space-between; }
  .hero-copy .nav-actions { justify-content: flex-start; }
  .hero-copy .btn { white-space: normal; text-align: center; }
  .client-login { display: none; }
  .hero-copy { padding: 46px 18px; }
  .proof-strip, .dash-grid, .dash-bottom, .problem-grid, .services-grid, .method, .articles-grid, .faq-grid, .mini-feed { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; padding: 18px; }
  .dash-top, .dash-grid { padding: 16px; }
  .metric-panel strong { font-size: 52px; }
  .section { padding: 62px 18px; }
  .case-row { grid-template-columns: 1fr; }
  .footer .inner { align-items: flex-start; flex-direction: column; }
}
