:root {
  color-scheme: dark;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Quicksand", var(--font-body);
  font-family: var(--font-body);
  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;
}

h1,
h2,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

p {
  max-width: 75ch;
}

.site-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.button-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.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);
}

.privacy-policy {
  max-width: 900px;
  margin-inline: auto;
  padding-block: clamp(42px, 7vw, 80px);
}

.privacy-policy-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.privacy-policy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.privacy-policy h2 {
  margin-top: 52px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.privacy-policy h3 {
  margin: 32px 0 10px;
  color: var(--blue);
  font-size: 1.1rem;
}

.privacy-policy p,
.privacy-policy li,
.privacy-policy address {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-policy ul {
  display: grid;
  gap: 7px;
  padding-left: 24px;
}

.privacy-policy a {
  color: var(--cyan);
}

.privacy-policy-date {
  margin: 12px 0 28px;
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
}

.header-logo-visible .brand {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.brand-logo {
  width: 162px;
  max-width: min(48vw, 180px);
  height: auto;
}

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

nav a {
  text-decoration: none;
}

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

nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

nav a[href="/downloads/"] {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-block: -6px;
  padding-inline: 14px;
  border: 1px solid rgba(68, 187, 164, 0.78);
  border-radius: 7px;
  background: #1c4c45;
  color: var(--text);
  font-weight: 800;
}

nav a[href="/downloads/"]:hover {
  border-color: var(--cyan);
  background: #236156;
}

nav a[href="/downloads/"][aria-current="page"] {
  border-color: var(--cyan);
  background: #236156;
  text-decoration: none;
}

.nav-download-icon {
  width: 16px;
  height: 16px;
  margin-right: 7px;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 3vw, 48px);
  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-logo-heading,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero-logo-heading {
  line-height: 1;
}

.hero-logo {
  display: block;
  width: min(500px, 100%);
  height: auto;
}

.lead {
  max-width: 520px;
  margin: 22px 0;
  color: #d7e2e7;
  font-family: var(--font-body);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 400;
  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:not(.disabled):hover,
button:not(:disabled):hover {
  border-color: #63727c;
  background: #273139;
}

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

.button.disabled,
button:disabled {
  border-color: rgba(99, 114, 124, 0.48);
  background: #192026;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.78;
}

button.primary:disabled {
  border-color: rgba(68, 187, 164, 0.42);
  background: rgba(28, 76, 69, 0.5);
}

.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 video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1026;
  max-height: 82vh;
  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, 22px) 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 h1,
.section h2 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
}

.portal-page-layout {
  min-height: calc(100vh - 68px);
}

.portal-page-layout h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.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%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #0d1012;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about-hero-copy h1,
.about-content h2 {
  margin: 0;
}

.about-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.about-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.about-profile {
  margin: 0;
}

.about-profile img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
}

.about-profile figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.about-content {
  display: grid;
  gap: 18px;
  max-width: 840px;
}

.about-content h2 {
  margin-top: 40px;
  font-size: clamp(28px, 4vw, 42px);
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.about-principle {
  padding: 20px 24px;
  border-left: 3px solid var(--cyan);
  background: rgba(68, 187, 164, 0.08);
  color: var(--text) !important;
  font-size: clamp(19px, 2.3vw, 25px) !important;
}

.about-signature {
  display: grid;
  gap: 4px;
  margin-top: 20px !important;
  color: var(--text) !important;
}

.about-signature span {
  color: var(--muted);
  font-size: 15px;
}

.video-library {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.video-library-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.video-library-intro {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.video-controls {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.video-search-label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.video-search-label input {
  width: min(100%, 620px);
  min-height: 48px;
  font-size: 16px;
}

.video-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.video-tag {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #20272d;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.video-tag:hover,
.video-tag:focus-visible,
.video-tag[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(68, 187, 164, 0.16);
  color: var(--text);
}

.video-results-status {
  margin: 0;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.video-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.video-card[hidden] {
  display: none;
}

.video-card:hover,
.video-card:focus-visible {
  border-color: var(--cyan);
  background: #1c2529;
  transform: translateY(-3px);
}

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

.video-thumbnail {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0b0f12;
}

.video-thumbnail::after {
  position: absolute;
  inset: 0;
  content: "";
  background: #0b0f12;
  transition: opacity 150ms ease;
}

.video-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 150ms ease;
}

.video-thumbnail.is-loaded::after {
  opacity: 0;
  pointer-events: none;
}

.video-thumbnail.is-loaded img {
  opacity: 1;
}

.video-play-mark {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(17, 20, 23, 0.82);
  color: var(--text);
  font-size: 17px;
}

.video-card-copy {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.video-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.video-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.video-card-tags span {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(107, 183, 255, 0.12);
  color: #b7d8ff;
  font-size: 12px;
  font-weight: 800;
}

.video-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.video-player-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  background: #0b0f12;
  color: var(--text);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.6);
}

.video-player-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.video-player-dialog form {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  margin: 0;
}

.video-player-close {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px;
  padding: 0 13px;
  background: rgba(17, 20, 23, 0.88);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.video-player-frame {
  aspect-ratio: 16 / 9;
}

.video-player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-hub {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 7vw, 112px);
  align-items: center;
  min-height: min(560px, calc(100vh - 68px));
}

.contact-intro h1 {
  margin: 0;
}

.contact-intro > p:not(.eyebrow),
.contact-community > p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contact-panel {
  display: grid;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 3.5vw, 38px);
  background: var(--panel);
}

.contact-email {
  justify-self: start;
}

.edition-cta {
  justify-self: start;
}

.contact-community {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.contact-community .eyebrow {
  margin-bottom: 0;
}

.contact-social-links .button {
  gap: 9px;
}

.social-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

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

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

.feature-grid h3,
.pricing-card h3,
.feature-detail-copy h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-title-icon,
.pricing-card-icon,
.compare-feature-icon {
  color: var(--cyan);
}

.compare-feature-icon {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: -4px;
}

.feature-title-icon {
  width: 22px;
  height: 22px;
}

.pricing-card-icon {
  width: 24px;
  height: 24px;
}

.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-heading-icon {
  width: 38px;
  height: 38px;
  color: var(--cyan);
}

.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;
}

.feature-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(28px, 5vw, 56px);
}

.feature-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.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 {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #60747a;
  border-radius: 50%;
  background: #20272d;
  color: #eef3f6;
  font-size: 28px;
  line-height: 1;
}

.checkout-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.checkout-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.checkout-card {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px;
}

.checkout-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-heading h2,
.checkout-heading p,
.checkout-summary {
  margin: 0;
}

.checkout-heading h2 {
  font-size: 28px;
  line-height: 1.1;
}

.checkout-heading button {
  min-width: 74px;
}

.checkout-summary {
  color: #d7e2e7;
  line-height: 1.5;
}

.checkout-dialog input {
  width: 100%;
}

.checkout-return-status {
  min-height: 20px;
  margin: -10px 0 18px;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.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);
}

.compare-table-wrap {
  position: relative;
  overflow: visible;
  margin-bottom: 34px;
  border-color: rgba(68, 187, 164, 0.32);
  background: linear-gradient(180deg, rgba(68, 187, 164, 0.08), rgba(24, 29, 33, 0));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.compare-table-scroll {
  overflow-x: auto;
  border-radius: inherit;
}

.compare-table-stage {
  position: relative;
  min-width: 920px;
}

.compare-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  background: rgba(15, 19, 22, 0.72);
}

.compare-table .feature-column {
  width: 34%;
}

.compare-table .plan-column {
  width: 22%;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid rgba(54, 67, 76, 0.72);
  padding: 16px 18px;
}

.compare-table th {
  position: relative;
  background: #1b2228;
  color: #dce6eb;
  font-size: 15px;
  font-weight: 800;
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}

.compare-table tbody tr:hover td {
  background: rgba(68, 187, 164, 0.06);
}

.compare-table .feature-cell {
  color: #eef3f6;
  font-weight: 800;
}

.compare-table .standard-col {
  border-left: 1px solid rgba(68, 187, 164, 0.36);
  border-right: 1px solid rgba(68, 187, 164, 0.36);
  background: rgba(68, 187, 164, 0.08);
}

.compare-table th.standard-col {
  background: linear-gradient(180deg, rgba(68, 187, 164, 0.28), rgba(28, 76, 69, 0.44));
  color: #f3fffc;
}

.compare-table tbody tr:nth-child(even) .standard-col,
.compare-table tbody tr:hover .standard-col {
  background: rgba(68, 187, 164, 0.12);
}

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

.plan-badge,
.compare-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.plan-badge {
  width: fit-content;
  gap: 6px;
  padding: 0 9px;
}

.compare-status {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
}

.plan-badge {
  border: 1px solid rgba(246, 200, 95, 0.76);
  background: rgba(246, 200, 95, 0.16);
  color: #ffe5a3;
}

.badge-icon {
  width: 14px;
  height: 14px;
}

.compare-status-icon {
  width: 18px;
  height: 18px;
}

.compare-status.included {
  border: 1px solid rgba(68, 187, 164, 0.6);
  background: rgba(68, 187, 164, 0.12);
  color: #9cf3df;
}

.compare-status.limited {
  border: 1px solid rgba(246, 200, 95, 0.56);
  background: rgba(246, 200, 95, 0.12);
  color: #ffe0a1;
}

.compare-status.unavailable {
  border: 1px solid rgba(255, 91, 105, 0.58);
  background: rgba(255, 91, 105, 0.12);
  color: #ff6b7a;
}

.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;
}

.downloads-section {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
}

.downloads-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,
.download-list-item,
.docs-grid a {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 0 16px;
  text-decoration: none;
}

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

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

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

.download-list-item .download-requirements {
  color: #d8e0e5;
}

.download-list-item.disabled {
  opacity: 0.74;
}

.download-list-item.has-icon {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 12px;
}

.download-list-item.has-icon > :not(.download-list-icon) {
  grid-column: 2;
}

.download-list-icon {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 24px;
  height: 24px;
  color: var(--yellow);
}

.install-help {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.install-help summary {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.install-help summary:focus-visible {
  outline: 3px solid rgba(68, 187, 164, 0.65);
  outline-offset: -3px;
}

.install-help summary::-webkit-details-marker {
  display: none;
}

.install-help summary::after {
  content: "+";
  margin-left: 10px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.install-help[open] summary::after {
  content: "-";
}

.install-help[open] summary {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 200, 95, 0.08);
}

.install-help-body {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding: 16px;
  background: rgba(10, 13, 16, 0.3);
}

.install-help-list {
  display: grid;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 40px);
}

.install-help-status {
  color: #ffe5a3;
  font-weight: 700;
}

.install-help-status,
.install-help p,
.install-help h3,
.install-help ol {
  margin: 0;
}

.install-help article {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 200, 95, 0.22);
}

.install-help h3 {
  color: var(--text);
  font-size: 18px;
}

.install-help ol {
  display: grid;
  gap: 6px;
  padding-left: 22px;
  color: var(--muted);
}

.install-help p {
  color: var(--muted);
}

.install-help strong,
.install-help code {
  color: var(--text);
}

.install-help code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 5px;
  border: 1px solid rgba(216, 224, 229, 0.16);
  background: rgba(10, 13, 16, 0.58);
  overflow-wrap: anywhere;
  font-size: 13px;
}

