/* Brochure layout only. Linked from public HTML, not appPage. Do not restyle .feature / .card. */

/* Current page: mint pill + dark green. Do not underline — that reads as a hyperlink. */
.site-header .nav a:not(.nav-cta),
.footer-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  text-decoration: none;
}

.site-header .nav a.is-active:not(.nav-cta),
.footer-links a.is-active {
  color: var(--green-dark);
  font-weight: 700;
  background: var(--mint);
  text-decoration: none;
}

.site-header .nav a.nav-cta.is-active {
  background: var(--green-dark);
  text-decoration: none;
}

.illus {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  color: var(--ink);
}

.illus-spot {
  fill: var(--mint);
}

.illus-stamp {
  fill: color-mix(in srgb, var(--mint-strong) 55%, transparent);
  stroke: var(--green-dark);
}

.brochure-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.brochure-hero .lede {
  max-width: 40rem;
}

.brochure-hero .illus {
  width: min(100%, 22rem);
  margin-inline: auto;
}

.contact-lines {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.contact-lines li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.4;
}

.contact-icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.12rem;
  color: var(--ink);
}

.story-band {
  padding: 1.5rem 0 4rem;
}

.story-band .section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem 2.5rem;
  align-items: center;
  margin: 0 0 3.25rem;
}

.feature-story:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.feature-story:nth-child(even) .story-copy {
  order: -1;
}

.feature-story h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.feature-story p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-story .illus {
  justify-self: center;
}

.also-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin-top: 0.5rem;
}

.also-item {
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.also-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.also-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.compare-band {
  padding: 1rem 0 3.5rem;
}

.compare-band .section-head {
  max-width: 42rem;
}

.tier-table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

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

.tier-table th {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark);
  background: color-mix(in srgb, var(--mint) 70%, var(--paper));
}

.tier-table th:first-child,
.tier-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  min-width: 9.5rem;
}

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

.tier-table .cta-row .button {
  white-space: nowrap;
}

.tier-table .cta-row td {
  vertical-align: middle;
}

.tier-caption {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0 0;
  align-items: center;
}

.compare-visual .illus {
  width: min(100%, 16rem);
}

.compare-note {
  margin: 0;
  color: var(--muted);
}

.out-list {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.brochure-cta {
  padding: 0 0 4rem;
}

.brochure-cta .actions {
  margin-top: 0;
}

.brochure-cta .notice {
  padding: 1.35rem 1.4rem;
}

.cta-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-illus {
  display: block;
  width: 5.25rem;
  height: auto;
  margin: 0;
  flex: 0 0 auto;
  color: inherit;
}

.home-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.home-ladder article {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.home-ladder .plan-card-head {
  margin-bottom: 0.7rem;
}

.home-ladder h3 {
  margin: 0;
  min-width: 0;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-dark);
}

.home-ladder ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
  flex: 1;
}

.home-ladder li + li {
  margin-top: 0.45rem;
}

.home-ladder .is-featured {
  background: var(--green-deeper);
  color: #f4faf7;
  border-color: transparent;
}

.home-ladder .is-featured h3,
.home-ladder .is-featured ul,
.home-ladder .is-featured .plan-illus,
.home-ladder .is-featured .soon-label {
  color: #f4faf7;
}

.plan-card-free .plan-illus {
  color: var(--green-dark);
}

.compare-band .actions {
  margin-top: 3.25rem;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.35rem 1.25rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.plan-card-free {
  background: color-mix(in srgb, var(--mint) 58%, var(--paper));
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: 0 22px 44px color-mix(in srgb, var(--green) 16%, transparent);
}

.plan-card.is-current {
  border-color: var(--green);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--green) 55%, transparent),
    0 22px 44px color-mix(in srgb, var(--green) 20%, transparent);
}

.plan-card .current-plan-label {
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.plan-card .plan-name {
  margin: 0;
  min-width: 0;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-dark);
}

.plan-card-free .plan-name {
  color: var(--green-dark);
}

.plan-card-soon .plan-name {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.plan-card dl {
  margin: 0;
  display: grid;
  gap: 0;
  flex: 1;
}

.plan-card dl > div {
  display: grid;
  gap: 0.18rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}

.plan-card dl > div:first-child {
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}

.plan-card dt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.plan-card dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.plan-card-soon dd {
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
}

.plan-card-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.4rem;
  margin: 1.15rem 0 0;
}

.plan-card-cta .button {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.plan-card .soon-label,
.home-ladder .soon-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .brochure-hero .wrap,
  .feature-story,
  .feature-story:nth-child(even),
  .also-row,
  .compare-visual {
    grid-template-columns: 1fr;
  }

  .feature-story:nth-child(even) .story-copy {
    order: 0;
  }

  .brochure-hero .illus,
  .feature-story .illus {
    width: min(100%, 16.5rem);
  }

  .tier-table thead {
    display: none;
  }

  .tier-table,
  .tier-table tbody,
  .tier-table tr,
  .tier-table th,
  .tier-table td {
    display: block;
    width: 100%;
  }

  .tier-table tr {
    padding: 0.85rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .tier-table tbody tr:last-child {
    border-bottom: 0;
  }

  .tier-table .cta-row td:empty,
  .tier-table .cta-row th:empty {
    display: none;
  }

  .tier-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.28rem 0;
    border-bottom: 0;
  }

  .tier-table td::before {
    content: attr(data-tier);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--green-dark);
  }

  .tier-table th:first-child,
  .tier-table td:first-child {
    min-width: 0;
    padding: 0.15rem 0 0.55rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 1100px) {
  .plan-cards,
  .home-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .plan-cards,
  .home-ladder {
    grid-template-columns: 1fr;
  }
}
