/* Poolzy homepage — extends site-theme.css */

:root {
  --hero-mid: #22A55D;
  --hero-teal: #0A6B5C;
}

/* ── Hero (split layout) ── */
.hero {
  position: relative;
  padding: var(--space-section-y-lg) 0 0;
  background: #ffffff;
  overflow: hidden;
}

.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 32px;
}

.hero-copy { text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow .poolzy-brand-line {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: var(--text);
}

.hero h1 span { color: var(--primary); }

.hero-subhead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 34ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn-primary {
  padding: 14px 26px;
  font-size: 0.98rem;
}

.hero-actions .btn-outline {
  padding: 14px 22px;
}

.btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-play svg { width: 10px; height: 10px; color: var(--primary); }

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 28px 28px 28px 96px;
  box-shadow: var(--shadow);
  display: block;
}

/* ── Homepage page end (CTA + coming soon, unified white) ── */
.home-page-end {
  background: #ffffff;
  padding: var(--space-section-y) 0 var(--space-section-y-lg);
}

.home-page-end-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-page-end .cta-band {
  margin: 0;
}

.soon-banner {
  background: transparent;
  border: none;
  padding: 0;
}

.soon-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.soon-banner-copy strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.soon-banner-copy p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.soon-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-soon-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(15, 122, 61, 0.2);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ── Sections ── */
main > section { padding: var(--space-section-y) 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ── Vision section (compact) ── */
#vision.vision-premium {
  padding: clamp(48px, 7vw, 80px) 0 0;
  background: transparent;
}

main > section#vision {
  padding-bottom: 0;
}

#vision.vision-premium .wrap {
  width: min(100% - clamp(24px, 6vw, 48px), var(--max));
}

.vision-premium-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.vision-title {
  max-width: 16ch;
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

.vision-title span { color: var(--accent); }

.vision-mission {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 36rem;
  margin: 0 0 44px;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
}

.vision-mission-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.vision-mission-quote {
  display: block;
  margin: 0;
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  line-height: 1.65;
  color: #475467;
  font-weight: 400;
}

.vision-mission-quote em {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  color: var(--text);
}

.vision-mission::after {
  content: "";
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary-light));
  margin-top: 2px;
}

.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  text-align: left;
  margin: 0;
}

.vision-card {
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.05);
}

.vision-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vision-card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}

.vision-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vision-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.vision-card p {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
}

.vision-bridge {
  background: #ffffff;
}

main > section.vision-bridge {
  padding: clamp(40px, 6vw, 56px) 0;
}

main > section#how-it-works {
  padding-top: 0;
}

.vision-bridge .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-closing-line {
  margin: 0;
  max-width: none;
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.vision-closing-line strong {
  color: var(--accent);
  font-weight: 700;
}

/* ── Trust journey ── */
.trust-journey {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 32px 40px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.trust-journey-intro .trust-journey-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 12px;
  max-width: none;
}

.trust-journey-intro h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.trust-journey-intro p:not(.trust-journey-label) {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 22ch;
}

.trust-journey-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.trust-step {
  flex: 1;
  min-width: 0;
  text-align: center;
  position: relative;
  padding: 0 6px;
}

.trust-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 0;
  border-top: 2px dotted #D0D5DD;
  z-index: 0;
}

.trust-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F2F4F7;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: #475467;
  position: relative;
  z-index: 1;
}

.trust-step-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.trust-step-icon.is-accent {
  background: var(--primary);
  color: white;
}

.trust-step-icon.is-verify {
  color: var(--primary);
}

.trust-step-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.trust-step h3 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.trust-step p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 14ch;
  margin: 0 auto;
}

/* ── Why trust matters banner ── */
main > section.trust-banner-section {
  padding-bottom: 0;
}

.stories-bridge {
  background: #ffffff;
}

main > section.stories-bridge {
  padding: clamp(40px, 6vw, 56px) 0;
}

main > section#stories {
  padding-top: 0;
}

.stories-bridge .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stories-bridge-head {
  text-align: center;
  margin: 0 auto;
}

.stories-bridge-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.stories-bridge-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.45vw, 1rem);
  line-height: 1.45;
  white-space: nowrap;
}

