/**
 * Peachpost landing pages (brand front page and creator page).
 * One stylesheet for both pages, so type, colour, buttons and spacing match.
 * Everything is scoped under .lp so the Bootstrap 5 theme can't change it.
 */

/* ====================================================================
   1. Tokens: colours, type scale, spacing
   ==================================================================== */
.lp {
  /* Colours */
  --green: #193628;
  --green-2: #234838;
  --step: #6db592;
  --cream: #fbf7f1;
  --beige: #e9e2d6;
  --peach: #fbebe1;
  --rust: #a44921;
  --amber: #f3c16b;
  --amber-dark: #e9ac44;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --line: #e6dccd;
  --white: #fff;

  /* Type scale: every font size on both pages comes from here */
  --fs-h1: clamp(34px, 3.6vw, 46px);
  --fs-h2: clamp(28px, 2.8vw, 36px);
  --fs-h3: 22px;
  --fs-hero-eyebrow: 19px;
  --fs-lead: 19px;
  --fs-body: 17px;
  --fs-eyebrow: 17px;
  --fs-btn: 17px;
  --fs-nav: 16px;
  --fs-small: 14px;

  /* Spacing */
  --sec-pad: 88px;
  --wrap: 1120px;

  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 760px) {
  .lp {
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-hero-eyebrow: 16px;
    --fs-lead: 17px;
    --fs-body: 16px;
    --fs-eyebrow: 15px;
    --fs-btn: 16px;
    --sec-pad: 60px;
  }
}

/* ====================================================================
   2. Base
   ==================================================================== */
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul { margin: 0; }
.lp h1, .lp h2, .lp h3 { color: inherit; font-weight: 700; line-height: 1.25; }
.lp img { max-width: 100%; height: auto; display: block; }
.lp a { color: inherit; text-decoration: none; }
.lp ul { padding-left: 22px; }
.lp li + li { margin-top: 10px; }
.lp .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lp .center { text-align: center; }
.lp .accent { color: var(--rust); }

.lp .sec { padding: var(--sec-pad) 0; }
.lp .sec--green { background: var(--green); color: var(--white); }
.lp .sec--beige { background: var(--beige); }
.lp .sec--peach { background: var(--peach); }

/* Text roles */
.lp h1 { font-size: var(--fs-h1); }
.lp .sec-title { font-size: var(--fs-h2); max-width: 860px; }
.lp .center .sec-title { margin-left: auto; margin-right: auto; }
.lp h3 { font-size: var(--fs-h3); }
.lp .lead { font-size: var(--fs-lead); line-height: 1.6; }
.lp .sec-lead { margin-top: 20px; max-width: 820px; }
.lp .center .sec-lead { margin-left: auto; margin-right: auto; }
.lp .eyebrow { margin-bottom: 20px; font-size: var(--fs-eyebrow); font-weight: 700; }
.lp .note { margin-top: 24px; font-size: var(--fs-small); color: var(--ink-2); }

/* Buttons: one style everywhere */
.lp .btn {
  display: inline-block;
  padding: 15px 34px;
  border: 1.5px solid var(--amber);
  border-radius: 2px;
  background: var(--amber);
  color: var(--ink);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.lp .btn:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.lp .btn:active { background: var(--amber-dark); color: var(--ink); }
.lp .btn--ghost { background: transparent; border-color: var(--ink); }
.lp .btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.lp .btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.75); color: var(--white); }
.lp .btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.lp .btn--sm { padding: 9px 22px; font-size: var(--fs-nav); font-weight: 600; }
.lp .sec-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 56px; }

/* Grids */
.lp .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lp .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ====================================================================
   3. Header
   ==================================================================== */
