/* Homefit Talks — locked design rotate
   page hookable-ai · hero ramp-pricing-hero · header hookable-ai-header
   features saaspo-feature-sections-secoda · how-it-works viewport-before-after
   about mike-mcalister-bio · pricing loadfast-store-pricing-7
   cta delphi-digital-mind-cta · contact innovation-initiative
   faq sonarly-dev-faq-3 · footer footer-reveni
   welcome welcome-footer-cta · policy policy-overlay-fade-hero · auth auth-slide-panels
   Palette hue 190 — --primary #47C7E1 — no gradients, no drop shadows. */

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #f7fbfc;
}

h1, h2, h3, .display {
  font-family: var(--font-serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

a { color: var(--primary-dark); }

.btn,
.btn--primary,
.primary-btn,
.auth-submit,
.signup-submit {
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: 0;
  background: var(--primary);
  color: #0e2a32;
  padding: 0.78rem 1.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn--primary:hover,
.primary-btn:hover,
.auth-submit:hover {
  background: #2eb3cf;
  color: #0e2a32;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--ghost:hover { background: var(--ink); color: #fff; }

/* Header — hookable-ai floating pill */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  padding: 0.85rem 1rem 0;
  box-shadow: none;
}

.site-header__inner {
  max-width: 76rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 52, 60, 0.08);
  border-radius: 999px;
  min-height: 64px;
  padding: 0.4rem 0.55rem 0.4rem 0.9rem;
}

.site-header__brand img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.site-header__nav a {
  font-size: 0.92rem;
  font-weight: 560;
  color: var(--ink);
}

.site-header__nav a.is-active,
.site-header__nav a:hover { color: var(--primary-dark); }

/* Hero — ramp-pricing-hero split, no email capture */
.ramp-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  background: #f3efe8;
  border-radius: 32px;
  padding: 3.2rem 2.6rem;
  margin: 1rem auto 0;
  max-width: 76rem;
  overflow: hidden;
}

.ramp-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0 0 0.8rem;
}

.ramp-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  color: #1a1a1a;
  font-weight: 500;
}

.ramp-hero h1 em {
  font-style: italic;
  color: var(--primary-dark);
}

.ramp-hero__lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.6;
}

.ramp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.ramp-hero__note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: #6d6d6d;
}

.ramp-hero__visual {
  position: relative;
}

.ramp-hero__visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
}

.starburst {
  position: absolute;
  right: 4%;
  top: 12%;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #0e2a32;
  clip-path: polygon(50% 0%, 61% 12%, 76% 6%, 80% 22%, 96% 24%, 88% 38%, 100% 50%, 88% 62%, 96% 76%, 80% 78%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 20% 78%, 4% 76%, 12% 62%, 0% 50%, 12% 38%, 4% 24%, 20% 22%, 24% 6%, 39% 12%);
  text-align: center;
  font-family: var(--font-sans);
}

.starburst strong { display: block; font-size: 1.05rem; line-height: 1; }
.starburst span { display: block; font-size: 0.62rem; line-height: 1.15; max-width: 4.6rem; }

/* Features — secoda cards + accordion */
.secoda {
  padding: 4.5rem 0 1rem;
}

.secoda__head,
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 1.8rem; }
.section-head h2, .secoda__head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 0.6rem; }
.section-head p, .secoda__head p { color: var(--muted); margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.15rem 1.35rem;
}

.feature-card__mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.feature-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.secoda__panel {
  margin-top: 1.4rem;
  background: #eef3f4;
  border-radius: 28px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: center;
}

