:root {
  --ink: #111214;
  --muted: #5d6570;
  --line: #d8dce1;
  --panel: #f3f5f7;
  --accent: #37d5d0;
  --accent-soft: #a7fff6;
  --surface: #ffffff;
  --shadow: 0 16px 40px rgba(17, 18, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.topbar {
  width: min(100% - 64px, 1688px);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 31px;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #071312;
  background: var(--accent);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.nav-links {
  margin-right: auto;
  margin-left: 34px;
  padding-left: 32px;
  border-left: 1px solid #a7adb4;
  gap: 28px;
  color: #4c5259;
  font-size: 20px;
  font-weight: 650;
}

.nav-actions {
  gap: 26px;
  color: #4c5259;
  font-size: 20px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #e9edf0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-button span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8d949c;
}

main {
  width: min(100% - 64px, 1688px);
  margin: 0 auto 64px;
}

.page-heading {
  margin-top: 54px;
}

.page-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 750;
  text-transform: uppercase;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-panel {
  min-height: 412px;
  margin-top: 42px;
  padding: 68px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 48px;
  background: var(--panel);
  border-radius: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 14px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: #091514;
  font-size: 20px;
  line-height: 1;
}

.hero-copy h2 {
  max-width: 760px;
  margin: 18px 0 10px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 780px;
  margin: 0;
  color: #0f1720;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.38;
}

.primary-button {
  min-width: 246px;
  min-height: 83px;
  margin-top: 36px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #101113;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.hero-art {
  min-height: 260px;
  position: relative;
  display: grid;
  place-items: center;
}

.invoice-card {
  width: 300px;
  min-height: 226px;
  padding: 28px 24px 22px;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 5px solid var(--ink);
  box-shadow: 34px 22px 0 #101113;
  transform: rotate(1deg);
}

.invoice-top {
  height: 28px;
  margin-bottom: 20px;
  background: var(--accent);
  border: 4px solid var(--ink);
}

.invoice-row {
  height: 12px;
  margin-bottom: 11px;
  background: #111214;
}

.invoice-row.short {
  width: 60%;
}

.invoice-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.invoice-grid span {
  height: 24px;
  border: 3px solid #111214;
}

.scan-ring {
  width: 250px;
  height: 132px;
  position: absolute;
  left: 32px;
  top: 42px;
  border: 5px solid #111214;
  border-right-color: transparent;
  border-radius: 120px 0 0 120px;
}

.subscriptions {
  margin-top: 72px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2,
.platform h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 44px);
  letter-spacing: 0;
}

.tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tools input {
  width: min(600px, 42vw);
  height: 58px;
  padding: 0 24px;
  border: 1px solid #7e858d;
  border-radius: 8px;
  color: var(--ink);
  font-size: 20px;
}

.secondary-button {
  min-width: 128px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  cursor: pointer;
}

.tools input:disabled,
.secondary-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.product-list {
  margin-top: 46px;
  display: grid;
  gap: 16px;
}

.product-row {
  min-height: 90px;
  padding: 24px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f7;
  color: var(--ink);
  font-weight: 900;
}

.product-row h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.product-row p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.status {
  padding: 5px 13px;
  border-radius: 5px;
  background: #d8d8d8;
  color: #090a0b;
  font-size: 17px;
  white-space: nowrap;
}

.status.muted {
  background: #eef2f3;
}

.chevron {
  width: 24px;
  height: 24px;
  border: 0;
  border-right: 3px solid #111214;
  border-bottom: 3px solid #111214;
  background: transparent;
  transform: rotate(45deg);
}

.platform {
  margin-top: 64px;
}

.platform-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.platform-grid h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.platform-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

/* Nav CTA + hero actions */

.nav-cta {
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--accent);
  color: #071312;
  font-weight: 750;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-secondary {
  height: 83px;
  padding: 0 26px;
}

/* Pain / problem section */

.pain-section {
  margin-top: 72px;
}

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

.pain-card {
  padding: 26px;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pain-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--accent-soft);
  color: #071312;
  font-weight: 800;
}

.pain-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* NDA-gated product teaser (no live screenshots on the public site) */

.nda-teaser {
  margin: 40px 0 8px;
  padding: 40px;
  text-align: center;
  background: var(--panel);
  border: 2px dashed var(--ink);
  border-radius: 16px;
}

.nda-teaser .pill {
  margin-bottom: 16px;
}

.nda-teaser h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.nda-teaser p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.nda-teaser .secondary-button {
  margin-top: 24px;
  min-width: 200px;
}

.nda-teaser.secondary {
  margin-top: 48px;
}

/* Difference section */

.diff-section {
  margin-top: 64px;
}

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

.diff-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.diff-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.diff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

/* CTA section */

.cta-section {
  margin-top: 72px;
}

.cta-panel {
  padding: 56px 48px;
  text-align: center;
  background: var(--ink);
  border-radius: 24px;
}

.cta-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 3vw, 40px);
}

.cta-panel p {
  max-width: 640px;
  margin: 0 auto;
  color: #c8ccd1;
  font-size: 19px;
  line-height: 1.5;
}

.cta-panel .primary-button {
  margin-top: 32px;
  background: var(--accent);
  color: #071312;
}

/* Footer */

.site-footer {
  margin-top: 80px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100% - 64px, 1688px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

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

.footer-copy {
  margin: 10px 0 0;
  color: #9aa1a8;
  font-size: 14px;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .topbar,
  main {
    width: min(100% - 32px, 1688px);
  }

  .topbar {
    height: auto;
    padding: 22px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 16px 0 0;
    border-left: 0;
    gap: 18px;
    font-size: 17px;
  }

  .nav-actions {
    font-size: 17px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .hero-art {
    min-height: 220px;
  }

  .section-head,
  .tools {
    align-items: stretch;
    flex-direction: column;
  }

  .tools input {
    width: 100%;
  }

  .product-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .status,
  .chevron {
    justify-self: start;
    grid-column: 2;
  }

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

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

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

  .cta-panel {
    padding: 40px 28px;
  }

  .footer-inner {
    width: min(100% - 32px, 1688px);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 26px;
  }

  .nav-links {
    overflow-x: auto;
  }

  .page-heading {
    margin-top: 28px;
  }

  .hero-panel {
    border-radius: 18px;
  }

  .primary-button {
    width: 100%;
  }

  .invoice-card {
    width: 232px;
    box-shadow: 18px 16px 0 #101113;
  }

  .scan-ring {
    left: 12px;
    width: 200px;
  }

  .subscriptions {
    padding: 22px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-secondary {
    height: auto;
    padding: 18px 26px;
  }

  .cta-panel .primary-button {
    width: 100%;
  }
}
