/* agentden front page.
   Black and white only. White first: white background, black as the
   working color. No gradients, no color, no external assets.
   Plain CSS: a person can read and edit this file by hand. */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: #1a1a1a;
  --muted: #4d4d4d;
  --line: #d9d9d9;
  --line-strong: #000000;
  --wash: #f5f5f5;
  --max: 72rem;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

a {
  color: var(--ink);
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.plan-featured a:focus-visible,
.plan-featured .btn:focus-visible {
  outline-color: var(--paper);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--ink);
}

/* Hero */

.hero {
  padding-top: clamp(3.5rem, 10vw, 7.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 14ch;
}

.lede {
  margin: 0 0 2.25rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-light:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-block {
  display: block;
  width: 100%;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2.5rem;
  max-width: 52rem;
}

.hero-points li {
  padding-left: 1.4rem;
  position: relative;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--ink);
  border-radius: 50%;
}

/* Sections */

.section {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.section-alt {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 800;
}

.section-intro {
  margin: 0 0 3rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

/* How it works */

.steps {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.step {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--paper);
}

.step-num {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.step p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.note h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  padding-top: 1rem;
  border-top: 3px solid var(--ink);
}

.note p {
  margin: 0;
  color: var(--ink-soft);
}

/* Plans */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  background: var(--ink);
  color: var(--paper);
}

.plan-tag {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 1.1em;
}

.plan h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.plan-price {
  margin: 0;
}

.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.plan-price .per {
  color: var(--muted);
  font-weight: 600;
}

.plan-featured .plan-price .per {
  color: #bfbfbf;
}

.plan-seats {
  margin: 0.25rem 0 1.25rem;
  font-weight: 700;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex-grow: 1;
}

.plan li {
  padding: 0.45rem 0 0.45rem 1.35rem;
  position: relative;
  border-top: 1px solid var(--line);
}

.plan-featured li {
  border-top-color: #3d3d3d;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.02em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
}

.plan-featured li::before {
  background: var(--paper);
}

/* Cohort table */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.cohort-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  background: var(--paper);
}

.cohort-table th,
.cohort-table td {
  text-align: left;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.cohort-table thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}

.cohort-table tbody tr:last-child th,
.cohort-table tbody tr:last-child td {
  border-bottom: 0;
}

.cohort-table tbody th {
  font-weight: 800;
  white-space: nowrap;
}

.table-note {
  color: var(--muted);
  font-size: 0.92em;
}

.fine-print {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 44rem;
}

/* Closing */

.closing {
  margin-top: 4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}

.closing h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.closing p {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line-strong);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-line {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.footer-small {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Responsive */

@media (max-width: 64rem) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .notes-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 40rem) {
  body {
    font-size: 1rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

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

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

  .hero-actions .btn {
    width: 100%;
  }

  .header-inner {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
}

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

  .btn {
    transition: none;
  }
}