.acc-item { border-bottom: 1px solid #d7e0e3; }
.acc-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0.2rem;
  font-weight: 650;
  font-size: 1.15rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item p { margin: 0 0 1rem; color: var(--muted); }

.secoda__shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.secoda__shot img { width: 100%; height: 360px; object-fit: cover; }

/* How it works — viewport-before-after */
.path-compare {
  padding: 3.5rem 0 1rem;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.compare figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  background: #111;
}
.compare img { width: 100%; height: 360px; object-fit: cover; }

/* About — mike-mcalister-bio */
.bio {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0;
}
.bio__photo {
  border-radius: 28px 80px 28px 28px;
  overflow: hidden;
}
.bio__photo img { width: 100%; height: 460px; object-fit: cover; }
.bio__kicker {
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.bio h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.4rem 0 0.8rem; }
.bio p { color: var(--muted); }

/* Pricing — loadfast single stack */
.price-stack {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem 1.6rem 1.8rem;
  max-width: 640px;
  margin: 0 auto;
}
.price-stack ul { margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.price-stack li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.price-stack li::before { content: "— "; color: var(--primary-dark); font-weight: 700; }
.price-amount { font-family: var(--font-serif); font-size: 2.4rem; margin: 0.2rem 0; }

/* CTA — delphi adapted, solid band, no gradient */
.mind-cta {
  background: var(--primary);
  color: #0e2a32;
  border-radius: 32px;
  padding: 2.6rem 1.6rem;
  text-align: center;
  margin: 1rem 0 2rem;
}
.mind-cta h2 { margin: 0 0 0.4rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.mind-cta h2 em { font-style: italic; }
.mind-steps {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.2rem 0 1.4rem;
  font-family: var(--font-sans);
  font-weight: 650;
}
.mind-cta p { margin: 0 auto 1.2rem; max-width: 36rem; }

/* Contact — innovation-initiative */
.initiative {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 3rem;
}
.initiative h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.3rem 0 0.6rem; }
.initiative__aside {
  background: #12343c;
  color: #fff;
  border-radius: 24px;
  padding: 1.5rem;
}
.initiative__aside a { color: var(--primary); }

/* FAQ chrome — sonarly */
.faq-sonarly { padding-bottom: 3rem; }
.faq-sonarly details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.2rem 1rem;
  margin-bottom: 0.6rem;
}
.faq-sonarly summary { cursor: pointer; padding: 0.85rem 0; font-weight: 650; }
.faq-sonarly p { color: var(--muted); margin-top: 0; }

/* Footer — reveni light, same lockup */
.site-footer { background: #f4f8f9; color: var(--ink); }
.site-footer__main { background: transparent; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--primary-dark); }
.site-footer__brand p,
.site-footer__contact p,
.site-footer__contact a { color: var(--muted); }
.site-footer__col h3 { color: var(--ink); }
.site-footer__col a { color: var(--ink); }
.site-footer__copy { border-top: 1px solid var(--line); color: var(--ink); }
.site-footer__copy p { color: var(--ink); }
.site-footer__trust .encryption { color: var(--ink); }
.footer-logo-link img { height: 42px; width: auto; }

/* Policy overlay fade hero */
.policy-overlay-fade-hero .policy-content {
  position: relative;
  width: min(100% - 2rem, 92rem);
  max-width: none;
  margin: 1rem auto 2rem;
  border-radius: 28px;
  overflow: hidden;
  min-height: 280px;
  padding: 3.5rem 1.8rem 2rem;
  background: #12343c url("../images/homefittalks-cta.jpg") center / cover no-repeat;
}
.policy-overlay-fade-hero .policy-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 60, 0.72);
}
.policy-overlay-fade-hero .policy-content .wrap {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 2rem 2.2rem;
  max-width: none;
  width: 100%;
  color: var(--ink);
}
.policy-overlay-fade-hero .policy-content .wrap h1,
.policy-overlay-fade-hero .policy-content .wrap h2,
.policy-overlay-fade-hero .policy-content .wrap h3,
.policy-overlay-fade-hero .policy-content .wrap h4,
.policy-overlay-fade-hero .policy-content .wrap h5,
.policy-overlay-fade-hero .policy-content .wrap h6 {
  color: var(--ink);
}
.policy-overlay-fade-hero .policy-content .wrap h1 {
  margin: 0 0 1rem;
}
.policy-overlay-fade-hero .policy-content .wrap h2,
.policy-overlay-fade-hero .policy-content .wrap h3 {
  margin: 1.4rem 0 0.55rem;
}
@media (max-width: 719px) {
  .policy-overlay-fade-hero .policy-content {
    width: min(100% - 0.5rem, 92rem);
    margin: 0.5rem auto 1.25rem;
    padding: 1.15rem 0.35rem 0.85rem;
    border-radius: 18px;
    min-height: 0;
  }
  .policy-overlay-fade-hero .policy-content .wrap {
    padding: 1.1rem 0.75rem 1.25rem;
    border-radius: 14px;
  }
}

