/* ============ DESIGN SYSTEM & TOKENS ============ */
:root{
  --bg-page: #FFFFFF;
  --bg-box: #F5F6F8;
  --bg-box-hover: #ECEEF2;
  --bg-card: #F5F6F8;
  --bg-input: #FFFFFF;
  --ink: #16181B;
  --ink-soft: #6B7280;
  --ink-faint: #9CA3AF;
  --line: #E5E7EB;
  --line-strong: #D1D5DB;
  --btn-black: #16181B;
  --btn-black-hover: #26292E;
  --btn-black-active: #000000;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.04);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.05);
  --shadow-md: 0 10px 28px rgba(0,0,0,.07);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.10);
  --ff-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*{box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color: transparent;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--ff-body);
  background:var(--bg-page);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px;}
@media(max-width:480px){ .wrap{padding:0 16px;} }

.eyebrow{
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.10em; text-transform:uppercase;
  color:var(--ink); font-weight:700; display:inline-flex; align-items:center; gap:8px;
}
.eyebrow::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--ink);
  box-shadow:0 0 0 4px rgba(22,24,27,.12); animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{transform:scale(1);} 50%{transform:scale(1.25);}}
h1,h2,h3,h4{font-family:var(--ff-display); line-height:1.06; letter-spacing:-.02em; font-weight:700; color:var(--ink);}
p{color:var(--ink-soft); line-height:1.6;}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 24px; border-radius:100px; font-weight:700; font-size:15px;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap; cursor:pointer;
}
.btn:active{transform:scale(0.97);}
.btn-primary{background:var(--btn-black); color:#fff; box-shadow:0 4px 14px rgba(22,24,27,.24);}
.btn-primary:hover{background:var(--btn-black-hover); box-shadow:0 6px 18px rgba(22,24,27,.32);}
.btn-secondary{background:var(--bg-box); color:var(--ink); border:1.5px solid var(--line);}
.btn-secondary:hover{background:var(--bg-box-hover); border-color:var(--line-strong);}
.btn-ghost{background:transparent; color:var(--ink); border:1.5px solid var(--line);}
.btn-ghost:hover{border-color:var(--ink); background:var(--bg-box);}
.btn-sm{padding:8px 16px; font-size:13px; border-radius:100px;}
.btn-block{width:100%;}

/* ============ NAVIGATION ============ */
.nav{
  position:sticky; top:0; z-index:100; padding:16px 0;
  background:rgba(255,255,255,.92); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line); transition:border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled{box-shadow:0 2px 14px rgba(0,0,0,.04);}
.nav .wrap{display:flex; align-items:center; justify-content:space-between;}
.nav-brand{
  font-family:var(--ff-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight:900;
  font-size:24px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:#000000;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  user-select:none;
  transition:opacity .15s ease;
}
.nav-brand-logo{
  width:21px;
  height:27px;
  flex-shrink:0;
  color:#000000;
}
.nav-brand-text{
  display:inline-block;
  margin-right:-0.28em;
}
.nav-brand:hover{opacity:.85;}
.nav-links{display:flex; align-items:center; gap:26px;}
.nav-links a{font-size:14px; font-weight:500; color:var(--ink-soft); transition:color .2s;}
.nav-links a:hover{color:var(--ink);}
.nav-cta{display:flex; align-items:center; gap:10px;}

@media(max-width:860px){
  .nav{
    display:block !important;
    position:fixed !important;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:999;
    padding:max(10px, env(safe-area-inset-top, 10px)) 0 10px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line);
    transform:translateY(-100%);
    opacity:0;
    pointer-events:none;
    transition:transform .32s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease, box-shadow .3s ease;
  }
  .nav.mobile-visible{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
  }
  .nav .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:0 16px;
  }
  .nav-brand{
    font-size:19.5px;
    font-weight:900;
    letter-spacing:0.22em;
    gap:7px;
    flex-shrink:0;
  }
  .nav-brand-logo{
    width:17px;
    height:22px;
  }
  .nav-brand-text{
    margin-right:-0.22em;
  }
  .nav-cta{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
  }
  .nav-cta .btn{
    white-space:nowrap;
    font-size:12px;
    font-weight:600;
    padding:9.5px 14px;
    border-radius:100px;
    line-height:1.2;
    flex-shrink:0;
  }
  .nav-cta .btn-ghost{
    padding:8.5px 13px;
  }
}

@media(max-width:390px){
  .nav .wrap{
    padding:0 12px;
    gap:6px;
  }
  .nav-brand{
    font-size:17px;
    letter-spacing:0.18em;
    gap:6px;
  }
  .nav-brand-logo{
    width:15px;
    height:19px;
  }
  .nav-brand-text{
    margin-right:-0.18em;
  }
  .nav-cta{
    gap:6px;
  }
  .nav-cta .btn{
    font-size:11px;
    padding:8.5px 11px;
  }
  .nav-cta .btn-ghost{
    padding:7.5px 10px;
  }
}

/* ============ HERO SECTION ============ */
.hero{position:relative; padding:44px 0 40px; background:var(--bg-page); overflow:hidden;}
.hero-grid{
  display:grid; grid-template-columns:1.06fr .94fr; gap:44px; align-items:center; position:relative; z-index:2;
}
.hero-left{display:flex; flex-direction:column; align-items:flex-start; transform:translateY(-22px);}

