/* ============================================================
   Grivio Peer Support — Homepage
   Approved luxury design. HEADER IS INTENTIONALLY UNTOUCHED.
   This file controls the homepage from .hero downward only.
   ============================================================ */

:root{
  --g-deep:#032f34;
  --g-deeper:#02272c;
  --g-teal:#7fd6d0;
  --g-teal-soft:#9fdfda;
  --g-gold:#dcc9a0;          /* warm champagne */
  --g-gold-strong:#c3a06b;   /* muted antique gold */
  --g-champagne:#dcc9a0;
  --g-champagne-soft:#efe2c2;
  --g-ivory:#faf5e9;
  --g-cream:#f8efdd;
  --g-paper:#f6f3ea;
  --g-ink:#0a3136;
  --g-muted:#5f777a;
  --g-line:rgba(8,47,53,.12);
  --g-line-champagne:rgba(196,166,110,.28);
  --g-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --g-sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",system-ui,sans-serif;
}

html,body{background:var(--g-paper);color:var(--g-ink);font-family:var(--g-sans);letter-spacing:-.01em}

/* ================================ HERO */
.hero{
  margin-top:92px;
  position:relative;
  overflow:hidden;
  color:#fff;
  /* Dimensional teal: a whisper of warm light behind the central content, slightly
     darker edges, and only the faintest vertical variation. Reads as depth, not as
     a gradient. */
  background:
    radial-gradient(115% 85% at 50% -4%, rgba(127,214,208,.10) 0%, rgba(127,214,208,0) 55%),
    radial-gradient(150% 120% at 50% 44%, rgba(6,54,60,.55) 0%, rgba(2,39,44,0) 62%),
    linear-gradient(180deg,#06363c 0%,#04343a 42%,#032f34 72%,#022a2f 100%);
  display:grid;
  grid-template-columns:minmax(0,1fr);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:radial-gradient(125% 105% at 50% 46%, transparent 58%, rgba(1,18,22,.28) 100%);
}
.hero-copy{
  position:relative;
  z-index:4;
  width:min(100%,980px);
  margin:0 auto;
  padding:54px 42px 34px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.beta-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 auto 24px;
  padding:10px 22px;
  border:1px solid rgba(220,201,160,.62);
  border-radius:999px;
  background:rgba(2,39,44,.24);
  color:#e9d7ab;
  font-size:10px;
  font-weight:800;
  letter-spacing:.20em;
  text-transform:uppercase;
  line-height:1;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.beta-badge .badge-spark{width:12px;height:12px;color:var(--g-gold);flex:none}
.hero h1{
  max-width:900px;
  margin:0;
  color:#fff;
  font-family:var(--g-serif);
  font-size:clamp(64px,7.2vw,108px);
  font-weight:500;
  line-height:.90;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.hero h1 span{color:var(--g-teal);font-style:italic;font-weight:500}
.hero-copy>p{
  max-width:640px;
  margin:34px auto 0;
  color:rgba(237,246,245,.72);
  font-size:18px;
  line-height:1.70;
  text-align:center;
  text-wrap:balance;
}
.hero-features{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  width:min(100%,760px);
  margin:34px auto 0;
  padding:0;
}
.hero-features li{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:6px 14px 0;
  border-right:1px solid rgba(220,201,160,.18);
  text-align:center;
}
.hero-features li:last-child{border-right:0}
.hero-features svg{width:29px;height:29px;color:var(--g-gold);flex:none}
.hero-features span{font-size:11px;font-weight:500;line-height:1.4;color:rgba(240,246,245,.78)}
.hero-copy .hero-cta{
  width:min(100%,640px);
  min-height:72px;
  margin:38px auto 0;
  padding:0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  border:1px solid rgba(196,166,110,.55);
  border-radius:30px;
  background:linear-gradient(112deg,#fbf6ea 0%,#f1e3c0 55%,#e2c990 100%);
  color:#14292d;
  box-shadow:0 14px 34px rgba(0,18,22,.24),inset 0 1px 0 rgba(255,255,255,.80),inset 0 -1px 0 rgba(150,120,66,.14);
  font-size:14px;
  font-weight:850;
  letter-spacing:.17em;
  text-transform:uppercase;
  text-decoration:none;
}
.hero-copy .hero-cta:hover{transform:translateY(-1px);box-shadow:0 18px 40px rgba(0,18,22,.28),inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 0 rgba(150,120,66,.14)}
.hero-cta .icon-apple{width:24px;height:26px;order:1;flex:0 0 24px;object-fit:contain}
/* Android symbol added beside Apple without touching the working header or page markup. */
.hero-cta::before{
  content:"";
  order:2;
  width:23px;
  height:27px;
  flex:none;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath fill='black' d='M5.2 8.4h13.6v11.2c0 1-.8 1.8-1.8 1.8h-1v4.1c0 .8-.6 1.5-1.4 1.5s-1.4-.7-1.4-1.5v-4.1H10.8v4.1c0 .8-.6 1.5-1.4 1.5S8 26.3 8 25.5v-4.1H7c-1 0-1.8-.8-1.8-1.8V8.4Zm-2.1.2c.8 0 1.4.6 1.4 1.4v8c0 .8-.6 1.4-1.4 1.4S1.7 18.8 1.7 18v-8c0-.8.6-1.4 1.4-1.4Zm17.8 0c.8 0 1.4.6 1.4 1.4v8c0 .8-.6 1.4-1.4 1.4s-1.4-.6-1.4-1.4v-8c0-.8.6-1.4 1.4-1.4ZM7.1 7.1C7.5 4.8 9.3 3 12 3s4.5 1.8 4.9 4.1H7.1Zm1-6.1 1.4 2.1m6.4-2.1-1.4 2.1M9.4 5.3h.01m5.2 0h.01'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath fill='black' d='M5.2 8.4h13.6v11.2c0 1-.8 1.8-1.8 1.8h-1v4.1c0 .8-.6 1.5-1.4 1.5s-1.4-.7-1.4-1.5v-4.1H10.8v4.1c0 .8-.6 1.5-1.4 1.5S8 26.3 8 25.5v-4.1H7c-1 0-1.8-.8-1.8-1.8V8.4Zm-2.1.2c.8 0 1.4.6 1.4 1.4v8c0 .8-.6 1.4-1.4 1.4S1.7 18.8 1.7 18v-8c0-.8.6-1.4 1.4-1.4Zm17.8 0c.8 0 1.4.6 1.4 1.4v8c0 .8-.6 1.4-1.4 1.4s-1.4-.6-1.4-1.4v-8c0-.8.6-1.4 1.4-1.4ZM7.1 7.1C7.5 4.8 9.3 3 12 3s4.5 1.8 4.9 4.1H7.1Zm1-6.1 1.4 2.1m6.4-2.1-1.4 2.1M9.4 5.3h.01m5.2 0h.01'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-cta>span{order:3}
.hero-cta .icon-arrow{order:4;width:21px;height:21px;margin-left:7px;opacity:.9}
.privacy{
  margin-top:18px;
  color:var(--g-teal);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-align:center;
}
.hero-image{
  position:relative;
  height:clamp(480px,52vw,680px);
  overflow:hidden;
  background:#032f34;
}
.hero-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 70%;
  filter:saturate(.92) contrast(1.03) brightness(.9);
}
.hero-image::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,#04343a 0%,rgba(4,52,58,.86) 7%,rgba(3,47,52,.30) 20%,rgba(2,33,37,.06) 45%,rgba(2,31,35,.42) 100%);
  pointer-events:none;
}
.hero-image::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(2,35,39,.24),transparent 38%,transparent 70%,rgba(2,35,39,.12));
  pointer-events:none;
}
.hero-overlay-copy{
  position:absolute;
  left:max(28px,calc((100% - 1120px)/2));
  bottom:92px;
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:8px;
  text-align:left;
}
.hero-overlay-copy strong{
  font-family:var(--g-serif);
  font-weight:500;
  font-size:29px;
  letter-spacing:.025em;
  color:#fff;
  border-left:2px solid var(--g-teal);
  padding-left:16px;
  line-height:1;
  text-shadow:0 2px 18px rgba(0,0,0,.32);
}
.hero-overlay-copy span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--g-serif);
  font-style:italic;
  font-weight:500;
  font-size:24px;
  color:var(--g-teal-soft);
  padding-left:16px;
  line-height:1;
  text-shadow:0 2px 18px rgba(0,0,0,.32);
}
.hero-overlay-copy svg{width:17px;height:17px;color:var(--g-teal)}

