/* ===========================================================================
   HAIR GROWTH TEST(TM) - landing page module styles
   Namespaced under .hgtl so nothing leaks into the page template.

   Visual direction: high-end glass. Frosted translucent surfaces over soft
   navy and ultramarine halos on white. Hairline borders, generous air,
   restrained motion.

   Tokens are the canonical Gro set, not the prototype's approximations:
   grey is #F5F5F7, ink is #141220, and the retired #311EE9-family accent is
   gone. Ultramarine stays rationed - if this ever starts reading purple,
   pull it back toward near-black.

   Deliberately carries no Gro logo and names no practitioner. The
   de-identification is a compliance position, not a design choice.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Perfectly Nineties is licensed, so it must be self-hosted. Upload the woff2
   to File Manager and put its URL below. Until then it falls back to Georgia,
   which still reads as an intentional editorial accent. */
@font-face {
  font-family: 'Perfectly Nineties';
  src: url('PERFECTLY_NINETIES_WOFF2_URL') format('woff2');
  font-weight: 400;
  font-display: swap;
}

.hgtl {
  --white: #FFFFFF;
  --grey: #F5F5F7;
  --beige: #F7F0EA;
  --navy: #161433;
  --ultramarine: #361677;
  --black: #141220;

  --ink: var(--black);
  --ink-2: #3A3745;
  --muted: #5E5B6B;
  --muted-2: #8C8996;
  --line: #E9E7EE;
  --accent: var(--ultramarine);
  --cta: var(--ultramarine);
  --cta-hover: var(--navy);

  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: 'Perfectly Nineties', Georgia, 'Times New Roman', serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --r: 20px;

  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.76);
  --glass-line: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(20, 18, 32, 0.07);
  --glass-shadow: 0 24px 60px -32px rgba(22, 20, 51, 0.28);

  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  padding: 0 0 84px;
  overflow-x: hidden;
}

.hgtl *, .hgtl *::before, .hgtl *::after { box-sizing: border-box; }
.hgtl p { margin: 0; }
.hgtl a { color: inherit; }
.hgtl img, .hgtl svg { max-width: 100%; }
.hgtl :focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

.hgtl h1, .hgtl h2, .hgtl h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

/* Emphasis is colour, never a font swap. */
.hgtl em, .hgtl h1 b, .hgtl h2 b {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--accent);
}

.hgtl .eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Full-bleed bands, so coloured grounds reach the viewport edge even inside
   a themed container. */
.hgtl > section, .hgtl > footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(56px, 6.5vw, 96px) 24px;
  position: relative;
}
.hgtl .wrap { max-width: var(--wrap); margin: 0 auto; }

/* ---------- glass surface ---------- */
.hgtl .glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-line);
}

/* ---------- HERO ---------- */
.hgtl .hero {
  text-align: center;
  padding-top: clamp(64px, 8vw, 116px);
  background: var(--grey);
  overflow: hidden;
}
/* Two soft halos give the glass something to blur against. Navy for depth,
   a whisper of ultramarine for warmth. No second accent hue. */
.hgtl .hero::before,
.hgtl .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hgtl .hero::before {
  background: radial-gradient(760px 420px at 50% -12%, rgba(54, 22, 119, 0.13), transparent 66%);
}
.hgtl .hero::after {
  background: radial-gradient(620px 380px at 84% 108%, rgba(22, 20, 51, 0.10), transparent 62%);
}
.hgtl .hero > * { position: relative; z-index: 1; }

.hgtl .hero .eyebrow { display: block; margin-bottom: 18px; }
.hgtl .hero h1 {
  font-size: clamp(1.85rem, 3.9vw, 3.05rem);
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
}
.hgtl .hero .sub {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-2);
}
.hgtl .hero .cta-wrap { margin-top: 32px; }
.hgtl .hero .micro {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.83rem;
  color: var(--muted);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-edge);
}

/* ---------- CTAs ---------- */
.hgtl .pill-cta {
  display: inline-block;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 34px;
  background: var(--cta);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(54, 22, 119, 0.5);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hgtl .pill-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -16px rgba(22, 20, 51, 0.45);
}
.hgtl .soft-cta-row { text-align: center; margin-top: 40px; }
.hgtl .soft-cta {
  display: inline-block;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 28px;
  color: var(--accent);
  text-decoration: none;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(54, 22, 119, 0.22);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.hgtl .soft-cta:hover { border-color: rgba(54, 22, 119, 0.5); background: var(--white); }

/* ---------- TRUST STRIP ---------- */
.hgtl .trust-strip {
  padding: clamp(20px, 2.4vw, 30px) 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hgtl .trust-strip p {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.hgtl .trust-strip .num { color: var(--accent); font-weight: 600; }

/* ---------- BENEFITS ---------- */
.hgtl .section-benefits { background: var(--grey); overflow: hidden; }
.hgtl .section-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 12% 0%, rgba(54, 22, 119, 0.09), transparent 64%);
  pointer-events: none;
}
.hgtl .section-benefits > * { position: relative; z-index: 1; }

.hgtl .section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(36px, 4vw, 54px); }
.hgtl .section-head h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); margin-top: 14px; }

.hgtl .value-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.hgtl .value-card { padding: 30px 26px; }
.hgtl .value-card .num {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.hgtl .value-card h3 { font-size: 1.14rem; margin-bottom: 12px; line-height: 1.32; }
.hgtl .value-card p { font-size: 0.98rem; line-height: 1.66; color: var(--muted); }
.hgtl .value-card .credit-note {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-edge);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--accent);
  font-weight: 500;
}
@media (min-width: 860px) {
  .hgtl .value-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .hgtl .value-card { padding: 34px 30px; }
}