.hero-eyebrow{
  font-family:var(--ff-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:#4B5563;
  margin-bottom:14px;
}
.hero-left h1, .hero-main-title{
  font-family:var(--ff-display), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:clamp(38px,4.3vw,56px);
  margin-top:0;
  margin-bottom:12px;
  letter-spacing:-0.035em;
  font-weight:700;
  line-height:1.08;
  color:#000000;
}
.hero-subhead{
  font-size:clamp(18px,1.9vw,22px);
  color:#374151;
  font-weight:500;
  font-family:var(--ff-display), -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing:-0.015em;
  margin-bottom:8px;
  line-height:1.3;
}
.hero-desc{
  font-family:var(--ff-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size:21px;
  font-weight:450;
  color:#4B5563;
  line-height:1.4;
  margin-bottom:28px;
  max-width:520px;
}
.hero-coming-soon{
  display:none;
}
.hero-btn-group{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.btn-hero-join{
  background:#000000;
  color:#FFFFFF;
  border:1.5px solid #000000;
  border-radius:9999px;
  padding:13px 26px;
  font-size:15px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,0.14);
  transition:all .2s ease;
  text-decoration:none;
  font-family:inherit;
}
.btn-hero-join:hover{
  background:#1F2937;
  border-color:#1F2937;
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(0,0,0,0.2);
}
.btn-hero-join:active{
  transform:translateY(1px);
}
.btn-hero-partner{
  background:#E7BE62;
  color:#111827;
  border:1.5px solid #E7BE62;
  border-radius:9999px;
  padding:13px 26px;
  font-size:15px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(231,190,98,0.25);
  transition:all .2s ease;
  text-decoration:none;
  font-family:inherit;
}
.btn-hero-partner:hover{
  background:#DCB150;
  border-color:#DCB150;
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(231,190,98,0.35);
}
.btn-hero-partner:active{
  transform:translateY(1px);
}
.btn-arrow{
  font-size:16px;
  line-height:1;
  transition:transform .15s ease;
}
.btn-hero-join:hover .btn-arrow,
.btn-hero-partner:hover .btn-arrow{
  transform:translateX(3px);
}

/* Right Visual Graphic Column */
.hero-visual-col{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.hero-visual-img{
  width:100%;
  max-width:550px;
  height:auto;
  display:block;
  object-fit:contain;
}

/* Referred banner */
.referred-banner{
  display:none; align-items:flex-start; gap:8px; background:var(--bg-box); color:var(--ink);
  border:1px solid var(--line-strong); border-radius:14px; padding:10px 16px; font-size:13px; font-weight:500; margin-bottom:18px;
  line-height:1.45; animation:slideDown .3s ease-out;
}
.referred-banner strong{font-weight:700; color:var(--ink);}
.referred-banner.active{display:inline-flex;}
@keyframes slideDown{from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:translateY(0);}}

/* Modal Drawer Sheet Container (Desktop & Mobile) */
.hero-sheet-wrapper, #waitlistSheetWrapper{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transition:visibility .3s ease, opacity .3s ease;
}
.hero-sheet-wrapper.sheet-open, #waitlistSheetWrapper.sheet-open{
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}
.waitlist-sheet-backdrop{
  display:block;
  position:absolute;
  inset:0;
  background:rgba(15, 23, 42, 0.65);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  cursor:pointer;
}
.hero-sheet-wrapper .app-card-container, #waitlistSheetWrapper .app-card-container{
  position:relative;
  z-index:2;
  width:100%;
  max-width:440px;
  max-height:92vh;
  overflow-y:auto;
  margin:auto;
  background:#FFFFFF;
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,0.24);
  border:1px solid rgba(0,0,0,0.06);
  transform:scale(0.95) translateY(12px);
  transition:transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-sheet-wrapper.sheet-open .app-card-container, #waitlistSheetWrapper.sheet-open .app-card-container{
  transform:scale(1) translateY(0);
}
.sheet-top-bar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:16px 18px 0;
  background:#FFFFFF;
}
.sheet-drag-handle{
  display:none;
}
.sheet-close-btn{
  background:#F3F4F6;
  border:none;
  width:32px;
  height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#4B5563;
  transition:background .15s ease, color .15s ease;
}
.sheet-close-btn:hover{
  background:#E5E7EB;
  color:#111827;
}
.hero-sheet-wrapper .app-card, #waitlistSheetWrapper .app-card{
  background:#FFFFFF;
  border:none;
  box-shadow:none;
  border-radius:0;
  padding:8px 28px 30px;
}

/* Trust Proof Row & Multi-Color Count */
.trust-row{display:flex; align-items:center; gap:12px; margin-top:6px;}

/* Multi-color User Initials Avatar Stack (Refined Compact Size) */
.trust-avatars{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}
.t-avatar{
  width:23px;
  height:23px;
  border-radius:50%;
  border:1.5px solid #FFFFFF;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:var(--ff-mono);
  font-weight:800;
  font-size:8.5px;
  color:#FFFFFF;
  margin-left:-5px;
  box-shadow:0 2px 5px rgba(0,0,0,0.12);
  transition:transform 0.2s ease;
  position:relative;
}
.t-avatar:first-child{margin-left:0; z-index:4;}
.t-avatar:nth-child(2){z-index:3;}
.t-avatar:nth-child(3){z-index:2;}
.t-avatar:nth-child(4){z-index:1;}
.t-avatar:hover{transform:translateY(-2px) scale(1.15); z-index:10;}

