:root { --site-accent: #0f766e; --site-accent-2: #2563eb; }
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #d8dee8;
  --accent: var(--site-accent);
  --accent-2: var(--site-accent-2);
  --soft: color-mix(in srgb, var(--accent) 9%, white);
  --soft-2: color-mix(in srgb, var(--accent-2) 10%, white);
  --shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 252, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 222, 232, .7);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
}
.nav { display: flex; gap: 22px; color: #334155; font-size: 14px; font-weight: 650; }
.nav a:hover { color: var(--accent); }
.header-action, .primary, .secondary {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 750;
}
.header-action, .primary { background: var(--accent); color: white; box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 24%, transparent); }
.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(54px, 7vw, 100px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%),
    linear-gradient(165deg, transparent 0 58%, color-mix(in srgb, var(--accent-2) 11%, white));
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(46px, 7vw, 94px);
  line-height: .94;
  letter-spacing: 0;
}
.hero p { max-width: 710px; margin: 26px 0 0; font-size: clamp(18px, 2.3vw, 24px); line-height: 1.45; color: #334155; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-console {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(216,222,232,.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.console-toolbar {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.console-toolbar span { width: 10px; height: 10px; border-radius: 99px; background: #cbd5e1; }
.console-toolbar strong { margin-left: auto; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.metric {
  background: white;
  padding: 22px;
  min-height: 112px;
}
.metric strong { display: block; font-size: 31px; letter-spacing: 0; }
.metric span { color: var(--muted); font-size: 13px; font-weight: 700; }
.source-pulse { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-size: 14px; color: #334155; }
.pulse-dot { width: 10px; height: 10px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 7px rgba(34,197,94,.13); }
.workflow-band, .app-shell, .split-section, .report-section, .pricing-section, .lead-section {
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 72px);
}
.workflow-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: white;
}
.workflow-band article, .report-grid article, .pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}
.workflow-band span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  background: var(--soft);
  color: var(--accent);
  border-radius: 8px;
  font-weight: 850;
}
.workflow-band strong, .report-grid strong { display: block; font-size: 19px; margin-bottom: 8px; }
.workflow-band p, .report-grid span, .section-heading p, .lead-section p { color: var(--muted); line-height: 1.55; }
.section-heading { max-width: 840px; margin-bottom: 24px; }
.section-heading h2, .lead-section h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: 0; }
.tool-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 190px 170px auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
label span { display: block; margin-bottom: 7px; color: #475569; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; align-items: start; }
.record-list { display: grid; gap: 12px; }
.record-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.record-card:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(15,23,42,.09); border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); }
.record-card h3 { margin: 0 0 8px; font-size: 21px; }
.record-card p { margin: 0 0 12px; color: #475569; line-height: 1.5; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 800; }
.score-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--score) * 1%), #e2e8f0 0);
  color: var(--ink);
  font-weight: 900;
}
.score-ring span { display: grid; place-items: center; width: 58px; height: 58px; background: white; border-radius: 50%; }
.profile-panel {
  position: sticky;
  top: 84px;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 36px rgba(15,23,42,.08);
  padding: 22px;
}
.profile-panel h3 { margin: 0 0 8px; font-size: 25px; }
.empty-state { color: var(--muted); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.fact { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; }
.fact b { display: block; margin-bottom: 5px; font-size: 12px; color: #475569; text-transform: uppercase; letter-spacing: .06em; }
.panel-actions { display: grid; gap: 9px; margin-top: 16px; }
.report-output { margin-top: 14px; padding: 14px; border-radius: 8px; background: var(--soft-2); border: 1px solid color-mix(in srgb, var(--accent-2) 24%, white); color: #334155; line-height: 1.5; }
.source-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
.source-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.source-table th, .source-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.source-table th { background: #f8fafc; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #475569; }
.report-section { background: #0f172a; color: white; }
.report-section .section-heading p { color: #cbd5e1; }
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.report-grid article { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.report-grid span { color: #cbd5e1; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pricing-card strong { display: block; margin-bottom: 10px; font-size: 18px; }
.pricing-card p { color: var(--muted); line-height: 1.5; }
.lead-section {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 34px;
  background: linear-gradient(135deg, var(--soft), white);
}
.lead-form { display: grid; gap: 13px; }
.form-status { min-height: 24px; font-weight: 750; color: var(--accent); }
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: #475569;
  background: white;
}
code { background: rgba(15,23,42,.07); padding: 2px 5px; border-radius: 5px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero, .results-layout, .lead-section { grid-template-columns: 1fr; }
  .tool-row { grid-template-columns: 1fr 1fr; }
  .workflow-band, .report-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .profile-panel { position: static; }
}
@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  .header-action { display: none; }
  .hero { min-height: auto; }
  .tool-row, .workflow-band, .report-grid, .pricing-grid, .metric-grid, .fact-grid { grid-template-columns: 1fr; }
  .record-card { grid-template-columns: 1fr; }
  .score-ring { width: 66px; height: 66px; }
  .score-ring span { width: 50px; height: 50px; }
}
