/* Homepage sections. Shared tokens, header, buttons, FAQ, contact card and footer live in styles.css. */

/* Headings break into even lines rather than leaving one word behind. */
main h2 { text-wrap: balance; }

/* Hero: the promise on the left, an example of the monthly plan the client actually gets on the right. */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding-block: 84px 104px;
}
.home-hero h1 { font-size: clamp(42px, 4.9vw, 66px); max-width: 11.5em; text-wrap: balance; }
.home-hero-lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 33em; margin-top: 26px; }
.home-hero-note { font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 25em; margin-top: 18px; }

.plan-sheet {
  position: relative;
  margin: 0;
  padding: 26px 28px 22px;
  background: #fff;
  border: 1px solid #d5e0f3;
  border-radius: 14px;
  box-shadow: 0 30px 60px -34px #2c4d8b4d;
}
/* The page beneath: a pad of plans, one per month. */
.plan-sheet::before {
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  z-index: -1;
  background: var(--mist);
  border: 1px solid #d5e0f3;
  border-radius: 14px;
  transform: rotate(2.2deg);
}
.home-hero { isolation: isolate; }
.plan-sheet-head { padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.plan-sheet-head strong { display: block; font-family: Archivo, Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.plan-sheet-head span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan-items { list-style: none; margin: 0; padding: 0; }
.plan-items li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dashed #d3dceb;
}
.plan-items strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.4; }
.plan-items small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.plan-box {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid #a4b3c5;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #fff;
}
.plan-box .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.plan-items em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 99px;
  white-space: nowrap;
  margin-top: 1px;
}
.plan-items [data-state="done"] .plan-box { background: var(--blue); border-color: var(--blue); }
.plan-items [data-state="done"] strong { color: var(--muted); }
.plan-items [data-state="done"] em { background: var(--green); color: #2f5a3a; }
.plan-items [data-state="review"] em { background: #fdebd8; color: #85501b; }
.plan-items [data-state="next"] em { background: var(--mist); color: #2a4fc4; }
.plan-owner { display: flex; gap: 12px; align-items: center; padding-top: 18px; }
.plan-owner-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); flex-shrink: 0; }
.plan-owner-mark img { display: block; width: 26px; height: 19px; }
.plan-owner strong { display: block; font-size: 14px; font-weight: 600; }
.plan-owner div span { display: block; font-size: 12px; color: var(--muted); }

/* The familiar situation, and the answer to it. */
.situation { background: #f6f9ff; border-block: 1px solid #e3eaf6; padding-block: 96px; }
.situation-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.situation h2 { font-size: clamp(36px, 4vw, 52px); max-width: 9em; }
.situation-copy p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 34em; }
.situation-copy .situation-answer {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-family: Archivo, Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* What's included. */
.included h2 { font-size: clamp(34px, 3.8vw, 48px); max-width: 15em; }
.included-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; margin-top: 56px; }
.included-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 20px;
  align-content: start;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.included-grid article > :not(.included-icon) { grid-column: 2; }
.included-icon {
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.included-grid h3 { font-size: 23px; padding-top: 8px; }
.included-grid p { font-size: 16px; color: var(--muted); margin-top: 10px; max-width: 30em; }
.included-grid .included-get { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--ink); }
.included-get span { font-size: 12px; font-weight: 500; color: var(--blue); }

/* Who does the work: the working commitments stand in for a named person. */
.founder { background: var(--ink); color: #fff; padding-block: 104px; }
.founder-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 84px; align-items: start; }
.founder h2 { font-size: clamp(36px, 4vw, 54px); }
.founder-copy p { font-size: 18px; line-height: 1.7; color: #d3dcea; max-width: 33em; margin-top: 22px; }
.commitments { list-style: none; margin: 0; padding: 0; }
.commitments li { padding: 22px 0; border-top: 1px solid #ffffff26; }
.commitments li:last-child { border-bottom: 1px solid #ffffff26; }
.commitments strong { display: block; font-family: Archivo, Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.commitments span { display: block; font-size: 15px; line-height: 1.6; color: #aebbd0; margin-top: 6px; max-width: 30em; }
.founder :focus-visible { outline-color: #a9bdff; }

/* Evidence: work samples framed by the question each one answers. */
.work-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; }
.work-heading h2 { font-size: clamp(34px, 3.8vw, 48px); }
.work-heading p { font-size: 16px; color: var(--muted); max-width: 34em; }
.work-columns, .work-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.work-columns { margin-top: 52px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 500; color: var(--muted); }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-list li { padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.work-question { font-family: Archivo, Arial, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.work-answer a { font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--blue); text-decoration-color: #315bdf55; }
.work-answer a:hover { text-decoration-color: currentColor; }
.work-answer p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.work-more { margin-top: 30px; color: var(--blue); }
.work-more .icon { width: 18px; height: 18px; }

/* Price and scope. */
.pricing { background: #e7efff; padding-block: 104px; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.pricing h2 { font-size: clamp(34px, 3.8vw, 48px); }
.pricing-intro .pricing-price { font-family: Archivo, Arial, sans-serif; font-size: 22px; line-height: 1.42; letter-spacing: -.015em; margin-top: 26px; max-width: 24em; }
.pricing-intro > p:not(.pricing-price) { font-size: 16px; color: var(--muted); margin-top: 14px; }
.pricing-intro .button { margin-top: 30px; }
.pricing-detail { background: #fff; border: 1px solid #d5e0f3; border-radius: 14px; padding: 34px; }
.pricing-months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pricing-months > li + li { border-left: 1px solid var(--line); padding-left: 32px; }
.pricing-months h3 { font-size: 21px; }
.pricing-months > li > p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.pricing-months ul { list-style: none; margin: 18px 0 0; padding: 0; }
.pricing-months ul li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; margin-top: 10px; }
.pricing-months ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.pricing-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.pricing-notes dt { font-size: 13px; font-weight: 500; color: var(--blue); }
.pricing-notes dd { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 4px 0 0; }

/* The pricing band already separates the FAQ. */
.pricing + .faq-section { border-top: 0; }


@media (max-width: 1100px) {
  .home-hero { gap: 48px; }
  .situation-layout, .work-heading, .work-columns, .work-list li { gap: 48px; }
  .included-grid { column-gap: 48px; }
  .founder-layout { gap: 56px; }
  .pricing-layout { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; padding-block: 64px 80px; }
  .plan-sheet { max-width: 560px; }
  .situation-layout, .work-heading { grid-template-columns: 1fr; gap: 24px; }
  .included-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .founder-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .home-hero { padding-block: 44px 64px; gap: 44px; }
  .home-hero h1 { font-size: 38px; }
  .home-hero-lead { font-size: 16px; }
  .plan-sheet { padding: 20px 18px 16px; }
  .plan-sheet::before { inset: 10px -6px -10px 6px; }
  .plan-items li { grid-template-columns: 20px minmax(0, 1fr); gap: 4px 12px; }
  .plan-items em { grid-column: 2; justify-self: start; margin-top: 6px; }
  .situation, .founder, .pricing { padding-block: 64px; }
  .situation h2, .founder h2 { font-size: 34px; }
  .situation-copy p, .founder-copy p { font-size: 16px; }
  .situation-copy .situation-answer { font-size: 21px; }
  .included h2, .work-heading h2, .pricing h2 { font-size: 32px; }
  .included-grid article { grid-template-columns: 1fr; padding-block: 26px 30px; }
  .included-grid article > :not(.included-icon) { grid-column: 1; }
  .included-icon { grid-row: auto; margin-bottom: 14px; }
  .included-grid h3 { padding-top: 0; font-size: 21px; }
  .work-columns { display: none; }
  .work-list { margin-top: 32px; border-top: 1px solid var(--ink); }
  .work-list li { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .work-question { font-size: 20px; }
  .pricing-detail { padding: 24px 20px; }
  .pricing-months, .pricing-notes { grid-template-columns: 1fr; gap: 24px; }
  .pricing-months > li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .pricing-intro .pricing-price { font-size: 19px; }
}
