:root {
  --ink: #10201c;
  --muted: #5e6d68;
  --surface: #f6f8f5;
  --surface-strong: #ffffff;
  --line: #dce6df;
  --green: #126f54;
  --green-dark: #0d4f40;
  --teal: #1b7f8f;
  --gold: #c58b2b;
  --rose: #b45769;
  --blue: #2f66b1;
  --shadow: 0 24px 80px rgba(23, 43, 37, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 32px;
  background: rgba(246, 248, 245, 0.88);
  border-bottom: 1px solid rgba(220, 230, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.trust-row,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 800;
  background: var(--green-dark);
  border-radius: 8px;
}

.site-header nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  font-size: 14px;
}

.header-cta {
  color: white;
  background: var(--ink);
}

.button.primary {
  color: white;
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 32, 28, 0.18);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  padding: 150px 7vw 88px;
  background: #edf3ef;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(237, 243, 239, 0.18);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 32, 28, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 28, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(900px) rotateX(58deg) translateY(-24%);
  transform-origin: top;
}

.audit-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-main {
  top: 118px;
  right: 9vw;
  width: min(44vw, 560px);
  height: 370px;
  padding: 24px;
}

.panel-bar {
  display: flex;
  gap: 8px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  background: #bfcbc4;
  border-radius: 50%;
}

.dashboard-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.dashboard-label strong {
  color: var(--green-dark);
  font-size: 12px;
}

.score-card {
  position: absolute;
  top: 78px;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 18px 20px 18px 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(220, 230, 223, 0.76);
  border-radius: 8px;
}

.score-ring {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 146px;
  height: 146px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at center, white 0 58%, transparent 59%),
    conic-gradient(var(--green) 0 86%, #dfe8e2 86% 100%);
  border-radius: 50%;
}

.score-ring strong {
  display: block;
  color: #51625c;
  font-size: 38px;
  line-height: 1;
}

.score-ring span {
  color: #6f7f79;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.1;
  text-transform: uppercase;
}

.score-copy {
  min-width: 0;
}

.score-copy strong,
.score-copy span {
  display: block;
}

