/* Governed Agents Guide — homepage.
   Editorial archive: serif display, paper, a single documentary photograph.
   Interior pages keep reference.css; this file is the home only. */

.home { background: var(--paper); }

.home .home-top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.home .wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.home .home-top nav { display: flex; align-items: center; gap: 26px; }
.home .home-top nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.home .home-top nav a:hover { color: var(--ink); }
.home .home-top nav a.top-cta {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.home main { display: block; }

/* Hero */
.home .hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 28px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
.home .hero h1 {
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 700;
  overflow-wrap: break-word;
}
.home .hero-line {
  font-size: 22px;
  line-height: 1.45;
  color: #4a4740;
  max-width: 540px;
  margin: 0 0 30px;
}
.home .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.home .btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}
.home .btn-primary:hover { background: #24422f; }
.home .btn-ghost {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.home .hero-note {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 460px;
}
.home .hero-photo { margin: 0; }
.home .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.94) contrast(1.02);
}

/* Questions */
.home .questions {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 28px 56px;
}
.home .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  margin-bottom: 24px;
}
.home h2 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}
.home .section-head a {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.home .qgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.home .qcard {
  display: block;
  border-top: 3px solid var(--accent);
  padding: 18px 0 0;
  text-decoration: none;
  color: var(--ink);
}
.home .qcard h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.home .qcard p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
}
.home .qlink { font-size: 14px; font-weight: 700; color: var(--accent); }
.home .qcard:hover h3 { color: var(--accent); }

/* Library band */
.home .library {
  background: #f3efe6;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.home .library-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 28px;
}
.home .libgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
}
.home .libcol h3 {
  font-size: 15px;
  letter-spacing: 0;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink);
}
.home .libcol h3 span { color: var(--muted); font-weight: 400; }
.home .libcol ul { list-style: none; margin: 0; padding: 0; }
.home .libcol li { margin: 0 0 9px; font-size: 15px; line-height: 1.4; }
.home .libcol a { color: #35322d; text-decoration: none; }
.home .libcol a:hover { color: var(--accent); text-decoration: underline; }

/* Pack */
.home .pack {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: start;
}
.home .pack h2 { font-size: 42px; margin-bottom: 16px; }
.home .pack p { font-size: 17px; line-height: 1.6; color: #3a3730; margin: 0 0 16px; max-width: 560px; }
.home .pack ul { margin: 0; padding-left: 20px; font-size: 16px; color: #3a3730; }
.home .pack li { margin-bottom: 8px; }

.home .packform {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 28px;
  border-radius: 2px;
}
.home .packform label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.home .packform input[type="email"] {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcabe;
  border-radius: 2px;
  margin-bottom: 12px;
}
.home .packform button {
  font: inherit;
  font-weight: 700;
  width: 100%;
  background: var(--accent);
  color: var(--paper);
  border: none;
  padding: 13px 20px;
  cursor: pointer;
  border-radius: 2px;
}
.home .packform .subtle { font-size: 13px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

.home .pagefoot { border-top: 1px solid var(--rule); }

@media (max-width: 900px) {
  .home .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .home .hero-photo { order: -1; }
  .home .hero-photo img { aspect-ratio: 16 / 9; }
  .home .qgrid { grid-template-columns: 1fr; }
  .home .libgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .pack { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .home .home-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home .home-top nav { flex-wrap: wrap; gap: 14px; }
  .home .libgrid { grid-template-columns: 1fr; }
  .home h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .home * { transition: none !important; animation: none !important; }
}
.home a:focus-visible, .home button:focus-visible, .home input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
