:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202a35;
  background: #f4f7f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f7f8;
}

button,
input {
  font: inherit;
}

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

.hero {
  padding: 22px clamp(18px, 5vw, 56px) 28px;
  background: linear-gradient(180deg, #eef8f6 0%, #f4f7f8 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  gap: 16px;
  margin: 0 auto 24px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar a {
  color: #0f766e;
  font-weight: 800;
}

.topbar .lang-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #b7d8d3;
  border-radius: 999px;
  background: #ffffff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.lang-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #b7d8d3;
  border-radius: 999px;
  background: #ffffff;
  color: #0f766e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.lang-button.active {
  background: #0f766e;
  color: #ffffff;
}

.lang-panel {
  display: none;
}

.lang-panel.active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin: 18px 0 0;
  color: #435366;
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 900;
}

.button.secondary {
  background: #ffffff;
  color: #0f766e;
  border: 1px solid #b7d8d3;
}

.preview {
  margin: 0;
}

.preview img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d9e4e5;
  box-shadow: 0 18px 42px rgba(31, 41, 51, 0.16);
}

.judge-strip {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 18px;
  border: 1px solid #d9e4e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.judge-strip h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-grid article {
  min-height: 124px;
  padding: 14px;
}

.proof-grid span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 999px;
  background: #e2f4f0;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

main {
  background: #ffffff;
}

.band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px clamp(18px, 5vw, 56px);
}

.band.compact {
  padding-top: 28px;
  padding-bottom: 16px;
}

.seo-copy {
  padding-bottom: 22px;
}

.seo-copy p {
  max-width: 860px;
  margin: 0 0 12px;
  color: #435366;
  line-height: 1.8;
}

.band h2 {
  margin: 0 0 22px;
  font-size: 28px;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  background: #ffffff;
}

article h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

article p {
  margin: 0;
  color: #526274;
  line-height: 1.65;
}

.price {
  margin-bottom: 8px;
  color: #0f766e;
  font-size: 22px;
  font-weight: 900;
}

.checkout-button {
  width: 100%;
  min-height: 40px;
  margin-top: 16px;
  border: 0;
  border-radius: 7px;
  background: #0f766e;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.checkout-button.secondary-action {
  border: 1px solid #b7c7c5;
  background: #ffffff;
  color: #0f766e;
}

.checkout-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: #435366;
  font-size: 14px;
  font-weight: 800;
}

.success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eef8f6;
}

.success-panel {
  width: min(680px, 100%);
  padding: 32px;
  border: 1px solid #d9e4e5;
  border-radius: 8px;
  background: #ffffff;
}

.success-panel h1 {
  font-size: 38px;
}

.success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.entitlement-status {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #c7d0dd;
  border-radius: 7px;
  background: #f8fafc;
  color: #435366;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.entitlement-status[data-status="success"] {
  border-color: #9dd8c9;
  background: #ecfdf8;
  color: #0f766e;
}

.entitlement-status[data-status="warning"] {
  border-color: #f4c7a1;
  background: #fff7ed;
  color: #9a3412;
}

.doc-page {
  min-height: 100vh;
  background: #ffffff;
}

.doc-header,
.doc-main,
.site-footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px clamp(18px, 5vw, 40px);
}

.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d9e4e5;
}

.doc-header a,
.site-footer a {
  color: #0f766e;
  font-weight: 900;
}

.doc-main {
  display: grid;
  gap: 28px;
}

.doc-main > * {
  min-width: 0;
}

.demo-page .demo-focus,
.demo-page .judge-strip,
.demo-page .band {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.demo-video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #0f172a;
}

.doc-main h1 {
  font-size: 42px;
}

.doc-main h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.doc-main p,
.doc-main li {
  color: #435366;
  line-height: 1.8;
}

.doc-main ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  gap: 18px;
  color: #526274;
  font-size: 14px;
  font-weight: 800;
}

.license-copy {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: #202a35;
  font-weight: 900;
}

.license-copy input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c7d0dd;
  border-radius: 7px;
  padding: 0 12px;
  font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .columns,
  .proof-grid,
  .pricing-grid,
  .success-actions {
    grid-template-columns: 1fr;
  }

  .preview {
    max-width: 620px;
  }
}
