:root {
  /* From deploy/marketplace/logo.svg */
  --navy: #273951;
  --navy-soft: #3d516a;
  --teal: #259483;
  --teal-deep: #1c7367;
  --teal-soft: #d5efeb;
  --teal-mid: #2e979b;
  --ink: #273951;
  --ink-soft: #4a5d73;
  --muted: #6b7c8f;
  --line: rgba(39, 57, 81, 0.12);
  --paper: #eef5f4;
  --paper-2: #f6fbfa;
  --surface: #ffffff;
  --shadow: 0 18px 40px rgba(39, 57, 81, 0.08);
  --radius: 18px;
  --max: 1120px;
  --font-display: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1100px 480px at 88% -8%, rgba(37, 148, 131, 0.16), transparent 58%),
    radial-gradient(900px 420px at -8% 18%, rgba(39, 57, 81, 0.08), transparent 55%),
    linear-gradient(180deg, var(--paper-2), var(--paper) 42%, #e4efed);
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--surface);
  padding: 0.5rem 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 251, 250, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: #f4faf9;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(39, 57, 81, 0.2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100vh - 4.2rem);
  display: grid;
  align-items: end;
}

.hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 251, 250, 0.2) 0%, rgba(246, 251, 250, 0.55) 38%, rgba(37, 148, 131, 0.22) 100%),
    radial-gradient(ellipse 90% 55% at 72% 32%, rgba(255, 255, 255, 0.72), transparent 60%),
    linear-gradient(115deg, #d9ebe8 0%, #c5e0db 40%, #a9cfd4 72%, #7fb0bc 100%);
}

.hero-plane svg {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: min(52vh, 520px);
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.6rem 1.25rem 3.4rem;
  width: 100%;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  animation: rise 0.8s ease both;
}

.hero-logo {
  width: clamp(4.2rem, 10vw, 6.2rem);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(39, 57, 81, 0.18));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  max-width: 38rem;
  color: var(--ink);
  animation: rise 0.8s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.8rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  animation: rise 0.8s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.24s both;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0 4.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.section-head p,
.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-hero {
  padding: 3.4rem 0 1.5rem;
}

.page-hero .eyebrow {
  animation: rise 0.6s ease both;
}

.page-hero h1 {
  animation: rise 0.6s ease 0.06s both;
}

.page-hero p {
  max-width: 42rem;
  animation: rise 0.6s ease 0.12s both;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .split-2 {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
  }

  .split-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.panel {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem;
  box-shadow: var(--shadow);
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}

.panel p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.feature-list span {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px var(--teal-soft);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.35rem 4.4rem;
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.auto-band {
  margin-top: 1.25rem;
  padding: 1.5rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 148, 131, 0.28);
  background:
    linear-gradient(135deg, rgba(37, 148, 131, 0.12), rgba(39, 57, 81, 0.06)),
    var(--surface);
  box-shadow: var(--shadow);
}

.auto-band h3 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.auto-band p {
  margin: 0;
  color: var(--ink-soft);
}

.auto-band p + p {
  margin-top: 0.7rem;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  background: var(--teal-soft);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  font-weight: 700;
  width: 28%;
}

.detect-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.98rem;
}

.detect-table th,
.detect-table td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.detect-table th {
  background: #e7f3f1;
  color: var(--navy-soft);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detect-table tr:last-child td {
  border-bottom: 0;
}

.detect-table code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  background: rgba(37, 148, 131, 0.1);
  padding: 0.12em 0.4em;
  border-radius: 0.35em;
  color: var(--teal-deep);
}

.quote {
  margin: 0;
  padding: 1.6rem 1.7rem;
  border-left: 4px solid var(--teal);
  background: linear-gradient(90deg, var(--teal-soft), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.equal-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 860px) {
  .equal-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.equal-2 > .price,
.equal-2 > .panel {
  min-width: 0;
  height: 100%;
}

.price-band {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 860px) {
  .price-band {
    grid-template-columns: 1fr 1fr;
  }
}

.price {
  background: var(--navy);
  color: #f2f7fa;
  border-radius: var(--radius);
  padding: 1.5rem;
  min-width: 0;
  height: 100%;
}

.price .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.4rem;
}

.price .amount span {
  font-size: 1rem;
  opacity: 0.75;
}

.price p {
  margin: 0;
  color: rgba(242, 247, 250, 0.78);
}

.cta-band {
  margin: 1rem 0 4.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(37, 148, 131, 0.14), rgba(39, 57, 81, 0.08)),
    var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-row a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.footer-row a:hover {
  color: var(--teal-deep);
}

.muted {
  color: var(--muted);
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.faq-toc a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.faq-toc a:hover {
  color: var(--teal-deep);
}

.faq-section {
  margin-bottom: 2.4rem;
}

.faq-section > h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
  padding: 0 1.15rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  padding: 1rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--teal-deep);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 0 1.1rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.faq-item .answer p {
  margin: 0 0 0.7rem;
}

.faq-item .answer p:last-child {
  margin-bottom: 0;
}

.faq-item .answer ul,
.faq-item .answer ol {
  margin: 0 0 0.7rem;
  padding-left: 1.2rem;
}

.faq-item .answer li {
  margin-bottom: 0.35rem;
}

.faq-item .code-sample,
pre.code-sample {
  margin: 0.55rem 0 0.9rem;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  border-radius: 0.55rem;
  background: #1a2838;
  color: #e8f1f4;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre;
}

.mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  background: rgba(37, 148, 131, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 0.35em;
}

.shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

.shot img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

img.is-expandable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(26, 40, 56, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.shot figcaption {
  padding: 0.75rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.shot-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .shot-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
  }

  .compare,
  .detect-table {
    display: block;
    overflow-x: auto;
  }
}
