:root {
  --bg: #050706;
  --panel: #0b0e0c;
  --panel-2: #101411;
  --text: #e7f5eb;
  --muted: #8ba092;
  --dim: #4d5e52;
  --line: #203027;
  --purple: #a78bfa;
  --purple-bright: #c4b5fd;
  --green: #67f59f;
  --orange: #f49a61;
  --blue: #75b8e8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(103, 245, 159, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 245, 159, 0.018) 1px, transparent 1px),
    radial-gradient(
      circle at 12% 18%,
      rgba(30, 132, 72, 0.1),
      transparent 30rem
    ),
    radial-gradient(
      circle at 82% 10%,
      rgba(124, 92, 222, 0.11),
      transparent 28rem
    ),
    var(--bg);
  background-size:
    32px 32px,
    32px 32px,
    auto,
    auto,
    auto;
  font-family:
    "JetBrains Mono", "CommitMono", "SFMono-Regular", Menlo, Monaco,
    "Cascadia Code", Consolas, monospace;
  font-variant-ligatures: contextual;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.014) 0,
    rgba(255, 255, 255, 0.014) 1px,
    transparent 1px,
    transparent 4px
  );
}

body::after {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.3),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.3)
    ),
    linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.35));
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 9px 13px;
  color: #0b0c10;
  background: var(--purple-bright);
  transform: translateY(-150%);
}

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

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark::before {
  margin-right: 7px;
  color: var(--green);
  content: "~/";
  font-weight: 400;
}

.wordmark b {
  color: var(--purple);
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.site-header nav a {
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--purple-bright);
}

.nav-cta {
  padding: 8px 12px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  color: var(--purple-bright);
  background: rgba(167, 139, 250, 0.07);
}

