/* =========================================================
   Sprout — digital services arm of Geek Community Hub
   Loaded AFTER styles.css. Re-skins the shared design system
   from gold to a fresh "growth" green, and adds the page's
   own sections (hero, setup highlight, pricing, etc.).
   ========================================================= */

:root {
  /* Re-skin the shared accent tokens from gold -> SproutXP terracotta.
     (Variable names keep the "green" label from the earlier build, but the
     values are the SproutXP brand colour so everything stays on-brand.) */
  --gold:       #c5482c;   /* SproutXP primary (terracotta) */
  --gold-soft:  #e0765a;
  --gold-deep:  #a5381f;
  --green:      #c5482c;
  --green-soft: #e0765a;
  --green-deep: #a5381f;
  --leaf-ink:   #fbf8f1;   /* cream text/marks on terracotta */

  --ring: 0 0 0 4px rgba(197, 72, 44, .28);
  --font-head: "Space Grotesk", system-ui, sans-serif;
}

/* Terracotta glows on the shared buttons */
.btn { box-shadow: 0 10px 24px -12px rgba(165,56,31,.55); }
.btn:hover { box-shadow: 0 18px 34px -14px rgba(165,56,31,.7); }
.btn { --fg: var(--leaf-ink); }               /* cream text on terracotta button */
.btn--dark { --fg: var(--cream); }
.btn--outline { --fg: var(--ink); }
.btn--ghost { --fg: var(--cream); }

::selection { background: var(--green); color: var(--leaf-ink); }

/* --------------------------- Brand mark ------------------------- */
/* Override styles.css `.brand img { width:44px;height:44px;border-radius:50% }`
   (higher specificity needed so the wordmark isn't squished into a circle). */
.brand img.brand__logo { height: 54px; width: auto; border-radius: 0; display: block; }
.footer .brand img.brand__logo { height: 46px; }
.header__inner .brand { gap: 0; }
/* Give the taller logo a little more headroom */
.header__inner { height: 84px; }

/* ------------------------------ Hero ---------------------------- */
.s-hero {
  position: relative; background: var(--ink); color: var(--cream);
  overflow: hidden; isolation: isolate;
}
.s-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 65% at 82% 12%, rgba(197,72,44,.24), transparent 60%),
    radial-gradient(50% 60% at 8% 95%, rgba(165,56,31,.16), transparent 62%),
    linear-gradient(180deg, #17120f, #0f1110 75%);
}
.s-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 35%, transparent);
}
.s-hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding: clamp(56px, 8vw, 100px) 0 clamp(60px, 9vw, 104px);
}
.s-hero h1 { color: var(--cream); font-size: clamp(2.5rem, 5.4vw, 4rem); }
.s-hero h1 .accent {
  background: linear-gradient(120deg, var(--green-soft), var(--green) 60%, var(--green-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s-hero .lead { color: rgba(251,248,241,.8); margin-top: 1.3rem; max-width: 42ch; }
.s-hero .btn-row { margin-top: 2rem; }
.s-pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem;
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px;
  background: rgba(251,248,241,.07); border: 1px solid rgba(251,248,241,.14);
  font-size: .85rem; color: rgba(251,248,241,.85);
}
.s-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(197,72,44,.2); }
.s-hero__trust { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.s-hero__trust span {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem;
  color: rgba(251,248,241,.82); padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.s-hero__trust b { color: var(--green-soft); font-weight: 600; }

/* Hero setup card (the complete-business-setup highlight) */
.setup-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.setup-card h3 { color: var(--cream); font-size: 1.15rem; margin-bottom: .3rem; }
.setup-card > p { color: rgba(251,248,241,.7); font-size: .92rem; margin-bottom: 1.2rem; }
.setup-list { display: grid; gap: .75rem; }
.setup-list li { display: flex; align-items: flex-start; gap: .75rem; color: rgba(251,248,241,.9); font-size: .98rem; }
.setup-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; margin-top: 1px;
  background: var(--green); color: var(--leaf-ink); display: grid; place-items: center;
}
.setup-list .tick svg { width: 14px; height: 14px; }
.setup-card__foot {
  margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: baseline; gap: .5rem;
}
.setup-card__foot b { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-soft); }
.setup-card__foot span { font-size: .9rem; color: rgba(251,248,241,.7); }

/* --------------------------- Result band ------------------------ */
.result-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.result-band .cell { background: var(--paper); padding: 1.6rem 1.2rem; text-align: center; }
.result-band b { display: block; font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2.1rem); color: var(--ink); }
.result-band span { font-size: .88rem; color: var(--ink-70); }

