@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --surface: #131316;
  --surface-2: #1b1b20;
  --border: #2a2a30;
  --text: #f3f3f5;
  --text-2: #a6a6ae;
  --muted: #8b8b94;
  --accent: #a92134;
  --accent-text: #e67c89;
  --in-tune: #7fcb9d;
  --radius: 8px;
  --max: 1280px;
  --display: 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 8px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--surface-2);
}

.wrap {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.brand {
  gap: 8px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

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

nav.main ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.main a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--text-2);
  font-size: 0.875rem;
  text-decoration: none;
}

nav.main a:hover,
nav.main a[aria-current='page'] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

nav.main a.nav-download {
  padding-inline: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
}

@media (max-width: 620px) {
  header.site {
    position: relative;
  }
  header.site .wrap {
    flex-direction: column;
    align-items: start;
    padding-block: 8px;
  }
  nav.main {
    width: 100%;
  }
  nav.main ul {
    justify-content: space-between;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.cta.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.cta:hover {
  border-color: #545259;
  background-color: #232329;
}

.cta.primary:hover {
  border-color: #b72334;
  background-color: #b72334;
}

.cta:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--surface);
  border-color: var(--border);
}

main {
  padding-block: clamp(40px, 6vw, 80px) 96px;
}

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

h1 {
  max-width: 23ch;
  margin: 0 0 16px;
  font: 500 clamp(36px, 4.5vw, 56px) / 1.1 var(--display);
  letter-spacing: -0.025em;
}

h2 {
  margin: 56px 0 16px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 500;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.lead {
  max-width: 62ch;
  color: var(--text-2);
  font-size: 18px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero {
  display: grid;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-offer {
  margin: 0;
  color: var(--text-2);
  font-size: 0.875rem;
}

.page-intro {
  padding-block-end: 16px;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 16px;
  border-block: 1px solid var(--border);
}

.clip {
  margin: 0;
}

.clip-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.clip-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 900;
  background: var(--bg);
}

.clip figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.clip + h2,
.clip + .clip {
  margin-top: 40px;
}

.clip-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.72);
  color: var(--text);
  cursor: pointer;
  opacity: 0.8;
}

.clip-toggle:hover,
.clip-toggle:focus-visible {
  opacity: 1;
}

/* Pause: two bars. Play: a triangle. */
.clip-toggle::before {
  content: '';
  width: 12px;
  height: 14px;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}

.clip-toggle[data-state='paused']::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
  background: none;
}

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

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.card p {
  margin: 0;
  color: var(--text-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-text);
  font-weight: 500;
}

.notice {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

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

thead th {
  color: var(--text-2);
  font-weight: 500;
}

tbody th[scope='rowgroup'] {
  padding-top: 18px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

details {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 500;
}

details p {
  color: var(--text-2);
}

footer.site {
  padding-block: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--border);
  background: #101013;
  color: var(--text-2);
  font-size: 0.875rem;
}

.footer-layout,
footer.site nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.footer-brand > a {
  font: 500 20px/1.2 var(--display);
  text-decoration: none;
}

.footer-brand p {
  max-width: 24ch;
}

footer.site h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}

footer.site ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.site li a {
  display: inline-block;
  padding-block: 5px;
  color: var(--text-2);
  text-decoration: none;
}

