:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6b7a;
  --line: #dce3ea;
  --soft: #f4f7f9;
  --panel: #ffffff;
  --accent: #176b5d;
  --accent-dark: #0f5146;
  --accent-soft: #e2f2ed;
  --warning: #8a5a00;
  --warning-bg: #fff3cf;
  --fail: #9b2c2c;
  --fail-bg: #fde8e8;
  --pass-bg: #e2f2ed;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  line-height: 1.55;
}

a {
  color: var(--accent-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 252, 253, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--accent);
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

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

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 64px) 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

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

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

.button-secondary {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button.full {
  width: 100%;
}

.privacy-note {
  max-width: 610px;
  margin: 26px 0 0;
  padding: 15px 17px;
  color: #344454;
  background: var(--accent-soft);
  border-radius: 14px;
}

.hero-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.10);
}

.sample-image {
  display: grid;
  place-items: center;
  min-height: 290px;
  background:
    linear-gradient(90deg, rgba(23, 107, 93, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(23, 107, 93, 0.07) 1px, transparent 1px),
    white;
  background-size: 28px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.sample-product {
  display: grid;
  place-items: center;
  width: 150px;
  height: 190px;
  color: #687482;
  background: #eef3f0;
  border: 1px solid #ccd8d2;
  border-radius: 22px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.sample-results {
  display: grid;
  gap: 11px;
  padding: 18px 4px 4px;
  font-weight: 650;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  margin-right: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.chip.pass {
  color: var(--accent-dark);
  background: var(--pass-bg);
}

.chip.check {
  color: var(--warning);
  background: var(--warning-bg);
}

.chip.fail {
  color: var(--fail);
  background: var(--fail-bg);
}

.tool-section,
.how-section,
.pricing-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.tool-shell {
  padding: clamp(18px, 3vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(23, 32, 42, 0.07);
}

.dropzone {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 38px 20px;
  text-align: center;
  background: var(--soft);
  border: 2px dashed #aebfcc;
  border-radius: 20px;
  cursor: pointer;
}

.dropzone:hover,
.dropzone.dragging {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.drop-title {
  font-size: 1.25rem;
  font-weight: 820;
}

.drop-subtitle,
.drop-limit {
  color: var(--muted);
}

.drop-limit {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.batch-message {
  min-height: 28px;
  padding: 14px 2px 4px;
  color: var(--muted);
  font-weight: 650;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 20px;
}

.control-card {
  display: grid;
  align-content: start;
  gap: 15px;
  margin: 0;
  padding: 20px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.control-card legend {
  padding: 0 6px;
  font-weight: 820;
}

.control-card label {
  display: grid;
  gap: 7px;
  color: #344454;
  font-weight: 700;
}

.control-card select,
.control-card input[type="text"],
.control-card input[type="number"],
.waitlist-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #bfccd7;
  border-radius: 11px;
  font: inherit;
}

.control-card .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-row input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.control-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

#fixStatus {
  color: var(--muted);
  font-weight: 650;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.summary div {
  padding: 17px;
  text-align: center;
  background: var(--soft);
  border-radius: 15px;
}

.summary strong,
.summary span {
  display: block;
}

.summary strong {
  font-size: 1.65rem;
}

.summary span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

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

.result-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
}

.result-preview {
  display: grid;
  place-items: center;
  min-height: 240px;
  max-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(45deg, #eef1f4 25%, transparent 25%),
    linear-gradient(-45deg, #eef1f4 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef1f4 75%),
    linear-gradient(-45deg, transparent 75%, #eef1f4 75%);
  background-color: white;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.result-preview img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.result-body {
  padding: 19px;
}

.result-body h3 {
  overflow-wrap: anywhere;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.meta-line {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.marketplace-block {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.marketplace-block + .marketplace-block {
  margin-top: 14px;
}

.marketplace-block h4 {
  margin: 0 0 9px;
  font-size: 0.95rem;
}

.rule-list {
  display: grid;
  gap: 7px;
}

.rule {
  display: flex;
  align-items: flex-start;
  color: #344454;
  font-size: 0.91rem;
}

.guideline-note {
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.steps-grid article,
.price-card {
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.steps-grid article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 850;
}

.steps-grid p,
.price-card li {
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 48px rgba(23, 107, 93, 0.13);
}

.price {
  margin-bottom: 14px;
  font-size: 2.7rem;
  font-weight: 850;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.price-card .button {
  margin-top: auto;
}

.coming-soon {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 5px 9px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.waitlist-form {
  margin-top: auto;
}

.waitlist-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
}

.waitlist-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

#waitlistStatus {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

footer {
  display: grid;
  gap: 5px;
  padding: 38px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero,
  .controls-grid,
  .results-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  nav {
    gap: 14px;
    font-size: 0.94rem;
  }

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

  .waitlist-form > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .tool-section,
  .how-section,
  .pricing-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
