:root {
  color-scheme: light;
  --ink: #11161c;
  --muted: #5c6672;
  --soft: #eef1f4;
  --line: #d8dee6;
  --paper: #f6f7f9;
  --white: #ffffff;
  --blue: #0d63ce;
  --blue-strong: #094aa0;
  --green: #0b7563;
  --warm: #b15b34;
  --shadow: 0 22px 70px rgba(17, 22, 28, 0.16);
  --soft-shadow: 0 12px 36px rgba(17, 22, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 86px;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  min-height: 68px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(17, 22, 28, 0.1);
  background: rgba(246, 247, 249, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.navlinks,
.language-picker {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(17, 22, 28, 0.18);
}

.navlinks {
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.language-picker {
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.language-picker select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(560px, 72svh, 760px);
  overflow: hidden;
  padding: clamp(28px, 6vw, 76px);
  background: #17202a;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 12, 0.82), rgba(4, 8, 12, 0.5) 42%, rgba(4, 8, 12, 0.08)),
    linear-gradient(0deg, rgba(4, 8, 12, 0.72), rgba(4, 8, 12, 0.08) 56%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: white;
  padding-bottom: clamp(20px, 6vh, 72px);
  text-shadow: 0 2px 18px rgba(4, 8, 12, 0.42);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f2b28e;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 110px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.48;
}

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

.muted,
.section-note,
.status-line,
.price-card p:not(.plan-name),
.steps p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.wide {
  max-width: 620px;
}

.hero-actions,
.pricing-grid,
.checkout-panel,
.steps,
.code-row,
.license-meta,
.faq-grid {
  display: grid;
  gap: 14px;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  margin-top: 30px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 28px rgba(13, 99, 206, 0.24);
}

.primary:hover {
  background: var(--blue-strong);
}

.download-button {
  box-shadow: 0 16px 36px rgba(13, 99, 206, 0.32);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.success-page .secondary,
.license-box .secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.full {
  width: 100%;
}

.hero-meta {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 760;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, #ffffff 0%, #f7f9fb 56%, #eef5f1 100%);
}

.download-copy h2 {
  max-width: 820px;
  margin-bottom: 14px;
}

.download-copy p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.download-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(13, 99, 206, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(17, 22, 28, 0.12);
}

.download-panel img {
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(17, 22, 28, 0.2);
}

.download-panel strong,
.download-panel span {
  display: block;
}

.download-panel strong {
  font-size: 22px;
  line-height: 1.1;
}

.download-panel span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.4;
}

.download-panel .button {
  grid-column: 1 / -1;
  min-height: 52px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.demo-copy h2 {
  max-width: 680px;
}

.demo-copy p:last-child {
  margin-bottom: 0;
}

.demo-media {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.demo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 22, 28, 0.14);
  border-radius: 8px;
  background: #101820;
  box-shadow: 0 26px 80px rgba(17, 22, 28, 0.18);
}

.demo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101820;
  object-fit: cover;
}

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

.demo-points div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.demo-points span {
  display: block;
  margin-bottom: 8px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.demo-points strong {
  display: block;
  margin-bottom: 6px;
}

.demo-points p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.product-section {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
}

.product-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 56px);
  margin-bottom: clamp(26px, 5vw, 42px);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
}

.product-preview {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  margin: 0;
}

.product-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(17, 22, 28, 0.14);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(17, 22, 28, 0.16);
}

.product-preview figcaption {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.feature-list article {
  min-width: 0;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(17, 22, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(17, 22, 28, 0.06);
}

.feature-list span {
  display: block;
  margin-bottom: 14px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.feature-list h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.3vw, 26px);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.pricing-section {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 56px);
  margin-bottom: 28px;
}

.section-note {
  max-width: 420px;
  margin-bottom: 10px;
}

.checkout-panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  align-items: end;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fbfcfd;
}

input:focus,
select:focus,
.button:focus-visible {
  outline: 3px solid rgba(13, 99, 206, 0.18);
  outline-offset: 2px;
}

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

.price-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  align-content: start;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.price-card.featured {
  border-color: rgba(11, 117, 99, 0.44);
  box-shadow: 0 24px 70px rgba(11, 117, 99, 0.16);
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  margin: 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

.plan-topline span {
  flex: none;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(11, 117, 99, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 60px);
  line-height: 0.96;
}

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 8px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price-card li {
  position: relative;
  padding-left: 20px;
  line-height: 1.52;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

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

.status-line {
  min-height: 24px;
  margin: 16px 0 0;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 86px);
  background: var(--white);
}

.steps {
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--warm);
  font-weight: 900;
}

.faq-section {
  background: #f9fafb;
}

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

.faq-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 22, 28, 0.05);
}

.faq-grid h3 {
  font-size: 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.success-shell {
  max-width: 900px;
  margin: 0 auto;
}

.success-page {
  min-height: 100svh;
  background:
    linear-gradient(180deg, #ffffff, #f3f5f8);
}

.license-box {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.code-row {
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
}

code {
  display: block;
  overflow-wrap: anywhere;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
}

.license-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
}

.license-meta div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;
  font-weight: 900;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: max-content 1fr;
  }

  .language-picker {
    justify-self: end;
  }

  .navlinks {
    display: none;
  }

  .download-section,
  .demo-section,
  .product-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-head {
    display: block;
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
    gap: 10px;
  }

  .brand span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-picker span {
    display: none;
  }

  .hero {
    min-height: 68svh;
    padding: 24px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 8, 12, 0.9), rgba(4, 8, 12, 0.64) 62%, rgba(4, 8, 12, 0.28)),
      linear-gradient(0deg, rgba(4, 8, 12, 0.86), rgba(4, 8, 12, 0.44) 72%, rgba(4, 8, 12, 0.18));
  }

  .hero-copy {
    width: 100%;
    max-width: 390px;
    padding-bottom: 8px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-actions,
  .checkout-panel,
  .pricing-grid,
  .code-row,
  .license-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

  .download-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .download-panel {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 18px;
  }

  .download-panel img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .hero-actions .button {
    width: 100%;
    white-space: normal;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .section-head {
    display: block;
  }

  .demo-points {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    padding: 16px;
  }

  .price-card {
    min-height: 0;
  }

  .plan-topline {
    align-items: start;
  }

  .footer {
    display: grid;
  }
}
