:root {
  --geo-grid: rgba(16, 18, 15, .14);
  --geo-grid-light: rgba(255, 253, 248, .18);
}

.geo-home {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.geo-home-grid,
.geo-hero-grid,
.geo-split,
.entity-layout,
.answer-layout,
.prompt-layout,
.diagnostic-layout {
  display: grid;
  align-items: end;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.geo-home .eyebrow,
.geo-hero .eyebrow,
.geo-dark .eyebrow {
  color: var(--accent);
}

.geo-home h2 {
  max-width: 12ch;
}

.geo-home-copy > p:not(.eyebrow),
.geo-hero-copy > p:not(.eyebrow),
.geo-dark p {
  color: rgba(255, 253, 248, .72);
}

.geo-home-copy .button-row,
.geo-hero-copy .button-row {
  margin-top: 34px;
}

.authority-chain {
  position: relative;
  display: grid;
  margin: 0;
  border: 1px solid var(--geo-grid-light);
  background: rgba(255, 253, 248, .03);
}

.authority-chain::before {
  position: absolute;
  top: 44px;
  bottom: 44px;
  left: 32px;
  width: 1px;
  background: var(--accent);
  content: '';
}

.authority-chain li {
  position: relative;
  min-height: 78px;
  padding: 27px 28px 24px 64px;
  border-bottom: 1px solid var(--geo-grid-light);
  list-style: none;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.authority-chain li:last-child {
  border-bottom: 0;
}

.authority-chain li::before {
  position: absolute;
  top: 50%;
  left: 26px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  content: '';
  transform: translateY(-50%);
}

.authority-chain small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 253, 248, .58);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.geo-page {
  overflow: clip;
}

.geo-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(72px, 10vw, 150px);
  background: var(--ink);
  color: var(--white);
}

.geo-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--geo-grid-light) 1px, transparent 1px), linear-gradient(90deg, var(--geo-grid-light) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: .23;
  content: '';
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.geo-hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.geo-hero h1 {
  max-width: 10ch;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(4.1rem, 7.2vw, 8.2rem);
  font-weight: 400;
  line-height: .88;
}

.geo-page h1 em,
.geo-page h2 em,
.geo-home h2 em {
  color: inherit;
}

.geo-hero h1 em,
.geo-dark h2 em {
  color: var(--accent);
}

.geo-query-card {
  margin: 0;
  border: 1px solid var(--geo-grid-light);
  background: rgba(16, 18, 15, .82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.geo-query-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--geo-grid-light);
  color: rgba(255, 253, 248, .6);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.geo-query-head span:last-child {
  color: var(--accent);
}

.geo-query-body {
  padding: clamp(28px, 5vw, 54px);
}

.geo-query-body p:first-child {
  margin-bottom: 70px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1;
}

.geo-query-sources {
  display: grid;
  gap: 10px;
}

.geo-query-sources span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--geo-grid-light);
  color: rgba(255, 253, 248, .66);
  font-size: .8rem;
}

.geo-query-sources b {
  color: var(--accent);
}

.geo-manifesto {
  padding-block: 34px;
  background: var(--accent);
  color: var(--ink);
}

.geo-manifesto .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.geo-manifesto span {
  font-size: clamp(.83rem, 1.4vw, 1rem);
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.geo-section {
  padding-block: clamp(76px, 10vw, 150px);
}

.geo-section h2 {
  max-width: 14ch;
}

.geo-section-intro {
  max-width: 780px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.geo-dark {
  background: var(--ink);
  color: var(--white);
}

.system-triad,
.territory-grid,
.evidence-grid,
.model-grid,
.service-grid,
.methodology-grid,
.integration-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(48px, 7vw, 78px);
  border: 1px solid var(--line);
  background: var(--line);
}

.system-triad {
  grid-template-columns: repeat(3, 1fr);
}

.system-triad article,
.territory-grid article,
.evidence-grid article,
.service-grid article,
.methodology-grid article,
.integration-grid article {
  min-width: 0;
  padding: clamp(26px, 4vw, 46px);
  background: var(--paper);
}

.system-triad article:nth-child(2) {
  background: var(--accent);
}

.system-triad strong,
.territory-label,
.card-kicker,
.demo-label {
  display: block;
  margin-bottom: 50px;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.system-triad h3,
.territory-grid h3,
.service-grid h3,
.integration-grid h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 400;
  line-height: .98;
}

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

.territory-grid ul,
.evidence-list,
.content-source-list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.territory-grid li,
.evidence-list li,
.content-source-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.entity-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.entity-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.entity-card-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 400;
}

.demo-label {
  margin: 0;
  color: var(--ink);
  background: var(--accent);
  padding: 8px 10px;
}