/* Auth slide panels */
.auth-slide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 70vh;
  margin: 1rem auto 2rem;
  max-width: 76rem;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.auth-slide__media {
  background: #12343c url("../images/homefittalks-before.jpg") center / cover no-repeat;
  min-height: 280px;
  position: relative;
}
.auth-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 60, 0.35);
}
.auth-slide__panel {
  padding: 2rem 1.6rem;
  animation: slideIn 0.45s ease;
}
@keyframes slideIn {
  from { transform: translateX(18px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}
.signup-pricing-box, .pricing-note {
  background: var(--primary-tint);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--ink);
}
.user-input, .form-group input, .form-group textarea, .form-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--ink);
}

/* Modals — auth-slide-panels tone */
.modal-overlay.open,
.modal-overlay.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(18, 52, 60, 0.55);
  z-index: 10000;
}
.modal {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  max-width: 26rem;
  width: min(26rem, 92vw);
  padding: 1.4rem;
}
#loginModal .modal, #forgotModal .modal {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.8rem 1rem;
}
#loginModal .modal::before,
#forgotModal .modal::before {
  content: "";
  grid-row: 1 / span 6;
  border-radius: 14px;
  background: var(--primary);
}

/* Welcome — footer-cta */
#welcomeModal .welcome-card--footer-cta {
  width: min(22rem, 100%);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-family: var(--font-sans);
  text-align: center;
}
#welcomeModal .welcome-top { background: var(--primary); color: #0e2a32; padding: 1.4rem 1.2rem 1.15rem; }
#welcomeModal .welcome-badge {
  width: 2rem; height: 2rem; margin: 0 auto 0.7rem; border-radius: 8px;
  background: #fff; color: var(--primary-dark); display: flex; align-items: center; justify-content: center;
}
#welcomeModal .welcome-top h3 { margin: 0 0 0.35rem; color: #0e2a32; font-size: 1.35rem; }
#welcomeModal .welcome-top__lead { margin: 0; font-size: 0.92rem; }
#welcomeModal .welcome-bottom { padding: 1.1rem 1.15rem 1.25rem; text-align: left; }
#welcomeModal .welcome-consent { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
#welcomeModal .welcome-bottom a { color: var(--primary-dark); }
#welcomeModal .welcome-actions { text-align: center; }
#welcomeModal .welcome-actions .btn { min-width: 8rem; }

/* Support body — fitness padding + primary buttons */
.support-page.section-padding,
.factory-support.section-padding { padding: 2rem 0 3rem; }
.support-page .page-panel, .factory-support .page-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
}
.factory-chat-now, .cancel-now { border-radius: 999px; }

.page-hero h1 { font-family: var(--font-serif); }

@media (max-width: 980px) {
  .ramp-hero, .secoda__panel, .compare, .bio, .initiative, .auth-slide, .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .ramp-hero { padding: 1.6rem 1.1rem; }
  .ramp-hero__visual img, .bio__photo img, .compare img { height: 260px; }
  #loginModal .modal, #forgotModal .modal { grid-template-columns: 1fr; }
  #loginModal .modal::before, #forgotModal .modal::before { display: none; }
}
@media (max-width: 640px) {
  .feature-grid, .mind-steps { grid-template-columns: 1fr; display: grid; }
  .site-header__inner { border-radius: 22px; }
}
