:root{
  --text:#0f172a;
  --muted:#52607a;
  --card:rgba(255,255,255,.78);
  --card2:rgba(255,255,255,.62);
  --shadow:0 22px 60px rgba(10,16,30,.18);
  --shadow2:0 14px 40px rgba(10,16,30,.14);
  --primary:#4f46e5;
  --primary2:#7c3aed;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#f7f8fc;
  overflow-x:hidden;
}

html{
  background:#f6f7ff; /* fallback */
}

body{
  background: linear-gradient(180deg,#f9fbff, #f6f7ff 40%, #f8f6ff); /* match your .bg */
}

/* iOS safe-area padding so content never starts under the notch */
.hero{
  padding-top: calc(46px + env(safe-area-inset-top));
}

a{color:inherit}
.page{position:relative; z-index:2}

/* Background */
.bg{
  position:fixed; inset:0;
  z-index:0;
  background-color:#f6f7ff; /* fallback */
  background:
    radial-gradient(1200px 900px at 15% 10%, rgba(79,70,229,.16), transparent 55%),
    radial-gradient(1000px 800px at 85% 20%, rgba(124,58,237,.16), transparent 55%),
    radial-gradient(1200px 900px at 55% 85%, rgba(56,189,248,.12), transparent 60%),
    linear-gradient(180deg,#f9fbff, #f6f7ff 40%, #f8f6ff);
}

.orb{
  position:absolute;
  width:520px; height:520px;
  border-radius:50%;
  filter: blur(22px);
  opacity:.55;
  animation: float 12s ease-in-out infinite;
}
.orbA{left:-140px; top:-120px; background: radial-gradient(circle at 30% 30%, rgba(79,70,229,.45), transparent 60%);}
.orbB{right:-170px; top:60px; background: radial-gradient(circle at 40% 40%, rgba(124,58,237,.45), transparent 60%); animation-delay:-3s;}
.orbC{left:30%; bottom:-220px; background: radial-gradient(circle at 40% 40%, rgba(56,189,248,.40), transparent 60%); animation-delay:-6s;}

@keyframes float{
  0%,100%{transform: translateY(0) translateX(0) scale(1)}
  50%{transform: translateY(-22px) translateX(10px) scale(1.03)}
}

.grain{
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity:.12;
  mix-blend-mode:soft-light;
}

/* Layout */
.wrap{max-width:1100px; margin:0 auto; padding:0 20px;}
.section{padding:84px 0;}
.section.soft{padding:84px 0; background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.35)); border-top:1px solid rgba(0,0,0,.04); border-bottom:1px solid rgba(0,0,0,.04);}
.sectionHead{max-width:760px; margin:0 auto 34px; text-align:center;}
h1,h2,h3{letter-spacing:-.02em}
h2{font-size:34px; margin:0 0 10px;}
h3{font-size:18px; margin:0 0 10px;}
.muted{color:var(--muted)}
.small{font-size:13px}
.hideOnMobile{display:inline}
@media (max-width:720px){ .hideOnMobile{display:none} }

/* Hero */
.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns: 1.15fr .95fr;
  gap:26px;
  align-items:center;
  padding: 46px 20px 46px; /* keep base */
  padding-top: calc(46px + env(safe-area-inset-top)); /* ✅ safe-area wins */
  max-width:1200px;
  margin:0 auto;
}
.heroCentered .heroInner{padding-top:10px}
.heroTopLogo{
  grid-column:1 / -1;
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:6px;
}
.heroLogo{
  width:min(520px, 78vw);
  height:auto;
  object-fit:contain;
  /* ✅ No white background, no tile */
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
  filter: drop-shadow(0 18px 35px rgba(10,16,30,.14));
}

.headline{
  font-size:46px;
  line-height:1.06;
  margin:10px 0 14px;
}
.center{text-align:center}
.lead{
  font-size:16px;
  color:var(--muted);
  max-width:680px;
  margin:0 0 22px;
}
.centerRow{justify-content:center}

.ctaRow{
  display:flex; gap:12px; flex-wrap:wrap;
  justify-content:flex-start;
  margin:18px 0 18px;
}
.ctaRow.left{justify-content:flex-start}

.btnPrimary{
  display:inline-flex;
  align-items:center; justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:white;
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 16px 40px rgba(79,70,229,.22);
  border:1px solid rgba(255,255,255,.35);
}
.btnPrimary:hover{transform:translateY(-1px)}
.btnGhost{
  display:inline-flex;
  align-items:center; justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.52);
  border:1px solid rgba(0,0,0,.06);
  text-decoration:none;
  font-weight:700;
  color:#22304a;
}
.btnGhost:hover{transform:translateY(-1px)}

.miniRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(10,16,30,.08);
  font-size:13px;
  color:#22304a;
}

/* Right side */
.heroSide{padding:10px 0 0}
.heroSideQr{display:flex; flex-direction:column; gap:14px}

/* QR */
.qrWrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch;
  justify-items:stretch;
}

