/* Agent-first homepage — an editorial protocol dispatch, intentionally scoped. */
.home-body {
  --home-paper: #f4efe5;
  --home-paper-deep: #e9e0d2;
  --home-ink: #24201a;
  --home-ink-muted: #6e665a;
  --home-red: #c54221;
  --home-green: #13745b;
  --home-rule: #cfc5b5;
  --home-mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", monospace;
  min-width: 320px;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.home-body::before {
  display: none;
}

.home-body * {
  border-radius: 0;
}

.home-body a:focus-visible,
.home-body button:focus-visible {
  outline: 3px solid var(--home-red);
  outline-offset: 4px;
}

.home-forward a:focus-visible,
.home-agent-path a:focus-visible,
.home-builder-path a:focus-visible,
.home-closing a:focus-visible,
.home-button-primary:focus-visible {
  outline-color: var(--home-paper);
  box-shadow: 0 0 0 2px var(--home-ink);
}

.home-skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--home-paper);
  background: var(--home-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.home-skip:focus {
  transform: translateY(0);
}

.home-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 32px;
}

.home-masthead {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--home-rule);
}

.home-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-ink);
  text-decoration: none;
}

.home-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--home-ink);
  background: var(--home-paper-deep);
}

.home-brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
}

.home-brand-name,
.home-brand-note {
  display: block;
}

.home-brand-name {
  font-family: "Silkscreen", var(--home-mono);
  font-size: 0.96rem;
  line-height: 1;
}

.home-brand-note {
  margin-top: 5px;
  color: var(--home-ink-muted);
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-nav {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.home-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--home-ink);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 5px;
}

.home-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.home-open {
  min-height: 44px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--home-red);
  color: var(--home-paper);
  background: var(--home-red);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.home-open:hover {
  color: var(--home-red);
  background: transparent;
}

