:root {
  --ink: #142d34;
  --muted: #617278;
  --paper: #f6f8f5;
  --card: #fff;
  --line: #dce5e0;
  --green: #147d66;
  --tint: #e7f3ed;
  --amber: #906119;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
header {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
}
.brand {
  font-size: 28px;
  letter-spacing: -1.6px;
  font-weight: 750;
  color: var(--ink);
  text-decoration: none;
}
.brand span {
  font-size: 12px;
  letter-spacing: 1.8px;
  margin-left: 12px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.local-dot {
  font-size: 12px;
  color: var(--muted);
}
.local-dot:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #6da986;
  border-radius: 50%;
  margin-right: 8px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 8px 0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.text-button span {
  margin-left: 12px;
}
main {
  max-width: 1140px;
  margin: auto;
  padding: 56px 34px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}
.line {
  width: 30px;
  height: 1px;
  background: var(--green);
}
h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -2.6px;
  margin: 19px 0 20px;
  font-weight: 600;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  color: var(--green);
}
.lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
}
.search-card {
  padding: 25px 28px 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px #143d3010;
  border-radius: 12px;
}
form > label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
}
.search-row {
  display: flex;
  gap: 16px;
  margin: 9px 0 14px;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #ccd9d2;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #79b5a1;
  outline-offset: 2px;
}
.search-row input {
  font-size: 17px;
  flex: 1;
  min-width: 0;
  border: 0;
  background: #f5f8f6;
  padding: 16px;
}
.search-row button {
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font: inherit;
  padding: 14px 23px;
  cursor: pointer;
  white-space: nowrap;
}
.search-row button span {
  margin-left: 22px;
}
.search-row button:hover {
  background: #1b554b;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.search-note {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
#deadline-label {
  color: var(--green);
  font-weight: 650;
}
#settings {
  margin: 24px 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.config-grid label,
