:root {
  --bg: #edf2ee;
  --surface: rgba(251, 251, 247, 0.94);
  --surface-strong: #fbfbf7;
  --surface-muted: #fffffb;
  --ink: #171612;
  --muted: #56605b;
  --line: #24211b;
  --accent: #265e8f;
  --accent-dark: #171612;
  --accent-soft: #f2d886;
  --success-soft: #b9dfc7;
  --shadow: 10px 10px 0 rgba(36, 33, 27, 0.18);
  --radius-lg: 4px;
  --radius-md: 2px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Changa", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 22, 18, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(23, 22, 18, 0.07) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
}

a {
  color: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

.terminal,
.one-liner-copy,
.one-liner-copy pre,
.prompt-card pre {
  max-width: 100%;
}

.terminal pre,
.one-liner-copy pre,
.prompt-card pre,
code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-shell {
  padding: 24px;
}

.hero,
.proof,
.install,
.how,
.prompts,
.closing {
  max-width: var(--max);
  margin: 0 auto 28px;
}

.hero {
  background:
    linear-gradient(135deg, rgba(185, 223, 199, 0.45), rgba(242, 216, 134, 0.38)),
    var(--surface-strong);
  border: 3px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, transparent 0 92%, rgba(36, 33, 27, 0.08) 92% 100%),
    linear-gradient(90deg, transparent 0 92%, rgba(36, 33, 27, 0.08) 92% 100%);
  background-size: 28px 28px;
  pointer-events: none;
}

.topbar,
.hero-grid,
.proof,
.install,
.how,
.prompts,
.closing-card {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  padding: 52px 28px 32px;
}

.hero-copy {
  padding: 12px 4px 16px;
}

.eyebrow,
.panel-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 1px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fbfbf7;
  background: var(--ink);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 rgba(36, 33, 27, 0.2);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface-strong);
  border: 2px solid var(--line);
}

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

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(242, 216, 134, 0.32);
}

.hero-card {
  display: flex;
  align-items: stretch;
}

.terminal {
  width: 100%;
  background: var(--ink);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: #fbfbf7;
  box-shadow: 8px 8px 0 rgba(36, 33, 27, 0.22);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.terminal-bar span {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #6d6054;
}

.terminal-bar span:first-child {
  background: #efb4aa;
}

.terminal-bar span:nth-child(2) {
  background: var(--accent-soft);
}

.terminal-bar span:nth-child(3) {
  background: var(--success-soft);
}

.terminal pre {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 0.97rem;
}

.proof,
.install,
.how,
.prompts {
  background: rgba(251, 251, 247, 0.78);
  border: 3px solid var(--line);
  border-radius: 2px;
  padding: 34px 28px;
}

.section-heading {
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  max-width: 12ch;
}

.feature-grid,
.steps,
.auth-panels,
.prompt-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.feature,
.step,
.auth-panel,
.prompt-card,
.timeline-item,
.closing-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 rgba(36, 33, 27, 0.14);
}

.feature,
.step,
.auth-panel,
.prompt-card,
.timeline-item {
  padding: 22px;
}

.feature p,
.step p,
.auth-panel p,
.timeline-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.step-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.auth-panels {
  margin-top: 18px;
}

.one-liner {
  margin-bottom: 26px;
}

.hero-one-liner {
  margin-top: 28px;
  margin-bottom: 26px;
}

.hero-one-liner .one-liner-copy {
  display: block;
  background: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 rgba(36, 33, 27, 0.22);
  padding: 12px 16px 16px;
}

.one-liner-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.one-liner-dots span {
  width: 11px;
  height: 11px;
  background: #6d6054;
}

.one-liner-dots span:first-child { background: #efb4aa; }
.one-liner-dots span:nth-child(2) { background: var(--accent-soft); }
.one-liner-dots span:nth-child(3) { background: var(--success-soft); }

.hero-one-liner .one-liner-copy pre {
  padding: 0 110px 0 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
}

.one-liner-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.one-liner-copy {
  position: relative;
  display: flex;
}

.one-liner-copy pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 20px 140px 20px 22px;
  background: var(--ink);
  color: #fbfbf7;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 rgba(36, 33, 27, 0.18);
  font-size: 1rem;
  line-height: 1.65;
}

.one-liner-btn {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  padding: 8px 18px;
  background: var(--accent-soft);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 1px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 3px 0 rgba(36, 33, 27, 0.18);
}

.one-liner-btn:hover {
  transform: translateY(calc(-50% - 2px));
  box-shadow: 4px 5px 0 rgba(36, 33, 27, 0.22);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  gap: 8px;
  align-items: start;
}

.prompt-card pre {
  margin: 16px 0 0;
  padding: 16px;
  background: var(--ink);
  color: #fbfbf7;
  border-radius: 1px;
  overflow-x: auto;
  border: 2px solid var(--line);
}

.closing-card {
  padding: 34px 28px;
  background:
    linear-gradient(130deg, rgba(185, 223, 199, 0.52), rgba(242, 216, 134, 0.42)),
    var(--surface-strong);
  border-radius: 2px;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .steps,
  .auth-panels,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .terminal {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 14px;
  }

  .topbar,
  .hero-grid,
  .proof,
  .install,
  .how,
  .prompts,
  .closing-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  h2 {
    max-width: none;
  }

  .hero-text {
    font-size: 1rem;
  }

  .one-liner-copy {
    display: block;
  }

  .one-liner-copy pre {
    padding: 16px;
  }

  .hero-one-liner .one-liner-copy pre {
    padding: 0;
  }

  .one-liner-btn {
    position: static;
    transform: none;
    margin-top: 12px;
  }

  .one-liner-btn:hover {
    transform: translateY(-2px);
  }
}
