:root {
  --bg: #0a0814;
  --fg: #f8f7fc;
  --muted: #a8a4b8;
  --brand: #6a0dad;
  --brand-2: #9b5cff;
  --brand-light: #b47dff;
  --tile: #151220;
  --tile-stroke: #2a2640;
  --ok: #33d69f;
  --accent: #ff6b6b;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --glow: rgba(155, 92, 255, 0.15);
  --shadow: rgba(0, 0, 0, 0.3);

  /* layout */
  --container-max: 1440px;
  --section-y: 120px;
  --gap-lg: 80px;
  --gap-xl: 100px;

  /* phone sizing (only tweak this to change mockup size) */
  --phone-max: clamp(150px, 15vw, 250px);
  --phone-aspect: 4 / 3; /* matches appscreenshot-portrait.png */
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:
    radial-gradient(1600px 1000px at 90% -5%, rgba(155, 92, 255, 0.12), transparent 65%),
    radial-gradient(1400px 800px at -5% 10%, rgba(106, 13, 173, 0.15), transparent 60%),
    radial-gradient(1000px 700px at 50% 100%, rgba(255, 107, 107, 0.08), transparent 50%),
    linear-gradient(180deg, #080612 0%, #0a0814 40%, #0a0814 100%);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  padding-top: 100px; /* Account for fixed header */
}

/* =================== HEADER =================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 8, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--tile-stroke);
  padding: 16px 0;
  transition: all 0.3s ease;
}
.header:hover { background: rgba(10, 8, 20, 0.95); border-bottom-color: var(--brand); }

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }

.brand-badge {
  width: 48px; height: 48px; border-radius: 14px; position: relative;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(106, 13, 173, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateZ(0); transition: all .3s ease;
}
.header-logo:hover .brand-badge { transform: scale(1.05); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 12px 32px rgba(106,13,173,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.brand-badge img { width: 70%; height: 70%; object-fit: contain; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }

.brand-name {
  font-weight: 900; letter-spacing: -0.02em; font-size: 28px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: all .3s ease;
}

.header-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 16px; transition: all .2s ease; position: relative; }
.nav-link:hover { color: var(--brand-light); }
.nav-link::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background: linear-gradient(90deg, var(--brand), var(--brand-light)); transition: width .3s ease; }
.nav-link:hover::after { width:100%; }

.btn.secondary {
  background: rgba(255,255,255,.05);
  border: 2px solid var(--tile-stroke);
  color: #e4dcff; backdrop-filter: blur(10px);
  height: 44px; padding: 0 24px; font-size: 16px; font-weight: 700;
}
.btn.secondary:hover { background: rgba(155,92,255,.1); border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(155,92,255,.2); }

/* Mobile header */
@media (max-width: 900px) {
  .header-container { padding: 0 24px; }
  .header-nav { gap: 16px; }
  .nav-link { display: none; }
  .brand-name { font-size: 24px; }
  .brand-badge { width: 40px; height: 40px; }
}

.container { max-width: var(--container-max); margin: 0 auto; padding: 48px; position: relative; }

.hero-glow::before {
  content: ""; position: absolute; inset: -160px -160px auto -160px; height: 420px;
  background: radial-gradient(closest-side, rgba(155,92,255,.28), rgba(155,92,255,0));
  filter: blur(70px); pointer-events: none; z-index: -1;
}

/* =================== HERO SECTION =================== */
.hero { padding: var(--section-y) 0 calc(var(--section-y)/2); display: grid; gap: var(--gap-lg); position: relative; z-index: 1; min-height: 92vh; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap-xl); align-items: center; }
@media (max-width: 1200px){ .hero-grid{ grid-template-columns: 1fr; gap: 40px; text-align: center; min-height: auto; } }