.hero {
  display: grid;
  min-height: calc(100vh - 78px);
  padding: clamp(70px, 9vw, 120px) 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero-copy {
  padding-left: 22px;
  border-left: 1px solid rgba(103, 245, 159, 0.28);
}

.availability,
.comment {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability {
  display: flex;
  margin: 0 0 24px;
  gap: 10px;
  align-items: center;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

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

h1 {
  margin-bottom: 28px;
  font-family: inherit;
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-shadow: 0 0 34px rgba(103, 245, 159, 0.08);
}

h1 em {
  color: var(--purple-bright);
  font-style: normal;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid var(--line);
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 rgba(103, 245, 159, 0.2);
}

.button:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 4px;
}

.button.primary {
  border-color: var(--purple);
  color: #100d18;
  background: var(--purple-bright);
  box-shadow: 0 14px 40px rgba(124, 92, 222, 0.18);
}

.button.primary:hover {
  background: #d1c5ff;
}

.button.secondary {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.button.secondary:hover {
  border-color: var(--dim);
  color: var(--text);
}

.terminal,
.cta-terminal {
  overflow: hidden;
  border: 1px solid #2b4032;
  background: rgba(5, 8, 6, 0.96);
  box-shadow:
    8px 8px 0 rgba(103, 245, 159, 0.035),
    0 32px 90px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(124, 92, 222, 0.07);
}

.terminal {
  position: relative;
  transform: perspective(1200px) rotateY(-1.5deg);
}

.terminal::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.terminal-bar {
  display: grid;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #101711, var(--panel-2));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #a2a7b2;
  font-size: 10px;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f06d6d;
}

.window-controls i:nth-child(2) {
  background: #e7ba62;
}

.window-controls i:nth-child(3) {
  background: #63c58c;
}

.terminal-status {
  justify-self: end;
  color: var(--dim);
}

.code {
  padding: 24px 0 22px;
  font-size: clamp(10px, 1.05vw, 13px);
  line-height: 1.8;
}

.line {
  display: grid;
  min-height: 23px;
  padding-right: 18px;
  grid-template-columns: 48px 1fr;
}

.line:hover {
  background: rgba(255, 255, 255, 0.025);
}

.ln {
  padding-right: 15px;
  color: #3f4450;
  text-align: right;
  user-select: none;
}

.line b {
  color: var(--purple-bright);
  font-weight: 500;
}

.line q {
  color: var(--green);
  quotes: none;
}

.line strong {
  color: var(--orange);
  font-weight: 500;
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 5px;
  vertical-align: -3px;
  background: var(--purple-bright);
  animation: blink 1.1s steps(1) infinite;
}

.terminal-output {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0a0b0e;
  font-size: 10px;
  line-height: 1.9;
}

.prompt {
  color: var(--muted);
}

.prompt b,
.success {
  color: var(--green);
}

.section {
  padding: clamp(80px, 11vw, 140px) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  margin-bottom: clamp(48px, 7vw, 78px);
  grid-template-columns: 0.5fr 1.25fr 0.8fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.comment {
  margin-bottom: 0;
  color: var(--purple);
}

.section-intro h2,
.cta-content h2 {
  margin-bottom: 0;
  font-family: inherit;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module-card {
  position: relative;
  min-height: 270px;
  padding: clamp(26px, 3.6vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 25, 0.54);
  transition: background 180ms ease;
}

.module-card:hover {
  background: rgba(24, 26, 35, 0.8);
}

.module-head {
  display: flex;
  justify-content: space-between;
  color: var(--purple);
  font-size: 10px;
}

.module-head span::before {
  color: var(--dim);
  content: 'resource "provider_tf" "';
}

.module-head span::after {
  color: var(--dim);
  content: '" {';
}

.module-head b {
  color: var(--dim);
  font-weight: 400;
}

.module-card h3 {
  margin: 42px 0 12px;
  font-family: inherit;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.04em;
}

.module-card p {
  max-width: 480px;
  color: var(--muted);
  font-size: 13px;
}

.module-card ul {
  display: flex;
  padding: 0;
  margin: 24px 0 0;
  gap: 7px;
  flex-wrap: wrap;
  list-style: none;
}

.module-card li {
  padding: 4px 7px;
  color: var(--blue);
  background: rgba(117, 184, 232, 0.07);
  font-size: 9px;
}

.module-card li::before {
  content: "#";
}

.section-intro.compact {
  grid-template-columns: 0.5fr 2fr;
}

.steps {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  display: grid;
  min-height: 116px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.5fr 1.3fr 0.7fr;
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
}

.steps li > span {
  color: var(--dim);
  font-size: 11px;
}

.steps h3 {
  margin: 0 0 5px;
  font-family: inherit;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.steps code {
  justify-self: end;
  padding: 7px 10px;
  color: var(--green);
  background: rgba(98, 212, 154, 0.06);
  font-family: inherit;
  font-size: 10px;
}

.cta-terminal {
  max-width: 900px;
  margin-inline: auto;
}

.cta-content {
  padding: clamp(36px, 7vw, 80px);
}

.cta-content > .prompt {
  margin-bottom: 32px;
  color: var(--green);
  font-size: 11px;
}

.cta-content > .prompt span {
  color: var(--text);
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content > p:not(.prompt) {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  min-height: 96px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  color: var(--dim);
  font-size: 10px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .terminal {
    width: min(100%, 680px);
    transform: none;
  }

  .section-intro {
    grid-template-columns: 0.42fr 1.4fr;
  }

  .section-intro > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 650px) {
  .site-header,
  main,
  .site-footer {
    width: min(var(--max), calc(100% - 30px));
  }

  .site-header nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 80px;
  }

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

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .code {
    overflow-x: auto;
    font-size: 10px;
  }

  .line {
    min-width: 480px;
  }

  .section-intro,
  .section-intro.compact,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child {
    grid-column: auto;
  }

  .module-head span::before,
  .module-head span::after {
    content: "";
  }

  .steps li {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }

  .steps code {
    display: none;
  }

  .site-footer {
    padding: 28px 0;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer > a:last-child {
    justify-self: start;
  }
}

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

  .cursor {
    animation: none;
  }

  .button,
  .module-card,
  .site-header nav a {
    transition: none;
  }
}