.home-hero {
  min-height: min(780px, calc(100vh - 88px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(52px, 8vw, 128px);
  padding: clamp(76px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--home-ink);
}

.home-kicker {
  margin: 0 0 28px;
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.6rem, 9.3vw, 9.2rem);
  font-weight: 750;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.home-deck {
  max-width: 680px;
  margin: 38px 0 0;
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  line-height: 1.52;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.home-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--home-ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.home-button-primary {
  border-color: var(--home-red);
  color: var(--home-paper);
  background: var(--home-red);
}

.home-button-primary:hover {
  color: var(--home-red);
  background: transparent;
}

.home-button-secondary {
  color: var(--home-ink);
  background: transparent;
}

.home-button-secondary:hover {
  color: var(--home-paper);
  background: var(--home-ink);
}

.home-fact {
  margin: 18px 0 0;
  color: var(--home-ink-muted);
  font-family: var(--home-mono);
  font-size: 0.76rem;
}

.home-forward {
  align-self: center;
  border: 1px solid var(--home-green);
  color: var(--home-paper);
  background: var(--home-green);
}

.home-forward-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(244, 239, 229, 0.42);
  font-family: var(--home-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-forward blockquote {
  margin: 0;
  padding: clamp(32px, 5vw, 68px) clamp(26px, 4vw, 54px);
  font-size: clamp(1.55rem, 2.75vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.home-forward > a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-top: 1px solid rgba(244, 239, 229, 0.42);
  border-bottom: 1px solid rgba(244, 239, 229, 0.42);
  color: inherit;
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-forward > a:hover {
  color: var(--home-green);
  background: var(--home-paper);
}

.home-mini-protocol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-mini-protocol li {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 18px;
  border-right: 1px solid rgba(244, 239, 229, 0.42);
  font-family: var(--home-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.home-mini-protocol li:last-child {
  border-right: 0;
}

.home-mini-protocol span {
  opacity: 0.62;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1.2fr);
  align-items: start;
  column-gap: clamp(36px, 8vw, 124px);
}

.home-section-head .home-kicker {
  grid-row: 1 / span 2;
  margin: 8px 0 0;
}

.home-section-head h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 6rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.home-proof {
  margin: 0 -32px;
  padding: clamp(80px, 9vw, 132px) 32px clamp(60px, 8vw, 112px);
  color: var(--home-paper);
  background: var(--home-ink);
}

.home-proof-head {
  margin-bottom: 64px;
}

.home-proof-head > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(244, 239, 229, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.home-ledger {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: end;
  gap: clamp(18px, 3vw, 42px);
  padding-top: 34px;
  border-top: 1px solid rgba(244, 239, 229, 0.32);
}

.home-evidence {
  margin: 0;
}

.home-evidence img {
  width: 100%;
  height: auto;
  max-height: 660px;
  object-fit: contain;
  object-position: center bottom;
  background: #fbfaf7;
}

.home-evidence-primary img {
  max-height: 760px;
}

.home-evidence figcaption {
  min-height: 58px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 239, 229, 0.34);
  color: rgba(244, 239, 229, 0.78);
  font-size: 0.82rem;
  line-height: 1.4;
}

.home-evidence figcaption span {
  flex: 0 0 auto;
  font-family: var(--home-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-boundary {
  padding: clamp(86px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--home-ink);
}

.home-boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 76px;
  border-top: 1px solid var(--home-ink);
  border-bottom: 1px solid var(--home-ink);
}

.home-boundary-grid article {
  padding: clamp(28px, 4vw, 54px);
}

.home-boundary-grid article + article {
  border-left: 1px solid var(--home-ink);
}

.home-boundary-label {
  margin: 0 0 40px;
  color: var(--home-red);
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-boundary-grid ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-boundary-grid li {
  padding: 18px 0;
  border-top: 1px solid var(--home-rule);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 620;
  letter-spacing: -0.025em;
}

.home-boundary-grid li:nth-child(odd) {
  padding-right: 18px;
}

.home-boundary-note {
  max-width: 850px;
  margin: 30px 0 0 auto;
  color: var(--home-ink-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.home-audiences {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--home-ink);
}

.home-agent-path,
.home-builder-path {
  padding: clamp(54px, 7vw, 100px);
}

.home-agent-path {
  margin-left: -32px;
  padding-left: 32px;
  color: var(--home-paper);
  background: var(--home-red);
}

.home-builder-path {
  margin-right: -32px;
  padding-right: 32px;
  color: var(--home-paper);
  background: var(--home-green);
}

.home-agent-path h2,
.home-builder-path h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.8rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.home-builder-path h2 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.97;
}

.home-agent-path > p:not(.home-kicker),
.home-builder-path > p:not(.home-kicker) {
  max-width: 680px;
  margin: 38px 0 0;
  font-size: 1rem;
  line-height: 1.68;
}

.home-text-link,
.home-builder-path nav a {
  min-height: 46px;
  color: inherit;
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  border-bottom: 1px solid currentColor;
}

.home-builder-path nav {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid rgba(244, 239, 229, 0.42);
}

.home-builder-path nav a {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(244, 239, 229, 0.42);
}

.home-builder-path nav a:hover,
.home-text-link:hover {
  color: var(--home-ink);
  background: var(--home-paper);
}

.home-register {
  padding: clamp(86px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--home-ink);
}

.home-register-list {
  margin: 76px 0 0;
  padding: 0;
  border-top: 1px solid var(--home-ink);
  list-style: none;
}

.home-register-list li {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--home-rule);
}

.home-register-list > li > span {
  color: var(--home-red);
  font-family: var(--home-mono);
  font-size: 0.84rem;
}

.home-register-list div {
  display: grid;
  grid-template-columns: minmax(170px, 0.6fr) minmax(0, 1fr);
  gap: 32px;
}

.home-register-list strong {
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  letter-spacing: -0.04em;
}

.home-register-list p {
  max-width: 700px;
  margin: 3px 0 0;
  color: var(--home-ink-muted);
  line-height: 1.6;
}

.home-register-note {
  max-width: 760px;
  margin: 28px 0 0 auto;
  padding-left: 22px;
  border-left: 4px solid var(--home-green);
  color: var(--home-ink-muted);
  line-height: 1.6;
}

.home-faq {
  padding: clamp(86px, 10vw, 144px) 0;
  border-bottom: 1px solid var(--home-ink);
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 76px;
  border-top: 1px solid var(--home-ink);
  border-bottom: 1px solid var(--home-ink);
}

.home-faq-grid article {
  padding: clamp(28px, 4vw, 48px);
}

.home-faq-grid article + article {
  border-left: 1px solid var(--home-ink);
}

.home-faq-grid h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-faq-grid p {
  margin: 28px 0 0;
  color: var(--home-ink-muted);
  line-height: 1.68;
}

.home-faq-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  border-bottom: 1px solid currentColor;
  color: var(--home-ink);
  font-family: var(--home-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-faq-link:hover {
  color: var(--home-paper);
  background: var(--home-ink);
}

.home-closing {
  margin: 0 -32px;
  padding: clamp(82px, 10vw, 150px) 32px;
  color: var(--home-paper);
  background: var(--home-green);
}

.home-closing h2 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 7.2rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.home-closing-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(244, 239, 229, 0.42);
}

.home-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-store-badges a {
  min-width: 150px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
}

.home-store-badges img {
  width: auto;
  height: 50px;
}

.home-button-on-green {
  flex: 0 0 auto;
  border-color: var(--home-paper);
  color: var(--home-green);
  background: var(--home-paper);
}

.home-button-on-green:hover {
  color: var(--home-paper);
  background: transparent;
}

.home-footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--home-ink-muted);
  font-family: var(--home-mono);
  font-size: 0.7rem;
  line-height: 1.5;
}

.home-footer p {
  margin: 0;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.home-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .home-shell {
    padding: 0 22px;
  }

  .home-masthead {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
  }

  .home-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
  }

  .home-open {
    grid-column: 2;
    grid-row: 1;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 68px;
    padding: 76px 0;
  }

  .home-forward {
    width: min(100%, 680px);
    justify-self: end;
  }

  .home-proof,
  .home-closing {
    margin: 0 -22px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .home-ledger {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .home-evidence img,
  .home-evidence-primary img {
    max-height: 590px;
  }

  .home-audiences {
    grid-template-columns: 1fr 1fr;
  }

  .home-agent-path,
  .home-builder-path {
    padding: 64px 32px;
  }

  .home-agent-path {
    margin-left: -22px;
    padding-left: 22px;
  }

  .home-builder-path {
    margin-right: -22px;
    padding-right: 22px;
  }
}

@media (max-width: 700px) {
  .home-shell {
    padding: 0 16px;
  }

  .home-masthead {
    gap: 10px 18px;
  }

  .home-brand-note {
    display: none;
  }

  .home-open {
    padding: 0 12px;
  }

  .home-nav {
    margin: 0 -16px;
    padding: 4px 16px 0;
    gap: 22px;
    border-top: 1px solid var(--home-rule);
  }

  .home-nav a {
    flex: 0 0 auto;
  }

  .home-hero {
    padding: 58px 0 66px;
    gap: 52px;
  }

  .home-hero h1 {
    font-size: clamp(4.1rem, 22vw, 6.6rem);
  }

  .home-deck {
    margin-top: 28px;
  }

  .home-actions {
    display: grid;
  }

  .home-button {
    width: 100%;
  }

  .home-forward-head {
    display: grid;
  }

  .home-forward blockquote {
    padding: 34px 22px;
    font-size: 1.75rem;
  }

  .home-mini-protocol li {
    min-height: 66px;
    padding: 10px;
  }

  .home-section-head {
    grid-template-columns: 1fr;
  }

  .home-section-head .home-kicker {
    grid-row: auto;
    margin: 0 0 22px;
  }

  .home-section-head h2 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .home-proof,
  .home-closing {
    margin: 0 -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-proof-head > p:last-child {
    margin-top: 22px;
  }

  .home-ledger {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 82vw);
    align-items: end;
    gap: 16px;
    margin: 0 -16px;
    padding: 28px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .home-evidence {
    scroll-snap-align: start;
  }

  .home-evidence img,
  .home-evidence-primary img {
    max-height: none;
  }

  .home-boundary-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .home-boundary-grid article {
    padding: 30px 0;
  }

  .home-boundary-grid article + article {
    border-top: 1px solid var(--home-ink);
    border-left: 0;
  }

  .home-boundary-grid ul {
    grid-template-columns: 1fr;
  }

  .home-boundary-grid li:nth-child(odd) {
    padding-right: 0;
  }

  .home-boundary-note {
    margin-top: 24px;
  }

  .home-audiences {
    grid-template-columns: 1fr;
    margin: 0 -16px;
  }

  .home-agent-path,
  .home-builder-path {
    margin: 0;
    padding: 62px 16px;
  }

  .home-register-list {
    margin-top: 52px;
  }

  .home-register-list li,
  .home-register-list div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-register-list li {
    padding: 26px 0;
  }

  .home-register-note {
    margin-top: 24px;
  }

  .home-faq-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .home-faq-grid article {
    padding: 30px 0;
  }

  .home-faq-grid article + article {
    border-top: 1px solid var(--home-ink);
    border-left: 0;
  }

  .home-closing h2 {
    font-size: clamp(2.8rem, 13.5vw, 5rem);
  }

  .home-closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-store-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-store-badges a {
    min-width: 0;
  }

  .home-store-badges img {
    width: 100%;
    height: auto;
    max-height: 50px;
  }

  .home-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-body *,
  .home-body *::before,
  .home-body *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