.score-copy strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.score-copy span {
  max-width: 260px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.mini-tags em {
  padding: 6px 9px;
  color: var(--green-dark);
  background: #dff0e8;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

.mini-tags em:nth-child(2) {
  color: #755019;
  background: #f5e6c8;
}

.audit-lines {
  position: absolute;
  top: 240px;
  right: 30px;
  left: 30px;
  display: grid;
  gap: 10px;
}

.audit-lines div {
  display: grid;
  grid-template-columns: 120px 42px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.audit-lines strong {
  color: var(--ink);
  font-size: 12px;
  text-align: right;
}

.line {
  display: block;
  height: 9px;
  background: linear-gradient(90deg, var(--green) 0 var(--fill), #dbe7e0 var(--fill) 100%);
  border-radius: 999px;
}

.line-long {
  --fill: 92%;
}

.line-mid {
  --fill: 74%;
}

.line-short {
  --fill: 68%;
  background: linear-gradient(90deg, var(--gold) 0 var(--fill), #eadfc9 var(--fill) 100%);
}

.scanner {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  height: 42px;
  overflow: hidden;
  padding: 8px;
  background: #edf4f0;
  border-radius: 8px;
}

.scanner span {
  display: block;
  height: 100%;
  background: rgba(18, 111, 84, 0.16);
  border-radius: 6px;
}

.scanner span:nth-child(2n) {
  background: rgba(47, 102, 177, 0.1);
}

.scanner span:nth-child(3n) {
  background: rgba(197, 139, 43, 0.18);
}

.scanner::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 70px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: scan 4.6s ease-in-out infinite;
}

.panel-copy {
  right: 14vw;
  bottom: 118px;
  display: flex;
  gap: 10px;
  padding: 14px;
}

.panel-copy span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.tag-ok,
.pill.good {
  color: var(--green-dark);
  background: #dff0e8;
}

.tag-warn,
.pill.warn {
  color: #755019;
  background: #f5e6c8;
}

.panel-query {
  right: 41vw;
  bottom: 92px;
  width: 310px;
  padding: 18px;
}

.panel-query small {
  color: var(--muted);
  font-weight: 760;
}

.panel-query p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.35;
}

.panel-list {
  top: 205px;
  right: 4vw;
  display: grid;
  width: 155px;
  gap: 12px;
  padding: 18px;
}

.panel-list span {
  height: 12px;
  background: #cfded5;
  border-radius: 999px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: #30413b;
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.trust-row {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: #40534d;
  font-size: 13px;
  font-weight: 760;
}

.trust-row span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.signal-strip div {
  padding: 30px 7vw;
  background: white;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
}

.signal-strip span,
.section-heading p,
.workflow-copy p,
.preview-copy p,
.beta-section p,
.price-card p,
.kit-grid p,
.step p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 90px 7vw;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 760px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kit-grid article,
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.kit-grid article {
  min-height: 250px;
  padding: 24px;
}

.item-index {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.4fr;
  gap: 50px;
  background: #10201c;
  color: white;
}

.workflow-section .eyebrow {
  color: #8ed7c2;
}

.workflow-copy p,
.workflow .step p {
  color: #c7d8d2;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.step {
  min-height: 190px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: block;
  margin-bottom: 46px;
  color: #8ed7c2;
  font-size: 13px;
  font-weight: 820;
}

.preview-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.preview-shell {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  background: #bfcbc4;
  border-radius: 50%;
}

.preview-toolbar strong {
  margin-left: 12px;
  font-size: 13px;
}

.preview-table {
  display: grid;
  padding: 12px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.85fr 1fr 0.55fr;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid #edf2ef;
  font-size: 14px;
}

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

.table-head {
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.pricing-section {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  gap: 18px;
}

.price-card {
  padding: 30px;
}

.price-card h3 {
  margin-bottom: 18px;
  font-size: 48px;
}

.price-card .button {
  width: 100%;
  margin-top: 20px;
}

.plan {
  color: var(--green);
  font-weight: 820;
}

.price-card.quiet {
  background: #f7faf8;
}

.beta-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: start;
}

.beta-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.beta-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 760;
}

.beta-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #cfdad3;
  border-radius: 8px;
  font: inherit;
}

.beta-form input:focus {
  outline: 3px solid rgba(27, 127, 143, 0.2);
  border-color: var(--teal);
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.form-note.success {
  color: var(--green-dark);
}

.form-note.error {
  color: #8a3142;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  justify-content: space-between;
  padding: 34px 7vw;
  color: var(--muted);
  background: white;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@keyframes scan {
  0% {
    transform: translateX(-90px);
  }
  50% {
    transform: translateX(520px);
  }
  100% {
    transform: translateX(-90px);
  }
}

@media (min-width: 981px) and (max-width: 1540px) {
  .hero-content,
  h1 {
    max-width: 660px;
  }

  h1 {
    font-size: clamp(54px, 6vw, 82px);
  }

  .panel-main {
    right: calc((100vw - 1200px) * 0.18);
    width: min(36vw, 500px);
    opacity: 0.82;
  }

  .panel-list {
    right: -42px;
    opacity: 0.7;
  }

  .panel-copy {
    right: 8vw;
    bottom: 94px;
  }

  .panel-query {
    right: 25vw;
    bottom: 74px;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding: 126px 24px 64px;
  }

  .panel-main {
    top: 94px;
    right: -180px;
    width: 520px;
    opacity: 0.58;
  }

  .panel-copy,
  .panel-query,
  .panel-list {
    display: none;
  }

  h1 {
    font-size: clamp(46px, 13vw, 72px);
  }

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

  .signal-strip,
  .kit-grid,
  .workflow-section,
  .preview-section,
  .beta-section,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div,
  .section {
    padding: 52px 24px;
  }

  .kit-grid article {
    min-height: auto;
  }

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

  .preview-shell {
    overflow-x: auto;
  }

  .preview-table {
    min-width: 720px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 0;
    padding-bottom: 56px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .panel-main {
    display: none;
  }

  .price-card h3 {
    font-size: 40px;
  }
}
