/* Public marketing chrome — tokens from /app/css/member.css. Copy-deck pages only. */

.hero { padding: clamp(2.4rem, 7vw, 4.6rem) 0 2.2rem; max-width: 42rem; }
.hero .lede { font-size: 1.15rem; color: #cfcfd8; max-width: 38rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.35rem; }
.micro {
  margin: 0.7rem 0 0;
  color: var(--dim);
  font-size: 0.92rem;
}
.band {
  padding: clamp(2rem, 6vw, 3.4rem) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}
.band h2 {
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.15;
}
.band > .lede { margin-bottom: 0.35rem; }
.band p { max-width: 42rem; }

.measure { max-width: 42rem; }

.card-grid,
.door-grid,
.split-grid,
.compare,
.include-list,
.change-list,
.system-list,
.offer-list,
.point-list,
.step-list,
.phase-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.card-grid {
  grid-template-columns: 1fr;
}
@media (width >= 720px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .door-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
}

.card,
.point-list li,
.change-list li,
.system-list li,
.offer-list li,
.include-list li,
.step-list li,
.phase-list li {
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: 0.9rem;
  background: var(--panel);
}
.card h3,
.system-list h3,
.step-list h3,
.phase-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.card p,
.system-list p,
.step-list p,
.phase-list p { margin: 0; color: var(--dim); font-size: 0.95rem; }

.step-list,
.phase-list,
.system-list { counter-reset: item; }
.step-list li,
.phase-list li,
.system-list li { counter-increment: item; }
.step-list h3::before,
.phase-list h3::before,
.system-list h3::before {
  content: counter(item) ". ";
  color: var(--accent);
}

.weeks {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.compare-col h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.compare-col li {
  margin: 0 0 0.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--panel);
  font-size: 0.92rem;
  line-height: 1.4;
}
.compare-col.after li { border-color: var(--rim); }

.door {
  display: block;
  padding: 1.1rem 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
}
.door:hover {
  border-color: var(--rim-hot);
  color: inherit;
  box-shadow: inset 0 1px 0 #ffffff14, 0 0 24px #7c5cff1f;
}
.door strong {
  display: block;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.door span {
  display: block;
  margin-top: 0.35rem;
  color: var(--dim);
  font-size: 0.92rem;
}
.door em {
  display: block;
  margin-top: 0.55rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
}

.split h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}
.split ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #cfcfd8;
}
.split li { margin: 0.35rem 0; }

.quote-block {
  margin: 1.15rem 0 0;
  padding: 1.2rem 1.25rem 1.3rem;
}
.quote-block blockquote,
.quote-block p {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.founder-portrait {
  margin: 0 auto 1.15rem;
  width: 5.5rem;
  height: 5.5rem;
}
@media (min-width: 720px) {
  .founder-portrait {
    width: 7rem;
    height: 7rem;
  }
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 1px solid var(--rim);
  background: var(--glass);
  box-shadow:
    inset 0 1px 0 #ffffff10,
    0 0 0 6px color-mix(in srgb, var(--panel) 62%, transparent),
    0 0 28px #7c5cff22;
}
.founder-sign {
  margin: 1rem 0 0;
  color: var(--dim);
  font-size: 0.95rem;
}
.founder-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

.cta-band { text-align: center; }
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .page-actions { justify-content: center; }
.cta-band .micro { margin-left: auto; margin-right: auto; }

.trust-note {
  margin: 1.15rem 0 0;
  padding: 1.05rem 1.15rem;
  border-left: 2px solid var(--rim);
  background: var(--panel);
  border-radius: 0 0.9rem 0.9rem 0;
}
.trust-note p { margin: 0 0 0.65rem; }
.trust-note p:last-child { margin-bottom: 0; }

.cal-frame {
  margin: 1.2rem 0 0;
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
}

.fit-book-frame { position: relative; }
.fit-book-status:focus { outline: 2px solid var(--focus); outline-offset: 3px; }
.fit-book-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--panel);
}
.fit-book-cover[hidden] { display: none !important; }
.fit-book-cover h3 { margin: 0; letter-spacing: -0.03em; }
.fit-book-cover p { margin: 0; color: var(--dim); }
#fit-book[aria-busy="true"] #fit-book-open { cursor: progress; }
@media (max-width: 720px) {
  .fit-book-frame { display: none; }
}
.fit-book-direct .fit-book-frame { display: none; }

