/* Page styles. All guarded values resolve through tokens.css. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Geist Fallback";
  src: local("Inter"), local("ui-sans-serif"), local("system-ui");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 22%;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: var(--space-header);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  letter-spacing: var(--track-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-link); }

a:focus-visible,
button:focus-visible {
  outline: var(--space-1) solid var(--color-focus);
  outline-offset: var(--space-1);
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--button-primary-bg);
  color: var(--button-primary-fg);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  min-height: var(--target-min);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

/* ----- header / glass nav (matches Ad Engine .ads-topwrap/.ads-top) ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: var(--header-pad-top-sm) var(--header-pad-x-sm) 0;
  padding-top: max(var(--header-pad-top-sm), env(safe-area-inset-top));
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--size-container);
  margin-inline: auto;
  padding: var(--nav-pad);
  background: var(--color-glass);
  border: var(--stroke-1) solid var(--color-glass-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}

.nav-pill nav { display: flex; align-items: center; gap: var(--space-2); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--brand-chip-h-sm);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2);
  background: var(--color-chip);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-chip);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-nav);
  font-weight: 400;
  letter-spacing: var(--track-tight);
  line-height: 1.1;
}

.brand-logo {
  display: block;
  flex: none;
  width: var(--brand-logo-w);
  height: auto;
  margin-inline: 0 0;
}
.brand-logo-cloud { fill: var(--color-action-primary); }
.brand-logo-mark { fill: var(--white); }

.brand-name { letter-spacing: var(--track-tight); }

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: var(--stroke-1) solid transparent;
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: var(--leading-tight);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--duration-short) var(--ease-standard),
    color var(--duration-short) var(--ease-standard),
    border-color var(--duration-short) var(--ease-standard),
    transform var(--duration-short) var(--ease-standard);
}

.btn-primary {
  background: var(--gradient-action);
  color: var(--button-primary-fg);
  border: 0;
  box-shadow: var(--shadow-press);
  font-weight: 650;
  letter-spacing: var(--track-tight);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 80ms ease,
    box-shadow 80ms ease,
    filter var(--duration-short) var(--ease-standard);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active {
  transform: translateY(var(--press-depth));
  box-shadow: var(--shadow-press-down);
}

/* Header CTA: Ad Engine .ads-cta-top (small gradient pill, 3D edge). */
.btn-nav {
  min-height: var(--nav-cta-h-sm);
  padding: 0 var(--space-4);
  border: 0;
  background: var(--gradient-action);
  color: var(--button-primary-fg);
  box-shadow: var(--shadow-press-sm);
  font-size: var(--text-nav-cta-sm);
  font-weight: 800;
  letter-spacing: var(--track-body);
  line-height: 1.1;
  -webkit-tap-highlight-color: transparent;
  transition: transform 80ms ease, box-shadow 80ms ease, filter var(--duration-short) var(--ease-standard);
}
.btn-nav:hover { filter: brightness(1.06); }
.btn-nav:active {
  transform: translateY(var(--press-depth));
  box-shadow: var(--shadow-press-down);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--target-min);
  font-weight: 650;
  letter-spacing: var(--track-tight);
  text-decoration: none;
  color: var(--color-link);
}
.text-link:hover { text-decoration: underline; }

@media (max-width: 26.25rem) {
  .hero-cta .btn,
  .guides-copy .btn,
  .close .btn { width: 100%; }
}

/* ----- layout shell ----- */
.wrap {
  width: min(calc(100% - (2 * var(--gutter))), var(--size-container));
  margin-inline: auto;
}

main { display: block; }

.band {
  padding-block: var(--flow-section);
  scroll-margin-top: var(--space-header);
}

.band-blue {
  background:
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-accent) 100%);
}

.band-white { background: var(--color-bg-band); }

.band-inverse {
  background: var(--color-bg-inverse);
  color: var(--color-text-inverse);
}

.band-inverse h1,
.band-inverse h2,
.band-inverse h3 { color: var(--color-text-inverse); }

.band-inverse .btn-primary {
  background: var(--color-action-on-inverse);
  color: var(--color-action-on-inverse-fg);
  box-shadow: var(--shadow-press-light);
}
.band-inverse .btn-primary:hover {
  background: var(--color-action-on-inverse-hover);
  filter: none;
}
.band-inverse .btn-primary:active {
  background: var(--color-action-on-inverse-hover);
  box-shadow: var(--shadow-press-light-down);
}