/* ================================ TRUST GLASS */
.trust{
  position:relative;
  z-index:8;
  width:min(calc(100% - 48px),1120px);
  margin:-64px auto 82px;
  padding:20px 18px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  background:rgba(3,35,39,.82);
  border:1px solid rgba(220,201,160,.16);
  border-radius:30px;
  backdrop-filter:blur(18px) saturate(120%);
  -webkit-backdrop-filter:blur(18px) saturate(120%);
  box-shadow:0 26px 64px rgba(0,0,0,.28);
}
.trust article{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 20px;
  border-right:1px solid rgba(220,201,160,.15);
  text-align:center;
}
.trust article:last-child{border-right:0}
.trust svg{width:31px;height:31px;color:var(--g-gold);flex:none}
.trust h3{margin:0;color:#f5faf9;font-family:var(--g-sans);font-size:13px;font-weight:560;line-height:1.35;letter-spacing:0}

/* ================================ LOWER PAGE */
.trust h3,.beta-downloads-header h2,.card h2,.hope h2,.faq h2,.waitlist h2{font-family:var(--g-serif);font-weight:500;letter-spacing:-.03em}
.beta-downloads{max-width:1180px;margin:0 auto 88px;padding:64px 60px;border:1px solid rgba(196,166,110,.26);border-radius:28px;background:#fdfaf3;box-shadow:0 24px 64px rgba(2,35,40,.06)}
.beta-downloads-header{text-align:center;max-width:680px;margin:0 auto 32px}.beta-downloads-header .eyebrow{color:#a5874f;font-size:10px;font-weight:800;letter-spacing:.22em}.beta-downloads-header h2{font-size:clamp(40px,4.6vw,62px);line-height:1.05;color:var(--g-deep);margin:10px 0 14px}.beta-downloads-header p{font-size:16px;color:var(--g-muted);line-height:1.6}
.beta-platforms{display:grid;grid-template-columns:1fr 1fr;gap:20px}.beta-platform{background:#fff;border:1px solid rgba(196,166,110,.22);border-radius:22px;padding:30px;box-shadow:0 12px 32px rgba(4,44,50,.05)}.beta-platform h3{font-size:23px;font-weight:700;color:var(--g-deep);margin:0 0 8px}.beta-platform p{color:var(--g-muted);line-height:1.55;margin:0 0 18px}.beta-platform .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;border-radius:999px;background:linear-gradient(112deg,#fbf6ea 0%,#f1e3c0 55%,#e2c990 100%);color:#14292d;font-weight:800;text-align:center;border:1px solid rgba(196,166,110,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.80),0 10px 24px rgba(4,44,50,.10)}.beta-platform .btn + .btn{margin-top:14px}.beta-platform .btn.secondary{background:linear-gradient(112deg,#fdfaf4 0%,#f4ead2 100%)}.beta-platform .step{font-weight:900;margin-right:9px;color:var(--g-gold-strong);flex:none}.beta-platform .btn.secondary .step{color:#14292d}.beta-note{text-align:center;font-size:13px;color:#75888a;margin-top:22px}
.two-col{max-width:1180px;margin:auto;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.card{background:#fff;border:1px solid rgba(8,47,53,.10);border-radius:28px;padding:26px;box-shadow:0 20px 50px rgba(2,35,40,.06)}.founder{display:grid;grid-template-columns:200px 1fr;gap:26px}.founder img{width:100%;height:100%;max-height:430px;object-fit:cover;object-position:center top;border-radius:18px}.card h2{font-size:30px;line-height:1.05;margin:0 0 14px;color:var(--g-deep)}.founder p{line-height:1.65;color:#3d5a5e}.signature{font-family:var(--g-serif);font-style:italic;font-size:34px;color:#0a8783;margin-top:6px}.support{background:linear-gradient(145deg,#fffdf9,#edf7f4)}.support>p{margin-top:4px;color:var(--g-muted)}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.choices a{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #c8dddc;border-radius:14px;padding:12px 14px;color:#066970;font-weight:700;font-size:14px;text-decoration:none}.choices a::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--g-gold-strong);transform:rotate(45deg);flex:none}.alone{display:block;text-align:center;color:#087b78;line-height:1.5}
.hope{max-width:1180px;margin:84px auto;padding:60px 20px;text-align:center;border-top:1px solid #e2e3d6;border-bottom:1px solid #e2e3d6}.hope h2{font-size:clamp(34px,4vw,50px);margin:0;color:var(--g-deep)}.hope>div{display:grid;grid-template-columns:repeat(4,1fr);margin-top:36px}.hope article{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 22px;border-right:1px solid #e2e3d6}.hope article:last-child{border-right:0}.hope svg{width:30px;height:30px;color:#0a8783}.hope b{font-family:var(--g-serif);font-size:27px;font-weight:600;color:var(--g-deep)}.hope span{font-size:13px;color:var(--g-muted);line-height:1.4}.hope small{display:block;margin-top:22px;color:#6f8386;font-size:12.5px}
.waitlist{max-width:1180px;margin:0 auto 80px;border-radius:30px;padding:44px 52px;background:linear-gradient(135deg,#032f34,#07535a);color:#fff;display:grid;grid-template-columns:1fr 1.05fr;gap:44px;box-shadow:0 26px 70px rgba(2,35,40,.22)}.waitlist h2{font-size:clamp(30px,3.6vw,44px);line-height:1.05;margin:0 0 12px}.waitlist p{line-height:1.65;color:rgba(235,246,245,.85)}.perks{margin-top:34px;font-size:12.5px;letter-spacing:.04em;color:var(--g-teal)}.waitlist form{display:flex;flex-direction:column;gap:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-row input,.waitlist select{width:100%;border:1px solid #3f7e84;border-radius:12px;padding:14px 15px;background:rgba(2,36,41,.55);color:#fff;font-size:14px}.form-row input::placeholder{color:#c9e2e0}.waitlist select option{color:#fff;background:#07535a}.consent{font-size:13px;color:rgba(235,246,245,.88)}.consent input{width:auto;margin-right:8px}.consent a{color:#fff;text-decoration:underline;text-underline-offset:.16em}.waitlist .btn{min-height:54px;border-radius:999px;background:linear-gradient(110deg,#fffdf8,#f4dfb5);color:#172b2f;font-size:12px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.waitlist small{text-align:center;color:#cce3e3;font-size:12px}.hidden{display:none}
.faq{max-width:900px;margin:0 auto 84px;padding:0 20px}.faq h2{text-align:center;font-size:clamp(30px,4vw,46px);color:var(--g-deep);margin:0 0 26px}.faq details{background:#fff;margin:12px 0;border:1px solid rgba(8,47,53,.10);border-radius:18px;padding:18px 24px;box-shadow:0 10px 28px rgba(2,35,40,.05)}.faq summary{font-weight:800;cursor:pointer;color:var(--g-deep)}.faq details p{margin:10px 0 2px;color:var(--g-muted);line-height:1.6}footer{background:#021f24}footer a:hover{color:#e9d7ab}footer img{display:block;width:196px;height:auto;max-height:70px;object-fit:contain;object-position:left center}

@media(prefers-reduced-motion:no-preference){.hero-copy>*{animation:fade-up .65s cubic-bezier(.2,.7,.2,1) both}.hero-copy>*:nth-child(2){animation-delay:.06s}.hero-copy>*:nth-child(3){animation-delay:.12s}.hero-copy>*:nth-child(4){animation-delay:.18s}.hero-copy>*:nth-child(5){animation-delay:.24s}@keyframes fade-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}

@media(max-width:850px){
  .hero{margin-top:86px}
  .hero-copy{width:100%;padding:44px 22px 26px}
  .beta-badge{margin-bottom:20px;padding:9px 17px;font-size:9px}
  .hero h1{max-width:720px;font-size:clamp(50px,13vw,64px);line-height:.93}
  .hero-copy>p{max-width:600px;margin-top:26px;font-size:15.5px;line-height:1.6}
  .hero-features{width:100%;margin-top:27px}
  .hero-features li{padding:5px 8px 0;gap:8px}
  .hero-features svg{width:24px;height:24px}
  .hero-features span{font-size:8.5px}
  .hero-copy .hero-cta{width:min(100%,560px);min-height:64px;margin-top:30px;border-radius:25px;font-size:12.5px;gap:12px}
  .hero-cta .icon-apple{width:21px;height:24px}.hero-cta::before{width:21px;height:24px}.hero-cta .icon-arrow{width:19px;height:19px}
  .privacy{margin-top:16px;font-size:8.7px}
  .hero-image{height:clamp(430px,63vh,560px)}
  .hero-overlay-copy{left:24px;bottom:88px}
  .hero-overlay-copy strong{font-size:23px}.hero-overlay-copy span{font-size:19px}
  .trust{width:calc(100% - 30px);margin:-58px auto 56px;padding:16px 8px;border-radius:26px}
  .trust article{padding:10px 8px;gap:8px}.trust svg{width:26px;height:26px}.trust h3{font-size:11px}
  .beta-platforms{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}.waitlist{grid-template-columns:1fr;padding:34px 28px}.founder{grid-template-columns:1fr}.founder img{height:430px;max-height:none}
}

@media(max-width:600px){
  .hero{margin-top:78px}
  .hero-copy{padding:40px 18px 24px}
  .beta-badge{font-size:8.5px;padding:8px 14px;margin-bottom:18px}
  .hero h1{font-size:clamp(47px,12.7vw,58px);line-height:.92}
  .hero-copy>p{font-size:15px;line-height:1.6;margin-top:24px;padding:0 8px;max-width:560px}
  .hero-features{margin-top:24px}
  .hero-features li{padding:4px 5px 0;gap:8px}
  .hero-features svg{width:22px;height:22px}
  .hero-features span{font-size:8px;line-height:1.3}
  .hero-copy .hero-cta{min-height:58px;margin-top:26px;border-radius:22px;padding:0 20px;font-size:11.2px;gap:10px;letter-spacing:.14em}
  .hero-cta .icon-apple{width:20px;height:22px}.hero-cta::before{width:19px;height:22px}.hero-cta .icon-arrow{width:17px;height:17px;margin-left:2px}
  .privacy{margin-top:14px;font-size:8px;letter-spacing:.10em;white-space:nowrap}
  /* Mobile sunset hero: bottom-anchored 76vw box shows source rows ~760-1537 at
     every phone width; the warm clouds/sunset glow become visible ~22px below the
     box top with a seamless teal-to-transparent veil, so the photograph emerges
     from the teal hero instead of appearing as a separate block. brand-master.css
     enforces with !important overrides. */
  .hero-image{height:min(76vw,62vh)}
  .hero-overlay-copy{left:20px;bottom:80px;gap:6px}
  .hero-overlay-copy strong{font-size:20px;padding-left:12px}.hero-overlay-copy span{font-size:16.5px;padding-left:12px}
  .hero-image::before{background:linear-gradient(180deg,#032f34 0%,rgba(3,47,52,.92) 2%,rgba(3,47,52,.30) 5%,rgba(3,47,52,.06) 8%,rgba(2,33,37,.04) 20%,rgba(2,31,35,.5) 100%)}
  .trust{width:calc(100% - 24px);margin:-54px auto 46px;padding:10px 4px;border-radius:24px;grid-template-columns:repeat(4,1fr)}
  .trust article{padding:8px 5px;gap:7px}.trust svg{width:23px;height:23px}.trust h3{font-size:9px;line-height:1.3}
  .beta-downloads{margin:0 14px 56px;padding:40px 20px;border-radius:24px}.beta-downloads-header{text-align:left}.beta-downloads-header h2{font-size:40px}.beta-platform{padding:26px;border-radius:18px}.two-col{padding:0 14px}.card{border-radius:24px;padding:22px}.founder img{height:390px;border-radius:16px}.choices{grid-template-columns:1fr}.hope{margin:56px 14px;padding:44px 6px}.hope>div{grid-template-columns:1fr 1fr}.hope article{border-right:0;border-bottom:1px solid #e2e3d6}.hope article:nth-last-child(-n+2){border-bottom:0}.waitlist{margin:0 14px 60px;padding:32px 22px;border-radius:26px}.form-row{grid-template-columns:1fr}.faq{padding:0 14px;margin-bottom:64px}.faq h2{text-align:left;font-size:36px}footer{padding:42px 24px}footer img{width:182px}
}
