/* Home page only. Shared pieces (header, buttons, sections, FAQ, footer)
   live in styles.css. */

.btn-lg { padding: 14px 24px; font-size: 16px; font-weight: 700; }

/* Hero */
.h-hero { padding: 64px 0 72px; overflow: hidden; }
.h-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.h-hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; color: var(--navy); }
.h-hero h1 em { font-style: normal; color: var(--accent); }
.h-sub { margin-top: 20px; font-size: 20px; color: var(--ink-2); max-width: 32em; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-fine { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.h-visual { display: flex; justify-content: center; }
.h-phone { height: 540px; width: auto; max-width: none; filter: drop-shadow(0 28px 40px rgba(15, 27, 45, 0.22)); }

@media (max-width: 900px) {
  .h-hero { padding-top: 40px; }
  .h-hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .h-phone { height: 460px; }
}
@media (max-width: 480px) {
  .h-phone { height: 420px; }
  .h-actions .btn { flex: 1 1 100%; }
}

/* Problem */
.h-problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.h-problem h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--navy); margin-bottom: 22px; }
.h-big { font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 14px; }
.h-problem p:not(.h-big) { font-size: 17px; color: var(--ink-2); }
@media (max-width: 860px) { .h-problem .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* The group text: plain phone-message look, no app chrome. */
.h-thread {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 14px;
  max-width: 380px; width: 100%; justify-self: center; box-shadow: 0 18px 40px -24px rgba(15, 27, 45, 0.35);
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}
.t-head { text-align: center; padding-bottom: 10px; border-bottom: 1px solid #eef1f4; }
.t-head b { display: block; font-size: 15px; color: #111; }
.t-head span { font-size: 12px; color: #8a8f98; }
.t-time { text-align: center; font-size: 11.5px; color: #8a8f98; margin: 12px 0 6px; }
.t-msg { margin: 6px 0; max-width: 80%; }
.t-name { display: block; font-size: 11px; color: #8a8f98; margin: 0 0 2px 12px; }
.t-msg p { background: #e9e9eb; color: #111; padding: 8px 12px; border-radius: 18px; font-size: 14.5px; line-height: 1.35; }
.t-msg.me { margin-left: auto; }
.t-msg.me p { background: #0a84ff; color: #fff; }
.t-read { text-align: right; font-size: 11px; color: #8a8f98; margin-top: 2px; }

/* Three pillars */
.h-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-pillar { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: #fff; }
.h-pillar.first { border: 2px solid var(--teal); background: #f6fbfa; }
.h-pillar .k { font-size: 14px; font-weight: 700; color: var(--accent-dark); }
.h-pillar.first .k { color: var(--teal); }
.h-pillar h3 { font-size: 22px; margin: 6px 0 8px; color: var(--navy); }
.h-pillar > p:not(.k) { color: var(--ink-2); }
.h-pillar ul { margin: 14px 0 0; padding-left: 18px; }
.h-pillar li { margin: 6px 0; }
.h-more { text-align: center; color: var(--ink-3); margin-top: 28px; font-size: 15px; }
@media (max-width: 860px) { .h-pillars { grid-template-columns: 1fr; } }

/* Steps */
section.h-tight { padding-top: 0; }
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.h-step { padding: 26px; border-radius: 14px; background: var(--bg-soft); }
.h-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.h-step h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.h-step p { color: var(--ink-2); }
@media (max-width: 860px) { .h-steps { grid-template-columns: 1fr; } }

/* Offer */
.h-offer { background: var(--navy); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.h-offer h2 { font-size: clamp(28px, 3.4vw, 38px); }
.h-offer ul { list-style: none; padding: 0; margin: 20px 0 0; }
.h-offer li { padding: 11px 0; border-bottom: 1px solid #2a4570; font-size: 17px; }
.h-offer li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.h-trial { background: #fff; color: var(--ink); border-radius: 14px; padding: 28px; }
.h-trial h3 { font-size: 22px; color: var(--navy); }
.h-trial p { color: var(--ink-2); margin: 8px 0 20px; }
.h-link { display: inline-block; margin-left: 14px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .h-offer { grid-template-columns: 1fr; padding: 28px 20px; } }

/* Final */
.h-final { text-align: center; }
.h-final h2 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); }
.h-twoway { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 32px auto 34px; text-align: left; }
.h-twoway div { border-radius: 14px; padding: 22px; }
.h-twoway b { display: block; margin-bottom: 6px; color: var(--navy); }
.h-twoway .without { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.h-twoway .with { background: #e7f5f2; color: #164f47; }
@media (max-width: 700px) { .h-twoway { grid-template-columns: 1fr; } }

/* Links like "How it works" land below the sticky header. */
section[id] { scroll-margin-top: 76px; }

