:root {
  --ink: #1c1917;
  --muted: #57534e;
  --soft: #78716c;
  --line: #d6d3d1;
  --line-soft: #e7e5e4;
  --paper: #ffffff;
  --canvas: #f5f5f4;
  --cobalt: #0f766e;
  --cobalt-dark: #115e59;
  --cobalt-soft: #ecfdf5;
  --rose: #e11d48;
  --amber: #c66a08;
  --green: #087f5b;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(28, 25, 23, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; letter-spacing: 0; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cobalt-dark); outline-offset: 2px; }
.hero :focus-visible, .band--dark :focus-visible { outline-color: #fff; }
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 30;
  min-height: 72px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.96);
}
.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand strong { display: block; font-size: 17px; line-height: 1.1; }
.brand span { display: block; color: var(--soft); font-size: 12px; line-height: 1.25; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { color: var(--paper); }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--cobalt);
  color: var(--paper);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.button:hover { background: var(--cobalt-dark); }
.button:active { transform: translateY(1px); }
.button--secondary { border-color: rgba(255,255,255,0.58); background: rgba(28,25,23,0.42); color: #fff; }
.button--secondary:hover { background: rgba(28,25,23,0.72); }
.button--light { border-color: var(--line); background: var(--paper); color: var(--ink); }
.button--light:hover { background: var(--canvas); }

.hero {
  position: relative;
  min-height: 670px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #292524;
  color: #fff;
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(28, 25, 23, 0.76); }
.hero__content { position: relative; z-index: 2; padding-block: 76px 70px; }
.eyebrow { margin: 0 0 16px; color: var(--cobalt); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow { color: #99f6e4; }
.hero h1 { max-width: 780px; margin: 0; font-size: 64px; line-height: 1.02; font-weight: 780; }
.hero__lead { max-width: 720px; margin: 24px 0 0; color: #f5f5f4; font-size: 20px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,0.28); list-style: none; color: #e7e5e4; font-size: 14px; }
.hero__proof li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: #4ade80; }

.proof-band { border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.proof-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-band__item { min-height: 126px; padding: 26px 26px 24px 0; border-right: 1px solid var(--line-soft); }
.proof-band__item + .proof-band__item { padding-left: 26px; }
.proof-band__item:last-child { border-right: 0; }
.proof-band strong { display: block; font-size: 25px; line-height: 1.15; }
.proof-band span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.band { padding-block: 94px; border-bottom: 1px solid var(--line-soft); }
.band--soft { background: var(--canvas); }
.band--dark { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr); gap: 72px; align-items: end; margin-bottom: 52px; }
.section-head h2 { margin: 0; font-size: 42px; line-height: 1.08; font-weight: 760; }
.section-head p { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; }
.band--dark .section-head p { color: #d6d3d1; }

.demo { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.demo__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line-soft); }
.demo__title { min-width: 150px; color: var(--muted); font-size: 13px; font-weight: 700; }
.demo__tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.demo__tabs button { min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.demo__tabs button:hover { background: var(--canvas); color: var(--ink); }
.demo__tabs button[aria-selected="true"] { border-color: #99d8ce; background: var(--cobalt-soft); color: var(--cobalt-dark); }
.demo__stage { max-height: 720px; overflow: auto; background: #f0f0ef; }
.demo__stage img { width: 100%; height: auto; object-fit: contain; background: #fff; }
.demo__caption { margin: 0; padding: 13px 18px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }

.feature-list { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 250px 1fr; gap: 54px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.feature-row h3 { margin: 0; font-size: 19px; line-height: 1.35; }
.feature-row p { max-width: 760px; margin: 0; color: var(--muted); }
.feature-row code { padding: 2px 5px; border-radius: 4px; background: var(--canvas); font-size: 0.9em; }
.feature-row__label { color: var(--cobalt-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rule { min-height: 178px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.rule strong { display: block; font-size: 17px; }
.rule p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.rule small { display: inline-block; margin-bottom: 14px; color: var(--cobalt-dark); font-weight: 800; }

.technology-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.technology { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.technology img { width: auto; max-width: 100%; height: auto; max-height: 540px; margin-inline: auto; object-fit: contain; object-position: top; background: #fff; }
.technology figcaption { padding: 18px 20px 20px; border-top: 1px solid var(--line-soft); }
.technology strong { display: block; }
.technology span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

.price-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; }
.price-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.price-card--main { border: 2px solid var(--cobalt); }
.price-card h3 { margin: 0; font-size: 20px; }
.price { margin-top: 18px; font-size: 42px; font-weight: 780; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; font-weight: 600; }
.price-card p { color: var(--muted); }
.clean-list { margin: 22px 0 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding: 8px 0 8px 23px; border-top: 1px solid var(--line-soft); color: var(--muted); }
.clean-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.price-note { margin-top: 20px; color: var(--soft); font-size: 13px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 44px 24px 0; font-size: 17px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--cobalt); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 780px; margin: -6px 0 24px; color: var(--muted); }

.cross-promo { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cross-promo h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.cross-promo p { max-width: 760px; margin: 14px 0 0; color: #d6d3d1; }
.cross-promo .button--light { border-color: #fff; }

.site-footer { padding-block: 34px; background: var(--paper); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; color: var(--soft); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: var(--ink); }

/* Documentation and legal pages */
.page-intro { padding-block: 56px 46px; border-bottom: 1px solid var(--line-soft); background: var(--canvas); }
.page-intro h1 { max-width: 840px; margin: 0; font-size: 46px; line-height: 1.08; }
.page-intro p { max-width: 750px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-block: 58px 90px; }
.docs-nav { position: sticky; top: 28px; align-self: start; padding-right: 24px; border-right: 1px solid var(--line); }
.docs-nav strong { display: block; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; }
.docs-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.docs-nav a:hover { color: var(--cobalt-dark); }
.docs-content section { padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.docs-content section:last-child { margin-bottom: 0; }
.docs-content h2 { margin: 0 0 16px; font-size: 30px; line-height: 1.2; }
.docs-content h3 { margin: 28px 0 8px; font-size: 18px; }
.docs-content p { max-width: 760px; margin: 0 0 14px; color: var(--muted); }
.docs-content code, .legal code { padding: 2px 5px; border-radius: 4px; background: var(--canvas); color: var(--ink); font-size: 0.9em; }
.docs-content ol, .docs-content ul { max-width: 760px; padding-left: 22px; color: var(--muted); }
.docs-content li { margin-block: 8px; }
.step-label { display: inline-block; margin-bottom: 12px; color: var(--cobalt-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.docs-figure { margin: 26px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.docs-figure img { width: auto; max-width: 100%; height: auto; max-height: 660px; margin-inline: auto; object-fit: contain; object-position: top; background: #fff; }
.docs-figure figcaption { padding: 11px 14px; border-top: 1px solid var(--line-soft); color: var(--soft); font-size: 13px; }
.note { max-width: 760px; margin: 20px 0; padding: 15px 17px; border: 1px solid #99d8ce; border-radius: var(--radius); background: var(--cobalt-soft); color: #174e48; }

.contact-band { scroll-margin-top: 24px; background: #f2f5f2; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 56px; align-items: start; }
.contact-copy h2 { max-width: 540px; margin: 0; font-size: 42px; line-height: 1.08; }
.contact-copy > p:last-of-type { max-width: 56ch; margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.contact-facts { display: grid; gap: 11px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.contact-facts li { display: flex; gap: 12px; align-items: flex-start; }
.contact-facts strong { color: var(--cobalt-dark); }
.contact-form { position: relative; display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 24px 64px -48px #173d37; }
.contact-form__head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
.contact-form__head span { color: var(--cobalt-dark); font-size: 12px; font-weight: 800; }
.contact-form__head strong { font-size: 15px; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.contact-form label small { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; padding: 12px 13px; }
.contact-form textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #77736f; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cobalt); outline: 3px solid #b9dcd5; outline-offset: 1px; }
.contact-form__submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-status { flex: 1 1 210px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.contact-status[data-kind="success"] { color: var(--green); font-weight: 750; }
.contact-status[data-kind="error"] { color: #b42318; font-weight: 750; }
.contact-privacy { margin: -3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.contact-privacy a { color: var(--cobalt-dark); }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.note--warning { border-color: #fed7aa; background: #fff7ed; color: #7c2d12; }
.status-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.status-table th, .status-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.status-table th { background: var(--canvas); }
.legal { padding-block: 54px 90px; }
.legal h1 { margin: 0; font-size: 40px; line-height: 1.15; }
.legal .updated { margin: 9px 0 32px; color: var(--soft); }
.legal h2 { margin: 34px 0 10px; font-size: 20px; }
.legal p, .legal li { color: var(--muted); }
.legal-box { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }

@media (max-width: 900px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 650px; }
  .hero h1 { font-size: 48px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .proof-band__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-band__item:nth-child(2) { border-right: 0; }
  .proof-band__item:nth-child(3), .proof-band__item:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-nav { position: static; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-nav a { display: inline-block; margin-right: 18px; padding: 11px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .site-header__inner { min-height: 64px; gap: 12px; }
  .site-header { min-height: 64px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { display: none; }
  .site-nav { gap: 8px; }
  .site-nav .nav-cta { min-height: 44px; padding: 10px 12px; }
  .hero { min-height: 640px; }
  .hero__image { object-position: 58% top; }
  .hero__content { padding-block: 62px 48px; }
  .hero h1 { font-size: 38px; line-height: 1.06; }
  .hero__lead { margin-top: 19px; font-size: 17px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; padding-top: 18px; }
  .proof-band__grid { grid-template-columns: 1fr; }
  .proof-band__item, .proof-band__item + .proof-band__item { min-height: auto; padding: 20px 0; border-right: 0; border-top: 1px solid var(--line-soft); }
  .proof-band__item:first-child { border-top: 0; }
  .proof-band strong { font-size: 21px; }
  .band { padding-block: 66px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 33px; }
  .section-head p { font-size: 16px; }
  .demo__bar { align-items: flex-start; flex-direction: column; }
  .demo__tabs { justify-content: flex-start; }
  .demo__stage { max-height: 500px; }
  .feature-row { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule { min-height: auto; }
  .technology-grid, .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 24px 20px; }
  .cross-promo { grid-template-columns: 1fr; gap: 26px; }
  .cross-promo h2 { font-size: 29px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .page-intro { padding-block: 42px 36px; }
  .page-intro h1 { font-size: 35px; }
  .page-intro p { font-size: 16px; }
  .docs-layout { padding-block: 38px 64px; }
  .docs-content section { padding-bottom: 42px; margin-bottom: 42px; }
  .docs-content h2 { font-size: 26px; }
  .docs-figure img { max-height: 520px; }
  .status-table { display: block; overflow-x: auto; }
  .legal h1 { font-size: 33px; }
  .contact-copy h2 { font-size: 33px; }
  .contact-form { padding: 20px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-form__submit .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
