/* Shared Goalpen landing template — reuse on every Idea landing page.
 * Slots in each page HTML (see own-the-outcome/index.html):
 *   LOGO, USP_TITLE, USP_LEAD, CTA_HREF, BODY_SECTIONS, WHO_FOR, FOOTER
 */
:root {
  --nav-height: 80px;
  --gp-brand: #a559ff;
  --gp-brand-dark: #8b4ee0;
  --gp-ink: #1f1b2e;
  --gp-muted: #5c566e;
  --gp-line: #ece8f5;
  --gp-soft: #f6f2fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--gp-ink);
  background: #fff;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.lp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(236, 232, 245, 0.9);
}
.lp-nav__logo img { height: 32px; width: auto; }
.lp-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--gp-brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
}
.lp-nav__cta:hover {
  background: var(--gp-brand-dark);
  box-shadow: 0 6px 18px rgba(165, 89, 255, 0.28);
}

.lp-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 27, 46, 0.08) 0%, rgba(31, 27, 46, 0.55) 55%, rgba(31, 27, 46, 0.82) 100%),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(165, 89, 255, 0.45), transparent 55%),
    linear-gradient(145deg, #2a2438 0%, #1f1b2e 40%, #3d2a55 100%);
  color: #fff;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}
.lp-hero__inner {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  margin: 0 auto;
  text-align: center;
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.lp-brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.lp-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.lp-hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--gp-brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.lp-btn:hover {
  background: #b56dff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(165, 89, 255, 0.35);
}
.lp-hero__note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.lp-section {
  padding: 4.5rem 1.5rem;
}
.lp-section--soft { background: var(--gp-soft); }
/* Only the closing Next-step band is tinted — body copy must never come out striped. */
main > .lp-section--soft:not(:last-child) { background: #fff; }

/* Cover art directly under the hero */
.lp-cover { padding: 2.5rem 1.5rem 0; }
.lp-cover__fig { width: min(42rem, 100%); margin: 0 auto; }
.lp-cover__fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--gp-line);
  background: #fff;
}
.lp-cover__fig figcaption { margin-top: 0.55rem; font-size: 0.78rem; color: #8b8499; }
.lp-wrap {
  width: min(42rem, 100%);
  margin: 0 auto;
}
.lp-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lp-section p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gp-muted);
}
.lp-section p:last-child { margin-bottom: 0; }
.lp-section strong { color: var(--gp-ink); font-weight: 700; }

/* Markdown body from Growth export — same Montserrat formats as hand-built landings */
.lp-prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gp-ink);
  font-family: 'Montserrat', system-ui, sans-serif;
}
.lp-prose h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--gp-ink);
  font-family: 'Montserrat', system-ui, sans-serif;
}
.lp-prose p {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gp-muted);
  font-family: 'Montserrat', system-ui, sans-serif;
}
.lp-prose ul, .lp-prose ol {
  margin: 0 0 1.15rem 1.25rem;
  color: var(--gp-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.lp-prose li { margin: 0 0 0.4rem; }
.lp-prose strong { color: var(--gp-ink); font-weight: 700; }
.lp-prose a {
  color: var(--gp-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lp-prose a:hover { color: var(--gp-brand-dark); }

.lp-split {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .lp-split { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.lp-card {
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--gp-line);
  background: #fff;
}
.lp-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}
.lp-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gp-muted);
}

.lp-cta {
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(165, 89, 255, 0.14), transparent 60%),
    #fff;
}
.lp-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-cta p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--gp-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* In-body art / product screens from Growth markdown */
.lp-prose .lp-figure,
.lp-prose .blog-figure {
  margin: 1.75rem 0 2rem;
}
.lp-prose .lp-figure img,
.lp-prose .blog-figure img {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid var(--gp-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 27, 46, 0.06);
}
.lp-prose .lp-figure figcaption,
.lp-prose .blog-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #8b8499;
}

/* Next Step box (shared class names with blog end CTA) */
.lp-next-step,
.blog-end-cta.lp-next-step {
  margin: 0;
  padding: 1.5rem 1.4rem 1.55rem;
  border-radius: 1rem;
  border: 1px solid var(--gp-line);
  background: linear-gradient(180deg, #fbfaff 0%, #f6f2fc 100%);
  text-align: left;
}
.lp-next-step .blog-end-cta__eyebrow,
.blog-end-cta.lp-next-step .blog-end-cta__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gp-brand);
}
.lp-next-step .blog-end-cta__title,
.blog-end-cta.lp-next-step .blog-end-cta__title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gp-ink);
  line-height: 1.25;
}
.lp-next-step .blog-end-cta__text,
.blog-end-cta.lp-next-step .blog-end-cta__text {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gp-muted);
}
.lp-next-step .blog-end-cta__actions,
.blog-end-cta.lp-next-step .blog-end-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.lp-next-step .blog-end-cta__primary,
.blog-end-cta.lp-next-step .blog-end-cta__primary {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--gp-brand);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}
.lp-next-step .blog-end-cta__primary:hover { background: var(--gp-brand-dark); }
.lp-next-step .blog-end-cta__secondary,
.blog-end-cta.lp-next-step .blog-end-cta__secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 89, 255, 0.35);
  background: #fff;
  color: var(--gp-brand) !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}
.lp-next-step .blog-end-cta__secondary:hover {
  border-color: var(--gp-brand);
  background: rgba(165, 89, 255, 0.06);
}

.lp-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gp-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #8b8499;
}
.lp-footer a:hover { color: var(--gp-brand); }

@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  .lp-nav { padding: 0 1rem; }
  .lp-brand img { height: 36px; }
  .lp-hero { padding-bottom: 3rem; min-height: 85vh; }
}