.offering-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.config-grid input,
.config-grid select {
  display: block;
  margin-top: 6px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.checks input {
  width: auto;
  accent-color: var(--green);
}
textarea {
  display: block;
  margin-top: 6px;
  resize: vertical;
}
.fine-print {
  font-size: 11px;
  color: var(--muted);
}
#error {
  color: #923731;
  font-size: 13px;
  margin-bottom: 0;
}
.progress {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 25px 4px;
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}
.progress p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.pulse {
  width: 12px;
  height: 12px;
  border: 3px solid #a3cabb;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.clock {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 64px;
}
.clock strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.clock span {
  font-size: 11px;
  color: var(--muted);
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px #147d6612;
  }
}
[hidden] {
  display: none !important;
}
.expectations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
}
.expectations .number {
  font-size: 11px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.expectations h3 {
  font-size: 17px;
  font-weight: 550;
  margin: 9px 0;
}
.expectations p {
  font-size: 13px;
  color: var(--muted);
  max-width: 260px;
  margin: 0;
}
.history {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  margin-top: 15px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-top h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.history-item span:last-child {
  font-size: 12px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 24px;
}
#result {
  margin-top: 38px;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.result-heading h2 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 9px 0 14px;
}
.badge {
  display: inline-flex;
  border: 1px solid #c9e1d4;
  border-radius: 30px;
  padding: 4px 12px;
  background: var(--tint);
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
}
.badge.partial {
  background: #faf3e5;
  border-color: #e5d4b1;
  color: var(--amber);
}
.company-description {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.8;
  color: #40595c;
  margin: 0 0 17px;
}
.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}
.company-meta span,
.company-meta a {
  padding: 4px 10px;
  background: #edf1ed;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px;
}
.metric-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
}
.metric-value {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.8px;
  font-weight: 550;
  margin: 9px 0;
}
.metric-details {
  font-size: 11px;
  color: var(--muted);
}
.metric-empty {
  font-size: 19px;
  color: #899691;
  font-weight: 400;
  letter-spacing: 0;
}
body.has-result main {
  max-width: 1280px;
  padding-top: 24px;
}
body.has-result .intro {
  display: none;
}
body.has-result .search-card {
  padding: 16px 22px 12px;
}
body.has-result .search-row {
  margin: 5px 0 8px;
}
body.has-result .search-row input {
  padding: 11px;
}
.coverage-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--tint);
  border-radius: 9px;
}
.copy-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
  gap: 16px;
}
.customer-copy .coverage-strip,
.customer-copy .local-dot,
.customer-copy #settings-toggle,
.customer-copy #settings,
.customer-copy .search-note {
  display: none;
}
.customer-copy .profile-panel {
  padding: 22px 24px;
}
.customer-copy .profile-fact p {
  font-size: 14px;
  line-height: 1.7;
}
.customer-copy .sources {
  margin-top: 30px;
}
.customer-copy summary {
  cursor: pointer;
}
.run-details {
  margin-top: 24px;
}
.customer-copy .run-details > summary {
  color: var(--muted);
  font-size: 12px;
}
.coverage-strip > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.coverage-strip strong {
  font-size: 25px;
  font-weight: 600;
}
.coverage-strip span {
  color: var(--muted);
  font-size: 12px;
}
.business-model {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.business-model h3 {
  margin: 0 0 5px;
  font-size: 15px;
}
.business-model p {
  margin: 0;
  font-size: 14px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
  align-items: start;
}
.profile-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}
.profile-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.profile-heading h3 {
  margin: 0;
  font-size: 17px;
}
.fact-count {
  font-size: 11px;
  background: var(--tint);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--green);
}
.profile-fact {
  padding: 13px 0;
  border-bottom: 1px solid #edf1ed;
}
.profile-fact:last-child {
  border: 0;
  padding-bottom: 0;
}
.profile-fact h4 {
  font-size: 13px;
  margin: 0 0 4px;
}
.profile-fact p {
  font-size: 13px;
  margin: 0;
  color: #44575c;
}
@media (max-width: 720px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .coverage-strip {
    grid-template-columns: 1fr 1fr;
  }
}
.metric-caveat,
.metric-evidence {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.metric-evidence {
  margin-top: 10px;
}
.metric-evidence summary {
  cursor: pointer;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin: 33px 0;
}
.panel-title {
  font-size: 18px;
  font-weight: 550;
  margin: 0 0 16px;
}
.panel-note {
  font-size: 12px;
  color: var(--muted);
  margin: -10px 0 18px;
}
.signal,
.opportunity {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.signal h4,
.opportunity h4 {
  font-size: 15px;
  margin: 4px 0 8px;
  font-weight: 600;
}
.signal p,
.opportunity p {
  font-size: 13px;
  line-height: 1.75;
  color: #506469;
  margin: 0 0 10px;
}
.signal time {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.5px;
}
.opportunity {
  padding: 19px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
}
.question {
  border-left: 2px solid #93bfad;
  padding-left: 12px;
  font-size: 12px;
  color: var(--ink);
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 10px;
}
.source-links a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid #acd1bf;
}
.sources {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.sources h3 {
  font-size: 15px;
}
.source-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 10px 0;
  font-size: 12px;
}
.source-item a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.source-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.source-index {
  color: var(--green);
  font-size: 10px;
}
.measurement {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0 12px;
}
.measurement span {
  display: block;
  font-size: 10px;
  opacity: 0.6;
}
.measurement strong {
  font-size: 18px;
  font-weight: 500;
}
.limitations {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding: 12px 0;
}
.unresolved {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.unresolved h2 {
  margin-top: 0;
}
.unresolved p {
  color: var(--muted);
}
@media (max-width: 700px) {
  header {
    height: 70px;
    padding: 0 20px;
  }
  .header-right {
    gap: 15px;
  }
  .local-dot {
    display: none;
  }
  main {
    padding: 34px 20px 0;
  }
  h1 {
    letter-spacing: -1.6px;
  }
  .search-card {
    padding: 20px;
  }
  .search-row {
    flex-direction: column;
  }
  .search-row button {
    width: 100%;
  }
  .search-note {
    gap: 12px;
    flex-wrap: wrap;
  }
  .config-grid {
    grid-template-columns: 1fr 1fr;
  }
  .expectations {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .expectations p {
    max-width: none;
  }
  .content-grid,
  .metrics {
    grid-template-columns: 1fr;
  }
  .result-heading {
    flex-direction: column;
    gap: 0;
  }
  .measurement {
    gap: 18px;
  }
  footer {
    gap: 20px;
    font-size: 9px;
  }
  .history-item {
    gap: 15px;
  }
  .history-item span:last-child {
    text-align: right;
  }
  .result-heading h2 {
    font-size: 26px;
  }
}
