:root {
  color-scheme: light;
  font-family:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "YuGothic", system-ui,
    sans-serif;
  color: #101828;
  background: #f4f6f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 248, 0.98)),
    #f4f6f8;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 28px;
  padding: 64px 0 34px;
  border-bottom: 1px solid #d7dee8;
}

.eyebrow {
  margin: 0 0 14px;
  color: #1f6feb;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #475467;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.8;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #c9d3e0;
  color: #111827;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: #1f6feb;
  border-color: #1f6feb;
}

.status-panel {
  display: grid;
  gap: 10px;
}

.status-panel div {
  padding: 20px;
  background: #fff;
  border: 1px solid #d7dee8;
}

.status-panel span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.status-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.video-section {
  margin: 34px 0;
}

.video {
  width: 100%;
  display: block;
  background: #050505;
  border: 1px solid #d7dee8;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.grid {
  display: grid;
  gap: 18px;
}

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

.panel {
  margin-bottom: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid #d7dee8;
}

.workspace {
  margin-bottom: 18px;
  padding: 26px;
  background: #101828;
  color: #fff;
  border: 1px solid #101828;
}

.workspace .section-title span {
  color: #a9b6ca;
}

.job-form {
  display: grid;
  gap: 16px;
}

.job-form label {
  display: grid;
  gap: 8px;
}

.job-form label span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 900;
}

.job-form input,
.job-form select,
.job-form textarea {
  width: 100%;
  border: 1px solid #344054;
  background: #fff;
  color: #101828;
  font: inherit;
  font-weight: 700;
  padding: 13px 14px;
  border-radius: 0;
}

.job-form textarea {
  min-height: 210px;
  resize: vertical;
  line-height: 1.75;
}

.form-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.button.submit {
  height: 51px;
  border-color: #6ea8ff;
}

.job-output {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #344054;
}

.job-output p {
  color: #cbd5e1;
  margin-bottom: 0;
}

.job-output .error {
  color: #fecaca;
  font-weight: 900;
}

.job-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 10px;
  margin-bottom: 12px;
}

.job-header div,
.command-box,
.scene-card {
  background: #fff;
  color: #101828;
}

.job-header div {
  padding: 16px;
}

.job-header span,
.command-box span,
.scene-meta span {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.job-header strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.command-box {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 16px;
}

code {
  display: block;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

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

.scene-card {
  padding: 16px;
}

.scene-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scene-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.scene-card p {
  color: #475467;
  margin-bottom: 12px;
}

.panel p {
  color: #475467;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
}

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

.flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.flow span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1f6feb;
  font-size: 14px;
}

.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.spec div {
  padding: 14px;
  background: #f4f6f8;
}

.spec dt {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.spec dd {
  margin: 5px 0 0;
  font-weight: 900;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.section-title span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

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

figure {
  margin: 0;
}

img {
  width: 100%;
  display: block;
  border: 1px solid #d7dee8;
}

figcaption {
  margin-top: 10px;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.arch-grid div {
  min-height: 112px;
  padding: 18px;
  background: #f4f6f8;
  border-left: 4px solid #1f6feb;
}

.arch-grid strong,
.arch-grid span {
  display: block;
}

.arch-grid strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.arch-grid span {
  color: #475467;
  line-height: 1.6;
  font-weight: 650;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.roadmap div {
  padding: 18px;
  background: #f4f6f8;
  min-height: 130px;
}

.roadmap strong,
.roadmap span {
  display: block;
}

.roadmap strong {
  margin-bottom: 10px;
}

.roadmap span {
  color: #475467;
  line-height: 1.65;
  font-weight: 650;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 24px, 1160px);
    padding-top: 18px;
  }

  .hero,
  .grid.two,
  .slide-grid,
  .arch-grid,
  .scene-list,
  .roadmap,
  .job-header,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 54px;
  }

  .lead {
    font-size: 17px;
  }
}
