:root {
  --ink: #101114;
  --muted-ink: #5b616e;
  --line: #d9dee7;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --soft: #eaf2ee;
  --green: #0f7b57;
  --blue: #215ea8;
  --red: #b94b42;
  --amber: #c67b28;
  --shadow: 0 24px 60px rgba(23, 27, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(16, 17, 20, 0.1);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.82rem;
}

.nav {
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.header-action,
.primary-action,
.booking-form button,
.product-footer button {
  min-height: 44px;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

main {
  overflow: hidden;
}

.scanner-section,
.content-section,
.booking-section {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 52px);
}

.scanner-section {
  min-height: calc(100vh - 69px);
}

.scanner-intro {
  max-width: 920px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.scanner-intro p:not(.eyebrow),
.booking-section > div > p {
  max-width: 680px;
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.credibility-strip {
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.credibility-strip div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(16, 17, 20, 0.12);
  border-radius: 8px;
  background: white;
}

.credibility-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.15;
}

.credibility-strip span {
  display: block;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.entry-paths {
  display: grid;
  max-width: 820px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.entry-path {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: white;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.entry-path:hover,
.entry-path.active {
  border-color: rgba(15, 123, 87, 0.62);
  box-shadow: 0 12px 30px rgba(15, 123, 87, 0.12);
  transform: translateY(-1px);
}

.entry-path span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-weight: 900;
}

.entry-path strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
}

.scanner-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.scanner-panel,
.results-panel,
.booking-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.scanner-panel,
.results-panel {
  padding: clamp(18px, 3vw, 28px);
}

.field-group {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

label,
legend {
  color: var(--ink);
  font-weight: 800;
}

label span {
  display: block;
  margin-bottom: 8px;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(33, 94, 168, 0.18);
  border-color: var(--blue);
}

.check-grid,
.metric-grid {
  display: grid;
  gap: 12px;
}

.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.check-grid input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid label {
  font-size: 0.9rem;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

#score {
  display: block;
  font-size: clamp(3.5rem, 8vw, 6.2rem);
  line-height: 0.86;
}

.score-ring {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 74%, #e5e8ee 0);
  position: relative;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: white;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.impact-grid div {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.impact-grid span {
  display: block;
  color: var(--muted-ink);
  font-size: 0.86rem;
  font-weight: 750;
}

.impact-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.55rem;
}

.recommendation {
  margin-bottom: 18px;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: var(--soft);
}

.recommendation h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.recommendation p:last-child {
  margin-bottom: 0;
  color: #34423c;
}

.roadmap {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.roadmap li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roadmap span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-weight: 900;
  font-size: 0.82rem;
}

.roadmap p {
  margin-bottom: 0;
  color: var(--muted-ink);
}

.primary-action {
  display: flex;
  width: 100%;
}

.content-section {
  background: white;
}

.answer-section {
  background: #fefefe;
}

.answer-grid {
  display: grid;
  max-width: 1100px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.answer-card {
  min-height: 360px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.answer-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.answer-card p {
  color: var(--muted-ink);
}

.answer-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.answer-card li {
  padding-left: 2px;
}

.fact-table {
  display: grid;
  max-width: 1100px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.fact-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.fact-table div:last-child {
  border-bottom: 0;
}

.fact-table span {
  color: var(--muted-ink);
}

.examples-section {
  background: #ffffff;
}

.digital-twin-section {
  color: white;
  background: var(--ink);
}

.digital-twin-section .eyebrow {
  color: #69d6c5;
}

.digital-twin-section .section-note {
  color: rgba(255, 255, 255, 0.72);
}

.twin-flow {
  display: grid;
  max-width: 1100px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.twin-flow article {
  min-height: 230px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #102432;
}

.twin-flow span {
  display: inline-flex;
  margin-bottom: 32px;
  color: #69d6c5;
  font-weight: 900;
}

.twin-flow h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.twin-flow p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.content-section.muted {
  background: #edf2f4;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 22px;
}

.section-heading h2,
.booking-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.06;
}

.cards,
.tool-list,
.product-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.example-table {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.example-row {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 1.25fr 0.9fr;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-ink);
}

.example-row:last-child {
  border-bottom: 0;
}

.example-row span:first-child,
.example-row span:last-child {
  color: var(--ink);
  font-weight: 800;
}

.example-head {
  color: white;
  background: var(--ink);
}

.example-head strong {
  font-size: 0.88rem;
}

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

.card {
  min-height: 208px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-tag.green {
  background: var(--green);
}

.card-tag.blue {
  background: var(--blue);
}

.card-tag.red {
  background: var(--red);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card p {
  color: var(--muted-ink);
}

.tool-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.tool-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.tool-list div:last-child {
  border-bottom: 0;
}

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

.tool-shop {
  background: #f9faf8;
}

.section-heading > div {
  max-width: 720px;
}

.section-note {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted-ink);
  font-weight: 750;
}

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

.product-card {
  display: flex;
  min-height: 284px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.featured-product {
  border-color: rgba(33, 94, 168, 0.42);
  box-shadow: var(--shadow);
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.product-card p {
  color: var(--muted-ink);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-footer strong {
  font-size: 1.8rem;
}

.product-footer a,
.product-footer button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  border: 0;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.guarantee-strip {
  display: flex;
  max-width: 1100px;
  gap: 10px;
  margin: 16px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 123, 87, 0.22);
  border-radius: 8px;
  color: #1f3e33;
  background: var(--soft);
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.form-note {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.form-note.success {
  padding: 10px 12px;
  border: 1px solid rgba(15, 123, 87, 0.22);
  border-radius: 8px;
  color: #1f3e33;
  background: var(--soft);
  font-weight: 750;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 52px);
  color: white;
  background: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .scanner-shell,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

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

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

  .twin-flow {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .example-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .example-head {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .header-action {
    padding: 0 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .check-grid,
  .entry-paths,
  .metric-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .score-row {
    align-items: start;
  }

  .score-ring {
    width: 84px;
    height: 84px;
  }

  .tool-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fact-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .guarantee-strip {
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
