/* Landing schemes: drawn explanations of the flow, the digital footprint and networks. */

.lp4-scheme,
.lp4-network {
  width: min(100% - 3rem, 78rem);
  margin: 0 auto;
  padding: clamp(2.75rem, 4.6vw, 4.5rem) 0;
  border-top: 1px solid var(--lp4-line);
  color: var(--lp4-ink);
  background: var(--lp4-paper);
}

.lp4-scheme__flow {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.lp4-track {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--lp4-line);
  border-radius: 1.1rem;
  background: rgba(255, 252, 246, 0.5);
}
.lp4-track--after {
  color: var(--lp4-ink);
  border-color: var(--lp4-ink);
  background: var(--lp4-paper-deep);
  box-shadow: inset 0 0.22rem 0 var(--lp4-sage);
}

.lp4-track__state {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.62rem;
  border: 1px solid var(--lp4-line);
  border-radius: 999px;
  color: var(--lp4-muted);
  font: 700 0.6rem/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lp4-track--after .lp4-track__state {
  color: var(--lp4-sage-dark);
  border-color: var(--lp4-sage);
}
.lp4-track__title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.lp4-chain {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}
.lp4-chain > li {
  position: relative;
}
.lp4-chain > li + li {
  margin-top: 1.75rem;
}
.lp4-chain > li + li::before {
  content: "";
  position: absolute;
  top: -1.4rem;
  left: 0.32rem;
  width: 1px;
  height: 1rem;
  background: var(--lp4-line);
}
.lp4-chain > li + li::after {
  content: "";
  position: absolute;
  top: -0.68rem;
  left: 0.08rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid var(--lp4-line);
  border-bottom: 1px solid var(--lp4-line);
  transform: rotate(45deg);
}
.lp4-track--after .lp4-chain > li + li::before,
.lp4-track--after .lp4-chain > li + li::after {
  background: none;
  border-color: var(--lp4-line);
}
.lp4-track--after .lp4-chain > li + li::before {
  background: var(--lp4-line);
  border: 0;
}

.lp4-node__step {
  display: block;
  color: var(--lp4-sage-dark);
  font: 700 0.6rem/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lp4-track--after .lp4-node__step {
  color: var(--lp4-sage-dark);
}
.lp4-node__body {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--lp4-ink);
}
.lp4-track--after .lp4-node__body {
  color: var(--lp4-ink);
}
.lp4-node__note {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--lp4-muted);
}
.lp4-track--after .lp4-node__note {
  color: var(--lp4-muted);
}

.lp4-source-chips {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lp4-source-chips li {
  padding: 0.3rem 0.62rem;
  border: 1px solid var(--lp4-line);
  border-radius: 999px;
  font-size: 0.73rem;
  line-height: 1.3;
  color: var(--lp4-muted);
  background: rgba(255, 252, 246, 0.6);
}
.lp4-track--after .lp4-source-chips li {
  color: var(--lp4-muted);
  border-color: var(--lp4-line);
  background: rgba(255, 252, 246, 0.72);
}

.lp4-scheme__note,
.lp4-network__note {
  margin: 1.1rem 0 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--lp4-muted);
}