/* ----- typography helpers ----- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  margin: 0;
  background: var(--color-chip);
  border: var(--stroke-1) solid var(--color-hairline-accent);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-chip);
  color: var(--color-action-primary);
  font-size: var(--text-badge);
  font-weight: 650;
  line-height: var(--leading-tight);
  letter-spacing: var(--track-body);
}

h1, h2, h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: var(--track-display);
  text-wrap: balance;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-display);
  letter-spacing: var(--track-display-xl);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-heading);
  scroll-margin-top: var(--space-header);
}

h3 {
  font-size: var(--text-body);
  line-height: var(--leading-tight);
  letter-spacing: var(--track-tight);
  font-weight: 650;
}

.lede,
.section-lede,
.hero-note,
.pricing-note,
.feature-copy p {
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.lede {
  margin: 0;
  font-size: var(--text-lede);
  line-height: var(--leading-body);
  max-width: var(--size-measure);
}

.hero-copy .lede { max-width: 46rem; }

.section-lede {
  margin: 0;
  font-size: var(--text-lede);
  line-height: var(--leading-body);
  max-width: 36rem;
}

/* ----- hero ----- */
.hero {
  padding-top: var(--space-5);
  padding-bottom: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  max-width: 44rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.hero-note {
  margin: 0;
  font-size: var(--text-badge);
}

.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Phone frame: slim even bezel, no notch. Height follows the screenshot's
   real 1080x2340 ratio plus a status strip on top and a home bar strip at
   the bottom, so nothing is cropped. The screen container rounds and clips;
   the screenshot image itself is not rounded. */
.device {
  width: min(100%, var(--size-phone));
  height: auto;
  flex: 0 0 auto;
  padding: var(--device-bezel);
  background: var(--color-device);
  border-radius: var(--radius-device);
  box-shadow: var(--shadow-3);
  position: relative;
}

.hero-visual .device { width: min(100%, var(--size-phone-hero)); }

.device-screen {
  width: 100%;
  border-radius: calc(var(--radius-device) - var(--device-bezel));
  overflow: hidden;
  padding: var(--device-screen-inset-top) 0 var(--device-screen-inset-bot);
  background: linear-gradient(to bottom,
    var(--device-screen-top, var(--color-bg)) 0 50%,
    var(--device-screen-bot, var(--device-screen-top, var(--color-bg))) 50% 100%);
  position: relative;
}

.device-screen::after {
  content: "";
  position: absolute;
  bottom: 9px; /* lint-allow */
  left: 50%;
  width: 96px;
  height: 4px;
  margin-left: -48px; /* lint-allow */
  border-radius: var(--radius-full);
  background: rgb(0 0 0 / 0.35);
  z-index: 5;
  pointer-events: none;
}

.device-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 2340;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  display: block;
}

@keyframes phone-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual .device {
  animation: phone-in var(--duration-medium) var(--ease-decelerate) both;
}

/* ----- feature rows (copy + visual, stacked on mobile) ----- */
.wrap.features {
  width: min(calc(100% - (2 * var(--gutter))), var(--size-features));
}

.features {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.feature {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 36rem;
  justify-self: stretch;
}


.feature-copy p {
  margin: 0;
  font-size: var(--text-lede);
  line-height: var(--leading-body);
}

.feature-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.community-card {
  width: 100%;
  max-width: 32rem;
  background: var(--color-surface);
  border: var(--stroke-1) solid rgb(0 0 0 / 0.06);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
}

.community-mark {
  width: var(--space-7);
  height: var(--space-7);
}

.community-line {
  margin: 0;
  font-size: var(--text-h2);
  font-weight: 650;
  letter-spacing: var(--track-display);
  line-height: var(--leading-tight);
  color: var(--color-text);
  text-wrap: balance;
  max-width: 12ch;
}

.community-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.community-list li {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-weight: 550;
  text-wrap: pretty;
}

.goal-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-height: var(--target-min);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-surface);
  border: var(--stroke-1) solid var(--color-border);
  gap: var(--stroke-1);
}

.goal-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-1);
  font-size: var(--text-badge);
  font-weight: 600;
  line-height: var(--leading-tight);
  text-align: center;
  white-space: nowrap;
}

.goal-seg.is-done {
  background: var(--color-action-primary);
  color: var(--color-text-on-action);
}

.goal-seg.is-now {
  background: var(--color-action-primary-hover);
  color: var(--color-text-on-action);
}

.goal-seg.is-next {
  background: var(--color-bg);
  color: var(--color-action-primary);
}