footer.site li a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .footer-layout {
    grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .cta {
    transition: background-color 160ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .clip-toggle {
    transition: opacity 160ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.downloads,
.contact-options,
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin: 24px 0;
}

.download h2,
.contact-options h2 {
  margin-top: 0;
}

.download ol {
  color: var(--text-2);
  padding-left: 20px;
}

.hashes {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--text-2);
}

.hashes dd {
  margin: 2px 0 10px;
}

.hashes code,
.license-key,
.policy {
  overflow-wrap: anywhere;
}

button.cta {
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.plan {
  min-width: 0;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.plan h2 {
  margin: 0;
  font-size: 1.3rem;
}

.plan .price,
.offer-price {
  margin: 8px 0 16px;
  color: var(--text);
  font: 400 clamp(36px, 5vw, 52px) / 1.2 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.plan-professional {
  border-top: 3px solid var(--accent);
  background: var(--surface);
}

.availability {
  color: var(--accent-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.pricing-details,
.policy {
  max-width: 72ch;
}

.pricing-details ul {
  padding-left: 24px;
  color: var(--text-2);
}

.pricing-policies {
  margin-block-start: 28px;
  color: var(--text-2);
  font-size: 0.875rem;
}

.policy h2 {
  margin-top: 32px;
}

.policy-review p {
  margin: 4px 0 0;
}

.license-key {
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 64px 0 0;
  border-block: 1px solid var(--border);
}

.product-facts > div {
  padding: 24px;
}

.product-facts > div + div {
  border-left: 1px solid var(--border);
}

.product-facts dt {
  color: var(--text);
  font-weight: 500;
}

.product-facts dd {
  margin: 2px 0 0;
  color: var(--text-2);
}

@media (max-width: 620px) {
  .product-facts {
    grid-template-columns: 1fr;
  }
  .product-facts > div {
    padding-inline: 0;
  }
  .product-facts > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

.feature-row,
.demo-teaser,
.offer-band {
  display: grid;
  align-items: center;
  gap: 32px;
  margin-top: clamp(64px, 8vw, 96px);
}

.feature-row h2,
.demo-teaser h2,
.offer-band h2 {
  margin-top: 0;
}

.feature-row p:not(.eyebrow),
.demo-teaser p,
.offer-band p:not(.offer-price) {
  max-width: 54ch;
  color: var(--text-2);
}

.demo-teaser,
.offer-band {
  justify-items: start;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: 0;
  border-inline: 0;
  background: transparent;
}

.offer-band {
  border-top: 2px solid var(--accent);
}

.demo-teaser p,
.offer-band p {
  margin-bottom: 0;
}

.cta-band {
  margin-top: 52px;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }

  .feature-row.reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .feature-row.reverse > div {
    order: 2;
  }

  .demo-teaser,
  .offer-band {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.glossary {
  display: grid;
  gap: 4px 24px;
  max-width: 80ch;
}

.glossary dt {
  margin-top: 12px;
  font-weight: 500;
}

.glossary dd {
  margin: 0;
  color: var(--text-2);
}

@media (min-width: 960px) {
  .glossary {
    grid-template-columns: 180px 1fr;
  }

  .glossary dt {
    margin-top: 0;
  }
}

.credits {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 14px;
}

/* The working application carries the visual detail; the surrounding page stays quiet. */
.product-preview {
  margin: 0;
  min-width: 0;
}
.product-preview > a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.product-preview img {
  width: 100%;
}
.product-preview figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.hero .lead {
  max-width: 44ch;
}
.hero .actions {
  margin-block: 28px 20px;
}
.product-facts {
  font-size: 14px;
}
.product-facts dt {
  margin-bottom: 8px;
  font-size: 16px;
}
.product-facts > div:first-child {
  padding-left: 0;
}
.feature-row .eyebrow {
  font-family: var(--mono);
  font-size: 14px;
}
.policy {
  line-height: 1.75;
}
.policy h1 {
  max-width: none;
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 40px);
  }
  nav.main ul {
    gap: 4px 16px;
  }
  .hero {
    gap: 32px;
  }
  .hero h1 {
    max-width: 16ch;
  }
  .product-preview figcaption {
    flex-wrap: wrap;
    gap: 4px;
  }
  .product-facts {
    margin-top: 40px;
  }
  .product-facts > div {
    padding-block: 16px;
  }
}

.purchase-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: fit-content;
  max-width: 100%;
}
.purchase-actions .cta {
  font-size: 14px;
  padding-inline: 16px;
  min-height: 48px;
  text-align: center;
}
.purchase-availability {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 620px) {
  .purchase-actions {
    width: 100%;
    gap: 8px;
  }
  .purchase-actions .cta {
    padding-inline: 8px;
  }
}