/* Color tokens matching 2nd screenshot */
.t-av-ys, .t-av-1{background:linear-gradient(135deg, #FF6B4A, #F97316);}
.t-av-ad, .t-av-2{background:linear-gradient(135deg, #FBBF24, #F59E0B);}
.t-av-ms, .t-av-3{background:linear-gradient(135deg, #2DD4BF, #0D9488);}
.t-av-af, .t-av-4{background:linear-gradient(135deg, #6366F1, #4F46E5);}
.t-av-5{background:linear-gradient(135deg, #EC4899, #F43F5E);}

.trust-badge-icon{
  width:36px; height:36px; border-radius:50%; background:var(--bg-box);
  border:1px solid var(--line); color:var(--ink); display:flex;
  align-items:center; justify-content:center; flex-shrink:0;
  box-shadow:var(--shadow-xs);
}
.trust-text{
  display:flex; align-items:baseline; gap:6px; flex-wrap:wrap;
}
.trust-label{
  color:var(--ink); font-weight:600; font-size:13.5px; letter-spacing:-0.01em;
}
.multi-color-count{
  font-family:var(--ff-display), -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight:800; font-size:19px;
  letter-spacing:-0.03em; display:inline-flex; align-items:baseline; gap:0px;
}
.c-digit{
  font-weight:800;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display:inline-block;
  line-height:1;
  letter-spacing:-0.02em;
}
/* Multi-color gradients with 2-3 vibrant tones in each single digit */
.c-digit-1{ background-image: linear-gradient(135deg, #FF3366 0%, #FF5E3A 50%, #FF8E53 100%); }
.c-comma{
  font-family:var(--ff-display), -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight:800; font-size:18px;
  background-image: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display:inline-block; line-height:1; margin-right:0px; margin-left:-1px;
}
.c-digit-2{ background-image: linear-gradient(135deg, #00C6FF 0%, #0072FF 50%, #00E5FF 100%); }
.c-digit-3{ background-image: linear-gradient(135deg, #FF9900 0%, #FF5E00 50%, #FF0055 100%); }
.c-digit-4{ background-image: linear-gradient(135deg, #00B09B 0%, #96C93D 50%, #00E676 100%); }
.c-digit-5{ background-image: linear-gradient(135deg, #8A2387 0%, #E94057 50%, #F27121 100%); }
.c-digit-6{ background-image: linear-gradient(135deg, #4E54C8 0%, #8F94FB 50%, #00C6FF 100%); }

.form-privacy-note{
  display:flex; align-items:center; justify-content:center; gap:6px;
  font-size:12px; color:var(--ink-soft); font-family:var(--ff-body); margin-top:14px;
}
.form-privacy-note svg{color:var(--ink-soft); stroke-width:2;}

/* ============ INTERACTIVE WAITLIST APP STAGE ============ */
.app-card-container{
  position:relative; width:100%; max-width:480px; margin:0 auto;
}
.app-card{
  background:var(--bg-box); border-radius:var(--radius-xl); border:1.5px solid var(--line);
  box-shadow:var(--shadow-sm); padding:32px 28px; position:relative; overflow:hidden;
  transition:all .35s cubic-bezier(.2,.8,.2,1);
}
@media(max-width:480px){
  .app-card{padding:24px 20px; border-radius:var(--radius-lg);}
}
.app-card-header{margin-bottom:22px;}
.app-card-header h3{font-size:22px; margin-bottom:6px; display:flex; align-items:center; justify-content:space-between; font-weight:700;}
.app-card-header p{font-size:13.5px; color:var(--ink-soft);}

/* Inputs - Clean without icons */
.form-group{margin-bottom:16px;}
.form-label{display:block; font-size:12.5px; font-weight:600; color:var(--ink); margin-bottom:6px; font-family:var(--ff-body);}
.input-wrap{
  display:flex; align-items:center; background:#FFFFFF; border:1.5px solid var(--line);
  border-radius:12px; padding:0 14px; transition:border-color .2s, box-shadow .2s;
}
.input-wrap:focus-within{border-color:var(--ink); box-shadow:0 0 0 3px rgba(22,24,27,.08);}
.input-wrap input{
  width:100%; padding:13px 0; border:none; background:transparent; font-family:var(--ff-body);
  font-size:15.5px; color:var(--ink); outline:none;
}
.input-wrap input::placeholder{color:var(--ink-faint); font-size:14.5px;}

/* Input Error Highlight State */
.input-wrap.has-error{
  border-color:#EF4444 !important;
  background:#FFF8F8 !important;
  box-shadow:0 0 0 3px rgba(239,68,68,0.18) !important;
}

/* High-Contrast Standout Error Alert Banner */
.form-error-banner{
  display:none;
  background:#FEF2F2;
  border:1.5px solid #EF4444;
  color:#991B1B;
  border-radius:10px;
  padding:10px 14px;
  font-size:13px;
  font-weight:600;
  line-height:1.4;
  margin-top:12px;
  margin-bottom:6px;
  text-align:left;
  box-shadow:0 2px 8px rgba(239,68,68,0.12);
  align-items:flex-start;
  gap:8px;
}
.form-error-banner.visible{
  display:flex !important;
  animation:shakeError 0.3s ease;
}
.form-error-banner svg{
  flex-shrink:0;
  margin-top:2px;
  color:#DC2626;
}
@keyframes shakeError{
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.form-security-note{
  display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--ink-soft);
  font-family:var(--ff-mono); margin-top:14px; justify-content:center;
}

/* Screen state transitions */
.screen-state{display:none;}
.screen-state.active{display:block; animation:fadeIn .3s ease-out;}
@keyframes fadeIn{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);}}

/* Screen 2: Verification Pending */
.verify-box{text-align:center; padding:6px 0;}
.verify-icon{
  width:60px; height:60px; border-radius:50%; background:#FFFFFF; color:var(--ink);
  font-size:28px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px;
  border:1px solid var(--line); box-shadow:var(--shadow-xs);
}
.verify-box h3{font-size:22px; margin-bottom:6px;}
.verify-box p.desc{font-size:13.5px; margin-bottom:16px; color:var(--ink-soft);}
.verify-box .email-badge{
  display:inline-block; background:#FFFFFF; border:1px solid var(--line); padding:6px 14px; border-radius:100px;
  font-family:var(--ff-mono); font-weight:600; font-size:12.5px; color:var(--ink); margin-bottom:18px;
  max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.verify-actions{display:flex; flex-direction:column; gap:8px;}
.verify-demo-trigger{
  background:#FFFFFF; color:var(--ink); padding:10px 14px; border-radius:10px;
  font-size:12.5px; font-weight:700; font-family:var(--ff-mono); border:1.5px dashed var(--ink);
  margin-top:12px; cursor:pointer; transition:transform .15s;
}
.verify-demo-trigger:active{transform:scale(0.98);}

/* Screen 3: User Waitlist Dashboard */
.dash-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:14px;}
.dash-user-greet{display:flex; align-items:center; gap:8px;}
.dash-avatar{
  width:38px; height:38px; border-radius:50%;
  background:linear-gradient(135deg, #ef4444, #f97316);
  color:#fff;
  font-family:var(--ff-mono); font-weight:800; font-size:13px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 8px rgba(239,68,68,0.25);
  border:2px solid #FFFFFF;
}
.dash-user-greet h4{font-size:16px;}
.dash-user-greet span{font-size:11px; color:var(--ink-soft); font-family:var(--ff-mono);}

/* ================= REFERRAL DASHBOARD (MINIMALIST REDESIGN) ================= */

/* Top Black Header Banner */
.refer-header-banner {
  background: #000000;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 24px 22px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.refer-header-banner h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: #FFFFFF;
  line-height: 1.1;
}

/* User Position & Stats Card */
.refer-position-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.pos-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pos-left {
  display: flex;
  flex-direction: column;
}
.pos-label {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pos-number {
  font-family: var(--ff-mono);
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 4px;
  letter-spacing: -0.03em;
}
.pos-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pos-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF453A, #E02828);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}
.pos-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}
.pos-divider {
  height: 1px;
  background: #F3F4F6;
  margin: 16px 0 14px 0;
}
.pos-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pos-stat-col {
  display: flex;
  flex-direction: column;
}
.pos-stat-col.left {
  text-align: left;
  min-width: 80px;
}
.pos-stat-col.right {
  text-align: right;
  min-width: 130px;
}
.pos-stat-val {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.pos-stat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 2px;
}
.pos-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
}

/* Big Primary Invite Button */
.btn-invite-main {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 14px;
  margin-bottom: 22px;
  background: var(--ink);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn-invite-main:hover {
  background: #111827;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.btn-invite-main:active {
  transform: translateY(1px);
}

/* Action Section Heading (Bold and slightly bigger) */
.action-section-heading {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-family: var(--ff-mono);
}

/* Invite List Group (iOS-like clean card rows) */
.invite-list-group {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  margin-bottom: 22px;
}
.invite-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #F3F4F6;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
  background: #FFFFFF;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  text-align: left;
}
.invite-list-item:last-child {
  border-bottom: none;
}
.invite-list-item:hover {
  background: #F9FAFB;
}
.invite-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.invite-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.invite-icon-badge.link {
  background: #000000;
  color: #FFFFFF;
}
.invite-icon-badge.whatsapp {
  background: #25D366;
  color: #FFFFFF;
}
.invite-icon-badge.sms {
  background: #2563EB;
  color: #FFFFFF;
}
.invite-icon-badge.more {
  background: #A855F7;
  color: #FFFFFF;
}
.invite-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
}
.btn-item-copy {
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.btn-item-copy:active {
  transform: scale(0.96);
}
.invite-item-chevron {
  color: #9CA3AF;
  display: flex;
  align-items: center;
}

/* Share QR Code Card */
.qr-share-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.qr-code-box {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qr-code-box img, .qr-code-box canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.qr-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  flex: 1;
}
.btn-download-qr {
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.btn-download-qr:hover {
  opacity: 0.9;
}
.btn-download-qr:active {
  transform: scale(0.97);
}

/* ============ APP PILLARS: WHAT THE APP DOES ============ */
.app-pillars-section{
  padding: 16px 0 64px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--line);
}
.app-pillars-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.pillar-card{
  padding: 38px 26px;
  text-align: center;
  position: relative;
  transition: all .25s ease;
  background: #FFFFFF;
}
.pillar-card:not(:last-child){
  border-right: 1.5px solid var(--line);
}
.pillar-card:hover{
  background: var(--bg-box);
  transform: translateY(-2px);
}
.pillar-icon{
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--bg-box);
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease;
}
.pillar-card:hover .pillar-icon{
  transform: scale(1.06);
  background: #FFFFFF;
}
.pillar-card h4{
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pillar-card p{
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.52;
  margin: 0 auto;
}

@media(max-width: 960px){
  .app-pillars-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-card:nth-child(1), .pillar-card:nth-child(2){
    border-bottom: 1.5px solid var(--line);
  }
  .pillar-card:nth-child(2){
    border-right: none;
  }
  .pillar-card:nth-child(4){
    border-right: none;
  }
}
@media(max-width: 580px){
  .app-pillars-section{
    padding: 32px 0 40px;
  }
  .app-pillars-grid{
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }
  .pillar-card{
    padding: 24px 18px;
    border-right: none !important;
    border-bottom: 1.5px solid var(--line);
  }
  .pillar-card:last-child{
    border-bottom: none;
  }
}

/* ============ HOW IT WORKS / 8-STEP STORY ============ */
.section{padding:80px 0; background:var(--bg-page); scroll-margin-top:60px;}
@media(max-width:768px){ .section{padding:50px 0;} }
.section-head{max-width:680px; margin-bottom:44px;}
@media(max-width:768px){ .section-head{margin-bottom:32px;} }
.section-head .eyebrow{margin-bottom:12px;}
.section-head h2{font-size:clamp(28px,3.8vw,44px); margin-bottom:12px;}
.section-head p{font-size:15px; max-width:540px;}

/* Desktop Story Grid */
.story-grid{display:grid; grid-template-columns:28px 1fr 320px; gap:36px; position:relative;}
.story-path{position:relative;}
.story-path svg{position:sticky; top:120px; width:28px; height:calc(100vh - 200px); display:block;}
#routePath{fill:none; stroke:var(--line); stroke-width:2;}
#routeProgress{fill:none; stroke:var(--ink); stroke-width:2.5; stroke-linecap:round;}
.route-pin{
  position:absolute; left:50%; width:20px; height:20px; margin-left:-10px; top:0;
  background:var(--ink); border-radius:50% 50% 50% 0; transform:translateY(-50%) rotate(45deg);
  box-shadow:0 3px 10px rgba(0,0,0,.25); transition:top .1s linear; z-index:3;
}
.route-pin::after{content:''; position:absolute; inset:5px; background:#fff; border-radius:50%;}

.story-steps{display:flex; flex-direction:column; gap:14vh; padding:4vh 0;}
.step{max-width:480px; opacity:.35; transform:translateY(16px); transition:opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);}
.step.is-active{opacity:1; transform:translateY(0);}
.step-num{font-family:var(--ff-mono); font-size:12px; color:var(--ink); font-weight:700; letter-spacing:.06em; display:block; margin-bottom:10px;}
.step h3{font-size:24px; margin-bottom:10px;}
.step p{font-size:14.5px;}
.step .tag{
  display:inline-block; margin-top:12px; font-family:var(--ff-mono); font-size:11px; letter-spacing:.04em;
  background:var(--bg-box); color:var(--ink); padding:4px 10px; border-radius:100px; font-weight:700; border:1px solid var(--line);
}

/* Phone Mockup Stage */
.story-phone-wrap{position:relative;}
.story-phone-wrap .sticky-inner{position:sticky; top:110px;}
.story-phone-stage{
  width:290px; height:580px; background:#16181B; border-radius:44px;
  padding:10px; box-shadow:var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1) inset; margin:0 auto;
  position:relative;
}
.story-phone-stage::before{
  content:''; position:absolute; top:4px; left:50%; transform:translateX(-50%); width:48px; height:3.5px;
  background:rgba(255,255,255,.2); border-radius:10px; z-index:5;
}
.story-phone-screen{
  position:relative; width:100%; height:100%; background:#000000; border-radius:34px; overflow:hidden;
}
.hscreen{
  position:absolute; inset:0; padding:0; display:flex; flex-direction:column;
  opacity:0; transform:translateY(10px) scale(.98); transition:opacity .38s ease, transform .38s cubic-bezier(.2,.8,.2,1);
  pointer-events:none; background:#000000; border-radius:34px; overflow:hidden;
}
.hscreen.active{opacity:1; transform:translateY(0) scale(1); pointer-events:auto;}
.hscreen-full-img{
  width:100%; height:100%; object-fit:cover; object-position:top center; display:block; border-radius:34px;
}
.mini-logo{font-family:var(--ff-display); font-weight:800; font-size:15px; display:flex; align-items:center; gap:6px; margin-bottom:16px; color:var(--ink);}
.mini-logo .d{width:6px; height:6px; border-radius:50%; background:var(--ink);}
.hscreen.dark{background:var(--ink); color:#fff;}
.hscreen.dark .mini-logo{color:#fff;}
.hscreen.dark .mini-logo .d{background:#fff;}
.hscreen h4{font-family:var(--ff-display); font-size:19px; line-height:1.15; margin-bottom:8px; color:inherit;}
.hscreen p{font-size:12px; color:var(--ink-soft); margin-bottom:14px;}
.hscreen.dark p{color:#9CA3AF;}
.mini-input{background:#FFFFFF; border:1px solid var(--line); border-radius:100px; padding:8px 12px; font-size:11.5px; color:var(--ink); margin-bottom:6px;}
.hscreen.dark .mini-input{background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.2); color:#FFFFFF;}
.mini-btn{background:var(--btn-black); color:#fff; font-weight:700; font-size:12px; text-align:center; padding:10px; border-radius:100px; margin-top:auto;}
.hscreen.dark .mini-btn{background:#FFFFFF; color:var(--ink);}
.mini-badge{background:#FFFFFF; border:1px solid var(--line); border-radius:14px; padding:14px; text-align:center; margin-top:auto;}
.mini-badge .num{font-family:var(--ff-mono); font-size:24px; font-weight:700; color:var(--ink);}
.mini-badge .up{color:var(--ink-soft); font-size:11px; font-family:var(--ff-mono); font-weight:600;}
.mini-link{display:flex; align-items:center; justify-content:space-between; background:#FFFFFF; border:1px solid var(--line); border-radius:100px; padding:8px 12px; font-family:var(--ff-mono); font-size:10px; color:var(--ink); margin-bottom:12px;}
.mini-checklist{display:flex; flex-direction:column; gap:8px; margin-top:auto;}
.mini-checklist div{display:flex; align-items:center; gap:7px; font-size:11.5px; color:var(--ink-soft);}
.mini-checklist div::before{content:'✓'; width:15px; height:15px; border-radius:50%; background:var(--ink); color:#fff; font-size:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:700;}

/* Mobile Story Navigator */
.mobile-story-controls{display:none;}
@media(max-width:980px){
  .story-grid{grid-template-columns:1fr; gap:0;}
  .story-path{display:none;}
  
  .mobile-story-controls{
    display:flex; flex-direction:column; gap:16px; margin-bottom:24px;
  }
  .mobile-step-pills{
    display:flex; gap:6px; overflow-x:auto; padding-bottom:6px; -webkit-overflow-scrolling:touch;
  }
  .m-pill{
    padding:6px 12px; border-radius:100px; background:var(--bg-box); border:1px solid var(--line);
    font-family:var(--ff-mono); font-size:11px; font-weight:700; white-space:nowrap; color:var(--ink-soft);
    cursor:pointer; transition:all .2s;
  }
  .m-pill.active{background:var(--btn-black); color:#fff; border-color:var(--btn-black);}

  .story-phone-wrap{order:1; margin-top:20px; margin-bottom:24px;}
  .story-phone-wrap .sticky-inner{position:static;}
  .story-phone-stage{width:260px; height:520px;}
  
  .story-steps{display:none;}
  .mobile-active-step-card{
    display:block; background:var(--bg-box); border-radius:var(--radius-md); padding:20px;
    border:1px solid var(--line); box-shadow:var(--shadow-xs); margin-bottom:16px;
  }
  .mobile-active-step-card h3{font-size:20px; margin-bottom:6px;}
  .mobile-active-step-card p{font-size:13.5px;}
  
  .mobile-nav-buttons{
    display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:14px;
  }
}

/* ============ VERTICAL FEATURE DETAIL SECTIONS ============ */
.feature-sections{
  padding:30px 0 60px;
  background:var(--bg-page);
}
.feature-section-row{
  display:grid;
  grid-template-columns:1fr 1.08fr;
  gap:64px;
  align-items:center;
  padding:56px 0;
}
.feature-section-row:last-child{
  padding-bottom:10px;
}
.feature-section-row.is-reversed{
  grid-template-columns:1.08fr 1fr;
}
.feature-section-row.is-reversed .feature-section-content{
  order:2;
}
.feature-section-row.is-reversed .feature-section-media{
  order:1;
}
.feature-section-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.section-tag{
  font-family:var(--ff-mono);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin-bottom:12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.section-tag::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--ink);
}
.feature-section-title{
  font-family:var(--ff-display);
  font-size:clamp(28px, 3.2vw, 42px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-0.03em;
  color:var(--ink);
  margin-bottom:14px;
}
.feature-section-desc{
  font-size:clamp(16px, 1.3vw, 18px);
  line-height:1.6;
  color:var(--ink-soft);
  max-width:480px;
  margin:0;
}
.feature-section-desc p{
  margin:0 0 10px 0;
}
.feature-section-desc p:last-child{
  margin-bottom:0;
}
.feature-section-desc strong{
  color:var(--ink);
  font-weight:700;
}
.feature-subhead-mobile-br{
  display:none;
}
.feature-section-media{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background:var(--bg-box);
  border:none !important;
  box-shadow:0 12px 36px rgba(0,0,0,0.04);
  transition:transform .3s ease, box-shadow .3s ease;
}
.feature-section-media:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 44px rgba(0,0,0,0.08);
}
.feature-section-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  border-radius:24px;
}

/* ============ REWARDS LADDER ============ */
.rewards-track{background:var(--bg-box); border:1.5px solid var(--line); border-radius:var(--radius-lg); padding:36px 28px; box-shadow:var(--shadow-xs);}
@media(max-width:480px){ .rewards-track{padding:24px 16px; border-radius:var(--radius-md);} }
.progress-shell{height:8px; background:#FFFFFF; border:1px solid var(--line); border-radius:100px; margin-bottom:32px; position:relative; overflow:hidden;}
.progress-fill{position:absolute; inset:0; width:3%; background:var(--btn-black); border-radius:100px; transition:width 1s cubic-bezier(.2,.8,.2,1);}
.tiers{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:16px;
  width:100%;
}
.tier{
  text-align:center;
  position:relative;
  background:#FFFFFF;
  border:1.5px solid var(--line);
  border-radius:var(--radius-md);
  padding:24px 14px 20px;
  transition:all .25s ease;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:100%;
  box-sizing:border-box;
}
.tier:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  border-color:var(--ink);
}
.tier .badge-seal{
  width:72px;
  height:72px;
  margin:0 auto 14px auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  transition:transform .25s cubic-bezier(.2,.8,.2,1);
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}
.tier:hover .badge-seal{
  transform:scale(1.1) rotate(2deg);
}
.tier .badge-seal img{
  width:72px;
  height:72px;
  display:block;
  margin:0 auto;
}
.tier.unlocked{
  border-color:var(--ink);
  background:#FFFFFF;
  box-shadow:0 8px 24px rgba(22,24,27,.08);
}
.tier.unlocked .badge-seal{
  transform:scale(1.06);
  filter:drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.tier .n{
  font-family:var(--ff-mono);
  font-size:11px;
  font-weight:700;
  color:var(--ink-soft);
  margin-bottom:6px;
  letter-spacing:0.04em;
  text-transform:uppercase;
  text-align:center;
  width:100%;
}
.tier.unlocked .n{color:var(--ink); font-weight:800;}
.tier h4{
  font-size:14.5px;
  font-weight:800;
  margin:0;
  letter-spacing:-.01em;
  color:var(--ink);
  text-align:center;
  width:100%;
}

@media(max-width:880px){
  .tiers{
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
  }
  .tier{
    padding:22px 14px 18px;
    align-items:center !important;
    text-align:center !important;
  }
  .tier:last-child{
    grid-column: span 2;
    max-width: 320px;
    margin: 0 auto;
  }
}
@media(max-width:540px){
  .tiers{
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
  }
  .tier{
    padding:18px 10px 16px;
    align-items:center !important;
    text-align:center !important;
  }
  .tier .badge-seal{
    width:64px;
    height:64px;
    margin:0 auto 10px auto !important;
  }
  .tier .badge-seal img{
    width:64px;
    height:64px;
  }
  .tier:last-child{
    grid-column: span 2;
    max-width: 280px;
    margin: 0 auto;
  }
  .tier h4{
    font-size:13.5px;
  }
}

/* Benefits Grid */
.benefit-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:40px;}
.benefit{padding:22px 18px; border-radius:var(--radius-md); background:var(--bg-box); border:1px solid var(--line);
  transition:transform .2s ease, border-color .2s ease;}
.benefit:hover{transform:translateY(-3px); border-color:var(--line-strong);}
.benefit .ic{width:38px; height:38px; border-radius:10px; background:#FFFFFF; color:var(--ink); display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:12px; border:1px solid var(--line);}
.benefit h4{font-size:15px; margin-bottom:4px;}
.benefit p{font-size:12.5px;}

@media(max-width:820px){
  .benefit-strip{grid-template-columns:repeat(2,1fr); gap:12px;}
}
@media(max-width:480px){
  .benefit-strip{grid-template-columns:1fr;}
}

/* ============ RETURNING USER MODAL ============ */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.5); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  z-index:2000; display:none; align-items:center; justify-content:center; padding:16px;
}
.modal-backdrop.active{display:flex; animation:fadeIn .25s ease-out;}
.modal-card{
  background:#FFFFFF; border-radius:var(--radius-lg); max-width:420px; width:100%;
  padding:28px 24px; position:relative; box-shadow:var(--shadow-lg); border:1px solid var(--line);
}
@media(max-width:860px){
  .modal-backdrop{align-items:flex-end; padding:0;}
  .modal-card{
    border-radius:26px 26px 0 0; padding:24px 20px max(34px, env(safe-area-inset-bottom, 34px)); max-width:100%; width:100%; margin:0; border:none;
    animation:slideUp .3s cubic-bezier(.2,.8,.2,1);
  }
  .modal-card::before{
    content:''; position:absolute; top:8px; left:50%; transform:translateX(-50%);
    width:36px; height:4px; border-radius:100px; background:var(--line);
  }
}
@keyframes slideUp{from{transform:translateY(100%);} to{transform:translateY(0);}}
.modal-close{position:absolute; top:14px; right:14px; font-size:20px; color:var(--ink-soft); cursor:pointer; padding:6px;}

/* ============ TOAST NOTIFICATION ============ */
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%); z-index:3000;
  background:var(--ink); color:#fff; padding:10px 18px; border-radius:100px; font-size:12.5px;
  font-weight:600; font-family:var(--ff-mono); box-shadow:var(--shadow-lg); display:none;
  align-items:center; gap:6px; border:1px solid rgba(255,255,255,.2); white-space:nowrap; max-width:90vw;
}
.toast.show{display:flex; animation:toastIn .3s ease-out;}
@keyframes toastIn{from{opacity:0; transform:translate(-50%, 15px);} to{opacity:1; transform:translate(-50%, 0);}}

/* ============ FOOTER ============ */
footer{border-top:1px solid var(--line); padding:32px 0 40px; background:var(--bg-page); text-align:center;}
footer .wrap{display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px;}
footer .fnote{font-size:12.5px; color:var(--ink-soft); text-align:center;}
footer .flinks{display:flex; gap:18px;}
footer .flinks a{font-size:12.5px; color:var(--ink-soft);}
footer .flinks a:hover{color:var(--ink);}

/* ============ RESPONSIVE HERO & MOBILE WAITLIST DRAWER SHEET ============ */
@media(max-width:860px){
  .hero{
    padding:max(32px, calc(env(safe-area-inset-top, 0px) + 24px)) 0 44px;
  }
  .hero-grid{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
  }
  .hero-left{
    display:contents;
  }
  .referred-banner{
    order:1;
    margin-bottom:12px;
    text-align:center;
    width:100%;
    max-width:440px;
  }
  .hero-main-title{
    order:2;
    font-size:clamp(26px, 7vw, 34px);
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.025em;
    margin-bottom:8px;
    text-align:center;
  }
  .hero-subhead{
    order:3;
    font-size:16px;
    font-weight:500;
    color:#374151;
    margin-bottom:8px;
    letter-spacing:-0.015em;
    text-align:center;
  }
  .hero-desc{
    order:4;
    font-size:14.5px;
    font-weight:450;
    color:#4B5563;
    line-height:1.45;
    margin-bottom:14px;
    text-align:center;
    max-width:440px;
  }
  .hero-coming-soon{
    display:none;
  }
  .hero-visual-col{
    order:5;
    width:100%;
    max-width:380px;
    margin:0 auto 4px;
  }
  .hero-btn-group{
    order:6;
    display:flex;
    justify-content:center;
    align-items:center;
    width:auto;
    max-width:none;
    margin:14px auto 0;
  }
  .btn-hero-join, .btn-hero-partner{
    width:auto;
    justify-content:center;
    padding:9.5px 18px;
    font-size:12.5px;
    font-weight:600;
    border-radius:100px;
    line-height:1.2;
    box-shadow:0 3px 10px rgba(0,0,0,0.12);
  }

  /* Mobile Waitlist Form Bottom Sheet */
  .hero-sheet-wrapper, #waitlistSheetWrapper{
    align-items:flex-end !important;
    justify-content:center !important;
    padding:0 !important;
  }
  .hero-sheet-wrapper .app-card-container, #waitlistSheetWrapper .app-card-container{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    background:#FFFFFF !important;
    border-radius:26px 26px 0 0 !important;
    box-shadow:0 -12px 48px rgba(0,0,0,0.25) !important;
    border:none !important;
    max-height:88vh !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    transform:translateY(100%) !important;
    transition:transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding:0 !important;
  }
  .hero-sheet-wrapper.sheet-open .app-card-container, #waitlistSheetWrapper.sheet-open .app-card-container{
    transform:translateY(0) !important;
  }
  .sheet-top-bar{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:relative !important;
    padding:12px 18px 6px !important;
    background:#FFFFFF !important;
    border-radius:26px 26px 0 0 !important;
    border-bottom:1px solid rgba(0,0,0,0.04) !important;
  }
  .sheet-drag-handle{
    width:40px !important;
    height:5px !important;
    background:#D1D5DB !important;
    border-radius:9999px !important;
    display:block !important;
    margin:0 auto !important;
  }
  .sheet-close-btn{
    position:absolute !important;
    right:16px !important;
    top:10px !important;
    width:32px !important;
    height:32px !important;
    border-radius:50% !important;
    border:none !important;
    background:#F3F4F6 !important;
    color:#4B5563 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    cursor:pointer !important;
    transition:background 0.2s, color 0.2s !important;
    -webkit-tap-highlight-color:transparent !important;
  }
  .sheet-close-btn:hover{
    background:#E5E7EB !important;
    color:#111827 !important;
  }
  .hero-sheet-wrapper .app-card, #waitlistSheetWrapper .app-card{
    border:none !important;
    box-shadow:none !important;
    border-radius:0 !important;
    background:#FFFFFF !important;
    padding:14px 22px max(30px, env(safe-area-inset-bottom, 30px)) !important;
  }

  /* Feature Sections Mobile Layout: Text up and image below */
  .feature-sections{
    padding:30px 0 50px;
  }
  .feature-section-row{
    grid-template-columns:1fr !important;
    gap:22px;
    padding:40px 0;
  }
  .feature-section-content{
    order:1 !important;
    text-align:center;
    align-items:center;
  }
  .feature-subhead-mobile-br{
    display:block;
  }
  .feature-section-media{
    order:2 !important;
    border-radius:18px;
    max-width:540px;
    margin:0 auto;
    width:100%;
    border:none !important;
  }
  .feature-section-img{
    border-radius:18px;
  }
  .feature-section-title{
    font-size:clamp(23px, 6.2vw, 30px);
    margin-bottom:10px;
    text-align:center;
  }
  .feature-section-desc{
    font-size:15.5px;
    line-height:1.55;
    max-width:100%;
    text-align:center;
    margin:0 auto;
  }
  .feature-section-desc p{
    text-align:center;
  }

  /* Section Head Mobile Center Alignment (Features & Founding Rewards) */
  .section-head{
    text-align:center;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .section-head .eyebrow{
    display:inline-flex;
    justify-content:center;
    margin-left:auto;
    margin-right:auto;
  }
  .section-head h2{
    text-align:center;
  }
  .section-head p{
    text-align:center;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