/* ---------- AUTHORITY ---------- */
.hgtl .section-authority { background: var(--white); }
.hgtl .authority-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.hgtl .bio-card { padding: 32px 26px; }
.hgtl .bio-card p { font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.hgtl .authority-line {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--glass-edge);
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.hgtl .research-card {
  padding: 30px 26px;
  background: var(--beige);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
}
.hgtl .research-card .rt-tag {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hgtl .research-card blockquote {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-2);
}
.hgtl .research-card .source { font-size: 0.82rem; line-height: 1.6; color: var(--muted-2); }
@media (min-width: 940px) {
  .hgtl .authority-grid { grid-template-columns: 1.12fr 0.88fr; gap: 24px; align-items: start; }
  .hgtl .bio-card { padding: 40px 36px; }
}

/* ---------- TESTIMONIALS ---------- */
.hgtl .testimonial-section { background: var(--grey); overflow: hidden; }
.hgtl .testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 400px at 88% 6%, rgba(22, 20, 51, 0.09), transparent 62%);
  pointer-events: none;
}
.hgtl .testimonial-section > * { position: relative; z-index: 1; }
.hgtl .tag-row { text-align: center; margin-bottom: clamp(28px, 3vw, 40px); }
.hgtl .tag-chip {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-edge);
  border-radius: 100px;
  padding: 8px 18px;
}
.hgtl .testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.hgtl .testimonial-card { padding: 30px 26px; }
.hgtl .testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
}
.hgtl .testimonial-card .attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
@media (min-width: 860px) {
  .hgtl .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* ---------- STATEMENT BAND ----------
   The one and only place Perfectly Nineties appears on this page. */
.hgtl .statement {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 24px;
}
.hgtl .statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 50% 50%, rgba(54, 22, 119, 0.5), transparent 68%);
  pointer-events: none;
}
.hgtl .statement > * { position: relative; z-index: 1; }
.hgtl .statement p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}
.hgtl .statement .second { color: rgba(255, 255, 255, 0.5); }

/* ---------- FINAL CTA ---------- */
.hgtl .final-cta { background: var(--white); text-align: center; overflow: hidden; }
.hgtl .final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 50% 108%, rgba(54, 22, 119, 0.14), transparent 66%),
    radial-gradient(560px 340px at 50% -8%, rgba(22, 20, 51, 0.08), transparent 62%);
  pointer-events: none;
}
.hgtl .final-cta > * { position: relative; z-index: 1; }
.hgtl .final-cta .glass-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px, 4.6vw, 62px) 28px;
}
.hgtl .final-cta .eyebrow { display: block; margin-bottom: 16px; }
.hgtl .final-cta h2 { font-size: clamp(1.6rem, 2.9vw, 2.2rem); max-width: 520px; margin: 0 auto; }
.hgtl .final-cta .line {
  margin: 18px auto 0;
  max-width: 460px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.62;
}
.hgtl .final-cta .cta-wrap { margin-top: 30px; }
.hgtl .final-cta .micro { display: block; margin-top: 16px; font-size: 0.83rem; color: var(--muted-2); }

/* ---------- FOUNDER QUOTE ---------- */
.hgtl .founder-quote { background: var(--grey); text-align: center; }
.hgtl .founder-quote p {
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.01em;
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--ink);
  text-wrap: balance;
}
.hgtl .founder-quote .attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

/* ---------- FOOTER ---------- */
.hgtl footer {
  background: var(--navy);
  color: rgba(247, 240, 234, 0.62);
  text-align: center;
  padding: clamp(40px, 4.6vw, 60px) 24px clamp(48px, 5vw, 68px);
}
.hgtl footer .fine { opacity: 0.9; }
.hgtl footer p { font-size: 0.8rem; line-height: 1.75; max-width: 66ch; margin: 0 auto 12px; }
.hgtl footer .powered-by {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.55;
  margin-top: 22px;
}

/* ---------- STICKY MOBILE CTA ---------- */
.hgtl .sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--glass-edge);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}
.hgtl .sticky-cta.is-visible { transform: translateY(0); }
.hgtl .sticky-cta .context { font-size: 0.82rem; color: var(--muted); display: none; }
.hgtl .sticky-cta .pill-cta { flex: 1; max-width: 420px; text-align: center; padding: 14px 24px; }
@media (min-width: 560px) {
  .hgtl .sticky-cta .context { display: block; }
  .hgtl .sticky-cta .pill-cta { flex: 0 0 auto; }
}
@media (min-width: 940px) {
  .hgtl .sticky-cta { display: none; }
  .hgtl { padding-bottom: 0; }
}

/* ---------- REVEAL ON SCROLL ---------- */
.hgtl .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hgtl .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hgtl .reveal { opacity: 1; transform: none; transition: none; }
  .hgtl .pill-cta, .hgtl .soft-cta, .hgtl .sticky-cta { transition: none; }
  .hgtl .sticky-cta { transform: translateY(0); }
}

/* Graceful degradation where backdrop-filter is unsupported. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hgtl .glass, 
  .hgtl .hero .micro,
  .hgtl .tag-chip,
  .hgtl .soft-cta,
  .hgtl .sticky-cta { background: rgba(255, 255, 255, 0.94); }
}