

.section { padding-block: clamp(56px, 5vw + 40px, var(--sp-6)); }
.section--tight { padding-block: clamp(40px, 4vw + 24px, var(--sp-5)); }
.section--tint {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}
.section--dark {
  background: var(--c-term-bg);
  color: var(--c-term-fg);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: var(--sp-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .c-kicker { justify-content: center; }
.section-head h2 { margin: 12px 0 12px; }
.section-head p { color: var(--c-mute); font-size: var(--fs-md); }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-3);
}
.section-head--split > div { max-width: 640px; }

.hero[data-hero-form="terminal"] {
  position: relative;
  padding-block: clamp(56px, 6vw + 32px, 104px) clamp(56px, 5vw + 40px, 96px);
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.hero[data-hero-form="terminal"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
  pointer-events: none;
}

.hero[data-hero-form="terminal"]::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -30%;
  width: 46%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(14, 147, 132, 0.12), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: center;
}
.hero__copy { order: 2; min-width: 0; }
.hero__term { order: 1; min-width: 0; }

.hero__copy h1 { margin: var(--sp-2) 0; max-width: 20ch; }
.hero__copy .hero__lede {
  font-size: var(--fs-md);
  color: var(--c-ink-2);
  max-width: 44ch;
  margin-bottom: var(--sp-3);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-line);
}
.hero__meta-item { min-width: 0; }
.hero__meta-item .num {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.2;
}
.hero__meta-item span:last-child {
  font-size: var(--fs-xs);
  color: var(--c-mute);
}

.hero__term .c-term__body { min-height: 300px; font-size: var(--fs-xs); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero__copy { order: 1; }
  .hero__term { order: 2; }
  .hero__term .c-term__body { min-height: 0; }
}

.page-head {
  padding-block: clamp(40px, 4vw + 24px, var(--sp-5));
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-line);
}
.page-head h1 { margin: var(--sp-2) 0 12px; }
.page-head p { color: var(--c-mute); font-size: var(--fs-md); max-width: 56ch; }
.page-head .c-crumb { margin-bottom: var(--sp-2); }

.cta-band {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding-block: clamp(56px, 5vw + 40px, var(--sp-6));
  text-align: center;
}
.cta-band__cmd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 0.8rem + 1.6vw, 1.6rem);
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-2);
  padding: 14px 26px;
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-1);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.cta-band__cmd .tm-prompt { color: var(--c-primary); }
.cta-band h2 { margin-bottom: var(--sp-2); }
.cta-band p { color: var(--c-mute); margin-bottom: var(--sp-3); }

.hero__scene {
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 460px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.hero__scene img { width: 100%; height: auto; display: block; }
.hero__grid { position: relative; z-index: 1; }
@media (max-width: 1100px) { .hero__scene { width: 330px; right: -80px; opacity: 0.26; } }
@media (max-width: 760px) { .hero__scene { display: none; } }
