/* Home refinement. The existing hero and shared site styles remain authoritative. */
.home-page {
  --home-section-space: clamp(64px, 7vw, 104px);
  --home-column-gap: clamp(40px, 5vw, 80px);
  --home-title-size: clamp(2.25rem, 3.6vw, 3.25rem);
  --home-body-size: clamp(1rem, 1.5vw, 1.16rem);
}

.home-page main > section:where(:not(#hero)) .container {
  max-width: 1320px;
  padding-inline: 32px;
}
.home-page main > section:where(:not(#hero)) :is(.col-half, .col-third, .col-two-thirds) {
  min-width: 0;
}
.home-page main > section:where(:not(#hero)) .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.home-page main > section:where(:not(#hero)) h2 {
  max-width: 18ch;
  margin: 0 0 24px;
  color: var(--brand-navy-900);
  font-family: "Poppins", var(--font-sans);
  font-size: var(--home-title-size);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.home-page main > section:where(:not(#hero)) .accent-divider {
  width: 48px;
  margin-bottom: 28px;
}

/* Compact introduction: illustrations and their labels read as one group. */
#features-strip { padding-block: 40px; border-bottom: 1px solid var(--color-border); }
#features-strip .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
#features-strip .feature-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
#features-strip img { width: 72px; height: 72px; object-fit: contain; }
#features-strip p {
  max-width: 24ch;
  color: var(--brand-navy-900);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Keep scope and risk legible, close to the introduction. */
#video-section { padding-block: 40px; }
#video-section .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-column-gap);
}
#video-section .disclaimer {
  max-width: 65ch;
  margin: 0;
  color: var(--color-text-muted-on-light);
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}
#video-section .disclaimer-strong { font-weight: 500; }

/* The hero's outer guide continues through each alternating illustration. */
.home-page .content-row { padding-block: var(--home-section-space); }
.home-page .content-row:nth-child(2) { background: var(--color-canvas); }
.home-page .content-row .row {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: var(--home-column-gap);
}
.home-page .content-row .row-reverse { direction: rtl; }
.home-page .content-row .row-reverse > * { direction: ltr; }
.home-page .content-row p {
  max-width: 57ch;
  margin: 0 0 20px;
  color: var(--color-text-muted-on-light);
  font-size: var(--home-body-size);
  line-height: 1.7;
}
.home-page .content-row p:last-child { margin-bottom: 0; }
.home-page .content-row img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 28px rgba(0, 35, 86, 0.12));
}

/* Carry the hero's floating motion only while an illustration is visible. */
.home-float {
  animation: float-soft 7s ease-in-out infinite;
  animation-play-state: paused;
}
.home-float.is-floating { animation-play-state: running; }

/* Product definition and four supporting statements form one open composition. */
#what-is-pptn {
  padding-block: var(--home-section-space);
  background: var(--brand-navy-900);
}
#what-is-pptn .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--home-column-gap);
}
.home-page #what-is-pptn h2 { color: var(--color-surface); }
#what-is-pptn .subtitle { max-width: 55ch; margin: 0 0 32px; }
#what-is-pptn .subtitle h4 {
  color: var(--color-text);
  font-size: var(--home-body-size);
  font-weight: 400;
  line-height: 1.7;
}
#what-is-pptn .feature-blurb-grid { display: grid; grid-template-columns: 1fr; box-shadow: none; }
#what-is-pptn .blurb-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  background: transparent;
  border-bottom: 1px solid rgba(234, 246, 255, 0.2);
  box-shadow: none;
}
#what-is-pptn .blurb-card:first-child { padding-top: 0; }
#what-is-pptn .blurb-card:last-child { padding-bottom: 0; border-bottom: 0; }
#what-is-pptn .blurb-icon { display: flex; width: 20px; margin: 0; font-size: 0; color: var(--brand-cyan-300); }
#what-is-pptn .blurb-icon::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
#what-is-pptn .blurb-card h4 {
  max-width: 30ch;
  color: var(--color-text);
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
}