/* ----- members ----- */
.members-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
  align-items: center;
}

.members-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.members-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.members-visual .device {
  width: min(100%, var(--size-phone-members));
  aspect-ratio: var(--device-ratio-members);
}

.member-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.member-card {
  background: var(--color-card);
  border: var(--stroke-1) solid var(--color-hairline-accent);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-card);
  min-height: var(--space-8);
}

.member-icon {
  width: var(--space-7);
  height: var(--space-7);
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-chip);
  border: var(--stroke-1) solid var(--color-hairline-accent);
  box-shadow: 0 3px 0 var(--blue-press-soft);
  color: var(--color-action-primary);
}

.member-icon svg {
  width: var(--space-5);
  height: var(--space-5);
  display: block;
}

.member-card p { margin: 0; color: var(--color-text-muted); }

/* ----- guides panel ----- */
.guides-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: linear-gradient(180deg, var(--blue-3) 0%, var(--color-bg) 100%);
  border: var(--stroke-1) solid var(--color-hairline-accent);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.guides-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.guides-copy p { margin: 0; color: var(--color-text-muted); max-width: 36rem; }

.guides-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

/* ----- pricing ----- */
.pricing .wrap {
  width: min(calc(100% - (2 * var(--gutter))), var(--size-pricing));
}

#pricing-title {
  scroll-margin-top: var(--space-header);
}

.pricing-head {
  text-align: center;
  margin-bottom: var(--space-6);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.plan {
  background: var(--color-card);
  border: var(--stroke-1) solid var(--color-hairline-accent);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  text-align: center;
  height: 100%;
}

.plan .btn {
  margin-top: var(--space-3);
  width: 100%;
}

.plan-alt {
  margin: 0;
  min-height: calc(var(--text-badge) * var(--leading-body));
  color: var(--color-text-muted);
  font-size: var(--text-badge);
  line-height: var(--leading-body);
}

.plan-label {
  margin: 0;
  font-size: var(--text-badge);
  font-weight: 650;
  color: var(--color-action-primary);
  letter-spacing: var(--track-body);
}

.plan-price {
  margin: 0;
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: var(--track-display-xl);
  line-height: var(--leading-display);
}

.plan-period {
  margin: 0;
  color: var(--color-text-muted);
}

.pricing-note {
  margin: var(--space-5) auto 0;
  max-width: 40rem;
  text-align: center;
}

.pricing-note-secondary {
  margin-top: var(--space-3);
  font-size: var(--text-badge);
  text-wrap: balance;
}

/* ----- close + footer ----- */
.close {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.close p {
  margin: 0;
  font-size: var(--text-lede);
  color: var(--color-text-inverse-muted);
  max-width: 24rem;
}

/* Footer: Ad Engine .ads-foot / Sanity .foot (light, small, centred). */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-6) var(--gutter) max(var(--space-6), env(safe-area-inset-bottom));
  text-align: center;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: var(--text-footer);
}

.footer-logo {
  display: block;
  width: var(--brand-logo-w);
  height: auto;
  margin-bottom: var(--space-2);
}

.site-footer p {
  margin: 0;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-min);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--color-action-primary); text-decoration: underline; }

/* ----- breakpoints: tablet 600+, desktop 1024+ ----- */
@media (min-width: 40.0625rem) {
  .site-header {
    padding: var(--header-pad-top) var(--gutter) 0;
    padding-top: max(var(--header-pad-top), env(safe-area-inset-top));
  }
  .brand {
    min-height: var(--brand-chip-h);
    padding: 5px 14px 5px 10px; /* lint-allow: Ad Engine .ads-brand */
  }
  .btn-nav {
    min-height: var(--nav-cta-h);
    font-size: var(--text-nav-cta);
  }
}

@media (min-width: 37.5rem) {
  .member-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .plan-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-cta .btn { width: auto; }
}

@media (min-width: 48rem) {
  .guides-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-7);
  }
}

@media (min-width: 64rem) {
  .hero {
    padding-top: var(--flow-hero);
    padding-bottom: var(--flow-hero);
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-8);
    text-align: left;
  }

  .hero-copy {
    align-items: flex-start;
    max-width: none;
  }

  .hero-cta { justify-content: flex-start; }

  .hero-visual { justify-content: flex-end; }

  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-feature-gap);
    align-items: center;
    justify-items: stretch;
  }

  .feature-copy { max-width: none; }

  .feature-reverse .feature-copy { order: 2; }
  .feature:not(.feature-reverse) .feature-visual { justify-content: flex-start; }
  .feature-reverse .feature-visual { justify-content: flex-end; }

  .feature-visual .device { width: min(100%, var(--size-phone)); }

  .community-card { max-width: none; }

  .feature {
    min-height: calc(var(--size-phone) / 9 * 20.4);
  }

  .members-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-8);
  }

  .members-visual { justify-content: flex-end; }

  .member-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* ----- desktop fit (v19): shared container, hero fills the first screen,
   phones scale with viewport height, centered copy and phone pairs. ----- */
