:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-soft: #0e1013;
  --panel: #14171b;
  --panel-2: #191d22;
  --text: #f5efe6;
  --muted: #c5bbae;
  --dim: #81786d;
  --red: #e13b34;
  --red-2: #ff4c42;
  --gold: #d6a84f;
  --teal: #3db3aa;
  --line: rgba(245, 239, 230, 0.15);
  --line-strong: rgba(245, 239, 230, 0.24);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 76svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050607;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(245, 239, 230, 0.055) 0,
    rgba(245, 239, 230, 0.055) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.24;
  content: "";
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  object-fit: cover;
  opacity: 0.9;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.98) 0%, rgba(8, 9, 11, 0.84) 43%, rgba(8, 9, 11, 0.36) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.18) 48%, rgba(8, 9, 11, 0.76) 100%),
    linear-gradient(135deg, rgba(225, 59, 52, 0.32), transparent 28%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 36px));
  margin-left: max(18px, calc((100vw - 1180px) / 2));
  padding: 52px 0 62px 26px;
  border-left: 4px solid var(--red);
}

.kicker {
  margin: 0 0 12px;
  color: var(--red-2);
  font-family:
    ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-size: 6.7rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 17ch;
  margin-bottom: 16px;
  font-size: 3.45rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 56ch;
  color: #ddd2c5;
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 900;
}

.button.primary {
  background: var(--red);
  color: #fff9f3;
}

.button.primary:hover {
  background: var(--red-2);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(245, 239, 230, 0.08);
}

.button.secondary:hover {
  background: rgba(245, 239, 230, 0.14);
}

.status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.status-bar div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 20px clamp(18px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.status-bar div:last-child {
  border-right: 0;
}

.status-bar span,
.beta-facts span {
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-bar strong,
.beta-facts strong {
  overflow-wrap: anywhere;
}

.section {
  padding: 84px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.section-head,
.split,
.beta-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.workflow-grid article {
  min-width: 0;
  padding: 26px;
  border-top: 4px solid transparent;
  background: var(--panel);
}

.workflow-grid article:nth-child(1) {
  border-top-color: var(--red);
}

.workflow-grid article:nth-child(2) {
  border-top-color: var(--gold);
}

.workflow-grid article:nth-child(3) {
  border-top-color: var(--teal);
}

.workflow-grid p,
.split p,
.beta-panel p,
.rules dd {
  color: var(--muted);
  line-height: 1.58;
}

.workflow-grid ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.45;
}

.workflow-grid li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--red);
  content: "";
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.split p,
.beta-panel p {
  max-width: 62ch;
}

.rules {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.rules div {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rules dt {
  font-weight: 950;
}

.rules dd {
  margin: 0;
}

.beta {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(245, 239, 230, 0.035) 0,
      rgba(245, 239, 230, 0.035) 1px,
      transparent 1px,
      transparent 24px
    ),
    linear-gradient(90deg, rgba(225, 59, 52, 0.12), transparent 36%),
    #0b0d0f;
}

.beta-panel {
  padding: 34px;
  border: 1px solid rgba(217, 58, 52, 0.38);
  border-left: 4px solid var(--red);
  background: #120f0f;
}

.beta-panel h2 {
  max-width: 16ch;
}

.beta-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.beta-facts div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  background: #171211;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 44px);
  color: var(--dim);
  background: #050607;
}

.site-footer span,
.site-footer strong {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 12px;
  }

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

  .hero {
    min-height: 76svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.82) 100%),
      linear-gradient(0deg, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.28) 54%, rgba(8, 9, 11, 0.72) 100%);
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin-inline: 18px;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 2.72rem;
  }

  .status-bar,
  .section-head,
  .workflow-grid,
  .split,
  .beta-facts {
    grid-template-columns: 1fr;
  }

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

  .status-bar div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 60px;
  }

  .rules div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .site-header nav {
    font-size: 0.84rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-copy {
    padding-left: 16px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .workflow-grid article,
  .beta-panel {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
