/* Base palette */
:root{
  --bg:#0f1221; --card:#151935; --text:#eef1ff; --muted:#b7bce8;
  --accent:#7aa2ff; --accent2:#4de0b0; --logo-h:56px;  /* tweak to resize logo */
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif}
a{color:var(--accent)} a:hover{text-decoration:underline}
.wrap{max-width:960px;margin:0 auto;padding:0 16px}

/* Header */
.site-header{
  border-bottom:1px solid rgba(255,255,255,.07);
  position:sticky;
  top:0;
  backdrop-filter:blur(6px);
  z-index:1000;
}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:inline-flex;align-items:center}
.logo picture,.logo img{display:block;height:var(--logo-h)}
.logo img{width:auto;height:var(--logo-h)}
.nav a{margin-left:16px;color:var(--muted)} .nav a.active,.nav a:hover{color:var(--text)}

/* Hero */
.hero{padding:64px 16px 24px;text-align:center}
h1{font-size:40px;margin:0 0 16px}
.lead{font-size:18px;color:var(--muted);max-width:720px;margin:0 auto 24px}

/* Store badges: equal height + top aligned */
.store-badges{
  display:flex; gap:16px; justify-content:center; align-items:flex-start; flex-wrap:wrap;
  margin:10px 0 28px;
}
.badge-img{display:block; height:64px; width:auto}   /* single height for both */

/* Content sections */
.screenshot{margin:20px auto 0;background:var(--card);border-radius:16px;padding:12px;max-width:760px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:24px 16px 56px}
.feature{background:var(--card);padding:16px;border-radius:16px}
.content{padding:32px 16px 64px}
.embed{background:var(--card);padding:10px;border-radius:12px}
.embed iframe{width:100%;height:70vh;border:none;border-radius:8px}

/* FAQ */
.faq{background:var(--card);border-radius:12px;padding:12px 16px;margin:10px 0}
.faq summary{cursor:pointer;font-weight:600}

/* Footer */
.site-footer{border-top:1px solid rgba(255,255,255,.07)}
.site-footer .wrap{padding:24px 16px;text-align:center;color:var(--muted)}

/* Responsive tweaks */
@media (max-width:520px){
  h1{font-size:32px}
  .lead{font-size:16px}
  :root{--logo-h:44px}
  .badge-img{height:56px}
}

/* === Legal buttons === */

.legal-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:12px 0 8px;
  flex-wrap:wrap;
}

.btn{
  border:none;
  border-radius:999px;
  padding:8px 18px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  background:var(--accent);
  color:#0f1221;
  transition:transform .08s ease, box-shadow .08s ease, background .12s ease;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.4);
  background:#8bb0ff;
}
.btn:active{
  transform:translateY(0);
  box-shadow:none;
}

.btn-secondary{
  background:var(--accent2);
}
.btn-secondary:hover{
  background:#63e6bd;
}

/* ================================ */
/*  Burger menu (drawer)            */
/* ================================ */

.burger-btn{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  margin-right:10px;
}
.burger-btn:hover{
  background:rgba(255,255,255,.08);
}
.burger-btn:active{
  transform:translateY(0);
}
.burger-icon{
  width:18px;
  height:14px;
  position:relative;
  display:block;
}
.burger-icon span{
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:currentColor;
  border-radius:99px;
}
.burger-icon span:nth-child(1){ top:0; }
.burger-icon span:nth-child(2){ top:6px; }
.burger-icon span:nth-child(3){ top:12px; }

.header-left{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Backdrop */
.drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .15s ease;
  z-index:1100;
}
.drawer-backdrop.open{
  opacity:1;
  pointer-events:auto;
}

/* Drawer panel */
.drawer{
  position:fixed;
  top:0;
  left:0;
  height:100vh;
  width:min(320px, 88vw);
  background:var(--card);
  border-right:1px solid rgba(255,255,255,.10);
  transform:translateX(-105%);
  transition:transform .18s ease;
  z-index:1200;
  display:flex;
  flex-direction:column;
}
.drawer.open{
  transform:translateX(0);
}

.drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.drawer-title{
  font-weight:700;
  letter-spacing:.2px;
}
.drawer-close{
  border:none;
  background:transparent;
  color:var(--muted);
  font-size:26px;
  cursor:pointer;
  line-height:1;
}
.drawer-close:hover{ color:var(--text); }

.drawer-nav{
  padding:10px 8px 14px;
}
.drawer-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  margin:4px 0;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
}
.drawer-nav a:hover{
  background:rgba(255,255,255,.06);
}
.drawer-nav small{
  color:var(--muted);
  display:block;
  margin-left:22px;
  margin-top:-8px;
}

/* Nice spacing for content pages */
.page{
  padding:26px 16px 56px;
}
.page h1{ text-align:left; }
.page h2{ margin:24px 0 10px; }
.page p{ color:var(--muted); line-height:1.55; }
.page .card{
  background:var(--card);
  border-radius:16px;
  padding:14px 16px;
  margin:12px 0;
}

/* Small screens */
@media (max-width:520px){
  .burger-btn{ width:40px; height:40px; border-radius:10px; }
}