@media (min-width: 64rem) {
  .nav-pill { max-width: var(--size-container-desktop); }

  .wrap,
  .wrap.features {
    width: min(calc(100% - (2 * var(--gutter))), var(--size-container-desktop));
  }

  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--size-header-total));
    min-height: calc(100svh - var(--size-header-total));
    padding-top: var(--space-hero-block);
    padding-bottom: var(--space-hero-block);
  }

  .hero-inner {
    grid-template-columns: minmax(0, var(--size-hero-copy)) auto;
    justify-content: space-between;
    gap: var(--space-8);
  }

  .hero h1 { font-size: var(--text-h1-desktop); }

  .hero-note { text-wrap: balance; max-width: 34rem; }

  .hero-visual { justify-content: flex-end; }

  .hero-visual .device {
    width: clamp(var(--size-phone-hero-min), calc((100vh - var(--size-header-total) - (2 * var(--space-hero-block))) * 9 / 20.4), var(--size-phone-hero-max));
    width: clamp(var(--size-phone-hero-min), calc((100svh - var(--size-header-total) - (2 * var(--space-hero-block))) * 9 / 20.4), var(--size-phone-hero-max));
  }

  .features { gap: var(--space-9); }

  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
    min-height: 0;
  }

  .feature-copy { max-width: 30rem; }
  .feature-reverse .feature-copy { justify-self: start; }

  .feature .feature-visual,
  .feature:not(.feature-reverse) .feature-visual,
  .feature-reverse .feature-visual { justify-content: center; }

  .feature-visual .device {
    width: clamp(var(--size-phone-feature-min), calc((100vh - var(--space-feature-room)) * 9 / 20.4), var(--size-phone-feature-max));
    width: clamp(var(--size-phone-feature-min), calc((100svh - var(--space-feature-room)) * 9 / 20.4), var(--size-phone-feature-max));
  }
}

/* Short phones: keep headline, CTA, and a phone peek in the first screen. */
@media (max-height: 45rem) and (max-width: 30rem) {
  .hero { padding-top: var(--space-3); padding-bottom: 0; }
  .hero-inner { gap: var(--space-5); }
  .hero-copy { gap: var(--space-4); }
  .hero-note { display: none; }
}


/* ----- scroll reveal (one opacity + translateY entrance) ----- */
.reveal {
  opacity: 0;
  transform: translateY(var(--space-5));
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--duration-medium) var(--ease-decelerate),
    transform var(--duration-medium) var(--ease-decelerate);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual .device {
    animation: phone-fade var(--duration-medium) var(--ease-decelerate) both;
  }
  @keyframes phone-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .btn:active,
  .btn-ghost:active { transform: none; }
}

@media (prefers-contrast: more) {
  .nav-pill,
  .member-card,
  .guides-panel,
  .plan,
  .badge,
  .community-card {
    border-color: var(--color-text);
  }
  .btn-ghost { border-color: var(--color-text); }
}

@media (forced-colors: active) {
  .btn-primary {
    background: ButtonFace;
    color: ButtonText;
    border-color: ButtonText;
  }
  .btn-ghost,
  .nav-pill,
  .member-card,
  .guides-panel,
  .plan,
  .community-card {
    border-color: CanvasText;
  }
}

/* ----- v23 simpler page: one idea per section ----- */
.members-head { display: block; text-align: center; margin-bottom: var(--space-7); }

.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  text-align: center;
}
.pricing-cta .pricing-note { margin: 0; font-size: var(--text-badge); text-wrap: balance; }
.plan { gap: var(--space-2); }

@media (max-width: 37.49rem) {
  .pricing-cta .btn { width: 100%; }
}

@media (min-width: 64rem) {
  .members-head { display: block; }
}
.nowrap-line { display: inline-block; }
#guides-title .nowrap-line { display: block; }
.pricing + .site-footer,
main + .site-footer { border-top: var(--stroke-1) solid var(--color-hairline-accent); }
