/* OneSelf · the two paths and the caregiver path's sections */

/* show one path at a time (family is the default) */
html[data-audience="me"] [data-path="family"],
html:not([data-audience="me"]) [data-path="me"] { display: none; }
html[data-audience="me"] .float-cta [data-for="family"],
html:not([data-audience="me"]) .float-cta [data-for="me"] { display: none; }

/* ---------- The doors ---------- */
.doors { margin: clamp(59px, 9vw, 106.6px) auto 0; text-align: center; }
.doors-q { font-size: clamp(34px, 5.4vw, 64px); }
.doors-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.door {
  min-width: 220px; min-height: 64px; padding: 0 30px;
  border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 2vw, 22px); letter-spacing: -.01em;
  color: var(--cream); background: transparent; border: 1.5px solid rgba(243,237,228,.45);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.door:hover { border-color: var(--cream); }
.door:active { transform: scale(.98); }
.door[aria-pressed="true"] { background: var(--cream); color: var(--night); border-color: var(--cream); }
@media (max-width: 520px) { .door { width: 100%; } }

/* the family path's story picks up right after the doors */
.truth-rest { padding-top: clamp(32.8px, 6.6vw, 73.8px); }

/* ---------- Caregiver path ---------- */
.path-switch { margin: 0 0 40px; font-size: 14px; color: var(--cream-soft); }
.path-switch button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--cream); text-decoration: underline; text-underline-offset: 3px;
}

.cg-seen {
  max-width: 1000px; margin: 0 auto; text-align: center;
  padding: clamp(39.4px, 6.6vw, 82px) var(--pad) clamp(65.6px, 9.8vw, 114.8px);
}
.cg-seen h2 { font-size: clamp(34.4px, 6.2vw, 78.7px); max-width: 13ch; margin: 0 auto; }
.cg-seen-text { margin: 28px auto 0; max-width: 32ch; font-size: clamp(21.0px, 2.1vw, 28.0px); line-height: 1.4; color: var(--cream); text-wrap: balance; }
.cg-seen-proof { margin: 22px auto 0; max-width: 40ch; font-size: clamp(17.0px, 1.6vw, 20.0px); line-height: 1.5; color: var(--cream-soft); text-wrap: balance; }

