:root {
  color-scheme: light;
  --bg: #f7ff2a;
  --text: #0a0a0a;
  --muted: #2f2f2f;
  --line: #0a0a0a;
  --panel: #ffffff;
  --accent: #ff4f79;
  --accent-strong: #0a0a0a;
  --button: #0a0a0a;
  --button-text: #ffffff;
  --shadow: 8px 8px 0 #0a0a0a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--text);
  font-weight: 800;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible,
button:focus-visible {
  color: var(--text);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--line);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(56px, 12vw, 128px);
}

.links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  font-weight: 650;
}

.section {
  padding: 56px 0;
  border-bottom: 2px solid var(--line);
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.section h3 span {
  font-weight: 700;
}

.section p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
}

.intro p {
  font-size: 1.12rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 360px;
  margin: 0;
}

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

.project {
  min-width: 0;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  box-shadow: 5px 5px 0 var(--line);
}

.project p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.prompt-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  background: var(--accent);
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.about-agent {
  grid-template-columns: minmax(220px, 0.85fr) minmax(300px, 1.15fr);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: 24px;
}

.agent-links {
  display: grid;
  gap: 12px;
}

.agent-link {
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--line);
  text-decoration: none;
}

.agent-link strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.agent-link strong::after {
  content: "↗";
  margin-left: 8px;
  color: var(--accent);
}

.agent-link span {
  color: var(--muted);
  font-weight: 650;
}

.prompt-card h2 {
  margin-bottom: 8px;
}

.prompt-card p,
.copy-status {
  margin: 0;
}

.copy-button {
  min-width: 128px;
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--button);
  color: var(--button-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background 180ms ease;
}

.copy-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.copy-button:hover {
  background: #333333;
}

.copy-status {
  min-height: 1.4em;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 8px;
  }

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

  .about-agent {
    grid-template-columns: 1fr;
  }

  .about-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .page,
  .footer {
    width: min(100% - 28px, 1080px);
  }

  .links {
    gap: 10px 16px;
    margin-bottom: 56px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .copy-button {
    width: 100%;
  }

  .copy-action {
    display: grid;
    width: 100%;
  }
}