.qrCard{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:12px;
  box-shadow: 0 14px 36px rgba(10,16,30,.10);
  backdrop-filter: blur(10px);
}

.qrHead{font-weight:700; color:#22304a; margin-bottom:10px}

.qrBox{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  border:1px dashed rgba(0,0,0,.10);
  background:rgba(255,255,255,.55);
  height:160px;
}
.qrPlaceholder{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(79,70,229,.08), rgba(124,58,237,.08)),
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 8px, rgba(0,0,0,0) 8px 16px);
  filter: blur(.2px);
}
.qrOverlay{
  position:absolute; inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.14em;
  color:#22304a;
  background:rgba(255,255,255,.62);
  backdrop-filter: blur(6px);
}

/* Glass card */
.glassCard{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid rgba(255,255,255,.5);
  border-radius:22px;
  box-shadow: var(--shadow2);
  padding:16px 16px 12px;
  backdrop-filter: blur(10px);
}
.glassCard.compact{padding:14px 14px 10px}
.glassTitle{font-weight:800; margin-bottom:10px}
.steps{list-style:none; padding:0; margin:0}
.steps li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
  color:#22304a;
}
.steps li:last-child{border-bottom:none}
.dot{
  width:8px; height:8px; border-radius:50%;
  margin-top:7px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 8px 18px rgba(79,70,229,.22);
}
.glassFooter{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
}
.link{color:var(--primary); text-decoration:none}
.link:hover{text-decoration:underline}
.tinyDisclaimer{
  font-size:12px;
  color:var(--muted);
  padding:0 4px;
}

/* Cards / grids */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.card{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:18px 18px 16px;
  box-shadow: 0 14px 36px rgba(10,16,30,.10);
  backdrop-filter: blur(10px);
}
.card.glow{
  background: radial-gradient(650px 280px at 20% 20%, rgba(79,70,229,.16), transparent 60%),
              rgba(255,255,255,.72);
}
.icon{font-size:26px; margin-bottom:8px}
.bullets{margin:10px 0 0 18px; color:#22304a}
.bullets li{margin:8px 0}

/* Category pills */
.tagGrid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}
.tagPill{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(10,16,30,.08);
  font-weight:600;
  color:#22304a;
}

/* Footer */
.footer{
  padding:34px 0;
  border-top:1px solid rgba(0,0,0,.05);
  background:rgba(255,255,255,.35);
}
.footerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footerBrand{
  display:flex;
  align-items:center;
  gap:10px;
}
.logoSm{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:14px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(0,0,0,.04);
  padding:8px;
}
.logoSm.plain{
  background:transparent;
  border:none;
  padding:0;
  border-radius:0;
  filter: drop-shadow(0 10px 20px rgba(10,16,30,.12));
}

/* --- Fake QR (no empty look) --- */
.qrFake{
  position:absolute;
  inset:14px;
  border-radius:12px;
  background:
    /* finder squares */
    radial-gradient(circle at 22px 22px, rgba(15,23,42,.95) 0 8px, transparent 9px),
    radial-gradient(circle at 22px 22px, rgba(255,255,255,1) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 22px) 22px, rgba(15,23,42,.95) 0 8px, transparent 9px),
    radial-gradient(circle at calc(100% - 22px) 22px, rgba(255,255,255,1) 0 4px, transparent 5px),
    radial-gradient(circle at 22px calc(100% - 22px), rgba(15,23,42,.95) 0 8px, transparent 9px),
    radial-gradient(circle at 22px calc(100% - 22px), rgba(255,255,255,1) 0 4px, transparent 5px),

    /* QR noise blocks */
    repeating-linear-gradient(0deg, rgba(15,23,42,.12) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, rgba(15,23,42,.12) 0 6px, transparent 6px 12px),
    radial-gradient(circle at 55% 55%, rgba(15,23,42,.10), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  opacity:.95;
  filter: contrast(1.05);
}

/* Make overlay feel less "blank sticker" */
.qrOverlay{
  font-size:14px;
  letter-spacing:.18em;
  color:#22304a;
  background:rgba(255,255,255,.70);
}

.footerName{font-weight:800}
.footerLinks a{
  margin-right:16px;
  text-decoration:none;
  color:#22304a;
  font-weight:700;
  font-size:13px;
}
.footerLinks a:hover{text-decoration:underline}

/* Responsive */
@media (max-width:980px){
  .hero{grid-template-columns:1fr}
  .headline{font-size:40px}
}

/* Keep QR side-by-side only when there's space */
@media (max-width:720px){
  .qrWrap{grid-template-columns:1fr;}
}

@media (max-width:620px){
  .headline{font-size:34px}
  .section{padding:70px 0}
  .qrWrap{grid-template-columns:1fr;}
}

@media (max-width:720px){
  .grid2{ grid-template-columns:1fr; }
}

.bullets{
  margin:10px 0 0;
  padding-left:18px;
}
.bullets li{ margin:8px 0; }