.trust-banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 36px 32px;
  align-items: start;
  color: white;
  background:
    radial-gradient(ellipse 80% 120% at 100% 50%, rgba(34, 165, 93, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(0, 0, 0, 0.25), transparent 50%),
    linear-gradient(135deg, #082818 0%, #0C4A2E 45%, #0A3D24 100%);
  box-shadow: var(--shadow);
}

.trust-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.trust-banner > * { position: relative; z-index: 1; }

.trust-banner-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.trust-banner-intro h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: white;
}

.trust-banner-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-width: 0;
}

.trust-banner-feature {
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-banner-feature:first-child {
  padding-left: 0;
  border-left: none;
}

.trust-banner-feature:last-child {
  padding-right: 0;
}

.trust-banner-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: white;
}

.trust-banner-feature-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.trust-banner-feature h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: white;
}

.trust-banner-feature p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.safety-banner {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.safety-banner h2 {
  font-size: clamp(1.15rem, 1.85vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
  white-space: nowrap;
}

.safety-banner p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.safety-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.safety-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
}

.safety-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  margin-top: 1px;
}

.safety-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.safety-visual-title {
  display: block;
  margin-bottom: 8px;
}

.safety-visual-sub {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.contact-card-label {
  display: block;
  font-size: 0.92rem;
}

.contact-card-email {
  color: var(--primary);
  font-weight: 700;
}

.cta-band {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-band h2 em,
.cta-band h2 .poolzy-brand-line {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.cta-band p {
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 1.65;
}

.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

.cta-band .btn-cta-primary {
  background: white;
  color: var(--primary-dark) !important;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cta-band .btn-cta-primary:hover {
  background: var(--primary-soft);
  color: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.cta-band .btn-cta-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.cta-band .btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.quote p {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.quote footer {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.quote footer strong {
  display: block;
  color: var(--text);
  font-style: normal;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy { text-align: center; }

  .eyebrow {
    max-width: 100%;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
  }

  .hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions { justify-content: center; }

  .hero-visual { min-height: 0; }

  .hero-photo {
    min-height: 280px;
    border-radius: 20px;
  }

  .trust-journey {
    grid-template-columns: 1fr;
  }

  .vision-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vision-closing-line {
    white-space: normal;
    max-width: 34ch;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .stories-bridge-head p {
    white-space: normal;
    max-width: 42ch;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .vision-mission {
    margin-bottom: 32px;
    gap: 12px;
  }

  .vision-mission-quote {
    font-size: 1.02rem;
  }

  .vision-title {
    max-width: none;
    margin-bottom: 16px;
  }

  .trust-journey-intro p { max-width: none; }

  .trust-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .trust-banner-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .trust-banner-feature {
    border-left: none;
    padding: 0;
  }

  .trust-journey-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-x: visible;
    counter-reset: trust-step;
  }

  .trust-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    text-align: left;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    counter-increment: trust-step;
  }

  .trust-step:last-child { border-bottom: none; }

  .trust-step:not(:last-child)::after { display: none; }

  .trust-step-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    width: 48px;
    height: 48px;
  }

  .trust-step-num {
    display: none;
  }

  .trust-step h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    text-align: left;
    max-width: none;
  }

  .trust-step h3::before {
    content: counter(trust-step) ". ";
    color: var(--muted);
    font-weight: 600;
  }

  .trust-step p:not(.trust-step-num) {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    max-width: none;
    margin: 0;
  }

  .trust-banner-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .safety-banner,
  .footer-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .safety-banner h2 {
    white-space: normal;
    font-size: clamp(1.25rem, 4vw, 1.55rem);
  }

  .soon-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .soon-banner-actions {
    width: 100%;
  }

  .soon-banner-actions .btn {
    width: 100%;
  }

  section {
    padding: 24px 0 40px;
  }
}

@media (max-width: 560px) {
  .hero { padding-top: 32px; }

  .hero-photo { min-height: 240px; }

  .hero-actions, .cta-band .hero-actions { flex-direction: column; }
  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    padding: 6px 12px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .trust-journey {
    padding: 28px 20px;
  }

  .trust-banner {
    padding: 28px 20px;
  }

  .cta-band {
    padding: 32px 22px;
  }

  .cta-band .btn {
    width: 100%;
  }
}
