/* Pica: Islamic Habit Tracker — website. Finch-like: sky, hills, chunky cards. */
:root {
  --navy: #1f3a68;
  --navy-soft: #4a6390;
  --ink: #23324f;
  --sky-top: #96d3ff;
  --sky-bottom: #dff3ff;
  --hill: #8ccb6b;
  --hill-light: #b0e08c;
  --hill-dark: #6fb458;
  --green: #4caf73;
  --green-dark: #2e8b62;
  --yellow: #ffc53d;
  --cream: #fffbf4;
  --card: #ffffff;
  --line: #e7e2d8;
  --pink: #ff8fab;
  --red: #d64545;
  --shadow: 0 10px 30px rgba(31, 58, 104, 0.12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: 'Fredoka', 'Nunito', sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 14px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* language switching: elements carry data-l="id" / data-l="en" */
html[data-lang="id"] [data-l="en"], html[data-lang="en"] [data-l="id"] { display: none !important; }

/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(223, 243, 255, 0.82); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(31, 58, 104, 0.08); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy);
  font: 700 22px 'Fredoka', sans-serif; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { color: var(--navy); text-decoration: none; font-weight: 800; font-size: 15px; }
.nav-links a:hover { color: var(--green-dark); }
.lang-toggle { display: flex; background: #fff; border-radius: 99px; padding: 3px; box-shadow: 0 2px 8px rgba(31,58,104,.1); }
.lang-toggle button { border: 0; background: none; font: 800 13px 'Nunito', sans-serif; color: var(--navy-soft);
  padding: 6px 11px; border-radius: 99px; cursor: pointer; }
.lang-toggle button.on { background: var(--navy); color: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } .lang-toggle { margin-left: auto; } }

/* ---------- sky + hills */
.sky { position: relative; background: linear-gradient(var(--sky-top), var(--sky-bottom)); overflow: hidden; }
.cloud { position: absolute; width: 150px; height: 56px; background: #fff; border-radius: 60px; opacity: .9; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 70px; height: 70px; left: 22px; top: -34px; }
.cloud::after { width: 54px; height: 54px; left: 74px; top: -22px; }
.c1 { top: 60px; left: 2%; animation: drift 40s linear infinite; }
.c2 { top: 200px; right: 8%; transform: scale(.8); animation: drift 55s linear infinite reverse; }
.c3 { top: 640px; left: 46%; transform: scale(.6); opacity: .7; animation: drift 70s linear infinite; }
@keyframes drift { from { translate: -30px 0; } 50% { translate: 30px 0; } to { translate: -30px 0; } }
.hills { position: relative; height: 120px; margin-top: -1px; }
.hills svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* ---------- hero */
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--green-dark);
  font-weight: 900; font-size: 14px; padding: 7px 14px; border-radius: 99px; box-shadow: 0 3px 10px rgba(31,58,104,.1); margin-bottom: 18px; }
.lead { font-size: 20px; color: var(--navy-soft); font-weight: 700; max-width: 560px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: #111; color: #fff; text-decoration: none;
  border-radius: 14px; padding: 10px 18px 10px 14px; min-width: 200px; box-shadow: 0 6px 0 #000, var(--shadow);
  transition: transform .12s, box-shadow .12s; position: relative; }
.store-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #000, var(--shadow); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn small { display: block; font-size: 11px; letter-spacing: .4px; opacity: .85; text-transform: uppercase; font-weight: 700; }
.store-btn b { display: block; font: 600 20px 'Fredoka', sans-serif; line-height: 1.1; }
.store-btn.soon { background: #3b3b44; box-shadow: 0 6px 0 #1d1d22, var(--shadow); cursor: default; }
.store-btn .pill { position: absolute; top: -10px; right: -8px; background: var(--yellow); color: var(--navy);
  font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 99px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--navy-soft); font-weight: 800; font-size: 15px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } .lead { margin: 0 auto 10px; }
  .stores, .trust { justify-content: center; } }

/* ---------- sections */
section.block { padding: 84px 0; }
.center { text-align: center; }
.sub { color: var(--navy-soft); font-size: 19px; font-weight: 700; max-width: 680px; margin: 0 auto 36px; }
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g4, .g2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 0 var(--line), var(--shadow); }
.card .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; margin-bottom: 14px; }
.card p { color: var(--navy-soft); font-weight: 600; margin: 0; }