/* Native accordions keep a continuous reading and keyboard order. */
#faq { padding-block: var(--home-section-space); }
#faq .row {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: var(--home-column-gap);
}
#faq h4 { max-width: 24ch; color: var(--color-text-muted-on-light); font-size: var(--home-body-size); font-weight: 400; line-height: 1.7; }
.home-page .faq-item { border-bottom: 1px solid var(--color-border); }
.home-page .faq-item:first-child { border-top: 1px solid var(--color-border); }
.home-page .faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 20px;
  color: var(--brand-navy-900);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.home-page .faq-item > summary::-webkit-details-marker { display: none; }
.home-page .faq-item > summary::after {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.home-page .faq-item[open] > summary::after { background-size: 100% 2px, 2px 0; }
.home-page .faq-item > summary:hover { color: var(--brand-blue-800); }
.home-page .faq-a {
  max-width: 65ch;
  padding: 0 32px 24px 0;
  color: var(--color-text-muted-on-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* Closing action uses the hero's button geometry and type roles. */
#cta-section { padding-block: var(--home-section-space); background: var(--color-canvas); }
#cta-section .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--home-column-gap);
  align-items: center;
}
.home-page #cta-section h2 { margin-bottom: 0; max-width: 16ch; }
.home-page :is(#what-is-pptn, #cta-section) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  max-width: 100%;
  padding: 13px 27px;
  border: 0;
  border-radius: 999px;
  color: var(--brand-navy-950) !important;
  background: var(--brand-blue-500);
  box-shadow: 0 16px 28px rgba(63, 129, 255, 0.28);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  transition: transform 200ms ease;
}
.home-page :is(#what-is-pptn, #cta-section) .btn::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.home-page :is(#what-is-pptn, #cta-section) .btn:hover { transform: translateY(-2px); }
.home-page main > section:where(:not(#hero)) :is(a, summary):focus-visible {
  outline: 3px solid var(--brand-blue-800);
  outline-offset: 5px;
}
.home-page #what-is-pptn a:focus-visible { outline-color: var(--brand-cyan-300); }
.home-page #cta-section p.offer-disclosure {
  max-width: 55ch;
  margin: 24px 0 0;
  color: var(--color-text-muted-on-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .home-page { --home-column-gap: 32px; --home-title-size: clamp(2rem, 4.2vw, 2.75rem); }
  #features-strip .row { gap: 24px; }
  #features-strip .feature-card { grid-template-columns: 1fr; gap: 16px; }
  #features-strip img { width: 64px; height: 64px; }
  #faq .row { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
}
@media (max-width: 767px) {
  .home-page { --home-section-space: 64px; --home-column-gap: 40px; --home-title-size: clamp(1.875rem, 8vw, 2.75rem); --home-body-size: 1rem; }
  .home-page main > section:where(:not(#hero)) .container { padding-inline: 24px; }
  .home-page main > section:where(:not(#hero)) h2 { max-width: 20ch; margin-bottom: 20px; }
  .home-page main > section:where(:not(#hero)) .accent-divider { margin-bottom: 24px; }
  #features-strip { padding-block: 32px; }
  #features-strip .row { grid-template-columns: 1fr; gap: 28px; }
  #features-strip .feature-card { grid-template-columns: 64px minmax(0, 1fr); gap: 24px; }
  #features-strip p { max-width: 30ch; font-size: 1rem; }
  #video-section { padding-block: 32px; }
  #video-section .container { grid-template-columns: 1fr; gap: 20px; }
  .home-page .content-row .row,
  #what-is-pptn .row,
  #faq .row,
  #cta-section .row { grid-template-columns: minmax(0, 1fr); }
  .home-page .content-row .row-reverse { direction: ltr; }
  .home-page .content-row img { max-width: 480px; }
  #what-is-pptn .row { gap: 48px; }
  #what-is-pptn .blurb-card { padding-block: 24px; }
  #faq .row { gap: 32px; }
  .home-page .faq-item > summary { min-height: 72px; gap: 20px; font-size: 1rem; }
  .home-page .faq-a { padding-right: 0; }
  .home-page :is(#what-is-pptn, #cta-section) .btn { padding-inline: 20px; font-size: 0.875rem; }
  .home-page #cta-section h2 { margin-bottom: 0; }
  #cta-section .row { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-float { animation: none; }
  .home-page :is(#what-is-pptn, #cta-section) .btn { transition: none; }
  .home-page :is(#what-is-pptn, #cta-section) .btn:hover { transform: none; }
}
