:root {
  --black: #03050b;
  --black-2: #070a11;
  --charcoal: #151922;
  --charcoal-2: #222834;
  --charcoal-3: #303643;
  --red: #ff102d;
  --red-dark: #b50018;
  --white: #ffffff;
  --muted: #c8ccd5;
  --dim: #8d94a2;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    linear-gradient(180deg, var(--black) 0%, var(--black-2) 44%, #05060a 100%);
  min-width: 320px;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(3, 5, 11, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand,
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand picture,
.site-footer picture {
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a,
.tutorial-list a {
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-action,
.button,
.download-table a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
  box-shadow: none;
}

.hero {
  min-height: calc(100vh - 81px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(40px, 7vw, 92px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 9ch;
  font-size: clamp(4.6rem, 12vw, 10.5rem);
  line-height: 0.82;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text,
.section-heading p,
.product-copy p,
.license-panel p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-width: 178px;
  min-height: 52px;
}

.secondary {
  background: transparent;
  border-color: var(--charcoal-3);
  box-shadow: none;
}

.hero-emblem {
  position: relative;
  padding: clamp(10px, 3vw, 24px);
}

.hero-emblem picture,
.product-card picture {
  display: block;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  inset: 16% 12%;
  border: 1px solid rgba(255, 16, 45, 0.42);
  background: rgba(255, 16, 45, 0.08);
  opacity: 0.9;
}

.hero-emblem img {
  position: relative;
  width: min(520px, 100%);
  margin-left: auto;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}

.signal-strip div {
  padding: 24px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-strip strong {
  font-size: 1rem;
}

.section,
.split-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section,
.split-section,
.signal-strip,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.compact {
  margin-bottom: 0;
}

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

.product-card,
.license-panel article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(34, 40, 52, 0.92), rgba(12, 15, 22, 0.94));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
}

.product-card img {
  width: min(320px, 100%);
  margin: 0 auto;
}

.product-copy p {
  margin-bottom: 18px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  background: var(--red);
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div,
.table-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
}

dt {
  color: var(--dim);
  font-size: 0.72rem;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.downloads-band {
  background:
    linear-gradient(90deg, rgba(255, 16, 45, 0.08), transparent 28%),
    var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-band {
  background: var(--black);
  border-top: 1px solid var(--line);
}

.wow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.wow-grid div {
  min-height: 230px;
  padding: 24px;
  background: var(--charcoal);
}

.wow-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 900;
}

.wow-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.wow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.download-table {
  border: 1px solid var(--line);
  background: var(--black);
  overflow: hidden;
}

.table-row {
  min-height: 72px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  min-height: 48px;
  background: var(--charcoal-2);
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.table-row a {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
}

.download-upcoming {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--charcoal-3);
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.table-row .checksum-link {
  display: inline-flex;
  min-height: 0;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  box-shadow: none;
  font-size: 0.72rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
}

.license-panel {
  display: grid;
  gap: 14px;
}

.license-panel article {
  padding: 22px;
}

.license-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.tutorial-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.tutorial-list a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(180px, 0.6fr);
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.tutorial-list a:hover,
.tutorial-list a:focus-visible {
  color: var(--red);
  transform: translateX(6px);
}

.tutorial-list span {
  color: var(--red);
  font-weight: 900;
}

.tutorial-list em {
  color: var(--dim);
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.article-page {
  padding: clamp(42px, 8vw, 90px) clamp(18px, 5vw, 72px);
}

.article {
  max-width: 850px;
}

.article h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 9vw, 7.5rem);
}

.article h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.article li,
.article p {
  color: var(--muted);
  line-height: 1.75;
}

.article li {
  margin-bottom: 10px;
}

.legal h1 {
  max-width: 12ch;
}

.legal ol {
  padding-left: 24px;
}

.legal strong {
  color: var(--white);
}

pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: var(--charcoal);
}

code {
  color: var(--white);
  font-family: Consolas, "Cascadia Mono", "Courier New", monospace;
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-emblem img {
    margin: 0 auto;
    max-height: 460px;
  }

  .signal-strip,
  .product-grid,
  .wow-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    max-height: 340px;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 0;
  }

  body {
    min-width: 0;
  }

  .site-header {
    position: static;
    gap: 12px;
    padding: 12px 16px 14px;
  }

  .brand span {
    max-width: none;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-action {
    display: none;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 0.76rem;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid var(--line);
    background: var(--charcoal);
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 16px 34px;
    text-align: left;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.8vw, 3.15rem);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(1.65rem, 8.8vw, 2.35rem);
    line-height: 1;
  }

  h3 {
    font-size: 1.05rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-emblem {
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
    padding: 0;
  }

  .hero-emblem::before {
    inset: 12%;
  }

  .hero-emblem img {
    max-height: 220px;
  }

  .section,
  .split-section {
    padding: 42px 16px;
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  .signal-strip,
  .site-footer {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .product-card {
    padding: 18px;
  }

  .product-card img {
    max-height: 220px;
  }

  .feature-list {
    gap: 9px;
  }

  .wow-grid div {
    min-height: auto;
    padding: 20px;
  }

  .wow-grid span {
    margin-bottom: 16px;
  }

  .license-panel article {
    padding: 18px;
  }

  .table-row,
  .tutorial-list a {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }

  .table-row {
    gap: 10px;
    padding: 18px 16px;
    align-items: stretch;
  }

  .table-row > span:not(.download-upcoming) {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    color: var(--white);
  }

  .table-row > span:not(.download-upcoming)::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--dim);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .download-upcoming {
    justify-content: center;
    width: 100%;
    margin-top: 4px;
  }

  .tutorial-list a {
    gap: 8px;
    padding: 20px 0;
  }

  .tutorial-list a:hover,
  .tutorial-list a:focus-visible {
    transform: none;
  }

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

  .article-page {
    padding: 38px 16px;
  }

  .article h1 {
    max-width: 9ch;
    font-size: clamp(2.7rem, 14vw, 3.8rem);
  }
}

@media (max-width: 390px) {
  .site-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: clamp(1.95rem, 10.5vw, 2.65rem);
  }

  .hero-emblem {
    max-width: 205px;
  }
}

@media (max-width: 340px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero,
  .section,
  .split-section,
  .article-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 {
    font-size: 1.85rem;
  }
}
