/* Officevibe layout adapted to the ThriveCore brand. */
:root {
  --editorial-rule: #e8e2d8;
  --editorial-serif: Georgia, "Times New Roman", serif;
}
.wrap { width: min(1200px, calc(100% - 64px)); }
.site-header { background: #fff; border-color: var(--editorial-rule); }
.site-header .nav { min-height: 80px; }
.brand-book-link { color: var(--teal); }
.button { border-radius: 100px; padding-inline: 24px; }
.hero-band { background: var(--paper); }
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(60px, 8.5vw, 122px);
}
.hero h1 {
  font-size: clamp(2.35rem, 4.15vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.hero-accent {
  font: italic 400 1.08em/.99 var(--editorial-serif);
  letter-spacing: -.062em;
}
.hero .lead { max-width: 42ch; font-size: 1.17rem; }
.hero .hero-lead { max-width: 52ch; text-align: left; }
.hero-demo-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero .paper-stack {
  isolation: isolate;
  position: relative;
  margin: 10px 20px 10px 0;
  padding: clamp(13px, 2vw, 28px);
  border: 1px solid #d7e4e1;
  border-radius: 24px;
  box-shadow: 0 15px 36px #14284b12;
}
:is(.hero .paper-stack, .solution .crew-handoff, .offer-checklist .price)::before {
  content: "";
  position: absolute;
  inset: 9% 1% 5% 12%;
  z-index: -2;
  transform: rotate(6deg);
  border-radius: 24px;
  background: var(--navy);
}
:is(.hero .paper-stack, .solution .crew-handoff, .offer-checklist .price)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--wash);
}
:is(.solution .crew-handoff, .offer-checklist .price) {
  position: relative;
  isolation: isolate;
  box-shadow: 0 15px 36px #14284b12;
}
:is(.solution .crew-handoff, .offer-checklist .price)::before {
  transform: rotate(4deg);
}
@media (max-width: 760px) {
  :is(.solution .crew-handoff, .offer-checklist .price)::before { transform: rotate(2.5deg); }
  .solution .crew-handoff::before { right: 5%; }
}
.hero .paper { border-color: var(--editorial-rule); border-radius: 10px; }
.hero .doc-meta { margin-bottom: 22px; }
.hero .handoff { margin-top: 9px; border-top: 1px solid #c5d9d3; }
.section { padding-block: clamp(44px, 6vw, 80px); }
.section h2 {
  font: 400 clamp(2.15rem, 3.9vw, 3.5rem)/1.03 var(--editorial-serif);
  letter-spacing: -.055em;
}
.story {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(25px, 7vw, 112px);
  align-items: start;
}
.story h2 { max-width: 18ch; }
.story p, .narrow p { max-width: 64ch; }
.story p:last-child { margin-bottom: 0; }
.problem, .solution, .workflow, .objections { background: var(--paper); }
.problem { background: #14284b; }
.problem h2, .problem p { color: #fff; }
.solution { background: #fff; }
.crew-band > .wrap, .proof-band > .wrap { border-top: 1px solid var(--editorial-rule); padding-top: 35px; }
#future-crew-title, #future-crew .intro { text-align: center; }
#future-crew .intro { margin-inline: auto; }
.future-status {
  display: table;
  margin: 0 0 10px auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf3fa;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
}
@media (prefers-reduced-motion: no-preference) {
  .future-status { animation: research-glow 4s ease-in-out infinite; }
  #future-crew .crew-portrait { animation: research-float 5.5s ease-in-out infinite; }
  #future-crew .crew-pair:nth-child(2) .crew-portrait { animation-delay: -2s; }
}
@keyframes research-glow {
  0%, 100% { box-shadow: 0 0 3px 0 rgb(63 155 255 / 14%); }
  50% { box-shadow: 0 0 5px 1px rgb(86 174 255 / 65%), 0 0 13px 3px rgb(63 155 255 / 34%); }
}
@keyframes research-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.editorial-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 27px; }
.editorial-roster article {
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--editorial-rule);
  border-radius: 16px;
}
.editorial-roster h3 { font-size: 1.1rem; line-height: 1.28; letter-spacing: -.022em; }
.initial { border-radius: 50%; }
.workflow h2, .workflow-heading .kicker { text-align: center; }
.workflow .steps { gap: 30px; margin-top: 32px; }
.workflow .steps li {
  position: relative;
  padding: 22px 23px 25px;
  background: var(--white);
  border: 1px solid var(--editorial-rule);
  border-radius: 16px;
}
.workflow .steps li::before {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--wash);
}
.workflow .steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(100% + 1px);
  width: 29px;
  border-top: 1px dashed var(--teal);
}
.workflow .steps h3, .evidence h3 { font-size: 1.18rem; line-height: 1.24; }
.evidence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 23px; }
.evidence article { border-top: 1px solid var(--editorial-rule); padding: 17px 0; }
.evidence p { margin: 8px 0 0; }
.offer-band .offer {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: start;
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 52px);
}
.offer-band .price { background: #203957; border: 1px solid #4b657e; border-radius: 16px; }
.offer-band .price h3 { margin-bottom: 14px; }
#offer { background: #fff; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.tier-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid var(--editorial-rule);
  border-radius: 16px;
  background: var(--paper);
}
.tier-card-full { border-color: #c2d5d1; background: var(--wash); }
.tier-grid > .tier-card-full { border-color: #78a89f; }
.tier-card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.tier-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (hover: hover) {
  .tier-grid > .tier-card:hover { box-shadow: 0 8px 20px rgb(20 40 75 / 10%); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tier-grid > .tier-card { transition: transform 180ms ease-out, box-shadow 180ms ease-out; }
  .tier-grid > .tier-card:hover { transform: translateY(-4px); }
}
.tier-card h3 { font: 400 clamp(1.65rem, 2.6vw, 2.25rem)/1.1 var(--editorial-serif); }
.tier-price { margin: 12px 0 16px; }
.tier-price strong { color: var(--navy); font-size: 2rem; line-height: 1; }
.tier-price span { display: block; font-size: .88rem; }
.tier-card .included { width: 100%; margin: 0 0 16px; }
.tier-summary { width: 100%; }
.tier-checkout { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; margin-top: auto; }
.tier-checkout stripe-buy-button { max-width: 100%; }
.tier-details { color: var(--teal); font-size: .92rem; font-weight: 700; text-align: center; text-underline-offset: .2em; }
.tier-test-note { margin: 0 0 12px; font-size: .92rem; }
@media (width > 800px) {
  .tier-grid > .tier-card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .tier-grid .tier-checkout { align-self: start; margin-top: 0; }
}
.brain-hero-cora { width: min(100%, 420px); height: auto; justify-self: center; }
.tier-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: start;
  gap: clamp(20px, 5vw, 64px);
}
.tier-landing .tier-fit { margin: 0 0 1em; padding-inline-start: 1.2em; color: var(--slate); }
.tier-landing .finale-copy { text-align: center; }
.tier-landing .thrive-footer-bottom { margin-top: 0; border-top: 0; }
.starter-hero-crew {
  width: min(100%, 560px);
  justify-self: center;
}
@media (max-width: 800px) {
  .tier-grid, .tier-offer { grid-template-columns: minmax(0, 1fr); }
  .brain-hero-cora { width: min(100%, 280px); }
  .starter-hero-crew { width: min(100%, 360px); }
}
.offer-band .offer-checklist {
  background: transparent;
  color: var(--navy);
  padding: 0;
}
.offer-checklist .included {
  list-style: none;
  padding: 0;
  color: var(--slate);
}
.offer-checklist .included li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 32px;
}
.offer-checklist .included li + li { border-top: 1px solid var(--line); }
.offer-checklist .included li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--teal);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='10' cy='10' r='8.5'/%3E%3Cpath d='m6 10 2.7 2.7L14 7.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.offer-band .offer-checklist .price {
  display: grid;
  gap: 10px;
  padding: clamp(14px, 2vw, 22px);
  background: var(--wash);
  border: 1px solid var(--editorial-rule);
  border-radius: 20px;
  color: var(--navy);
}
.offer-checklist .price-paper {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--editorial-rule);
  border-radius: 12px;
}
.offer-checklist .price-launch { padding: clamp(16px, 3vw, 28px); }
.offer-checklist .price p { color: var(--slate); }
.price-subheading { font: 800 1rem Manrope, sans-serif; margin: 0; }
.offer-checklist .price-bonuses { margin: 5px 0 0; }
.offer-checklist .price-bonuses li { padding-block: 8px; }
.offer-checklist .price-bonuses li::before { top: 12px; }
.price-upcoming-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.price-upcoming-heading .future-status { margin: 0; }
.price-upcoming p { margin: 6px 0 0; }
.offer-table { border-collapse: collapse; width: 100%; margin-top: 22px; font-size: .97rem; text-align: left; }
.offer-table th, .offer-table td { padding: 9px 5px; border-bottom: 1px solid #627589; vertical-align: top; }
.offer-table tbody th { font-weight: 400; }
.offer-table td, .offer-table thead th:last-child { text-align: right; white-space: nowrap; }
.guarantee .wrap, .final-cta .wrap { max-width: 800px; }
.guarantee h2 { margin-bottom: 16px; }
.objections .wrap, .faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(22px, 7vw, 92px);
  align-items: start;
}
.objections h2 { position: sticky; top: 32px; }
.questions { margin: 0; max-width: none; }
.questions details, .questions details:last-child { border-color: var(--editorial-rule); padding-block: 15px; }
.faq { border-top: 0; }
.final-cta { background: var(--white); }
.final-cta p:first-child { font: 400 clamp(1.55rem, 3.2vw, 2.4rem)/1.14 var(--editorial-serif); color: var(--navy); letter-spacing: -.035em; }
.sales-footer { gap: 10px; flex-wrap: wrap; border-color: var(--editorial-rule); }
#finale {
  position: relative;
  padding-bottom: clamp(18px, 3vw, 44px);
}
#finale > .wrap { position: relative; }
.thrive-footer-divider {
  position: absolute;
  inset: auto 0 0;
  display: block;
  width: 100%;
  height: clamp(68px, 17vw, 284px);
  fill: #1a2e51;
  pointer-events: none;
}
.thrive-footer {
  background: var(--navy);
  color: #e7edf7;
  padding: clamp(32px, 5vw, 64px) 0 20px;
}
.thrive-footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
}
.thrive-footer-brand img { filter: brightness(0) invert(1); }
.thrive-footer-brand p { color: inherit; margin: 12px 0 0; max-width: 34ch; }
.thrive-footer nav { display: grid; justify-items: start; align-content: start; gap: 9px; }
.thrive-footer h2 { color: #fff; font: 700 1rem Manrope, sans-serif; margin: 0 0 4px; }
.thrive-footer a { color: inherit; }
.thrive-footer nav a { font-size: .95rem; }
.thrive-footer nav a:hover { color: #fff; text-decoration: underline; }
.thrive-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid rgb(255 255 255 / 22%);
  margin-top: 28px;
  padding-top: 16px;
  font-size: .87rem;
}
@media (max-width: 760px) {
  .thrive-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thrive-footer-brand { grid-column: 1 / -1; }
}
.mobile-offer { display: none; }
@media (max-width: 900px) {
  .hero, .story, .offer-band .offer { grid-template-columns: minmax(0,1fr); }
  .hero .paper-stack { max-width: 590px; }
  .editorial-roster { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workflow .steps { gap: 12px; }
  .workflow .steps li:not(:last-child)::after { width: 11px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .site-header .nav { min-height: auto; flex-wrap: wrap; justify-content: flex-start; padding-block: 14px; }
  .site-header nav { width: 100%; flex-wrap: wrap; }
  .hero .paper-stack { margin: 8px 10px 0 0; }
  .hero .paper-stack::before { transform: rotate(4deg); }
  .editorial-roster, .evidence, .workflow .steps, .objections .wrap, .faq .wrap { grid-template-columns: minmax(0,1fr); }
  .workflow .steps li:not(:last-child)::after { display: none; }
  .objections h2 { position: static; }
  .mobile-offer { display: flex; position: sticky; bottom: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--paper); border-top: 1px solid var(--editorial-rule); font-size: .86rem; line-height: 1.18; }
  .mobile-offer .button { flex: none; padding-inline: 12px; }
}

/* Product excerpts and crew handoff. */
.brain-preview dl { margin-top: 20px; }
.brain-preview dl div { grid-template-columns: 75px minmax(0, 1fr); }
.brain-preview .brain-role { margin-bottom: 8px; color: var(--teal); font-weight: 700; }
.brain-preview .handoff a { text-underline-offset: 3px; }
.solution-copy h2 { margin-bottom: 20px; }
.solution-followup:empty { display: none; }
@media (min-width: 901px) {
  .solution .story {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    grid-template-areas:
      "copy handoff"
      "followup draft";
    row-gap: clamp(20px, 3vw, 32px);
  }
  .solution-copy { grid-area: copy; }
  #crew-handoff { grid-area: handoff; }
  .solution-followup { grid-area: followup; }
  .handoff-draft { grid-area: draft; }
}
.crew-handoff {
  min-width: 0;
  padding: clamp(14px, 2.5vw, 28px);
  border: 1px solid #d7e4e1;
  border-radius: 20px;
  background: var(--wash);
  scroll-margin-top: 24px;
}
.handoff-intro { margin-bottom: 20px; }
.handoff-intro h3 {
  font: 400 clamp(1.8rem, 3.2vw, 2.7rem)/1.04 var(--editorial-serif);
  letter-spacing: -.045em;
}
.handoff-intro p, .handoff-review { margin: 6px 0 0; color: var(--slate); }
.work-piece > :is(h3, h4) { margin: 12px 0 5px; font: 800 1.13rem/1.25 Manrope, sans-serif; }
.handoff-work { display: grid; gap: 10px; }
.work-piece { padding: 16px; background: var(--white); border: 1px solid var(--editorial-rule); border-radius: 12px; }
.work-meta { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: .88rem; font-weight: 700; }
.work-person { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: var(--wash); color: var(--teal); }
.work-piece > p { margin: 0; }
.work-piece .work-output { margin-top: 6px; font-size: .87rem; }
.slide-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.slide-list li { padding: 11px; border: 1px solid var(--editorial-rule); border-radius: 8px; background: var(--paper); }
.slide-list li:first-child { background: var(--navy); color: white; border-color: var(--navy); }
.slide-list li span { display: block; margin-bottom: 5px; font-size: .78rem; font-weight: 700; }
.slide-list p { margin: 0; font-size: .94rem; line-height: 1.28; color: inherit; }
@media (max-width: 400px) {
  .slide-list { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the viewport steady as FAQ answers change height. */
#faq, .objections { overflow-anchor: none; }
.questions .accordion-animating { overflow: clip; }

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    #faq details[name="thrivecore-faq"]::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      overflow: clip;
      transition: block-size 280ms ease, content-visibility 280ms allow-discrete;
    }
    #faq details[name="thrivecore-faq"][open]::details-content { block-size: auto; }
  }
}

#crew, #future-crew { background: var(--wash); }
.picture-this { background: var(--paper); }
.wednesday-summary { margin-top: 14px; }
.picture-copy p + p { padding-top: 15px; border-top: 1px solid var(--line); }
.editorial-roster .crew-bonus { grid-column: 1 / -1; background: var(--wash); }

/* Give the crew names and roles their own hierarchy. */
.editorial-roster article:has(> .crew-card-heading) { display: block; }
.crew-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.crew-card-heading h3 { font-size: 1.27rem; }
.editorial-roster .crew-role { margin: 2px 0 0; color: var(--teal); font-size: .93rem; font-weight: 600; }
.editorial-roster .crew-lead { margin: 0 0 4px; color: var(--navy); }

/* Pair each standalone portrait with its card. */
.editorial-roster.portrait-roster {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}
.crew-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}
.crew-portrait {
  width: 100%;
  height: auto;
  align-self: center;
}
@media (min-width: 961px) {
  .portrait-roster > .crew-pair:nth-child(even) > .crew-portrait { order: 1; }
}
@media (max-width: 960px) {
  .editorial-roster.portrait-roster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .crew-pair { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
@media (max-width: 400px) {
  .portrait-roster article { padding: 14px; }
}
.editorial-roster .piper-bonus {
  background: #edf3fa;
  border-color: #d6e2f1;
  box-shadow: inset 3px 0 var(--navy);
}
.piper-bonus .initial { background: var(--white); color: var(--navy); }
.editorial-roster .piper-bonus .crew-role { color: var(--navy); }
.piper-bonus-label {
  display: block;
  width: fit-content;
  margin: 0 0 8px auto;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--white);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
}
