@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0B0A0A;
  --panel: #141112;
  --panel-2: #1C1718;
  --line: #2A2122;
  --line-2: #382B2C;
  --ink: #F5F2F2;
  --dim: #9C9090;
  --faint: #6A5C5D;
  --accent: #F5331F;
  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

figure,
p,
h1,
h2,
h3,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

code {
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.container {
  width: calc(100% - var(--gutter) - var(--gutter));
  max-width: 1440px;
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: var(--gutter);
  padding: 12px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: inset 0 0 0 2px var(--ink);
  transform: translateY(-2px);
}

.button:focus-visible {
  outline-color: var(--ink);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: grid;
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(28px, 4.5vw, 78px);
}

.brand {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.brand-name {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
}

.brand-by {
  padding-left: 15px;
  border-left: 1px solid var(--line-2);
  color: var(--dim);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 35px);
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

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

.hero-copy {
  padding-top: clamp(76px, 9vw, 150px);
}

.hero h1 {
  max-width: 1440px;
  font-size: clamp(2.75rem, 6.6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.068em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero h1::before,
.section-heading::before {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--accent);
  content: "";
}

.hero h1 span {
  display: block;
}

.hero-subhead {
  max-width: 950px;
  margin-top: 34px;
  color: var(--dim);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 20px;
  color: var(--dim);
  font-size: 14px;
}

.screen-frame {
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.hero-screen {
  margin-top: clamp(58px, 8vw, 112px);
}

.screen-topline {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 18px;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
  color: var(--dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: lowercase;
}

.hero-screen img {
  width: 100%;
  height: auto;
}

.hero-screen figcaption {
  padding: 13px 18px 15px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.code-strip {
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 15px 2px;
}

.code-strip-label,
.code-list {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.code-strip-label {
  color: var(--dim);
  white-space: nowrap;
}

.code-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.code-list code,
.code-list span {
  font-size: inherit;
  white-space: nowrap;
}

.code-list span {
  color: var(--dim);
}

.section {
  padding-block: clamp(84px, 8.5vw, 136px);
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 440px;
  min-width: 0;
}

.section-intro-wide {
  max-width: none;
  margin-bottom: 44px;
}

.section-heading {
  font-size: clamp(2.35rem, 4.1vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-intro p {
  margin-top: 24px;
  color: var(--dim);
  font-size: 18px;
  line-height: 1.5;
}

.film-section {
  background: var(--panel);
}

.film-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(40px, 7vw, 120px);
}

.film-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  padding-top: 23px;
  border-top: 1px solid var(--line-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px !important;
  font-weight: 500;
}

.film-frame {
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg);
}

.film-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

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

.process-list li {
  display: flex;
  min-height: 236px;
  min-width: 0;
  flex-direction: column;
  padding: clamp(22px, 2.5vw, 34px);
  background: var(--bg);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: auto;
}

.step-number,
.step-tag,
.start-number {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.step-number {
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

.step-tag {
  padding: 4px 7px;
  border: 1px solid var(--line-2);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.step-context {
  color: var(--dim);
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.process-list h3 {
  margin-top: 37px;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.process-list p {
  margin-top: 12px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.5;
}

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

.proof-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--panel);
}

.proof-card-copy {
  padding: clamp(24px, 2.4vw, 34px);
}

.proof-card h3 {
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.proof-card-copy > p:not(.metric):not(.proof-kicker) {
  margin-top: 17px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.55;
}

.metric {
  margin-bottom: 25px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(76px, 7vw, 108px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.proof-kicker {
  margin-bottom: 18px;
  color: var(--dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.key-number {
  color: var(--accent);
  font-size: 21px;
}

.proof-media {
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
}

.proof-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top left;
}

.code-rows,
.host-rows {
  margin: auto clamp(24px, 2.4vw, 34px) clamp(24px, 2.4vw, 34px);
  border-top: 1px solid var(--line-2);
}

.code-rows div,
.host-rows div {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}

.code-rows dt,
.host-rows dt {
  min-width: 0;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
}

.code-rows dd,
.host-rows dd {
  min-width: 0;
  margin: 0;
  color: var(--dim);
  text-align: right;
}

.host-rows {
  width: auto;
}

.host-rows div {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding-block: 15px;
}

.proof-card-host .proof-card-copy {
  padding-top: clamp(40px, 5vw, 73px);
}

.scope-section {
  background: var(--panel);
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 7vw, 112px);
}

.scope-content {
  min-width: 0;
}

.scope-table {
  width: 100%;
  border: 1px solid var(--line-2);
  border-collapse: collapse;
  table-layout: fixed;
}

.scope-table th,
.scope-table td {
  width: 50%;
  padding: 20px 24px;
  border: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}

.scope-table th {
  background: var(--panel-2);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.scope-table td {
  background: var(--bg);
}

.scope-table strong,
.scope-table span {
  display: block;
}

.scope-table strong {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
}

.scope-table span {
  margin-top: 7px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.45;
}

.scope-note {
  display: flex;
  gap: 16px;
  padding: 17px 24px;
  border: 1px solid var(--line-2);
  border-top: 0;
  background: var(--bg);
  color: var(--dim);
  font-size: 14px;
}

.scope-note span {
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.start-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.start-list li {
  min-width: 0;
  padding-top: 23px;
  border-top: 1px solid var(--line-2);
}

.start-number {
  color: var(--dim);
  font-size: 26px;
  line-height: 1;
}

.start-list h3 {
  margin-top: 45px;
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.start-list p {
  max-width: 330px;
  margin-top: 14px;
  color: var(--dim);
  font-size: 15px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(44px, 7vw, 112px);
}

.faq-list {
  min-width: 0;
  border-top: 1px solid var(--line-2);
}

.faq-list details {
  border-bottom: 1px solid var(--line-2);
}

.faq-list summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  cursor: pointer;
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--accent);
}

.faq-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 180ms ease;
}

.faq-list details[open] svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 600px;
  padding: 0 35px 25px 2px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.55;
}

.faq-list details p a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.final-cta {
  padding-block: clamp(70px, 7vw, 114px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--panel-2);
}

.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px 70px;
}

.final-layout .section-heading {
  max-width: 750px;
}

.final-layout p {
  margin-top: 20px;
  color: var(--dim);
  font-size: 18px;
}

.final-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 2px;
}

.final-action span {
  color: var(--dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.site-footer {
  padding-block: 28px 36px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.footer-top a {
  color: var(--dim);
  text-underline-offset: 3px;
}

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

.site-footer p {
  max-width: 900px;
  margin-top: 31px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .film-layout,
  .scope-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .film-layout,
  .scope-layout,
  .faq-layout {
    gap: 44px;
  }

  .section-intro {
    max-width: 650px;
  }
}

@media (max-width: 740px) {
  .header-inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 18px;
    padding-block: 12px 11px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-by {
    font-size: 11px;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  .site-nav ul {
    justify-content: space-between;
    gap: 6px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero-copy {
    padding-top: 72px;
  }

  .hero-screen {
    margin-top: 66px;
  }

  .code-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .code-list {
    justify-content: flex-start;
  }

  .start-list {
    gap: 28px;
  }
}

@media (max-width: 580px) {
  .section {
    padding-block: 82px;
  }

  .section-heading::before,
  .hero h1::before {
    margin-bottom: 23px;
  }

  .hero h1 {
    font-size: clamp(42px, 10.8vw, 58px);
    letter-spacing: -0.064em;
  }

  .hero-subhead {
    margin-top: 26px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 28px;
  }

  .hero-screen {
    margin-top: 54px;
  }

  .screen-topline {
    font-size: 9px;
  }

  .process-list,
  .proof-grid,
  .start-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list li {
    min-height: 200px;
  }

  .proof-card h3 {
    font-size: 26px;
  }

  .scope-table th,
  .scope-table td {
    padding: 15px 12px;
  }

  .scope-table strong {
    font-size: 15px;
  }

  .scope-table span {
    font-size: 13px;
  }

  .scope-note {
    flex-wrap: wrap;
    gap: 5px 12px;
    padding-inline: 12px;
  }

  .start-list li {
    padding-top: 18px;
  }

  .start-list h3 {
    margin-top: 22px;
  }

  .final-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 9px;
  }

  .brand-by {
    padding-left: 9px;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 12px;
  }

  .site-nav a {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