.title { font-size: clamp(56px, 7.2vw, 88px); line-height: 1.05; font-weight: 900; margin: 8px 0 16px; letter-spacing: -0.02em; }
.slogan { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.6; color: #f0ebff; opacity: .95; margin: 0 0 24px; font-weight: 400; }
.text-gradient { background: linear-gradient(135deg, var(--brand-light), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-left { display: grid; gap: 24px; }

/* =================== FORM STYLING =================== */
.waitlist { margin-top: 8px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.waitlist .btn { width: 100%; }
.input-container { flex: 1 1 540px; min-width: 380px; position: relative; }

.input {
  width: 100%; height: 72px; padding: 0 56px 0 22px; border-radius: 20px; border: 2px solid var(--tile-stroke);
  background: rgba(20,18,32,.8); backdrop-filter: blur(10px); color: var(--fg); outline: none; font-size: 18px; font-weight: 500; transition: all .2s ease;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(155,92,255,.15), 0 8px 32px rgba(155,92,255,.2); transform: translateY(-1px); }
.input-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; opacity: .6; pointer-events: none; }

.btn { height: 72px; padding: 0 36px; border: 0; border-radius: 20px; font-weight: 800; letter-spacing: -0.01em; cursor: pointer; font-size: 18px; position: relative; overflow: hidden; transition: all .2s ease; white-space: nowrap; display:flex; align-items:center; gap:10px; justify-content:center; }
.btn.primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 60px rgba(106,13,173,.4); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 28px 70px rgba(106,13,173,.5); }
.btn.primary:active { transform: translateY(0); }
.btn.ghost { background: rgba(255,255,255,.05); border: 2px solid var(--tile-stroke); color: #e4dcff; backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255,255,255,.08); border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(155,92,255,.15); }

.btn-shine { position:absolute; top:0; left:-100%; width:100%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); transition:left .6s ease; }
.btn.primary:hover .btn-shine { left:100%; }
.btn-arrow { font-size: 18px; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(2px); }

.success, .error { display:none; margin-top:14px; font-weight:700; align-items:center; gap:10px; padding:14px 18px; border-radius:14px; }
.success.show, .error.show { display:flex; }
.success { color: var(--ok); background: rgba(51,214,159,.1); border: 1px solid rgba(51,214,159,.2); }
.error { color: var(--accent); background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.2); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip: rect(0,0,0,0); white-space:nowrap; border:0; }

/* =================== BADGES & TRUST =================== */
.welcome-badges { display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.pill { background: rgba(42,35,68,.8); color:#cabdff; padding:12px 18px; border:1px solid rgba(155,92,255,.3); border-radius:999px; font-weight:700; font-size:15px; backdrop-filter: blur(10px); transition: all .2s ease; }
.pill:hover { background: rgba(155,92,255,.2); border-color: var(--brand); transform: translateY(-1px); }
.trust { display:flex; flex-wrap:wrap; gap:14px; margin-top:18px; }
.trust-chip { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border:1px solid var(--tile-stroke); color:#d7cff6; padding:14px 18px; border-radius:16px; font-size:15px; font-weight:700; display:flex; align-items:center; gap:10px; transition: all .2s ease; }
.trust-chip:hover { background: rgba(255,255,255,.1); border-color: var(--brand); transform: translateY(-1px); }
.trust-icon { font-size: 18px; }

/* =================== STATS =================== */
.stats { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:32px; margin-top:28px; }
.stat-card { position:relative; overflow:hidden; border:1px solid var(--tile-stroke); background: radial-gradient(120% 120% at 100% 0%, rgba(155,92,255,.12), transparent 40%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border-radius:24px; padding:28px; display:flex; flex-direction:column; align-items:flex-start; gap:12px; min-height:170px; transition: all .3s ease; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 70px rgba(155,92,255,.25); border-color: var(--brand); }
.stat-icon { font-size:26px; opacity:.85; }
.stat-number { font-size:48px; line-height:1; font-weight:900; white-space:nowrap; }
.stat-label { font-size:14px; color:var(--muted); text-transform:uppercase; letter-spacing:.5px; font-weight:700; }
@media (max-width: 900px){ .stats { grid-template-columns:1fr; } }

/* =================== PHONE MOCKUP (uses single composite image) =================== */
.phone-container { width:100%; justify-self:center; position:relative; display:flex; justify-content:center; align-items:center; }

.phone {
  width: 100%;
  max-width: var(--phone-max);
  aspect-ratio: var(--phone-aspect);
  position: relative;
}

/* neutralize the old frame styling so it doesn't fight the composite image */
.phone-frame {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

/* the composite image itself */
.screen {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  background-image: url('/assets/appscreenshot-portrait.png'); /* <-- your single image */
  background-size: contain;   /* show the whole image, no crop */
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  box-shadow: none;
  z-index: 1;
}

/* no reflection on the composite */
.phone-reflection { display: none; }

/* =================== SECTIONS =================== */
.section { margin: var(--section-y) 0 calc(var(--section-y) / 2); position: relative; }
.section-head { max-width: 1100px; margin-bottom: 48px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #cabdff;
  background: rgba(42, 35, 68, 0.8);
  border: 1px solid rgba(155, 92, 255, 0.3);
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 18px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.eyebrow-icon { font-size: 18px; }

.section h2 {
  font-size: clamp(34px, 4.5vw, 48px);
  margin: 8px 0 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section p { color: #dcd7f0; margin: 0; font-size: 20px; line-height: 1.7; }

/* =================== CARDS =================== */
.cards-3 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: 44px; }

.info-card {
  grid-column: span 4;
  min-height: 260px;
  border-radius: 26px;
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(21, 18, 32, 0.8);
  border: 1px solid var(--tile-stroke);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 40px 100px rgba(155, 92, 255, 0.25); border-color: var(--brand); }

.card-header { position: relative; margin-bottom: 24px; }
.card-glow { position:absolute; top:-10px; left:-10px; right:-10px; bottom:-10px; background: radial-gradient(circle at center, rgba(155,92,255,.1), transparent 60%); opacity:0; transition: opacity .3s ease; border-radius:50%; }
.info-card:hover .card-glow { opacity:1; }
.info-card h3 { margin:0 0 12px; font-size:22px; font-weight:800; color:var(--fg); }
.info-card p { margin:0; color:var(--muted); line-height:1.7; font-size:18px; }
.icon-chip { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; font-size:26px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); border:1px solid rgba(155,92,255,.3); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 12px 40px rgba(155,92,255,.4); position:relative; z-index:1; }
@media (max-width:1100px){ .info-card{ grid-column: span 6; } }
@media (max-width:700px){ .info-card{ grid-column: span 12; } }

/* =================== BENEFITS =================== */
.benefit-container { margin-top:36px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)), rgba(21,18,32,.6); border:1px solid var(--tile-stroke); border-radius:26px; padding:48px; backdrop-filter: blur(10px); }
.benefit-list { margin:0; padding:0; list-style:none; display:grid; gap:26px; }
.benefit-list li { display:flex; align-items:flex-start; gap:18px; padding:24px; background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.05); border-radius:18px; transition: all .2s ease; }
.benefit-list li:hover { background: rgba(255,255,255,.06); border-color: var(--brand); transform: translateX(8px); }
.check { display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center; border-radius:8px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); font-weight:900; font-size:18px; flex-shrink:0; box-shadow: 0 4px 12px rgba(155,92,255,.3); }
.benefit-content { display:flex; flex-direction:column; gap:6px; }
.benefit-content strong { font-size:20px; font-weight:800; color:var(--fg); }
.benefit-desc { color:var(--muted); font-size:17px; }

/* =================== HOW IT WORKS =================== */
.steps-grid { display:grid; grid-template-columns: repeat(12,1fr); gap:32px; margin-top:44px; position:relative; }
.step-card { grid-column: span 4; border:1px solid var(--tile-stroke); border-radius:26px; padding:40px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)), rgba(21,18,32,.8); backdrop-filter: blur(10px); transition: all .3s ease; position:relative; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 24px 70px rgba(155,92,255,.2); border-color: var(--brand); }
.step-header { display:flex; align-items:center; margin-bottom:22px; position:relative; }
.step-num { width:48px; height:48px; border-radius:14px; display:grid; place-items:center; font-weight:900; font-size:20px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 10px 28px rgba(155,92,255,.4); position:relative; z-index:2; }
.step-connector { position:absolute; left:48px; top:50%; width: calc(100vw/3 - 80px); height:2px; background: linear-gradient(90deg, var(--brand), transparent); opacity:.3; z-index:1; }
.step-card:last-child .step-connector { display:none; }
.step-card h3 { margin:0 0 12px; font-size:22px; font-weight:800; }
.step-card p { margin:0; color:var(--muted); line-height:1.7; font-size:18px; }
@media (max-width:1100px){ .step-card{ grid-column: span 6; } .step-connector{ display:none; } }
@media (max-width:700px){ .step-card{ grid-column: span 12; } }

/* =================== SAFETY CARDS =================== */
.safety-card { background: linear-gradient(180deg, rgba(51,214,159,.05), rgba(51,214,159,.02)), rgba(21,18,32,.8); border-color: rgba(51,214,159,.2); }
.safety-card:hover { border-color: var(--ok); box-shadow: 0 40px 100px rgba(51,214,159,.15); }
.safety-card p { color:#d8d3ee; }

/* =================== HOSTS SECTION =================== */
.host-cta { margin-top:36px; border:2px dashed rgba(155,92,255,.3); border-radius:26px; padding:40px; background: radial-gradient(circle at center, rgba(155,92,255,.05), transparent 70%), rgba(21,18,32,.6); backdrop-filter: blur(10px); transition: all .3s ease; }
.host-cta:hover { border-color: var(--brand); background: radial-gradient(circle at center, rgba(155,92,255,.08), transparent 70%), rgba(21,18,32,.8); }
.host-content { display:flex; gap:36px; align-items:center; flex-wrap:wrap; }
.host-points { display:flex; gap:18px; flex-wrap:wrap; flex:1; }
.host-point { background: rgba(42,35,68,.8); border:1px solid rgba(155,92,255,.3); color:#cabdff; padding:12px 16px; border-radius:999px; font-weight:700; font-size:14px; display:flex; align-items:center; gap:8px; backdrop-filter: blur(10px); transition: all .2s ease; }
.host-point:hover { background: rgba(155,92,255,.2); border-color: var(--brand); transform: translateY(-1px); }

/* =================== FAQ =================== */
.faq-container { margin-top:36px; display:grid; gap:18px; }
.faq-item { border:1px solid var(--tile-stroke); border-radius:22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), rgba(21,18,32,.8); backdrop-filter: blur(10px); overflow:hidden; transition: all .3s ease; }
.faq-item:hover { border-color: var(--brand); box-shadow: 0 8px 32px rgba(155,92,255,.15); }
.faq-item[open] { border-color: var(--brand); box-shadow: 0 12px 40px rgba(155,92,255,.2); }
.faq-item summary { cursor:pointer; font-weight:800; font-size:20px; padding:26px 34px; display:flex; align-items:center; justify-content:space-between; transition: all .2s ease; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary:hover { background: rgba(255,255,255,.03); }
.faq-icon { font-size:26px; font-weight:300; color: var(--brand); transition: transform .3s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-content { padding: 0 34px 26px; border-top:1px solid rgba(255,255,255,.05); }
.faq-content p { margin:16px 0 0; color:#dcd7f0; line-height:1.7; font-size:18px; }

/* =================== FINAL CTA =================== */
.final-cta { text-align:center; margin: var(--section-y) 0 calc(var(--section-y)/2); padding:80px 60px; background: radial-gradient(circle at center, rgba(155,92,255,.1), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)), rgba(21,18,32,.6); border:1px solid var(--tile-stroke); border-radius:36px; backdrop-filter: blur(10px); }
.cta-content h2 { margin-bottom:18px; font-size: clamp(36px, 4.5vw, 52px); }
.cta-content p { margin-bottom:36px; font-size:22px; color:#e4dcff; }
.cta-inline { display:flex; gap:18px; flex-wrap:wrap; justify-content:center; }

/* =================== FOOTER =================== */
footer { margin: var(--section-y) 0 40px; padding:32px 0; border-top:1px solid var(--tile-stroke); }
.footer-content { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; color:var(--muted); font-size:14px; }
.footer-right { display:flex; gap:26px; }
.link { color:#cabdff; text-decoration:none; font-weight:600; transition: all .2s ease; }
.link:hover { color: var(--brand-light); text-decoration: underline; }

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  body { padding-top: 80px; }
  .container { padding: 24px; }
  .title { font-size: clamp(36px, 8vw, 54px); }
  .slogan { font-size: 18px; }
  .waitlist { gap: 12px; }
  .input-container { min-width: 100%; }
  .btn { width: 100%; }
  .host-content { flex-direction: column; align-items: stretch; gap: 24px; }
  .cta-inline { flex-direction: column; align-items: center; }
  .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .container { padding: 16px; }
  .hero { padding: 60px 0 30px; min-height: auto; }
  .section { margin: 50px 0 25px; }
  .info-card, .step-card { padding: 20px; min-height: auto; }
  .benefit-container { padding: 20px; }
  .final-cta { padding: 30px 20px; }
  .stat-card { padding: 20px; min-height: 120px; }
  .welcome-badges { gap: 8px; }
  .pill { padding: 8px 12px; font-size: 13px; }
  .trust-chip { padding: 10px 14px; font-size: 13px; }
}
/* Add this to the end of your CSS file to target the actual HTML structure */

/* Add this to the end of your CSS file to target the actual HTML structure */

.mockup {
  max-width: 600px !important; /* Back to normal size */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =================== MOBILE RESET (full-width + centered) =================== */
@media (max-width: 900px) {
  /* 1) Make every tile grid a single column */
  .cards-3,
  .steps-grid,
  .stats {
    grid-template-columns: 1fr !important;
  }

  /* 2) Ensure each card spans the full row width */
  .cards-3 > *,
  .steps-grid > *,
  .stats > * {
    grid-column: 1 / -1 !important;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  /* 3) Center content inside the tiles */
  .info-card,
  .step-card,
  .stat-card {
    text-align: center;
    align-items: center;
  }

  /* Center the little header rows/icons in those cards */
  .info-card .card-header,
  .step-card .step-header {
    display: flex;
    justify-content: center;
  }
  .icon-chip,
  .stat-icon,
  .step-num {
    margin-inline: auto;
  }
}
/* =================== MOBILE: center badge & trust icons =================== */
@media (max-width: 900px) {
  /* Center the rows themselves */
  .welcome-badges,
  .trust {
    justify-content: center;
    width: 100%;
  }

  /* Center the content inside each chip */
  .pill,
  .trust-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;  /* centers icon + text as a block */
    gap: 10px;
    text-align: center;
    line-height: 1.25;
  }

  /* Make the little icon inside trust chips optically centered */
  .trust-icon {
    display: inline-grid;
    place-items: center;
    width: 1.25em;
    height: 1.25em;
    line-height: 1;           /* avoid baseline sag */
  }
}
/* === Header logo: bigger + no purple tile === */
.header-logo .brand-badge{
  width: 72px;          /* was 48px */
  height: 72px;         /* was 48px */
  background: transparent !important;  /* remove gradient tile */
  box-shadow: none !important;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.header-logo .brand-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); /* subtle depth */
}

/* remove the hover glow/scale on the old tile */
.header-logo:hover .brand-badge{
  transform: none !important;
  box-shadow: none !important;
}

/* keep it proportionate on mobile */
@media (max-width: 900px){
  .header-logo .brand-badge{ width: 56px; height: 56px; }
  .brand-name{ font-size: 26px; } /* optional: keep text balanced */
}

/* ======= FINAL TIDY FIXES ======= */

/* Columns: never let contents force overflow */
.col-6 { min-width: 0; }

/* Desktop: left-side row = input (fluid) + button (fixed) */
@media (min-width: 901px) {
  .grid { align-items: start; }

  /* Only the row with the referral input */
  .card .section .row:has(#refLink) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 14px;
    align-items: center;
  }

  /* Make sure the input can actually shrink within the grid */
  #refLink { min-width: 0; width: 100%; }

  /* Match heights & give the button real presence */
  #refLink, #copyBtn { height: 56px; }
  #copyBtn { font-size: 15px; }
  
  /* Keep share buttons on one line on desktop */
  .button-group { flex-wrap: nowrap; }
}

/* Input visualization (solid glass look) */
#refLink {
  padding-inline: 16px;
  border-radius: 14px;
  border: 1px solid rgba(203, 194, 247, .18);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

/* Share buttons: consistent sizing and borders */
.button-group .btn { min-width: 120px; }
.button-group .btn.ghost { border-color: rgba(203,194,247,.25); }

/* Progress: centered, shorter track */
.progress { max-width: 280px; margin: 10px auto 0; }
.progress::before { left: 26px; right: 26px; }

/* Bottom card row: space the controls logically */
.card .row + .small { margin-top: 14px; }
.card .row .btn.ghost { padding-inline: 16px; }
#emailTag { margin-left: auto; }      /* pushes pill to the right on desktop */
@media (max-width: 900px) { #emailTag { margin-left: 0; } }

/* Slightly chunkier feel across controls for a tougher look */
.input, .btn, .card { border-radius: 18px; }
.card { padding: 28px; }
.label { margin-bottom: 6px; }

/* Lock horizontal scroll, allow vertical scroll */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;   /* blocks horizontal rubber-banding (Chrome/Edge) */
  touch-action: pan-y;           /* tell browsers the intent is vertical only */
}

/* Prevent media from causing overflow */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common wrappers — ensure nothing exceeds the viewport */
.container, .wrap, .page, main, header, footer, section {
  max-width: 100%;
  overflow-x: hidden;
}
/* Lock horizontal scroll + make iOS overscroll the same dark color */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;        /* prevent sideways scroll */
  background-color: #0a0814; /* your site bg so overscroll isn't white */
  touch-action: pan-y;       /* hint: vertical only */
}

/* Common culprits that cause tiny overflow on mobile */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Make sure main wrappers never exceed the viewport */
.header, .header-container, .container, .hero-glow, .hero-grid, main, section, footer {
  max-width: 100%;
  overflow-x: hidden;  /* clip any offscreen glows/shadows/transforms */
}

/* If any element uses 100vw, make it 100% to avoid scrollbar width issues */
[class*="full"], [class*="wrap"], [class*="wide"] {
  width: 100%;
  max-width: 100%;
}

/* === Mobile: add gap under fixed header for hero title === */
@media (max-width: 900px) {
  .hero {
    padding-top: 100px;                  /* was 60px */
    padding-top: calc(100px + env(safe-area-inset-top)); /* iOS notch */
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 112px;                  
    padding-top: calc(112px + env(safe-area-inset-top)); /* iOS notch */
  }
}

/* Optional: make anchor jumps not hide under the fixed header */
:target { scroll-margin-top: 120px; }