/* --------------------------- Services --------------------------- */
.svc-badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem;
  border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: .9rem;
  background: color-mix(in srgb, var(--green) 16%, white); color: var(--green-deep);
}
.card .svc-ic { background: color-mix(in srgb, var(--green) 14%, white); color: var(--green-deep); }

/* ---------------------------- Pricing --------------------------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; box-shadow: 0 14px 34px -24px rgba(20,18,10,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price--featured {
  border: 2px solid var(--green); box-shadow: 0 26px 60px -30px rgba(197,72,44,.6);
}
.price__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--leaf-ink); font-family: var(--font-head);
  font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price__name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.price__desc { font-size: .92rem; color: var(--ink-70); margin: .35rem 0 1.2rem; min-height: 2.6em; }
.price__amount { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .3rem; }
.price__amount .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem,4vw,2.8rem); color: var(--ink); line-height: 1; }
.price__amount .per { font-size: .95rem; color: var(--ink-50); }
.price__amount .from { font-size: .85rem; color: var(--ink-50); align-self: center; }
.price__was { font-size: .9rem; color: var(--ink-50); margin-bottom: 1.2rem; }
.price__was s { color: var(--ink-50); }
.price__was b { color: var(--green-deep); font-weight: 600; }
.price__list { display: grid; gap: .7rem; margin: 0 0 1.7rem; }
.price__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-70); }
.price__list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--green-deep); margin-top: 3px; }
.price .btn { margin-top: auto; width: 100%; }
.pricing__note { text-align: center; margin-top: 1.6rem; font-size: .9rem; color: var(--ink-50); }

/* ---------------------------- Process --------------------------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.process__step { position: relative; padding: 1.6rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.process__step .no {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--green) 16%, white); color: var(--green-deep);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.process__step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.process__step p { font-size: .92rem; }

/* ------------------------------ CTA ----------------------------- */
.s-cta {
  position: relative; overflow: hidden; isolation: isolate; color: var(--cream);
  background: linear-gradient(135deg, #3a1c12, #0f1110);
  border-radius: var(--radius-lg); padding: clamp(2.4rem,5vw,4rem); box-shadow: var(--shadow-lg);
}
.s-cta::before { content:""; position:absolute; right:-90px; top:-90px; width:360px; height:360px; z-index:-1;
  background: radial-gradient(circle, rgba(197,72,44,.34), transparent 65%); }
.s-cta h2 { color: var(--cream); }
.s-cta .lead { color: rgba(251,248,241,.82); }

/* Footer accent tweak */
.footer .brand__name small { color: var(--green-soft); }

/* ---------------------------- Promo popup ----------------------- */
.promo {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2rem);
}
.promo.is-open { display: flex; }
.promo__backdrop {
  position: absolute; inset: 0; background: rgba(12,11,7,.68);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  animation: promoFade .3s var(--ease);
}
@keyframes promoFade { from { opacity: 0; } }
.promo__card {
  position: relative; width: 100%; max-width: 430px;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem 1.8rem; box-shadow: var(--shadow-lg);
  text-align: center; overflow: hidden;
  animation: promoPop .4s var(--ease);
}
.promo__card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--green-soft), var(--green), var(--green-deep));
}
@keyframes promoPop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.promo__close {
  position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px;
  border-radius: 50%; display: grid; place-items: center; color: var(--ink-50);
  background: var(--sand); transition: background .2s, color .2s;
}
.promo__close:hover { background: var(--line); color: var(--ink); }
.promo__close svg { width: 18px; height: 18px; }
.promo__badge {
  display: inline-block; margin-bottom: 1rem; padding: .35rem 1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--green) 16%, white); color: var(--green-deep);
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.promo__title { font-size: 1.7rem; line-height: 1.15; margin-bottom: .5rem; }
.promo__sub { font-size: .96rem; color: var(--ink-70); margin-bottom: 1.3rem; }
.promo__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem 0.5rem; margin-bottom: 1.2rem; }
.promo__price .num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.promo__price .per { font-size: 1rem; color: var(--ink-50); }
.promo__price .was { flex-basis: 100%; font-size: .9rem; color: var(--green-deep); font-weight: 600; }
.promo__price .was s { color: var(--ink-50); font-weight: 400; }
.promo__list { display: grid; gap: .6rem; text-align: left; margin: 0 auto 1.5rem; max-width: 300px; }
.promo__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--ink-70); }
.promo__list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--green-deep); margin-top: 2px; }
.promo__later {
  display: block; margin: .9rem auto 0; font-size: .88rem; color: var(--ink-50);
  font-family: var(--font-head); font-weight: 500;
}
.promo__later:hover { color: var(--ink); text-decoration: underline; }

/* --------------------------- Responsive ------------------------- */
@media (max-width: 980px) {
  .s-hero__inner { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .result-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process__grid, .result-band { grid-template-columns: 1fr; }
}
