/* Poolzy — page-specific styles (extends site-theme.css) */

/* ── FAQ page ── */
.faq-hero .page-hero-inner {
  max-width: 680px;
}

.faq-lead {
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

.faq-pillars {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: var(--space-stack);
}

.faq-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.18s ease;
}

.faq-card[open] {
  box-shadow: var(--shadow);
}

.faq-card summary {
  padding: 18px var(--space-card);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card__body {
  padding: 0 var(--space-card) var(--space-card);
}

.faq-card__body p {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Join / download ── */
.join-hero .page-hero-inner {
  max-width: 680px;
}

.join-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.join-hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto var(--space-stack-lg);
}

.join-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.join-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.join-chip svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.join-main {
  display: block;
}

.join-shell {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.join-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-stack-lg);
}

.join-section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 8px 0 10px;
}

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

.join-platform-card {
  max-width: 520px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  box-shadow: var(--shadow-soft);
}

.join-platform-card .coming-soon-banner {
  margin-bottom: var(--space-stack);
}

.join-platform-card .store-section {
  margin-top: var(--space-stack);
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.join-page {
  max-width: var(--content);
  margin: 0 auto;
  width: 100%;
}

.join-lead {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 0.98rem;
}

.coming-soon-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 0;
}

.coming-soon-banner strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.coming-soon-banner span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.coming-soon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(15, 122, 61, 0.15);
  animation: poolzy-pulse 2s ease-in-out infinite;
}

@keyframes poolzy-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.store-section {
  margin-bottom: 0;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .store-grid { grid-template-columns: 1fr; }

  .join-grid {
    grid-template-columns: 1fr;
  }

  .join-waitlist,
  .join-steps {
    padding: 18px 16px;
  }

  .join-cta {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .brand-tags-inline {
    justify-content: flex-start;
  }
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: white;
  text-decoration: none;
  color: inherit;
  min-height: 72px;
}

.store-btn-live {
  border-color: rgba(15, 122, 61, 0.35);
  box-shadow: 0 8px 20px rgba(15, 122, 61, 0.1);
  cursor: pointer;
}

.store-btn-live:hover {
  border-color: var(--primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.store-btn-soon {
  opacity: 0.72;
  background: #fafbfc;
  cursor: default;
}

.store-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.store-btn-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.store-btn-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.store-soon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.join-waitlist {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.join-card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.join-waitlist h2 {
  margin-top: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.join-steps {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-card);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.join-steps h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: var(--space-stack);
}

.join-steps ol {
  padding-left: 1.25rem;
  margin: 0 0 var(--space-stack);
}

.join-steps li {
  margin-bottom: 10px;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.6;
}

.join-steps p {
  margin: 0;
  font-size: 0.9rem;
}

.join-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--primary);
  color: white !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 122, 61, 0.2);
}

.join-cta:hover {
  background: var(--primary-dark);
  text-decoration: none !important;
}

.join-note {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}

.join-waitlist p,
.join-steps p {
  color: #475467;
  font-size: 0.94rem;
  line-height: 1.65;
}

.home-soon-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: var(--text);
}

.home-soon-banner strong {
  color: var(--primary-dark);
}

.home-soon-banner a {
  font-weight: 700;
  text-decoration: none;
}

.home-soon-banner a:hover {
  text-decoration: underline;
}

.home-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  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;
}

/* ── Brand taglines (inline icons) ── */
.brand-tags-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 1.5rem;
}

.brand-tag-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
}

.brand-tag-inline-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.brand-tag-inline-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.brand-tag-inline span:last-child {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.brand-tags-inline-compact {
  gap: 8px 12px;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.brand-tags-inline-compact .brand-tag-inline {
  padding: 6px 12px;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  display: block;
}

/* ── Why Poolzy page ── */
.why-hero {
  text-align: center;
}

.why-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.why-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.why-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
}

.why-sub {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 28px;
}

.why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0 0;
  text-align: left;
}

.why-pillar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-card) calc(var(--space-card) - 4px);
  box-shadow: var(--shadow-soft);
}

.why-pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.why-pillar h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.why-pillar p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

.why-positioning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.why-card {
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 1px solid var(--border);
}

.why-card.is {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.why-card.not {
  background: #ffffff;
}

.why-card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.why-card.not .why-card-label { color: var(--muted); }

.why-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.why-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.why-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.why-card.not li::before {
  background: #cbd5e1;
}

@media (max-width: 820px) {
  .why-pillars,
  .why-positioning {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .why-cta-actions { flex-direction: column; }
  .why-cta-actions .btn { width: 100%; }
}
