/* How Popcard Works — science/marketing page. Loaded on top of blog.css. */

.hiw-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 36px;
  text-align: center;
}
.hiw-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 14px 0 16px;
}
.hiw-hero p { font-size: 19px; color: var(--mute); line-height: 1.6; margin: 0 auto 28px; max-width: 600px; }
.hiw-hero-cta {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--purple-deep);
  transition: transform .1s;
}
.hiw-hero-cta:hover { transform: translateY(-2px); color: #fff; }

.hiw-steps {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hiw-step {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
}
.hiw-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.hiw-step h2 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; }
.hiw-step p { font-size: 15px; color: var(--mute); line-height: 1.55; margin: 0; }

.hiw-science { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.hiw-science-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hiw-science-inner > h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.03em; margin: 12px 0 32px; }
.hiw-sci-card {
  display: flex;
  gap: 18px;
  text-align: left;
  background: #FBFAFF;
  border: 1.5px solid var(--purple-ring);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 16px;
}
.hiw-sci-icon { font-size: 34px; flex-shrink: 0; }
.hiw-sci-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0 0 8px; }
.hiw-sci-card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; margin: 0 0 10px; }
.hiw-sci-link { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--purple); text-decoration: none; }
.hiw-sci-link:hover { text-decoration: underline; }
.hiw-quote {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

.hiw-why { max-width: 880px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.hiw-why > h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.03em; margin: 0 0 28px; }
.hiw-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.hiw-why-col { border-radius: 18px; padding: 24px; }
.hiw-why-col h3 { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin: 0 0 14px; }
.hiw-why-col ul { margin: 0; padding-left: 20px; }
.hiw-why-col li { margin-bottom: 10px; font-size: 15px; line-height: 1.45; }
.hiw-why-old { background: #F6F6F8; color: var(--mute); }
.hiw-why-old h3 { color: var(--ink-2); }
.hiw-why-new { background: linear-gradient(160deg, var(--purple-soft), #fff); border: 1.5px solid var(--purple-ring); color: var(--ink-2); }
.hiw-why-new h3 { color: var(--purple); }

.hiw-cta {
  max-width: 680px;
  margin: 0 auto 72px;
  padding: 44px 32px;
  text-align: center;
  background: linear-gradient(150deg, #5826D9, #6E3DEA, #8B5CF6);
  border-radius: 26px;
  color: #fff;
}
.hiw-cta img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 8px; }
.hiw-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.5vw, 32px); letter-spacing: -0.025em; line-height: 1.18; margin: 0 0 10px; color: #fff; }
.hiw-cta p { font-size: 16px; opacity: 0.92; margin: 0 0 22px; }
.hiw-cta a {
  display: inline-block;
  background: #fff;
  color: var(--purple-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(0,0,0,0.14);
  transition: transform .1s;
}
.hiw-cta a:hover { transform: translateY(-2px); }

@media (max-width: 760px) {
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-why-grid { grid-template-columns: 1fr; }
}
