:root{
  --yellow:#f2cf4a;
  --yellow-deep:#e6bf2e;
  --purple:#4b236f;
  --purple-btn:#6b31a8;
  --purple-btn-2:#7a39bd;
  --text-dark:#1b1b1b;
  --text-muted:#4b4b4b;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.18);
}

*{box-sizing:border-box}

html,body{height:100%}

body{
  margin:0;
  font-family:'Inter','Noto Sans SC',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#efefef;
  color:var(--text-dark);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.hero{flex:0 0 auto}

.download-section{flex:1 0 auto}

a{color:inherit;text-decoration:none}

.top-header{
  background:linear-gradient(90deg,var(--yellow),var(--yellow-deep));
  padding:18px 14px;
}

.top-header__inner{
  max-width:460px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{display:flex;align-items:center;gap:12px;min-width:0}

.brand__icon{
  width:46px;
  height:46px;
  border-radius:12px;
  background:rgba(255,255,255,.25);
  display:grid;
  place-items:center;
  font-size:22px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  padding:4px;
}

.brand__img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:8px;
}

.brand__text{min-width:0}

.brand__name{font-weight:800;font-size:20px;line-height:1.1}

.brand__tagline{margin-top:4px;font-size:12px;color:rgba(0,0,0,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.download-btn{
  flex:0 0 auto;
  padding:12px 16px;
  border-radius:14px;
  background:linear-gradient(180deg,var(--purple-btn-2),var(--purple-btn));
  color:var(--white);
  font-weight:700;
  box-shadow:var(--shadow);
}

.download-btn:active{transform:translateY(1px)}

.hero{
  background:var(--yellow);
  padding:46px 14px 38px;
  text-align:center;
}

.hero__carousel{position:relative;max-width:460px;margin:0 auto}

.hero__slide{
  display:none;
  flex-direction:column;
  align-items:center;
}

.hero__slide.is-active{display:flex}

.hero__logo{
  width:64px;
  height:64px;
  border-radius:16px;
  margin:0 auto 20px;
  object-fit:contain;
  background:rgba(255,255,255,.25);
  padding:8px;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.hero__banner{
  width:100%;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.hero__title{margin:0;font-weight:900;font-size:28px;letter-spacing:1px}

.hero__subtitle{margin:10px 0 16px;color:rgba(0,0,0,.7);font-size:14px}

.hero__dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:16px;
}

.hero__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(0,0,0,.2);
  transition:background .2s;
}

.hero__dot.is-active{background:rgba(0,0,0,.6)}

.download-section{
  background:var(--purple);
  padding:34px 14px 44px;
}

.download-section__inner{
  max-width:460px;
  margin:0 auto;
  display:grid;
  gap:16px;
}

.big-btn{
  background:linear-gradient(180deg,var(--purple-btn-2),var(--purple-btn));
  border-radius:18px;
  padding:18px 18px;
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--white);
  position:relative;
}

.big-btn::after{
  content:'';
  position:absolute;
  left:76px;
  top:16px;
  bottom:16px;
  width:1px;
  background:rgba(255,255,255,.35);
}

.big-btn__icon{
  width:56px;
  height:36px;
  display:grid;
  place-items:center;
  font-size:22px;
}

.big-btn__text{font-size:18px;font-weight:800;letter-spacing:.5px}

.big-btn:active{transform:translateY(1px)}

.footer{
  background:#efefef;
  padding:18px 14px 28px;
  text-align:center;
  color:#666;
  font-size:12px;
}

.footer__inner{max-width:460px;margin:0 auto}

@media (min-width:900px){
  body{background:#e9e9e9}
  .top-header,.hero,.download-section{border-radius:18px}
  .top-header,.hero,.download-section{max-width:520px;margin:18px auto 0;box-shadow:0 14px 50px rgba(0,0,0,.12)}
  .download-section{margin-bottom:18px}
}