.release-history {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(20px, 4vw, 48px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.release-history-heading h3,
.release-history-heading p {
  margin: 0;
}

.release-history-heading h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.release-history-heading > p:last-child {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.release-timeline {
  border-top: 1px solid var(--line);
}

.release-timeline details {
  border-bottom: 1px solid var(--line);
}

.release-timeline summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  cursor: pointer;
  list-style: none;
}

.release-timeline summary::-webkit-details-marker {
  display: none;
}

.release-timeline summary span {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 800;
}

.release-timeline summary::after {
  content: "+";
  grid-column: 2;
  color: var(--muted);
  font-size: 22px;
}

.release-timeline details[open] summary::after {
  content: "-";
}

.release-timeline ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 0 20px 22px;
  color: var(--muted);
  line-height: 1.5;
}

.coming-soon-flag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(246, 200, 95, 0.6);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(246, 200, 95, 0.12);
  color: #ffe5a3;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

button .coming-soon-flag {
  margin-left: 8px;
}

.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: center;
    flex-direction: row;
    gap: 12px;
    min-height: 64px;
    padding-block: 10px;
  }

  .site-header .brand {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-header .brand-logo {
    width: min(162px, 44vw);
  }

  .nav-toggle {
    display: inline-flex;
    gap: 9px;
    min-width: 86px;
    padding-inline: 12px;
    border-color: var(--line);
    background: var(--panel);
  }

  .nav-toggle-bars {
    display: grid;
    gap: 4px;
    width: 18px;
  }

  .nav-toggle-bars span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .site-header[data-nav-open="true"] .nav-toggle-bars span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header[data-nav-open="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
  }

  .site-header[data-nav-open="true"] .nav-toggle-bars span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header .site-navigation {
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(12px, 4vw, 24px);
    display: none;
    width: min(280px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .site-header[data-nav-open="true"] .site-navigation {
    display: flex;
  }

  .site-header .site-navigation a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 6px;
  }

  .site-header .site-navigation a[href="/downloads/"] {
    justify-content: center;
    margin: 4px 0 0;
  }
}

@media (min-width: 1500px) {
  .hero-logo {
    width: min(560px, 100%);
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-logo {
    width: min(500px, 100%);
  }

  .hero-media video {
    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;
  }

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

  .video-library-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section {
    padding-inline: 24px;
  }

  .hero-logo {
    width: min(340px, 100%);
  }

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

  .checkout-card {
    padding: 18px;
  }

  .checkout-heading,
  .checkout-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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