/* free and premium labels */
.tier {
  display: inline-block; margin-left: auto;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.tier-free { color: var(--night); border: 1px solid rgba(10,24,34,.3); }
.tier-prem { color: #fff; background: #C1121F; }
.cg-value .vtag { justify-content: space-between; }
.vnote { margin: 10px 0 0 !important; font-size: 14px !important; color: rgba(10,24,34,.55) !important; }

/* caregiver cards: three across on large screens */
@media (min-width: 1100px) { .cg-grid { grid-template-columns: repeat(3, 1fr); } }
.cg-value .value-head h2 { font-size: clamp(38px, 6vw, 76px); max-width: 18ch; }
.vart-photo img { object-fit: cover; object-position: 50% 35%; }
.vart-cleo { object-fit: contain !important; padding-top: 14px; }
.vart-community {
  background: #F6F2EB; padding: 18px; flex-direction: column; justify-content: center; gap: 10px;
}
.vart-community .post { margin: 0; background: #fff; font-size: 14px; }
.post-reply { margin-left: 28px !important; }
.post-avatar-2 { background: #003049 !important; }

/* not another chore */
.cg-easy { background: #003049; padding: clamp(59px, 8.2vw, 98.4px) var(--pad); }
.cg-easy-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.cg-easy h2 { font-size: clamp(36px, 5.6vw, 68px); }
.cg-easy p { margin: 20px auto 0; max-width: 40ch; font-size: clamp(18.0px, 1.6vw, 22.0px); line-height: 1.5; color: var(--cream-soft); }
.cg-steps { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cg-steps li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); font-weight: 600; font-size: 16px;
}
.cg-steps .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #C1121F; color: #fff; font-size: 13px; }

/* pricing */
.cg-price { background: var(--cream); color: var(--night); padding: clamp(65.6px, 9vw, 114.8px) var(--pad); }
.cg-price h2 { color: var(--night); text-align: center; font-size: clamp(34.0px, 4.4vw, 52.5px); max-width: 18ch; margin: 0 auto; }
.tiers-compare { max-width: 900px; margin: 44px auto 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .tiers-compare { grid-template-columns: 1fr 1fr; } }
.tc { background: #fff; border-radius: 20px; padding: 24px 26px; }
.tc-prem { box-shadow: inset 0 0 0 1.5px #C1121F; }
.tc-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 600; font-size: 17px; }
.tc-h .tier { margin-left: 0; }
.tc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tc li { position: relative; padding-left: 26px; font-size: 16px; color: rgba(10,24,34,.78); }
.tc li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid #2A62C9; border-bottom: 2px solid #2A62C9; transform: rotate(-45deg); }
.tc-prem li::before { border-color: #C1121F; }

.plans { max-width: 900px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan-card { position: relative; background: #fff; border-radius: 20px; padding: 24px 22px; text-align: center; border: 1.5px solid transparent; }
.plan-best { border-color: #C1121F; }
.pc-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: #C1121F; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pc-name { margin: 0; font-size: 15px; font-weight: 600; color: rgba(10,24,34,.6); }
.pc-amount { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; color: var(--night); }
.pc-per { margin: 4px 0 0; font-size: 14px; color: rgba(10,24,34,.6); }
.price-fine { max-width: 60ch; margin: 26px auto 0; text-align: center; font-size: 15px; color: rgba(10,24,34,.65); }

/* close */
.cg-close { text-align: center; padding: clamp(73.8px, 9.8vw, 123px) var(--pad); }
.cg-close h2 { font-size: clamp(38.0px, 5.1vw, 65.6px); max-width: 16ch; margin: 0 auto; }
.cg-close .btn-primary { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* family path: the gift lead line */
.gift-pre { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20.0px, 1.8vw, 26.0px); letter-spacing: -.01em; color: var(--cream); }

/* the last caregiver card runs full width, so the grid never leaves a gap */
@media (min-width: 760px) {
  .cg-grid > .vcard:last-child {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 36px; align-items: center;
  }
  .cg-grid > .vcard:last-child .vart { grid-row: 1 / span 4; margin: 0; }
  .cg-grid > .vcard:last-child > :not(.vart) { grid-column: 2; }
}

/* ---------- Caregiver story: three chapters ---------- */
.cg-story { max-width: 1240px; margin: 0 auto; padding: clamp(32.8px, 5.7vw, 73.8px) var(--pad) clamp(65.6px, 9vw, 114.8px); }
.cg-story .path-switch { text-align: center; }
.chapter { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.chapter + .chapter { margin-top: clamp(65.6px, 9.8vw, 123px); }
@media (min-width: 960px) {
  .chapter { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .chapter-flip .ch-photo { order: 2; }
  .chapter-meet { grid-template-columns: auto 1fr; }
}
.ch-photo { margin: 0; border-radius: 22px; overflow: hidden; background: #000; }
.ch-photo img { display: block; width: 100%; height: auto; }
.ch-num { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .12em; color: var(--blues); }
.ch-text h2 { font-size: clamp(34px, 4.6vw, 58px); max-width: 16ch; }
.ch-text p:not(.ch-num) { margin: 16px 0 0; font-size: clamp(17.0px, 1.3vw, 19.0px); line-height: 1.6; color: var(--cream-soft); max-width: 46ch; }
.ch-text p.ch-lead { margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(21.0px, 1.8vw, 26.0px); line-height: 1.3; color: var(--cream); letter-spacing: -.01em; }
.ch-text p.ch-end { margin-top: 22px; font-weight: 600; color: var(--cream); }
.ch-text p.ch-end-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.015em; color: var(--blues); }
.chapter-meet .phone { justify-self: center; }
.chapter-meet .phone-frame { box-shadow: 0 0 0 1px rgba(243,237,228,.1), 0 40px 70px -30px rgba(0,0,0,.7), 0 0 0 10px rgba(74,134,236,.1); }

/* until a door is chosen, neither path shows: the doors are a real fork */
html:not([data-audience-chosen]) [data-path] { display: none !important; }
.doors-hint { margin: 18px 0 0; font-size: 15px; color: var(--cream-soft); }
html[data-audience-chosen] .doors-hint { display: none; }
html:not([data-audience-chosen]) .truth { padding-bottom: clamp(98.4px, 14.8vw, 180.4px); }

/* portrait chapter photos: a 4:5 crop on phones so the words stay close, the full photo on large screens */
.ch-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0%; }
@media (min-width: 960px) {
  .chapter { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .ch-photo { max-width: 460px; justify-self: center; }
  .ch-photo img { aspect-ratio: 2 / 3; }
}

/* everything included (single paid offer after the 10 day trial) */
.included { max-width: 760px; margin: 36px auto 0; background: #fff; border-radius: 20px; padding: 24px 28px; }
.inc-h { margin: 0 0 14px; font-weight: 600; font-size: 17px; color: var(--night); }
.included ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px 24px; }
@media (min-width: 640px) { .included ul { grid-template-columns: 1fr 1fr; } }
.included li { position: relative; padding-left: 26px; font-size: 16px; color: rgba(10,24,34,.78); }
.included li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid #C1121F; border-bottom: 2px solid #C1121F; transform: rotate(-45deg); }

/* My Journey card: the real trail screen in a small phone */
.vart-phone { align-items: flex-start !important; padding: 22px 0 0; }
.mini-phone {
  width: 62%; max-width: 260px; height: 100%;
  border-radius: 26px 26px 0 0; padding: 7px 7px 0; background: #0B0F14;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 40px -20px rgba(0,0,0,.6);
  overflow: hidden;
}
.mini-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px 20px 0 0; }
@media (min-width: 760px) {
  .cg-grid > .vcard:last-child .vart-phone { aspect-ratio: auto; height: 420px; }
}
@media (min-width: 760px) {
  .cg-grid > .vcard:last-child { grid-template-rows: 1fr auto auto auto 1fr; }
  .cg-grid > .vcard:last-child .vart { grid-row: 1 / -1; }
  .cg-grid > .vcard:last-child .vtag { grid-row: 2; }
  .cg-grid > .vcard:last-child h3 { grid-row: 3; }
  .cg-grid > .vcard:last-child > p:not(.vtag) { grid-row: 4; }
}
.pc-mo { font-size: 16px; font-weight: 600; letter-spacing: 0; color: rgba(10,24,34,.55); margin-left: 2px; }

/* Founding Member Prices, two plans */
.founding { margin: 0 auto 10px; text-align: center; font-size: 15px; color: #5b5450; }
.founding-tag { display: inline-block; margin-right: 8px; padding: 5px 12px; border-radius: 999px; background: #C1121F; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 700px) { .plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; } }
.pc-extra { margin: 10px 0 0; font-size: 14px; color: #5b5450; }
@media (max-width: 600px) { .founding-tag { display: table; margin: 0 auto 6px; } }