/* adab (every activity starts with a dua) */
.adab { background: linear-gradient(#e8f7ee, var(--cream)); }
.adab-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.adab-row .emo { font-size: 40px; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: #fff7e0; }
.arabic { font-family: 'Amiri', 'Noto Naskh Arabic', serif; direction: rtl; font-size: 24px; color: var(--ink); line-height: 1.9; }
.latin { color: var(--green-dark); font-weight: 800; }

/* screenshots strip */
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shots img { width: 250px; border-radius: 22px; box-shadow: var(--shadow); scroll-snap-align: center; flex: none; }

/* steps */
.step { position: relative; padding-top: 34px; }
.step .num { position: absolute; top: -22px; left: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); display: grid; place-items: center; font: 700 24px 'Fredoka'; box-shadow: 0 4px 0 #e0a720; }

/* parents */
.parents { background: var(--navy); color: #fff; }
.parents h2, .parents h3 { color: #fff; }
.parents .sub { color: #c9d6f0; }
.parents .card { background: rgba(255,255,255,.08); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.parents .card p { color: #d5def0; }

/* faq */
details { background: #fff; border-radius: 20px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 4px 0 var(--line); }
summary { cursor: pointer; font: 600 19px 'Fredoka', sans-serif; color: var(--navy); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; font-size: 24px; line-height: 1; color: var(--green-dark); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--navy-soft); font-weight: 600; }

/* donate */
.donate { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: center; }
.donate img { width: 220px; }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 16px; padding: 13px 22px; font: 800 17px 'Nunito', sans-serif;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .12s; }
.btn:hover { transform: translateY(2px); }
.btn.bmc { background: #ffdd00; color: #111; box-shadow: 0 5px 0 #d4b600; }
.btn.trakteer { background: #be1e2d; color: #fff; box-shadow: 0 5px 0 #8f1520; }
.btn.green { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-dark); }
@media (max-width: 720px) { .donate { grid-template-columns: 1fr; text-align: center; } .donate img { margin: 0 auto; } }

/* footer */
footer { background: #16294b; color: #c2cde3; padding: 48px 0 28px; font-size: 15px; }
footer a { color: #fff; text-decoration: none; font-weight: 700; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { color: #fff; font: 600 17px 'Fredoka'; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr; } }

/* ---------- legal / doc pages */
.doc-hero { padding: 54px 0 30px; }
.doc-hero p { color: var(--navy-soft); font-weight: 700; }
.doc { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow); margin: -10px auto 70px; max-width: 860px; }
.doc h2 { font-size: 26px; margin-top: 34px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; margin-top: 22px; }
.doc p, .doc li { color: #3d4b67; }
.doc ul, .doc ol { padding-left: 22px; }
.doc .meta { color: var(--navy-soft); font-weight: 700; font-size: 15px; }
.note { background: #fff7e0; border-radius: 16px; padding: 14px 18px; color: #6b4e00; font-weight: 700; }
.danger { background: #fdecec; color: #8c2323; }
table.data { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--navy); background: #f4f8ff; }

/* ======================================================================
   Interactive phone demo
   ====================================================================== */
.demo-wrap { position: relative; display: flex; justify-content: center; }
.demo-hint { position: absolute; top: -8px; right: 4%; background: #fff; color: var(--navy); font-weight: 900; font-size: 14px;
  padding: 8px 14px; border-radius: 16px; box-shadow: var(--shadow); transform: rotate(4deg); z-index: 3; }
.demo-hint::after { content: ''; position: absolute; bottom: -8px; left: 26px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.phone { width: 340px; height: 690px; background: #fff; border-radius: 52px; padding: 12px; box-shadow: 0 30px 60px rgba(31,58,104,.28); position: relative; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 41px; overflow: hidden; background: #6fbd5c;
  font-family: 'Nunito', sans-serif; user-select: none; -webkit-user-select: none; }
.island { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 96px; height: 28px; background: #0b0b0f; border-radius: 20px; z-index: 30; }
.status { position: absolute; top: 12px; left: 26px; right: 24px; display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; color: #1d2433; z-index: 29; }
.scene { position: absolute; inset: 0 0 auto 0; height: 365px; background: linear-gradient(#a8dbff 0%, #e5f6ff 55%, #9dd47a 56%, #7fc463 100%); overflow: hidden; }
.scene .s-hill1 { position: absolute; left: -40px; right: -40px; top: 170px; height: 140px; background: #b5e293; border-radius: 50% 50% 0 0 / 70% 70% 0 0; }
.scene .s-hill2 { position: absolute; left: -60px; right: -20px; top: 215px; height: 170px; background: #8ccb6b; border-radius: 45% 55% 0 0 / 60% 60% 0 0; }
.scene .s-sun { position: absolute; top: 58px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: #ffe27a; box-shadow: 0 0 0 10px rgba(255,226,122,.35); transition: opacity .6s; }
.scene .s-cloud { position: absolute; top: 96px; left: 30px; width: 70px; height: 26px; background: #fff; border-radius: 30px; }
.scene .s-cloud::before { content: ''; position: absolute; width: 34px; height: 34px; left: 12px; top: -16px; border-radius: 50%; background: #fff; }
.night { position: absolute; inset: 0 0 auto 0; height: 365px; background: linear-gradient(rgba(22,28,78,.9), rgba(30,40,100,.55)); opacity: 0; transition: opacity .9s; pointer-events: none; z-index: 5; }
.night i { position: absolute; width: 3px; height: 3px; background: #fff6d5; border-radius: 50%; }
.screen.sleeping .night { opacity: 1; }
.screen.sleeping .s-sun { opacity: 0; }
.pills { position: absolute; top: 48px; left: 14px; right: 14px; display: flex; gap: 6px; z-index: 12; }
.pills span { background: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.75);
  border-radius: 99px; padding: 4px 10px; font-weight: 900; font-size: 13px; color: #1d2433; }
.pills span.cam { margin-left: auto; }

.bubble { position: absolute; top: 88px; left: 18px; right: 18px; background: #fff; border-radius: 18px; padding: 10px 12px; text-align: center;
  font-weight: 800; font-size: 14px; line-height: 1.35; color: #1d2433; box-shadow: 0 4px 0 rgba(31,58,104,.12); z-index: 12;
  transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.3,1.6,.5,1), opacity .2s; cursor: pointer; }
.bubble::after { content: ''; position: absolute; bottom: -9px; left: 50%; translate: -50% 0; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bubble.hide { transform: scale(.6); opacity: 0; pointer-events: none; }
.bubble .row { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.bubble button { border: 0; border-radius: 99px; padding: 6px 14px; font: 900 13px 'Nunito'; cursor: pointer; }
.bubble .b-later { background: #f2eee6; color: #6b7280; box-shadow: 0 3px 0 #d8d2c6; }
.bubble .b-yes { background: #5dbb7e; color: #fff; box-shadow: 0 3px 0 #3e9a5f; }
.bubble .b-act { background: #ffc53d; color: #1d2433; box-shadow: 0 3px 0 #d9a01f; }
.bubble .dots { color: #9aa3b5; font-size: 18px; line-height: 1; margin-top: 2px; }

.pica { position: absolute; left: 50%; top: 168px; width: 150px; translate: -50% 0; z-index: 8; cursor: pointer; transition: translate .4s; }
.pica svg { width: 100%; display: block; overflow: visible; }
.pica.walk { animation: waddle 7s ease-in-out infinite; }
@keyframes waddle { 0%,100% { translate: -50% 0; } 25% { translate: -80% 0; } 50% { translate: -50% 0; } 75% { translate: -20% 0; } }
.pica .body-g { transform-origin: 120px 270px; animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scaleY(1.025) scaleX(.99); } }
.pica .flip-r { transform-origin: 196px 150px; }
.pica.wave .flip-r { animation: wave .5s ease-in-out 4 alternate; }
@keyframes wave { from { transform: rotate(0); } to { transform: rotate(-55deg); } }
.pica .eyes { transform-origin: 120px 92px; animation: blink 4.5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.pica .jaw { transition: transform .1s; }
.pica.chew .jaw { animation: chew .22s ease-in-out infinite alternate; }
@keyframes chew { to { transform: translateY(7px); } }
.pica.hop { animation: hop .45s ease-in-out 6; }
@keyframes hop { 50% { translate: -50% -26px; } }
.pica.shake { animation: shake .18s ease-in-out 10 alternate; }
@keyframes shake { from { rotate: -5deg; } to { rotate: 5deg; } }
.pica .sleep-eyes { display: none; }
.screen.sleeping .pica .eyes { display: none; }
.screen.sleeping .pica .sleep-eyes { display: block; }
.screen.sleeping .pica .body-g { animation-duration: 4.5s; }

.fx { position: absolute; z-index: 20; pointer-events: none; font-size: 30px; }
.fx.fly { animation: flyin .8s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes flyin { from { transform: translate(110px, -150px) scale(1.2) rotate(0); } to { transform: translate(0, 0) scale(.5) rotate(360deg); opacity: .2; } }
.fx.up { animation: floatup 1.6s ease-out forwards; }
@keyframes floatup { from { transform: translateY(0) scale(.6); opacity: 1; } to { transform: translateY(-120px) scale(1.1); opacity: 0; } }
.fx.bubble-fx { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8fd3ff; background: rgba(255,255,255,.45); animation: floatup 2s ease-out forwards; }
.fx.ball { animation: ball 2.4s ease-in-out forwards; }
@keyframes ball { 0% { transform: translate(-120px, 0) } 25% { transform: translate(-40px,-90px) rotate(180deg) } 50% { transform: translate(40px,0) rotate(360deg) }
  75% { transform: translate(110px,-80px) rotate(540deg) } 100% { transform: translate(150px,0) rotate(720deg); opacity: 0 } }
.zzz { position: absolute; right: 64px; top: 190px; z-index: 9; font: 700 22px 'Fredoka'; color: #fff; display: none; }
.screen.sleeping .zzz { display: block; }
.zzz span { position: absolute; animation: zz 3s linear infinite; opacity: 0; }
.zzz span:nth-child(2) { animation-delay: 1s; left: 14px; font-size: 26px; }
.zzz span:nth-child(3) { animation-delay: 2s; left: 28px; font-size: 30px; }
@keyframes zz { 0% { transform: translateY(0); opacity: 0 } 20% { opacity: 1 } 100% { transform: translateY(-70px); opacity: 0 } }

.panel { position: absolute; top: 352px; left: 0; right: 0; bottom: 0; padding: 0 12px; }
.cond { background: #4e9e43; border-radius: 22px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; color: #fff; }
.cond .face { font-size: 30px; }
.cond b { font: 600 15px 'Fredoka'; display: block; margin-bottom: 4px; }
.bar { height: 18px; background: #fff; border-radius: 99px; position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: #ffc53d; border-radius: 99px; transition: width .6s; }
.bar em { position: absolute; inset: 0; text-align: center; font: 900 12px/18px 'Nunito'; color: #7a5700; font-style: normal; }
.acts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.acts button { border: 0; background: #fff; border-radius: 16px; padding: 7px 0 5px; box-shadow: 0 4px 0 #3f8a36; cursor: pointer;
  font: 900 11px 'Nunito'; color: #1d2433; position: relative; transition: transform .1s; }
.acts button:active { transform: translateY(3px); box-shadow: 0 1px 0 #3f8a36; }
.acts button span { display: block; font-size: 22px; line-height: 1.2; }
.acts button b { font-weight: 900; }
.acts button sup { position: absolute; top: -6px; right: -3px; background: #26304a; color: #fff; border-radius: 99px; font-size: 10px; padding: 1px 5px; border: 2px solid #fff; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 58px; border-radius: 22px; background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; justify-content: space-around; align-items: center; font: 900 10px 'Nunito'; color: #6b7280; }
.tabbar div { text-align: center; }
.tabbar div span { display: block; font-size: 19px; }
.tabbar div b { font-weight: 900; }
.tabbar .on { color: #2e8b62; }

.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--cream); border-radius: 26px 26px 0 0; padding: 14px 16px 18px; z-index: 40;
  transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.9,.3,1); box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
.sheet.open { transform: none; }
.scrim { position: absolute; inset: 0; background: rgba(15,20,35,.35); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 39; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: #e2dccf; margin: 0 auto 10px; }
.sheet h4 { margin: 0; font: 600 18px 'Fredoka'; color: #1d2433; }
.sheet .intro { color: #6b7280; font-weight: 700; font-size: 13px; margin: 2px 0 10px; }
.sheet .duabox { background: #fff; border-radius: 18px; padding: 12px; }
.sheet .tag { display: inline-block; background: #e5f6ea; color: #2e8b62; font: 900 11px 'Nunito'; padding: 3px 9px; border-radius: 99px; letter-spacing: .4px; text-transform: uppercase; }
.sheet .ar { font-family: 'Amiri', serif; direction: rtl; text-align: right; font-size: 22px; line-height: 1.8; color: #1d2433; margin: 6px 0; }
.sheet .lt { color: #2e8b62; font-weight: 800; font-size: 13px; }
.sheet .mn { color: #6b7280; font-weight: 600; font-size: 12.5px; margin-top: 4px; }
.sheet .done { margin-top: 12px; width: 100%; border: 0; border-radius: 16px; padding: 12px; background: #5dbb7e; color: #fff; font: 900 15px 'Nunito';
  box-shadow: 0 4px 0 #3e9a5f; cursor: pointer; }
.toast { position: absolute; top: 46px; left: 50%; translate: -50% -20px; background: #26304a; color: #fff; font: 800 13px 'Nunito'; padding: 8px 14px;
  border-radius: 14px; opacity: 0; transition: all .3s; z-index: 50; white-space: nowrap; }
.toast.on { opacity: 1; translate: -50% 0; }

/* small screens: never wider than the viewport; the demo phone shrinks to fit */
html, body { overflow-x: clip; }
.hero .wrap > * { min-width: 0; }
@media (max-width: 420px) {
  .phone { transform: scale(.88); transform-origin: top center; margin-bottom: -80px; }
  .store-btn { min-width: 0; flex: 1 1 150px; }
  .demo-hint { right: 0; font-size: 12px; }
  h1 { font-size: 36px; }
}
.store-btn b { white-space: nowrap; }
@media (max-width: 420px) { .store-btn b { font-size: 17px; } .store-btn { padding: 10px 12px; } }
