:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111417;
  color: #eef3f6;
  --bg: #111417;
  --panel: #181d21;
  --panel-2: #222a30;
  --line: #36434c;
  --text: #eef3f6;
  --muted: #a9b7bf;
  --cyan: #44bba4;
  --blue: #6bb7ff;
  --yellow: #f6c85f;
  --red: #ef767a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 20, 23, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: wrap;
  color: var(--muted);
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(540px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 5vw, 68px) clamp(20px, 4vw, 56px) clamp(30px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 92px;
  line-height: 0.94;
}

.lead {
  max-width: 620px;
  margin: 22px 0;
  color: #d7e2e7;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 16px;
  background: #20272d;
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
button:hover {
  border-color: #63727c;
  background: #273139;
}

.button.primary,
button.primary {
  border-color: rgba(68, 187, 164, 0.7);
  background: #1c4c45;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.hero-metrics div {
  border-left: 3px solid var(--cyan);
  padding-left: 12px;
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  background: #0d1012;
}

.section {
  padding: clamp(44px, 7vw, 88px) clamp(20px, 4vw, 56px);
}

.section.alt {
  background: #151a1e;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 26px;
}

.section h2 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
}

.feature-grid,
.pricing-grid,
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.feature-card,
.pricing-card,
.portal-content,
.docs-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.pricing-card,
.portal-content {
  padding: 18px;
}

.feature-grid .feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.feature-grid .feature-card:hover,
.feature-grid .feature-card:focus-visible {
  border-color: rgba(68, 187, 164, 0.8);
  outline: 0;
  transform: translateY(-2px);
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-bottom: 1px solid var(--line);
  background: #0d1012;
}

.feature-copy {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}

.feature-grid h3,
.pricing-card h3 {
  margin: 0;
}

.feature-grid p,
.pricing-card p,
.status {
  margin: 0;
  color: var(--muted);
}

.feature-detail-list {
  display: grid;
  gap: clamp(44px, 7vw, 88px);
  margin-top: clamp(36px, 6vw, 72px);
}

.feature-detail {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(22px, 4vw, 42px);
  border-top: 1px solid var(--line);
}

.feature-detail-reverse {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.feature-detail-reverse .feature-image-button {
  order: 2;
}

.feature-detail-reverse .feature-detail-copy {
  order: 1;
}

.feature-image-button {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #0d1012;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  cursor: zoom-in;
  overflow: hidden;
}

.feature-image-button:hover,
.feature-image-button:focus-visible {
  border-color: rgba(68, 187, 164, 0.8);
  background: #0d1012;
}

.feature-image-button:focus-visible {
  outline: 3px solid rgba(68, 187, 164, 0.34);
  outline-offset: 4px;
}

.feature-detail img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
}

.feature-detail-copy {
  display: grid;
  gap: 14px;
}

.feature-detail-copy h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
}

.feature-detail-copy p {
  margin: 0;
  color: #d7e2e7;
  font-size: 17px;
  line-height: 1.5;
}

.feature-detail-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.feature-detail-copy li {
  line-height: 1.45;
}

.image-viewer {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 76px clamp(14px, 3vw, 32px) clamp(14px, 3vw, 32px);
  background: rgba(6, 8, 10, 0.96);
}

.image-viewer::backdrop {
  background: rgba(0, 0, 0, 0.84);
}

.image-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 108px);
  margin: 0 auto;
  object-fit: contain;
}

.image-viewer form {
  position: fixed;
  top: 18px;
  right: 18px;
  margin: 0;
}

.image-viewer-close {
  min-width: 84px;
  background: #20272d;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-card strong {
  font-size: 38px;
}

.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  color: #ced9de;
}

.pricing-card > .button,
.pricing-card > button {
  align-self: flex-start;
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--panel-2);
}

.split,
.portal-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.download-list,
.docs-grid {
  align-content: start;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-list a,
.docs-grid a {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 0 16px;
  text-decoration: none;
}

.download-list a {
  border-left: 3px solid var(--yellow);
  background: var(--panel);
}

.download-list a strong {
  color: var(--text);
}

.download-list a span {
  color: var(--muted);
  font-size: 14px;
}

.stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

input,
select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  background: #20272d;
  color: var(--text);
  font: inherit;
}

.portal-content {
  min-height: 180px;
}

.portal-content article {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

.portal-content article:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.activation-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.activation-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  background: #13191d;
}

.key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 1500px) {
  .hero h1 {
    font-size: 104px;
  }
}

@media (max-width: 1120px) {
  .hero,
  .split,
  .portal-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 74px;
  }

  .hero-media img {
    max-height: none;
  }

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

  .feature-detail-reverse .feature-image-button,
  .feature-detail-reverse .feature-detail-copy {
    order: initial;
  }

  .feature-detail img {
    max-height: 56vh;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 52px;
  }

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

  .feature-detail img {
    max-height: none;
  }
}