.lp .site-head { position: sticky; top: var(--drupal-displace-offset-top, 0px); z-index: 50; background: var(--green); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.lp .lp-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.lp .logo img { height: 46px; width: auto; }
.lp .nav-links { display: flex; align-items: center; gap: 36px; font-size: var(--fs-nav); }
.lp .nav-links a:not(.btn):hover { color: var(--amber); }
.lp .menu-toggle { display: none; padding: 6px; background: none; border: 0; color: var(--white); cursor: pointer; }
.lp .menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

/* ====================================================================
   4. Hero (both pages)
   ==================================================================== */
.lp .hero { padding: 64px 0 80px; background: var(--green); color: var(--white); }
.lp .hero-eyebrow { margin-bottom: 48px; color: #fbeee0; font-size: var(--fs-hero-eyebrow); font-weight: 600; line-height: 1.4; }
.lp .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: center; }
.lp .hero h1 { max-width: 560px; color: var(--white); }
.lp .hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 40px; }
.lp .deal-tags { margin: 24px 0 0 6px; color: #dde3e8; font-size: var(--fs-lead); }
.lp .deal-tags span { margin: 0 12px; }
.lp .hero-visual img { width: 100%; max-width: 480px; margin-left: auto; }
.lp .hero-sub { max-width: 780px; margin: 72px auto 0; text-align: center; }
.lp .hero-sub h3 { margin-bottom: 12px; }
.lp .hero-sub .lead { color: rgba(255,255,255,.88); }
.lp .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.lp .tag { padding: 6px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 24px; font-size: var(--fs-small); }

/* Social icon rows */
.lp .soc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.lp .soc { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; }
.lp .soc svg { width: 19px; height: 19px; fill: #fff; }
.lp .soc-row--lg { gap: 18px; margin-top: 32px; }
.lp .soc-row--lg .soc { width: 56px; height: 56px; border-radius: 14px; }
.lp .soc-row--lg .soc svg { width: 30px; height: 30px; }
.lp .s-ig { background: linear-gradient(45deg, #f9a03f, #e1306c, #833ab4); }
.lp .s-in { background: #0a66c2; }
.lp .s-sub { background: #ff6719; }
.lp .s-yt { background: #ff0000; }
.lp .s-x { background: #000; }

/* ====================================================================
   5. Cards
   ==================================================================== */
/* White card (brand: Big brands / Startups) */
.lp .audience .grid-2:first-of-type { margin-top: 44px; }
.lp .white-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 30px rgba(25,54,40,.07); }
.lp .white-card .kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #f0e6da; color: var(--rust); font-size: var(--fs-small); font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.lp .white-card .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); flex-shrink: 0; }
.lp .white-card h3 { margin-bottom: 10px; color: var(--green); }
.lp .white-card p:not(.kicker) { color: var(--ink-2); }

/* Cards with an icon breaking the top edge */
.lp .icon-cards { margin-top: 84px; align-items: stretch; }
.lp .card-icon { position: absolute; top: -50px; right: 44px; width: 104px; height: 104px; object-fit: contain; pointer-events: none; }
.lp .card-icon--sm { top: -32px; right: 36px; width: 64px; height: 64px; }

/* Dark green card */
.lp .dark-card { position: relative; padding: 80px 44px 44px; border-radius: 40px; background: var(--green); color: var(--white); }
.lp .dark-card h3 { margin-bottom: 18px; color: var(--white); }
.lp .dark-card p, .lp .dark-card ul { color: rgba(255,255,255,.92); }

/* Peach card */
.lp .peach-card { position: relative; padding: 64px 36px 40px; background: var(--peach); }
.lp .peach-card h3 { margin-bottom: 18px; color: var(--rust); }
.lp .peach-card p, .lp .peach-card ul { color: var(--ink); }
.lp .goals .peach-card h3 { min-height: 2.5em; }

/* Points with a dark rule above (brand: Built for; creator: Founding) */
.lp .points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 96px; margin-top: 56px; }
.lp .point::before { content: ""; display: block; width: 80%; height: 2px; margin-bottom: 28px; background: var(--ink); }
.lp .point h3 { margin-bottom: 14px; }
.lp .point p { max-width: 440px; }
.lp .points--plain .point p { font-size: var(--fs-lead); }

/* ====================================================================
   6. Brand page sections
   ==================================================================== */
.lp .goals-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp .goals-head .lead { color: var(--ink-2); }
.lp .goals .icon-cards { margin-top: 72px; }

.lp .hub-shot { max-width: 1000px; margin: 48px auto 0; border-radius: 18px; background: var(--white); box-shadow: 0 18px 50px rgba(25,54,40,.12); }
.lp .hub-shot img { width: 100%; border-radius: 18px; }

/* ====================================================================
   7. Creator page sections
   ==================================================================== */
.lp .hero-visual--card img { max-width: 500px; }

/* Features: text and image side by side */
.lp .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 88px; align-items: center; margin-top: 80px; }
.lp .split--rev { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.lp .split--rev .split-text { order: 2; }
.lp .split-text h3 { margin-bottom: 20px; color: var(--rust); }
.lp .split-text p, .lp .split-text ul { max-width: 460px; font-size: var(--fs-lead); }
.lp .split-text ul { margin-top: 18px; }
.lp .split-media img { width: 100%; }

/* Deals */
.lp .deals .icon-cards { margin-top: 96px; }
.lp .advantage { max-width: 960px; margin-top: 56px; }
.lp .advantage strong { color: var(--rust); }
.lp .deal-types { max-width: 900px; margin-left: auto; margin-right: auto; margin-top: 88px; gap: 40px; }

/* Evaluator */
.lp .eval-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lp .evaluator .sec-title { margin-bottom: 28px; }
.lp .tiers { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 0; list-style: none; justify-self: center; }
.lp .tiers li { display: flex; align-items: center; gap: 28px; margin: 0; }
.lp .tiers img { width: 80px; height: 80px; }
.lp .tiers span { color: var(--rust); font-size: var(--fs-h3); font-weight: 700; }

/* ====================================================================
   8. Steps, CTA, footer (both pages)
   ==================================================================== */
.lp .step-grid { display: grid; gap: 56px 48px; margin-top: 64px; }
.lp .step-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp .step-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp .step { text-align: center; }
.lp .step .num { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; background: var(--step); color: var(--white); font-size: var(--fs-h3); font-weight: 700; }
.lp .step h3 { margin-bottom: 14px; color: var(--white); }
.lp .step p { max-width: 380px; margin: 0 auto; color: rgba(255,255,255,.9); }

.lp .cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 28px; }
.lp .cta-row .lead { max-width: 640px; }
.lp .cta-row .btn { flex-shrink: 0; }

.lp .ft { padding: 72px 0 40px; background: var(--green); color: var(--white); }
.lp .ft-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; align-items: start; }
.lp .ft-logo { display: inline-block; }
.lp .ft-logo img { height: 72px; width: auto; }
.lp .ft-about p { max-width: 300px; margin-top: 20px; font-size: var(--fs-body); line-height: 1.55; }
.lp .ft-links { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; font-size: var(--fs-lead); line-height: 1.3; }
.lp .ft-links a:hover, .lp .ft-mail:hover { color: var(--amber); }
.lp .ft-contact { justify-self: end; }
.lp .ft-socials { display: flex; gap: 20px; margin-bottom: 28px; }
.lp .ft-socials a { display: block; width: 48px; height: 48px; transition: transform .2s; }
.lp .ft-socials a:hover { transform: translateY(-2px); }
.lp .ft-socials svg { display: block; width: 100%; height: 100%; }
.lp .ft-mail { font-size: var(--fs-lead); }
.lp .foot-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-small); opacity: .65; }

/* ====================================================================
   9. Responsive
   ==================================================================== */
@media (max-width: 900px) {
  .lp .hero-grid, .lp .goals-head, .lp .eval-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp .hero-visual img { margin: 0 auto; }
  .lp .grid-3, .lp .step-grid--3 { grid-template-columns: 1fr 1fr; }
  .lp .split, .lp .split--rev { grid-template-columns: 1fr; gap: 32px; }
  .lp .split--rev .split-text { order: 0; }
  .lp .split-text p, .lp .split-text ul { max-width: none; }
  .lp .split-media { max-width: 480px; }
  .lp .points { gap: 48px; }
  .lp .goals .peach-card h3 { min-height: 0; }
  .lp .icon-cards { row-gap: 72px; }
  .lp .ft-grid { grid-template-columns: 1fr 1fr; }
  .lp .ft-contact { justify-self: start; }
  .lp .tiers { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 32px; }
}
@media (max-width: 760px) {
  .lp .menu-toggle { display: block; }
  .lp .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: 0; overflow: hidden; padding: 0 20px; background: var(--green); transition: max-height .3s, padding .3s; }
  .lp .nav-links.open { max-height: 340px; padding: 8px 20px 20px; }
  .lp .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lp .nav-links .btn { margin-top: 12px; border-bottom: 0; }

  .lp .hero { padding: 44px 0 56px; }
  .lp .hero-eyebrow { margin-bottom: 28px; }
  .lp .hero-ctas { margin-top: 28px; }
  .lp .hero-ctas .btn, .lp .sec-cta .btn, .lp .cta-row .btn { width: 100%; }
  .lp .deal-tags { margin-left: 0; text-align: center; }
  .lp .hero-sub { margin-top: 56px; }

  .lp .grid-2, .lp .grid-3, .lp .points, .lp .step-grid--2, .lp .step-grid--3 { grid-template-columns: 1fr; }
  .lp .icon-cards { margin-top: 72px; row-gap: 72px; }
  .lp .dark-card { padding: 68px 26px 32px; border-radius: 28px; }
  .lp .peach-card { padding: 56px 26px 32px; }
  .lp .card-icon { top: -42px; right: 26px; width: 88px; height: 88px; }
  .lp .card-icon--sm { top: -28px; right: 26px; width: 56px; height: 56px; }
  .lp .white-card { padding: 24px; }
  .lp .sec-cta { margin-top: 40px; }
  .lp .points { gap: 40px; margin-top: 40px; }
  .lp .point::before { margin-bottom: 20px; }
  .lp .split { margin-top: 56px; }
  .lp .deals .icon-cards, .lp .deal-types { margin-top: 72px; }
  .lp .step-grid { margin-top: 44px; gap: 44px; }
  .lp .cta-row { flex-direction: column; align-items: stretch; gap: 24px; }

  /* Discovery Hub card stays readable and scrolls sideways */
  .lp .hub-shot { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lp .hub-shot img { width: auto; max-width: none; height: 300px; }

  .lp .ft-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp .ft-logo img { height: 60px; }
  .lp .sec-title br { display: none; }
}

/* ====================================================================
   10. Coming soon, and the join / thank-you pages
   ==================================================================== */
.lp .soon { padding: 88px 0 96px; background: var(--green); color: var(--white); }
.lp .soon-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: center; }
.lp .soon h1 { max-width: 600px; color: var(--white); }
.lp .soon .hero-eyebrow { margin-bottom: 24px; color: var(--amber); }
.lp .soon .lead { max-width: 560px; margin-top: 24px; color: rgba(255,255,255,.88); }
.lp .soon-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.lp .soon-visual { position: relative; display: grid; place-items: center; }
.lp .soon-rings { position: relative; display: grid; place-items: center; width: 340px; height: 340px; }
.lp .soon-rings .ring { position: absolute; inset: 0; border: 1.5px solid rgba(243,193,107,.35); border-radius: 50%; animation: lp-pulse 3.6s ease-in-out infinite; }
.lp .soon-rings .ring--2 { inset: 44px; border-color: rgba(243,193,107,.5); animation-delay: .4s; }
.lp .soon-rings .ring--3 { inset: 88px; background: rgba(255,255,255,.04); border-color: rgba(243,193,107,.7); animation-delay: .8s; }
.lp .soon-rings img { position: relative; width: 120px; height: auto; }
.lp .soon-tag { position: absolute; bottom: 18px; right: 12px; padding: 8px 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: var(--fs-small); font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@keyframes lp-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .lp .soon-rings .ring { animation: none; } }

.lp .soon-cards { margin-top: 40px; }
.lp .soon-card { display: block; transition: transform .2s, box-shadow .2s; }
.lp .soon-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(25,54,40,.12); }
.lp .soon-card h3 { color: var(--green); }

.lp .flow-main { display: block; background: var(--cream); }

@media (max-width: 900px) {
  .lp .soon-grid { grid-template-columns: 1fr; gap: 48px; }
  .lp .soon-visual { justify-self: center; }
}
@media (max-width: 760px) {
  .lp .soon { padding: 56px 0 64px; }
  .lp .soon-ctas .btn { width: 100%; }
  .lp .soon-rings { width: 260px; height: 260px; }
  .lp .soon-rings .ring--2 { inset: 34px; }
  .lp .soon-rings .ring--3 { inset: 68px; }
  .lp .soon-rings img { width: 92px; }
}

/* ====================================================================
   11. Button alignment
   The Bootstrap 5 theme adds its own margins to .btn, which pushed the
   second hero button out of line. Landing buttons never take outside
   margins; the hero buttons sit side by side at the same height.
   ==================================================================== */
.lp .btn, .lp a.btn { margin: 0 !important; vertical-align: middle; box-sizing: border-box; }
.lp .hero-ctas { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.lp .hero-ctas .btn { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) {
  .lp .hero-ctas { flex-direction: column; }
}