/* Digital footprint: sources -> passport -> machine formats. */
.lp4-hub {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  border: 1px solid var(--lp4-line);
  border-radius: 1.1rem;
  background: rgba(255, 252, 246, 0.5);
}
.lp4-hub__head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: -0.04em;
  font-weight: 650;
}
.lp4-hub__head p {
  margin: 0.55rem 0 0;
  max-width: 46rem;
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--lp4-muted);
}
.lp4-hub__row {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.05fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}
.lp4-hub__arrow {
  width: 2.6rem;
  height: 0.9rem;
  color: var(--lp4-sage);
}
.lp4-hub__col {
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid var(--lp4-line);
  border-radius: 0.9rem;
  background: var(--lp4-paper);
}
.lp4-hub__col--core {
  border-color: var(--lp4-ink);
  background: var(--lp4-paper-deep);
}
.lp4-hub__col--formats {
  min-width: 0;
}
.lp4-hub__label {
  display: block;
  color: var(--lp4-sage-dark);
  font: 700 0.6rem/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lp4-hub__col h4 {
  margin: 0.55rem 0 0;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.lp4-hub__col p {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--lp4-muted);
}
.lp4-hub__list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}
.lp4-hub__list li {
  padding: 0.42rem 0;
  border-top: 1px solid var(--lp4-line);
  font-size: 0.79rem;
  line-height: 1.45;
  color: var(--lp4-ink);
}
.lp4-hub__list li:first-child {
  border-top: 0;
}
.lp4-hub__list small {
  display: block;
  margin-top: 0.12rem;
  color: var(--lp4-muted);
  font-size: 0.72rem;
}
.lp4-hub__formats {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}
.lp4-hub__formats li {
  padding: 0.48rem 0;
  border-top: 1px solid var(--lp4-line);
}
.lp4-hub__formats li:first-child {
  border-top: 0;
}
.lp4-hub__formats span {
  display: block;
  color: var(--lp4-ink);
  font-size: 0.79rem;
  line-height: 1.35;
  font-weight: 650;
}
.lp4-hub__formats small {
  display: block;
  margin-top: 0.14rem;
  color: var(--lp4-muted);
  font-size: 0.7rem;
  line-height: 1.42;
}
.lp4-hub__formats code {
  display: inline-block;
  margin-top: 0.22rem;
  padding: 0.13rem 0.34rem;
  border: 1px solid var(--lp4-line);
  border-radius: 0.28rem;
  color: var(--lp4-sage-dark);
  background: rgba(255, 252, 246, 0.72);
  font: 600 0.67rem/1.25 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.lp4-hub__note {
  margin: 1.05rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--lp4-line);
  color: var(--lp4-muted);
  font-size: 0.75rem;
  line-height: 1.58;
}
.lp4-hub__consistency {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem 1.05rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(13rem, 0.75fr);
  gap: 1rem 1.4rem;
  border: 1px solid var(--lp4-line);
  border-left: 2px solid var(--lp4-sage);
  background: var(--lp4-paper);
}
.lp4-hub__consistency h4 {
  margin: 0.5rem 0 0;
  max-width: 38rem;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
  font-weight: 650;
}
.lp4-hub__consistency p {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  color: var(--lp4-muted);
  font-size: 0.79rem;
  line-height: 1.58;
}
.lp4-hub__consistency-list {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp4-hub__consistency-list li {
  padding: 0.42rem 0 0.42rem 0.85rem;
  border-top: 1px solid var(--lp4-line);
  color: var(--lp4-ink);
  font-size: 0.76rem;
  line-height: 1.42;
}
.lp4-hub__consistency-list li:first-child {
  border-top: 0;
}
.lp4-hub__consistency-list li::before {
  content: "→";
  display: inline-block;
  width: 0.85rem;
  margin-left: -0.85rem;
  color: var(--lp4-sage-dark);
}
.lp4-hub__gains {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.lp4-hub__gain {
  padding: 1rem 1.1rem 1.1rem;
  border-top: 2px solid var(--lp4-sage);
  background: var(--lp4-paper);
}
.lp4-hub__gain h4 {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.lp4-hub__gain p {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.58;
  color: var(--lp4-muted);
}

.lp4-scheme__roles {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.25rem 1.35rem 1.3rem;
  border-top: 2px solid var(--lp4-ink);
  border-bottom: 1px solid var(--lp4-line);
  background: rgba(255, 252, 246, 0.42);
}
.lp4-scheme__roles-head {
  display: grid;
  grid-template-columns: minmax(11rem, 0.6fr) minmax(0, 1fr);
  gap: 0.45rem 1.5rem;
  align-items: baseline;
}
.lp4-scheme__roles-head > .lp4-hub__label {
  grid-row: span 2;
}
.lp4-scheme__roles-head h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  letter-spacing: -0.035em;
  font-weight: 650;
}
.lp4-scheme__roles-head p {
  margin: 0;
  max-width: 46rem;
  color: var(--lp4-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}
.lp4-scheme__roles-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.lp4-scheme__roles-grid article {
  min-height: 5.4rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid var(--lp4-line);
  border-radius: 0.75rem;
  background: var(--lp4-paper);
}
.lp4-scheme__role-label {
  display: block;
  color: var(--lp4-sage-dark);
  font: 700 0.6rem/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lp4-scheme__roles-grid strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 650;
}
.lp4-scheme__roles-note {
  margin: 0.85rem 0 0;
  color: var(--lp4-muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

/* Pricing add-ons: one line per paid extra. */
.lp4-pricing__addons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.lp4-pricing__addons strong {
  display: block;
  color: var(--lp4-sage-dark);
  font-size: 0.78rem;
}
.lp4-pricing__addons span {
  display: block;
  margin-top: 0.16rem;
  color: var(--lp4-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* Network: one city passport, branches inside it. */
.lp4-net-tree {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.lp4-net-city {
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--lp4-ink);
  border-radius: 1.1rem;
  background: rgba(255, 252, 246, 0.6);
}
.lp4-net-city__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
}
.lp4-net-city__head h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.lp4-net-price {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--lp4-sage);
  border-radius: 999px;
  color: var(--lp4-sage-dark);
  font-size: 0.74rem;
  font-weight: 650;
  white-space: nowrap;
}
.lp4-net-city > p {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  line-height: 1.58;
  color: var(--lp4-muted);
}
.lp4-net-branches {
  margin: 1.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--lp4-line);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
}
.lp4-net-branch {
  position: relative;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px dashed var(--lp4-line);
  border-radius: 0.8rem;
  background: var(--lp4-paper);
  font-size: 0.79rem;
  line-height: 1.45;
}
.lp4-net-branch b {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
}
.lp4-net-branch span {
  display: block;
  margin-top: 0.2rem;
  color: var(--lp4-muted);
}
.lp4-net-branch i {
  display: block;
  margin-top: 0.45rem;
  color: var(--lp4-sage-dark);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 650;
}
.lp4-net-side {
  display: grid;
  gap: 1.1rem;
}
.lp4-net-other {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--lp4-line);
  border-radius: 1.1rem;
  background: rgba(255, 252, 246, 0.4);
}
.lp4-net-other h3 {
  margin: 0.5rem 0 0;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.lp4-net-other p {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.58;
  color: var(--lp4-muted);
}
.lp4-net-limit {
  padding: 1.15rem 1.2rem 1.25rem;
  border-top: 2px solid var(--lp4-sage);
  background: var(--lp4-paper-deep);
}
.lp4-net-limit strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.lp4-net-limit p {
  margin: 0.4rem 0 0;
  font-size: 0.79rem;
  line-height: 1.58;
  color: var(--lp4-muted);
}

@media (max-width: 980px) {
  .lp4-scheme__flow,
  .lp4-hub__gains,
  .lp4-net-tree,
  .lp4-hub__consistency,
  .lp4-scheme__roles-grid {
    grid-template-columns: 1fr;
  }
  .lp4-hub__row {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .lp4-hub__arrow {
    width: 0.9rem;
    height: 2rem;
    justify-self: center;
    transform: rotate(90deg);
  }
  .lp4-scheme__roles-head {
    display: block;
  }
  .lp4-scheme__roles-head h3 {
    margin-top: 0.55rem;
  }
  .lp4-scheme__roles-head p {
    margin-top: 0.45rem;
  }
}