.install-card { padding: 1.15rem 1.2rem 1.25rem; }
.install-card ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.install-card li { margin: 0.35rem 0; }
.install-card.is-here { border-color: var(--rim); }
.status { margin: 0 0 0.6rem; font-weight: 700; }
.status.building { color: #e6c36a; }
.status.ready { color: #8ee0c0; }
.share-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  position: relative;
  margin: 0 2px;
}
.share-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: -9px;
  width: 2px;
  height: 12px;
  background: currentColor;
}

.footer-deck {
  width: min(var(--wide), 100%);
  padding: 0 var(--pad);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}
@media (width >= 720px) {
  .footer-deck { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.footer-brand p {
  margin: 0 0 0.4rem;
  color: var(--dim);
  font-size: 0.92rem;
  max-width: 22rem;
}
.footer-col h3 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-col a,
.footer-col span {
  display: block;
  color: inherit;
  text-decoration: none;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
}
.footer-col a:hover { color: var(--ink); }
.footer-copy {
  width: min(var(--wide), 100%);
  padding: 0 var(--pad) 0.2rem;
  margin: 0.2rem auto 0;
  color: var(--dim);
  font-size: 0.85rem;
}

.site-footer {
  padding: 2rem 0 1.6rem;
}

.header-meta a.btn-ghost {
  white-space: nowrap;
}

.nav-fit { white-space: nowrap; }

/* Marketing nav: member.css hides .nav-full only at ≤720px. The four labels
   plus “Book a 20-minute fit call” still overlap the wordmark until ~1040px,
   so the drawer stays through that width. */
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--pill);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.nav-toggle:hover { border-color: var(--rim-hot); color: var(--ink); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-drawer {
  display: none;
}
.nav-drawer[hidden] { display: none !important; }

@media (width <= 720px) {
  .site-header .nav-full { display: none; }
}
@media (width <= 1039px) {
  .site-header .header-meta {
    overflow: visible;
  }
  .site-header .nav-full { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer:not([hidden]) {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 60;
  }
  .nav-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: #08080bcc;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .nav-drawer-panel {
    position: relative;
    width: min(100%, 22rem);
    margin-left: auto;
    height: 100%;
    padding: 1rem var(--pad) calc(1.2rem + env(safe-area-inset-bottom, 0px));
    background: var(--panel);
    border-left: 1px solid var(--rule);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
  }
  .nav-drawer-head p {
    margin: 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    font-size: 0.72rem;
    font-weight: 600;
  }
  .nav-drawer-close {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--rule);
    border-radius: var(--pill);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
  }
  .nav-drawer-close:hover { border-color: var(--rim-hot); color: var(--ink); }
  .nav-drawer-panel a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
  }
  .nav-drawer-panel a:hover { border-color: var(--rim-hot); color: var(--ink); }
  .nav-drawer-panel a[aria-current="page"] {
    border-color: var(--rim);
    box-shadow: inset 0 0 0 1px var(--rim);
  }
  body.nav-open { overflow: hidden; }
}

@media (width >= 1040px) {
  .nav-toggle,
  .nav-drawer { display: none !important; }
}

.app-surface h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.app-surface p {
  margin: 0;
  color: var(--dim);
  font-size: 0.95rem;
}
.app-surface .kicker { margin: 0 0 0.35rem; }

/* Long home: keep Fit reachable on phone without a full sticky chrome rebuild */
@media (max-width: 720px) {
  .oe-fit-sticky {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    justify-content: center;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, #08080be6 35%);
    pointer-events: none;
  }
  .oe-fit-sticky .btn {
    pointer-events: auto;
    width: min(100%, 22rem);
    justify-content: center;
  }
}
@media (min-width: 721px) {
  .oe-fit-sticky { display: none; }
}
