/* Hook Sprout — shared styles. Mobile-first, no external dependencies. */
:root {
  --bg: #faf8f2;
  --bg-alt: #f1eee3;
  --surface: #ffffff;
  --text: #15201a;
  --muted: #4a564e;          /* 7.3:1 on --bg */
  --accent: #2f7d32;         /* sprout green; white text on it = 5.1:1 */
  --accent-dark: #22602a;
  --accent-soft: #dff0d0;
  --lime: #9bd65a;           /* decorative only, never for text */
  --line: #ddd8c8;
  --radius: 14px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--text); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 720px) { .container { padding: 0 1.5rem; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 242, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: none; gap: 1.25rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--accent-dark); text-decoration: underline; }
@media (min-width: 860px) { .nav { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
section { padding: 4rem 0; }
@media (min-width: 720px) { section { padding: 5.5rem 0; } }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-dark); margin-bottom: .75rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }

/* Hero */
.hero { padding-top: 3rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--lime) 62%); padding: 0 .1em; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .5rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; }
.hero-points li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: .3rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2322602a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }
.hero-visual { display: flex; justify-content: center; gap: 1rem; }
.phone {
  width: 46%; max-width: 210px; aspect-ratio: 9 / 16;
  border-radius: 26px; border: 6px solid var(--text); background: var(--accent-soft);
  position: relative; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(21, 32, 26, .45);
}
.phone:nth-child(2) { transform: translateY(2rem); background: #f3e9cf; }
.phone .tag { position: absolute; left: .6rem; top: .6rem; background: var(--text); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; }
.phone .hooks { position: absolute; left: .6rem; right: .6rem; bottom: .8rem; display: grid; gap: .35rem; }
.phone .hooks span { background: rgba(255,255,255,.92); border-radius: 8px; padding: .35rem .5rem; font-size: .72rem; font-weight: 700; line-height: 1.25; }
.phone svg { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; top: -18%; }

/* Steps */
.steps { display: grid; gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }

/* Portfolio */
.portfolio-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }
.ad-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); aspect-ratio: 9 / 16; }
.ad-card video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.ad-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .7rem; font-size: .8rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(21,32,26,.85)); pointer-events: none; }
.ad-card .play-btn {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: rgba(21,32,26,.78); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.ad-card .play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.ad-card.is-playing .play-btn { opacity: 0; }
.ad-card.is-missing .play-btn { display: none; }
.portfolio-note { font-size: .9rem; color: var(--muted); margin-top: 1.25rem; }

/* Pricing */
.tiers { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; position: relative; }
.tier.featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px -24px rgba(47,125,50,.6); }
.tier .badge { position: absolute; top: -.8rem; left: 1.5rem; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.tier .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: .5rem 0 .25rem; }
.tier .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tier .sub { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.tier ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; font-size: .95rem; }
.tier li { padding-left: 1.4rem; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50% 0; background: var(--accent); transform: rotate(-45deg); }
.tier .btn { margin-top: auto; }
.pricing-foot { margin-top: 2rem; color: var(--muted); font-size: .95rem; }

.def-list { display: grid; gap: .75rem; margin: 2rem 0 0; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); font-size: .95rem; }
.def-list p { margin: 0; }

.addons { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 860px) { .addons { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--accent-soft); font-weight: 700; }
td.num { white-space: nowrap; font-weight: 700; }

/* Guarantee */
.guarantee-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .guarantee-grid { grid-template-columns: repeat(2, 1fr); } }
.g-card { background: var(--surface); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.g-card p { margin: 0; color: var(--muted); }
.honest { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--text); color: #f1f5ee; }
.honest strong { color: #fff; }

/* Compare */
.compare { display: grid; gap: 1rem; }
@media (min-width: 760px) { .compare { grid-template-columns: repeat(2, 1fr); } }
.compare .item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.compare .item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent-dark); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-top: .75rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA */
.cta-band { background: var(--accent); color: #fff; border-radius: 24px; padding: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 720px) { .cta-band { padding: 3.5rem; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #eaf5e2; max-width: 36rem; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent-dark); }
.cta-band .btn-primary:hover { background: var(--bg); color: var(--text); }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--accent-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .9rem; color: var(--muted); }
.site-footer .container { display: grid; gap: 1rem; }
@media (min-width: 760px) { .site-footer .container { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; }

/* Legal pages */
.legal { padding: 3rem 0 4rem; }
.legal .container { max-width: 48rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal li { margin-bottom: .4rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound svg { width: 96px; height: 96px; margin: 0 auto 1.5rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.notfound .lead { margin: 0 auto 1.5rem; }
.notfound .btn-row { justify-content: center; }
