/* Landing page (/). The header, buttons, cards and chips come from store.css; this adds the hero, the audience
   shout-outs, the product examples and the pitch sections. Images are 16:9 files with explicit width and height. */

.hm-main { max-width: 1100px; }

.hm-eyebrow { margin: 0 0 8px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

img { max-width: 100%; height: auto; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hm-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px 0 24px; }
.hm-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 0 0 16px; }
.hm-lead { color: var(--text); font-size: 1.15rem; margin: 0 0 12px; }
.hm-sub { color: var(--muted); margin: 0 0 18px; }
.hm-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.hm-hero-art img { display: block; width: 100%; border-radius: var(--radius-lg, 12px); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

.hm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hm-actions--left { justify-content: flex-start; margin-top: 18px; }
.hm-hero .hm-actions--left { margin-top: 0; }

/* ── Audience shout-outs ───────────────────────────────────────────────── */

.hm-shouts { display: grid; gap: 24px; margin-top: 24px; }
.hm-shout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin: 0; padding: 24px; scroll-margin-top: 72px; }
.hm-shout--flip .hm-shout-img { order: 2; }
.hm-shout-img { display: block; width: 100%; border-radius: var(--radius-lg, 10px); border: 1px solid var(--border); }
.hm-lead2 { margin: 0 0 14px; color: var(--text); font-size: 1.05rem; }
.hm-group { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--mid); border-radius: 0 8px 8px 0; color: var(--text); }

.hm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-list li { position: relative; padding-left: 26px; color: var(--text); }
.hm-list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ── Product examples ──────────────────────────────────────────────────── */

.hm-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 32px; }
.hm-spot--flip .hm-spot-img { order: 2; }
.hm-spot-img { display: block; width: 100%; border-radius: var(--radius-lg, 10px); border: 1px solid var(--border); }
.hm-h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.25; margin: 0 0 12px; }
.hm-spot-body p { margin: 0 0 12px; }

/* ── Product strip ─────────────────────────────────────────────────────── */

.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.hm-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; margin: 0; transition: border-color .15s; }
.hm-tile:hover, .hm-tile:focus-visible { border-color: var(--accent); }
.hm-tile .st-chip { align-self: flex-start; margin-bottom: 4px; }
.hm-tile .st-muted { margin: 4px 0 0; }

/* ── Pitch sections ────────────────────────────────────────────────────── */

.hm-section { padding: 48px 0 8px; border-top: 1px solid var(--border); margin-top: 48px; }
.hm-h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); line-height: 1.25; margin: 0 0 16px; max-width: 760px; }
.hm-copy { max-width: 740px; }
.hm-copy p { margin: 0 0 14px; color: var(--text); }

.hm-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hm-points--wide { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 8px; }
.hm-points .st-card { margin: 0; }
.hm-points .st-muted { margin: 6px 0 0; }

/* ── Why it matters ────────────────────────────────────────────────────── */

.hm-statement { margin: 0 0 12px; font-size: clamp(1.6rem, 4.4vw, 2.8rem); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; max-width: 880px; background: linear-gradient(90deg, var(--accent), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-why .hm-lead2 { max-width: 700px; color: var(--muted); }
.hm-why-card { position: relative; overflow: hidden; padding-top: 22px; transition: transform .18s, border-color .18s; }
.hm-why-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--green)); }
.hm-why-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.hm-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--green)); color: #fff; }
.hm-num { position: absolute; right: 16px; top: 18px; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--border); }

/* ── The problem ───────────────────────────────────────────────────────── */

.hm-problem-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.hm-problem-img { display: block; width: 100%; border-radius: var(--radius-lg, 12px); border: 1px solid var(--border); }

.hm-vs { margin-top: 36px; display: grid; gap: 12px; }
.hm-vs-head, .hm-vs-row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 0; align-items: stretch; }
.hm-vs-head { align-items: end; }
.hm-vs-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 0 4px 4px; }
.hm-vs-label--without { color: var(--red); }
.hm-vs-label--with { color: var(--green); }
.hm-vs-cell { padding: 16px 18px 16px 22px; border-radius: var(--radius-lg, 10px); border: 1px solid var(--border); position: relative; }
.hm-vs-tag { display: none; margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hm-vs-pain .hm-vs-tag { color: var(--red); }
.hm-vs-fix .hm-vs-tag { color: var(--green); }
.hm-vs-cell h3 { margin: 0 0 4px; }
.hm-vs-cell p { margin: 0; color: var(--muted); }
.hm-vs-pain { border-color: var(--red); background: linear-gradient(135deg, rgba(239, 68, 68, .12), transparent 70%); }
.hm-vs-fix { border-color: var(--green); background: linear-gradient(135deg, rgba(34, 197, 94, .14), transparent 70%); }
.hm-vs-pain::before, .hm-vs-fix::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; }
.hm-vs-pain::before { background: var(--red); }
.hm-vs-fix::before { background: var(--green); }
.hm-vs-arrow { position: relative; }
.hm-vs-arrow::before { content: ""; position: absolute; left: 8px; right: 14px; top: 50%; height: 3px; transform: translateY(-50%); background: linear-gradient(90deg, var(--red), var(--green)); border-radius: 2px; }
.hm-vs-arrow::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: translateY(-50%) rotate(45deg); }

/* ── Closing, support and footer ───────────────────────────────────────── */

.hm-closing { margin-top: 56px; padding: 36px 24px; text-align: center; background: linear-gradient(135deg, var(--mid), var(--card)); }
.hm-closing .hm-h2 { margin-left: auto; margin-right: auto; }
.hm-closing p { max-width: 640px; margin: 0 auto 12px; color: var(--text); }
.hm-closing .hm-actions { margin-top: 20px; }

.hm-support { margin-top: 32px; text-align: center; }
.hm-support .st-muted { margin: 8px 0 16px; }

.hm-footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px 16px 40px; }

@media (max-width: 820px) {
    .hm-hero, .hm-shout, .hm-spot, .hm-problem-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hm-vs-head { display: none; }
    .hm-vs-tag { display: block; }
    .hm-vs-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hm-vs-arrow { height: 36px; }
    .hm-vs-arrow::before { left: 50%; right: auto; top: 6px; bottom: 14px; width: 3px; height: auto; transform: translateX(-50%); background: linear-gradient(180deg, var(--red), var(--green)); }
    .hm-vs-arrow::after { left: 50%; right: auto; top: auto; bottom: 8px; transform: translateX(-50%) rotate(135deg); }
    .hm-hero { padding-top: 28px; }
    .hm-shout--flip .hm-shout-img, .hm-spot--flip .hm-spot-img { order: 0; }
    .hm-section { padding-top: 32px; margin-top: 32px; }
}
