/* Gather marketing landing. Legal pages keep style.css; this is index-only. */
:root{
  --wine:#7C3A52; --wine-dark:#5A2A3E; --gold:#E8A94B; --gold-deep:#C8862F;
  --bg:#F5F0EA; --cream:#FBF7F1; --text:#2A2228; --muted:#7A6F77;
  --border:#E9DFD4; --surface:#fff; --green:#4A9B6F;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;}
a{color:var(--wine);text-decoration:none;}
h1,h2,h3{letter-spacing:-0.02em;}

/* Buttons */
.btn{display:inline-block;background:var(--wine);color:#fff;font-weight:800;padding:12px 22px;border-radius:999px;
  box-shadow:0 8px 22px rgba(124,58,82,.28);transition:transform .12s ease, box-shadow .12s ease;}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(124,58,82,.34);}
.btn-lg{padding:15px 30px;font-size:17px;}
.btn-sm{padding:9px 16px;font-size:14px;}
.btn.light{background:#fff;color:var(--wine);}
.ghost{color:var(--wine);font-weight:800;align-self:center;}
.ghost:hover{text-decoration:underline;}

/* Top bar */
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;
  padding:14px 24px;background:rgba(251,247,241,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);}
.logo{font-weight:900;font-size:22px;color:var(--wine);letter-spacing:-.5px;}
.top-nav{display:flex;gap:22px;align-items:center;}
.top-nav a{color:var(--text);font-weight:700;font-size:15px;}
.top-nav a:hover{color:var(--wine);}
.top-nav .btn{color:#fff;}

/* Hero */
.hero{max-width:1120px;margin:0 auto;padding:64px 24px 40px;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;}
.pill{display:inline-block;background:rgba(124,58,82,.10);color:var(--wine);font-weight:800;font-size:13px;
  padding:7px 14px;border-radius:999px;border:1px solid rgba(124,58,82,.18);}
.hero h1{font-size:clamp(34px,5vw,54px);font-weight:900;line-height:1.05;margin:18px 0 0;}
.grad{background:linear-gradient(90deg,var(--wine),var(--gold-deep));-webkit-background-clip:text;background-clip:text;color:transparent;}
.sub{font-size:19px;color:#4a4047;margin:18px 0 0;max-width:30em;}
.hero-cta{display:flex;gap:18px;margin-top:28px;flex-wrap:wrap;}
.microcopy{color:var(--muted);font-size:14px;margin-top:16px;}

/* Phone mockup */
.hero-art{display:flex;justify-content:center;}
.phone{position:relative;width:300px;height:610px;background:#1d1620;border-radius:46px;padding:12px;
  box-shadow:0 40px 80px -20px rgba(60,30,45,.45),0 0 0 2px rgba(0,0,0,.05);}
.phone.sm{width:250px;height:510px;border-radius:40px;}
.notch{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:120px;height:26px;background:#1d1620;border-radius:0 0 16px 16px;z-index:3;}
.phone.sm .notch{width:100px;height:22px;}
.screen{position:relative;height:100%;background:var(--bg);border-radius:36px;overflow:hidden;display:flex;flex-direction:column;}
.phone.sm .screen{border-radius:32px;}
.app-head{background:linear-gradient(135deg,var(--wine),var(--wine-dark));color:#fff;padding:34px 18px 18px;display:flex;justify-content:space-between;align-items:center;}
.hi{font-weight:800;font-size:17px;}
.date{font-size:12px;opacity:.85;margin-top:2px;}
.avatar{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.2);border:1.5px solid rgba(255,255,255,.5);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;}
.app-body{flex:1;padding:16px 14px;overflow:hidden;}
.sec-label{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin:6px 2px 8px;}
.ev{display:flex;background:#fff;border-radius:14px;overflow:hidden;margin-bottom:10px;box-shadow:0 2px 8px rgba(40,20,30,.06);border-left:4px solid var(--c);}
.ev-main{flex:1;padding:11px 12px;}
.ev-title{font-weight:800;font-size:14px;}
.ev-meta{font-size:11px;color:var(--muted);margin-top:2px;}
.ev-time{align-self:center;padding-right:12px;font-size:12px;font-weight:800;color:var(--c);}
.quick{display:flex;gap:8px;margin-top:10px;}
.quick-btn{flex:1;text-align:center;background:var(--wine);color:#fff;font-size:12px;font-weight:800;padding:11px;border-radius:12px;}
.quick-btn.ghost{background:#fff;color:var(--wine);border:1.5px solid var(--border);}
.tabbar{display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--border);padding:8px 4px 10px;
  font-size:9px;text-align:center;color:var(--muted);}
.tab{font-weight:700;line-height:1.5;}
.tab.on{color:var(--wine);}

/* feature phone content */
.who{display:flex;gap:6px;margin-bottom:14px;}
.ava{width:30px;height:30px;border-radius:50%;background:var(--c);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;}
.poll-row{display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;padding:8px 10px;margin-bottom:8px;font-size:12px;font-weight:700;position:relative;overflow:hidden;}
.poll-row span{position:relative;z-index:2;}
.poll-row i{position:absolute;left:0;top:0;bottom:0;width:var(--w);background:rgba(124,58,82,.14);z-index:1;}
.circle{display:flex;align-items:center;gap:11px;background:#fff;border-radius:14px;padding:12px;margin-bottom:10px;border-left:4px solid var(--c);box-shadow:0 2px 8px rgba(40,20,30,.06);}
.circle .emo{font-size:22px;}
.circle b{font-size:13px;display:block;}
.circle small{font-size:11px;color:var(--muted);}
.grid-days{display:grid;grid-template-columns:34px repeat(4,1fr);gap:6px;font-size:10px;font-weight:800;color:var(--muted);text-align:center;margin-bottom:6px;}
.grid-row{display:grid;grid-template-columns:34px repeat(4,1fr);gap:6px;align-items:center;margin-bottom:6px;}
.grid-row i{height:26px;border-radius:7px;background:#eadfdf;}
.grid-row i.free{background:var(--green);opacity:.85;}
.ava.sm2{width:26px;height:26px;font-size:11px;}
.grid-row.best{font-size:10px;font-weight:800;color:var(--green);text-align:center;}

/* Value strip */
.strip{max-width:1000px;margin:10px auto 0;padding:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.strip div{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px 20px;text-align:center;}
.strip strong{display:block;color:var(--wine);font-size:18px;}
.strip span{font-size:14px;color:var(--muted);}

/* Features */
.feature{max-width:1080px;margin:0 auto;padding:56px 24px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.feature.alt .feat-copy{order:2;}
.feature.alt .feat-art{order:1;}
.feat-art{display:flex;justify-content:center;}
.tag{display:inline-block;background:var(--gold);color:#4a330c;font-weight:800;font-size:12px;padding:5px 12px;border-radius:999px;}
.feature h2{font-size:clamp(26px,3.4vw,36px);font-weight:900;margin:14px 0 12px;line-height:1.12;}
.feature p{font-size:17px;color:#4a4047;margin:0 0 16px;}
.checks{list-style:none;padding:0;margin:0;}
.checks li{position:relative;padding-left:30px;margin-bottom:10px;font-size:15px;color:#3a3036;}
.checks li::before{content:"✓";position:absolute;left:0;top:-1px;width:20px;height:20px;background:rgba(74,155,111,.16);color:var(--green);
  border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px;}

/* More grid */
.more{max-width:1080px;margin:0 auto;padding:40px 24px 60px;}
.center{text-align:center;font-size:clamp(26px,3.4vw,34px);font-weight:900;margin:0 0 32px;}
.more-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;}
.m-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:24px;transition:transform .12s ease,box-shadow .12s ease;}
.m-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(60,30,45,.10);}
.m-ico{font-size:28px;}
.m-card h3{font-size:18px;font-weight:800;margin:12px 0 6px;color:var(--wine);}
.m-card p{margin:0;font-size:15px;color:#3a3036;}

/* CTA band */
.cta-band{background:linear-gradient(135deg,var(--wine),var(--wine-dark));color:#fff;text-align:center;padding:64px 24px;margin-top:20px;}
.cta-band h2{font-size:clamp(28px,4vw,40px);font-weight:900;margin:0 0 10px;}
.cta-band p{font-size:18px;opacity:.92;margin:0 0 24px;}
.cta-band .microcopy{color:rgba(255,255,255,.8);margin-top:18px;}

/* Footer */
.foot{background:#241a20;color:#cbb9c2;padding:40px 24px;text-align:center;}
.foot-brand{font-weight:900;font-size:20px;color:#fff;margin-bottom:14px;}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:center;margin-bottom:16px;}
.foot-links a{color:#cbb9c2;font-size:14px;font-weight:600;}
.foot-links a:hover{color:#fff;text-decoration:underline;}
.foot-copy{font-size:12.5px;color:#9a8794;}
.foot-copy a{color:#9a8794;}

/* Responsive — defined at END of file so these overrides win the cascade
   (equal-specificity base rules below would otherwise beat an earlier @media). */

.logo-tag{color:var(--gold-deep);}
.logo-tag.friends{color:var(--wine);}

/* ── Brand product switcher (dropdown: Gather Friends ⇄ Gather Business) ── */
.brand-switch{position:relative;}
.brand-switch>summary{list-style:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;
  user-select:none;-webkit-tap-highlight-color:transparent;padding:2px 2px;}
.brand-switch>summary::-webkit-details-marker{display:none;}
.brand-switch>summary::marker{content:"";}
.brand-switch>summary:focus-visible{outline:2px solid var(--wine);outline-offset:4px;border-radius:8px;}
.brand-switch .chev{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
  font-size:12px;line-height:1;color:var(--wine);background:rgba(124,58,82,.10);border-radius:50%;
  transition:transform .18s ease;}
.promote-page .brand-switch .chev{color:var(--gold-deep);background:rgba(200,134,47,.14);}
.brand-switch[open] .chev{transform:rotate(180deg);}
.switch-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:60;min-width:250px;
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:6px;
  box-shadow:0 20px 46px rgba(60,30,45,.20);animation:swDrop .15s ease;}
@keyframes swDrop{from{opacity:0;transform:translateY(-6px);}to{opacity:1;transform:none;}}
.switch-opt{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center;
  padding:11px 13px;border-radius:12px;transition:background .12s ease;}
.switch-opt:hover{background:var(--bg);}
.switch-opt.is-current{background:var(--bg);}
.so-name{grid-column:1;font-weight:900;font-size:17px;color:var(--text);letter-spacing:-.4px;}
.so-desc{grid-column:1;font-size:12.5px;color:var(--muted);font-weight:600;margin-top:1px;}
.so-check{grid-column:2;grid-row:1 / span 2;color:var(--green);font-weight:900;font-size:16px;}

/* ── Community event cards (phone) ── */
.cev{position:relative;background:#fff;border-radius:14px;padding:12px 13px;margin-bottom:10px;border-left:4px solid var(--c);box-shadow:0 2px 8px rgba(40,20,30,.06);}
.cev b{font-size:14px;display:block;margin-bottom:2px;}
.cev small{font-size:11px;color:var(--muted);}
.cev-foot{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:11px;color:var(--muted);}
.price{background:rgba(200,134,47,.16);color:var(--gold-deep);font-weight:800;padding:3px 9px;border-radius:999px;}
.price.free{background:rgba(74,155,111,.16);color:var(--green);}
.feat-badge{position:absolute;top:-8px;right:10px;background:var(--wine);color:#fff;font-size:9px;font-weight:800;padding:3px 8px;border-radius:999px;}
.feat-badge.gold-badge{background:var(--gold-deep);}
.featured-glow{box-shadow:0 6px 18px rgba(200,134,47,.28);border-left-color:var(--gold-deep);}

/* ── Business teaser band (Friends page) ── */
.biz-teaser{max-width:1080px;margin:30px auto 0;padding:34px 28px;display:flex;align-items:center;justify-content:space-between;gap:30px;
  background:linear-gradient(135deg,#2a2018,#3c2c18);color:#fff;border-radius:24px;}
.biz-teaser h2{font-size:clamp(22px,3vw,30px);font-weight:900;margin:12px 0 8px;}
.biz-teaser p{margin:0;color:#e9dccb;font-size:16px;max-width:40em;}
.tag.gold{background:var(--gold);color:#4a330c;}
.gold-btn{background:var(--gold-deep);box-shadow:0 8px 22px rgba(200,134,47,.34);white-space:nowrap;}
.gold-btn:hover{box-shadow:0 12px 28px rgba(200,134,47,.42);}

/* ── Promote page: gold theming ── */
.promote-page .pill{background:rgba(200,134,47,.12);color:var(--gold-deep);border-color:rgba(200,134,47,.28);}
.promote-page .grad{background:linear-gradient(90deg,var(--gold-deep),#8a5612);-webkit-background-clip:text;background-clip:text;color:transparent;}
.promote-page .btn{background:var(--gold-deep);box-shadow:0 8px 22px rgba(200,134,47,.30);}
.promote-page .btn.light{background:#fff;color:var(--gold-deep);}
.promote-page .ghost{color:var(--gold-deep);}
.promote-page .logo{color:var(--gold-deep);}
.promote-page .top-nav a:hover{color:var(--gold-deep);}
.gold-head{background:linear-gradient(135deg,var(--gold-deep),#8a5612)!important;}

/* ── Dashboard / analytics mockups ── */
.stat-row{display:flex;gap:8px;margin-bottom:14px;}
.stat{flex:1;background:#fff;border-radius:12px;padding:10px;text-align:center;box-shadow:0 2px 8px rgba(40,20,30,.06);}
.stat b{display:block;font-size:18px;color:var(--gold-deep);font-weight:900;}
.stat small{font-size:10px;color:var(--muted);}
.pev{background:#fff;border-radius:14px;padding:12px;box-shadow:0 2px 8px rgba(40,20,30,.06);}
.pev-top{display:flex;justify-content:space-between;align-items:center;}
.pev-top b{font-size:13px;}
.boost-badge{background:rgba(200,134,47,.16);color:var(--gold-deep);font-size:9px;font-weight:800;padding:3px 8px;border-radius:999px;}
.pev-bars{display:flex;align-items:flex-end;gap:5px;height:46px;margin:12px 0 8px;}
.pev-bars i{flex:1;height:var(--h);background:linear-gradient(var(--gold),var(--gold-deep));border-radius:4px 4px 0 0;min-height:6px;}
.pev-bars.tall{height:70px;}
.pev-foot{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);}
.settle{color:var(--gold-deep);font-weight:800;}
.gold-btn2{background:var(--gold-deep)!important;}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;}
.stat2{background:#fff;border-radius:12px;padding:11px;text-align:center;box-shadow:0 2px 8px rgba(40,20,30,.06);}
.stat2 b{display:block;font-size:18px;color:var(--gold-deep);font-weight:900;}
.stat2 small{font-size:10px;color:var(--muted);}
.cap{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;color:var(--muted);margin-top:10px;}
.cap-bar{flex:1;height:9px;background:#eadfdf;border-radius:999px;overflow:hidden;}
.cap-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--gold),var(--gold-deep));}
.center-body{display:flex;align-items:center;justify-content:center;}
.boost-card{background:#fff;border-radius:18px;padding:22px 18px;text-align:center;box-shadow:0 8px 22px rgba(40,20,30,.10);}
.boost-ico{font-size:34px;}
.boost-card b{display:block;font-size:15px;margin:8px 0 6px;}
.boost-card p{font-size:12px;color:var(--muted);margin:0 0 14px;}
.boost-go{background:var(--gold-deep);color:#fff;font-weight:800;font-size:13px;padding:11px;border-radius:12px;}
.boost-card small{display:block;margin-top:8px;font-size:10px;color:var(--muted);}
.gold-card h3{color:var(--gold-deep);}

/* ── Pricing ── */
.pricing{max-width:680px;margin:0 auto;padding:50px 24px;}
.price-card{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:38px 32px;text-align:center;box-shadow:0 16px 40px rgba(60,40,20,.10);}
.price-name{font-weight:900;font-size:18px;color:var(--gold-deep);}
.price-amt{font-size:52px;font-weight:900;margin:6px 0;letter-spacing:-2px;}
.price-amt span{font-size:20px;color:var(--muted);font-weight:700;letter-spacing:0;}
.price-alt{color:var(--muted);font-size:15px;margin-bottom:22px;}
.center-checks{display:inline-block;text-align:left;margin:0 auto 24px;}
.gold-band{background:linear-gradient(135deg,var(--gold-deep),#8a5612)!important;}

/* ════════════════ RESPONSIVE (placed last on purpose — wins the cascade) ════════════════ */
/* Safety net: never allow sideways scrolling. overflow-x:clip (not :hidden) does
   not break the sticky top bar. */
html{overflow-x:clip;}
body{overflow-x:clip;max-width:100%;}

@media (max-width:860px){
  .hero{grid-template-columns:1fr;text-align:center;padding:40px 20px;}
  .hero-cta{justify-content:center;}
  .sub{margin-left:auto;margin-right:auto;}
  .strip{grid-template-columns:1fr;}
  .feature{grid-template-columns:1fr;gap:28px;padding:40px 20px;}
  .feature.alt .feat-copy,.feature.alt .feat-art{order:initial;}
  .biz-teaser{flex-direction:column;text-align:center;gap:18px;}
  /* On phones, drop the secondary nav text links; the brand dropdown (always
     visible) handles product switching and the CTA stays. */
  .top-nav a:not(.btn){display:none;}
}

@media (max-width:560px){
  .topbar{padding:12px 16px;gap:12px;}
  .logo{font-size:19px;line-height:1.12;white-space:nowrap;}
  .top-nav{gap:0;flex:0 0 auto;}
  .top-nav .btn{white-space:nowrap;}
  .hero{padding:30px 16px;}
  .hero h1{font-size:clamp(30px,7.5vw,42px);}
  .sub{font-size:17px;}
  .feature,.more,.pricing,.cta-band,.strip{padding-left:16px;padding-right:16px;}
  .biz-teaser{margin-left:16px;margin-right:16px;padding:26px 20px;}
  .price-card{padding:30px 22px;}
  .price-amt{font-size:46px;}
}

/* Very small phones (e.g. iPhone SE) — scale the mockup + tighten the top bar
   so logo + CTA always fit. */
@media (max-width:360px){
  .hero{padding:26px 14px;}
  .phone{width:264px;height:536px;}
  .phone.sm{width:230px;height:470px;}
  .topbar{padding:10px 12px;gap:8px;}
  .logo{font-size:17px;}
  .top-nav .btn{padding:8px 13px;font-size:13px;}
}
