:root {
  --ink: #171717;
  --muted: #5d626b;
  --paper: #fffdf8;
  --line: #d9ddd8;
  --green: #b9ff66;
  --coral: #ff6f61;
  --blue: #2f6fed;
  --yellow: #ffd84d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.hero {
  min-height: 92vh;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(23, 23, 23, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
}

.brand {
  margin-right: auto;
  font-size: 1.25rem;
}

.hero-grid,
.split,
.wrap {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 40px;
  align-items: center;
  min-height: calc(92vh - 80px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 100%;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  overflow-wrap: normal;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.98;
  white-space: nowrap;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

h3 {
  font-size: 1rem;
}

.tagline {
  max-width: 780px;
  font-size: clamp(1.6rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
}

.intro,
.big-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.22rem;
}

.console {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #101114;
  color: #f6f7ee;
  box-shadow: 12px 12px 0 var(--green);
  overflow: hidden;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #23252b;
}

.console-lights {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.console-lights span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--coral);
}

.console-lights span:nth-child(2) {
  background: var(--yellow);
}

.console-lights span:nth-child(3) {
  background: var(--green);
}

.console-label {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #c8cfc2;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.console-spark {
  color: #d6a8ff;
  font-size: 0.92rem;
}

.console-body {
  height: 340px;
  margin: 0;
  padding: 22px;
  overflow-y: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.session-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(185, 255, 102, 0.45);
  border-radius: 6px;
  background: rgba(185, 255, 102, 0.08);
  color: #f9fff1;
  font-weight: 800;
  white-space: nowrap;
}

.session-marker {
  color: var(--green);
}

.session-fluff {
  min-height: 214px;
  padding: 16px;
  border: 1px solid rgba(246, 247, 238, 0.14);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.fluff-source {
  margin-bottom: 12px;
  color: #8f978b;
  font-size: 0.78rem;
  font-weight: 800;
}

.fluff-text {
  margin: 0;
  color: #f6f7ee;
  overflow-wrap: anywhere;
}

.fluff-text::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 4px;
  background: var(--green);
  vertical-align: -0.16em;
  animation: cursor-blink 900ms steps(1) infinite;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

.band {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.alt {
  background: #f0f7ff;
}

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

.install-card,
figure,
details {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(23, 23, 23, 0.14);
}

.install-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.install-card code {
  min-height: 64px;
  overflow-wrap: anywhere;
  color: #1f3f8f;
  font-size: 0.95rem;
}

.install-card button {
  margin-top: auto;
}

button,
.primary {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.inline-link {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.testimonials-section {
  margin: 84px auto 0;
  padding-bottom: 84px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: 36px;
  padding: 92px 0;
}

.demo-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: center;
}

.phrase-output {
  display: block;
  min-height: 190px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--coral);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.08;
}

figure {
  margin: 0;
  padding: 24px;
}

blockquote {
  margin: 0 0 18px;
  font-size: 1.24rem;
  font-weight: 800;
}

figcaption {
  color: var(--muted);
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  padding: 32px 20px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.footer p {
  margin: 0 0 8px;
}

@media (max-width: 820px) {
  .hero-grid,
  .split,
  .demo-wrap,
  .install-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0 48px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .console {
    box-shadow: 8px 8px 0 var(--green);
  }

  .console-top {
    padding: 12px;
  }

  .console-label {
    font-size: 0.72rem;
  }

  .console-body {
    height: 360px;
    padding: 16px;
    font-size: 0.82rem;
  }

  .session-prompt {
    gap: 8px;
    padding: 10px 12px;
  }

  .session-fluff {
    min-height: 248px;
    padding: 14px;
  }

  .testimonials-section {
    margin-top: 72px;
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fluff-text::after {
    display: none;
    animation: none;
  }
}
