:root {
  --green: #59ec65;
  --mint: #c8f3d2;
  --paper: #f2f8f3;
  --paper-soft: #c7d8cd;
  --muted: #8da99a;
  --line: rgba(164, 220, 183, 0.17);
  --line-strong: rgba(89, 236, 101, 0.44);
  --container: 1200px;
  --gutter-pair: 48px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(89, 236, 101, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 236, 101, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 10%, rgba(28, 142, 70, 0.18), transparent 34%),
    #07100b;
  background-size: 88px 88px, 88px 88px, auto, auto;
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green);
  color: #051008;
  font-weight: 700;
  transform: translateY(-150%);
}

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

.prompt-holding {
  min-height: calc(100vh - 144px);
  padding: 34px 0 96px;
}

.prompt-holding-container {
  width: min(calc(100% - var(--gutter-pair)), var(--container));
  margin-inline: auto;
}

.prompt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.prompt-breadcrumbs a {
  text-decoration: none;
}

.prompt-breadcrumbs a:hover,
.prompt-breadcrumbs a:focus-visible {
  color: var(--green);
}

.prompt-primer {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(89, 236, 101, 0.07), rgba(7, 16, 11, 0.96) 42%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.prompt-primer-head {
  max-width: 900px;
  padding: 54px 58px 38px;
}

.prompt-status,
.prompt-kicker {
  margin: 0;
  color: var(--green);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prompt-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(89, 236, 101, 0.07);
  color: var(--mint);
  letter-spacing: 0.015em;
  text-transform: none;
}

.prompt-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(89, 236, 101, 0.1);
}

.prompt-primer h1 {
  max-width: 13ch;
  margin: 12px 0 20px;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.prompt-lead {
  max-width: 760px;
  margin: 0;
  color: var(--paper-soft);
  font-size: 19px;
  line-height: 1.58;
}

.prompt-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.prompt-steps li {
  min-width: 0;
  min-height: 250px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 26px;
  padding: 30px 27px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.prompt-steps li:last-child {
  border-right: 0;
}

.prompt-steps li > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(89, 236, 101, 0.065);
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
}

.prompt-steps h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.prompt-steps p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.prompt-boundary {
  margin: 34px 58px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--green);
  border-radius: 0 18px 18px 0;
  background: rgba(89, 236, 101, 0.055);
}

.prompt-boundary strong {
  color: var(--green);
  font-size: 16px;
}

.prompt-boundary p {
  max-width: 910px;
  margin: 7px 0 0;
  color: var(--paper-soft);
  font-size: 17px;
  line-height: 1.52;
}

.prompt-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 14px;
  padding: 34px 58px 54px;
}

.prompt-action {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--mint);
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.prompt-action-primary {
  border-color: var(--green);
  background: linear-gradient(90deg, #22c9a3, var(--green));
  color: #051008;
}

.prompt-action:hover,
.prompt-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green);
  background-color: rgba(89, 236, 101, 0.08);
}

@media (max-width: 980px) {
  .prompt-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prompt-steps li:nth-child(2) {
    border-right: 0;
  }

  .prompt-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  :root {
    --gutter-pair: 28px;
  }

  .prompt-holding {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .prompt-breadcrumbs {
    margin-bottom: 24px;
  }

  .prompt-primer {
    border-radius: 22px;
  }

  .prompt-primer-head {
    padding: 34px 22px 28px;
  }

  .prompt-primer h1 {
    margin-top: 10px;
    font-size: clamp(42px, 13vw, 58px);
  }

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

  .prompt-steps {
    grid-template-columns: 1fr;
  }

  .prompt-steps li,
  .prompt-steps li:nth-child(2) {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .prompt-steps li:last-child {
    border-bottom: 0;
  }

  .prompt-steps li > span {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .prompt-boundary {
    margin: 26px 22px 0;
    padding: 19px 19px;
  }

  .prompt-actions {
    grid-template-columns: 1fr;
    padding: 26px 22px 34px;
  }

  .prompt-action {
    min-height: 60px;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .prompt-action {
    transition: none;
  }
}
