:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5f6368;
  --line: #d9dde3;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --accent: #10a37f;
  --accent-strong: #0b7f63;
  --amber: #d97706;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body[data-product="wastescore"] {
  background: #f7f9f4;
  color: #101828;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta {
  color: var(--ink);
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 54px 0 92px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.button-row,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
}

.proof-row span {
  color: var(--muted);
  font-size: 14px;
}

.proof-row span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
}

.score-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfa;
  box-shadow: var(--shadow);
}

.score-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.score-header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.score-header strong {
  font-size: 78px;
  line-height: 0.9;
  letter-spacing: 0;
}

.score-meter {
  height: 12px;
  margin: 24px 0 22px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6e8ea;
}

.score-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #0f766e);
}

.waste .score-meter span {
  background: linear-gradient(90deg, var(--amber), var(--accent));
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.signal-list span {
  color: var(--muted);
}

.signal-list strong {
  text-align: right;
}

.band,
.assessment-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-grid p,
.assessment-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.assessment-section {
  align-items: center;
  padding-bottom: 96px;
}

.assessment-section .button {
  justify-self: end;
}

.choice-page {
  min-height: 100vh;
  background: var(--soft);
}

.choice-hero {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10vh 0;
}

.choice-hero h1 {
  font-size: clamp(42px, 7vw, 70px);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.choice-card {
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.choice-card span {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
}

.choice-card strong {
  max-width: 360px;
  font-size: 25px;
  line-height: 1.12;
}

.ws-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.05fr);
  grid-template-areas:
    "copy chat"
    "benefits chat";
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 0;
}

.ws-copy {
  grid-area: copy;
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.ws-benefits {
  grid-area: benefits;
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.ws-kicker,
.ws-brand,
.ws-trust,
.ws-proof p {
  margin: 0;
}

.ws-kicker {
  color: #0b3d2e;
  font-size: 15px;
  font-weight: 750;
}

.ws-brand {
  color: #0b3d2e;
  font-size: 18px;
  font-weight: 800;
}

.ws-shell h1 {
  max-width: 610px;
  margin: 0;
  color: #101828;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.ws-subhead {
  max-width: 560px;
  margin: 0;
  color: #344054;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.36;
}

.ws-primary {
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  border-color: #0b3d2e;
  background: #0b3d2e;
  color: #ffffff;
}

.ws-primary:hover {
  background: #092f24;
}

.ws-trust {
  color: #667085;
  font-size: 15px;
  line-height: 1.45;
}

.ws-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.ws-risk-grid article {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #dde5d8;
  border-radius: 8px;
  background: #ffffff;
}

.ws-risk-grid h2 {
  margin: 10px 0 6px;
  color: #101828;
  font-size: 17px;
  line-height: 1.15;
}

.ws-risk-grid p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
}

.ws-risk-dot {
  display: block;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: #6fcf97;
}

.ws-risk-dot.fee {
  background: #f5a623;
}

.ws-risk-dot.contract {
  background: #e46a2c;
}

.ws-proof {
  display: grid;
  gap: 10px;
  padding: 4px 0 0;
}

.ws-proof p {
  color: #667085;
  font-size: 14px;
}

.ws-proof div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ws-proof strong {
  padding: 9px 11px;
  border: 1px solid #dde5d8;
  border-radius: 8px;
  background: #eaf6ef;
  color: #0b3d2e;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1;
}

.ws-chat-card {
  grid-area: chat;
  position: relative;
  overflow: hidden;
  height: min(760px, calc(100vh - 36px));
  min-height: 610px;
  border: 1px solid #dde5d8;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(234, 246, 239, 0.78), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.12);
}

.ws-chat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 61, 46, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 61, 46, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.ws-chat-top,
.ws-voiceflow-frame {
  position: relative;
}

.ws-chat-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #dde5d8;
}

.ws-chat-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6fcf97;
  box-shadow: 0 0 0 5px rgba(111, 207, 151, 0.18);
}

.ws-chat-top strong {
  font-size: 15px;
}

.ws-chat-top em {
  color: #0b3d2e;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.ws-voiceflow-frame {
  height: calc(100% - 54px);
  background: #ffffff;
}

.ws-voiceflow-frame iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.ws-chat-loading {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  color: #344054;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.ws-faq {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 70px;
}

.ws-faq details {
  border-top: 1px solid #dde5d8;
  background: transparent;
}

.ws-faq details:last-child {
  border-bottom: 1px solid #dde5d8;
}

.ws-faq summary {
  cursor: pointer;
  padding: 18px 0;
  color: #101828;
  font-weight: 750;
}

.ws-faq p {
  max-width: 720px;
  margin: 0;
  padding: 0 0 18px;
  color: #667085;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero,
  .band,
  .assessment-section,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .assessment-section .button {
    justify-self: start;
  }

  .ws-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "chat"
      "benefits";
    align-items: start;
    min-height: auto;
    padding: 24px 0 34px;
  }

  .ws-chat-card {
    height: min(660px, calc(100vh - 24px));
    min-height: 560px;
  }

  .ws-risk-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: min(100% - 24px, 1120px);
  }

  .hero,
  .band,
  .assessment-section,
  .choice-hero {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .score-panel {
    padding: 22px;
  }

  .signal-list li {
    display: grid;
  }

  .signal-list strong {
    text-align: left;
  }

  .ws-shell,
  .ws-faq {
    width: min(100% - 24px, 1120px);
  }

  .ws-shell h1 {
    font-size: 42px;
  }

  .ws-chat-card {
    min-height: 540px;
  }
}