.entity-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.entity-facts div {
  min-height: 118px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.entity-facts div:nth-child(2n) {
  border-right: 0;
}

.entity-facts dt {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.entity-facts dd {
  margin: 10px 0 0;
  font-weight: 750;
}

.answer-card,
.fanout-card,
.authority-ecosystem,
.model-dashboard {
  border: 1px solid var(--line);
  background: var(--white);
}

.answer-question,
.answer-direct,
.answer-depth {
  padding: clamp(26px, 4vw, 46px);
}

.answer-question,
.answer-direct {
  border-bottom: 1px solid var(--line);
}

.answer-question p:last-child,
.fanout-question {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  line-height: 1;
}

.answer-direct {
  background: var(--accent);
}

.answer-depth ul {
  columns: 2;
  padding-left: 1.1em;
}

.prompt-before {
  padding: 34px;
  border: 1px solid var(--line);
}

.prompt-before strong {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3.8rem);
  font-weight: 400;
}

.prompt-now {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.prompt-now p {
  margin: 0;
  padding: 20px 24px;
  background: var(--white);
}

.fanout-card {
  margin-top: 46px;
  padding: clamp(28px, 5vw, 58px);
}

.fanout-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 38px 0;
}

.fanout-signals span {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .78rem;
  font-weight: 800;
}

.fanout-result {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.content-flow {
  display: grid;
  align-items: stretch;
  gap: 22px;
  margin-top: 58px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
}

.content-flow-block {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--geo-grid-light);
}

.content-flow-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 2rem;
}

.content-flow h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
}

.content-flow ul {
  padding: 0;
  list-style: none;
  color: rgba(255, 253, 248, .66);
}

.evidence-grid {
  grid-template-columns: repeat(4, 1fr);
}

.evidence-grid article {
  min-height: 190px;
}

.evidence-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.authority-ecosystem {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 58px;
  background: var(--line);
}

.authority-ecosystem span {
  flex: 1 1 170px;
  padding: 28px 20px;
  background: var(--white);
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.model-dashboard {
  margin-top: 58px;
}

.model-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.model-dashboard-head strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 400;
}

.model-grid {
  margin: 0;
  border: 0;
  grid-template-columns: repeat(5, 1fr);
}

.model-grid div {
  min-height: 160px;
  padding: 24px;
  background: var(--paper);
}

.model-grid dt {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.model-grid dd {
  margin: 54px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.dashboard-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.dashboard-meta div {
  min-height: 140px;
  padding: 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.dashboard-meta div:last-child {
  border-right: 0;
}

.service-grid {
  grid-template-columns: repeat(5, 1fr);
}

.service-grid article {
  min-height: 220px;
}

.service-grid h3 {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -.02em;
}

.authority-map {
  display: grid;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  grid-template-columns: repeat(7, auto);
}

.authority-map b {
  padding: 22px;
  border: 1px solid var(--geo-grid-light);
  text-align: center;
}

.authority-map i {
  color: var(--accent);
  font-style: normal;
}

.methodology-grid {
  grid-template-columns: repeat(4, 1fr);
}

.methodology-grid article {
  min-height: 250px;
}

.methodology-grid h3 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.methodology-grid p,
.integration-grid p {
  color: var(--muted);
}

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

.integration-grid article {
  min-height: 260px;
}

.integration-convergence {
  margin-top: 1px;
  padding: clamp(32px, 6vw, 70px);
  background: var(--accent);
  text-align: center;
}

.integration-convergence span {
  display: block;
  margin-bottom: 12px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.integration-convergence strong {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
}

.geo-guardrail {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}

@media (width <= 1100px) {
  .evidence-grid,
  .service-grid,
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .authority-map {
    grid-template-columns: 1fr;
  }

  .authority-map i {
    text-align: center;
    transform: rotate(90deg);
  }
}

@media (width <= 960px) {
  .geo-home-grid,
  .geo-hero-grid,
  .geo-split,
  .entity-layout,
  .answer-layout,
  .prompt-layout,
  .diagnostic-layout {
    grid-template-columns: 1fr;
  }

  .geo-hero {
    min-height: auto;
  }

  .geo-query-card {
    max-width: 720px;
  }

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

  .content-flow {
    grid-template-columns: 1fr;
  }

  .content-flow-arrow {
    transform: rotate(90deg);
  }
}

@media (width <= 680px) {
  .geo-hero h1 {
    font-size: clamp(3.35rem, 16vw, 5rem);
  }

  .system-triad,
  .territory-grid,
  .evidence-grid,
  .service-grid,
  .methodology-grid,
  .integration-grid,
  .model-grid,
  .dashboard-meta {
    grid-template-columns: 1fr;
  }

  .entity-facts {
    grid-template-columns: 1fr;
  }

  .entity-facts div,
  .entity-facts div:nth-child(2n) {
    border-right: 0;
  }

  .answer-depth ul {
    columns: 1;
  }

  .geo-manifesto .shell {
    display: grid;
  }

  .model-dashboard-head,
  .entity-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .authority-chain li {
    overflow-wrap: anywhere;
  }
}
