:root{
  --bg:#000000;
  --card:#111111;
  --ink:#f5f5f5;
  --muted:#9a9a9a;
  --line:#242424;
  --accent:#ffffff;
  --accent-ink:#000000;
  --sale:#e5484d;
  --radius:18px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;color-scheme:dark;background:#000}
body{
  background:var(--bg);color:var(--ink);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:16px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{display:block;max-width:100%}

.wrap{width:100%;max-width:480px;margin:0 auto;padding:28px 16px 40px}

/* profile header */
.profile{text-align:center;margin-bottom:24px}
.avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;margin:0 auto 12px;
  box-shadow:0 0 28px rgba(255,255,255,.18)}
.profile h1{font-size:22px;font-weight:800;letter-spacing:-.02em}
.tagline{color:var(--muted);font-size:15px;margin-top:2px}
.socials{display:flex;justify-content:center;gap:10px;margin-top:12px}
.socials a{width:40px;height:40px;border-radius:50%;background:var(--card);border:1px solid var(--line);
  display:grid;place-items:center;transition:transform .15s}
.socials a:active{transform:scale(.94)}
.socials svg{width:20px;height:20px}

/* product card (store page) */
.card{background:var(--card);border-radius:var(--radius);padding:14px;
  border:1px solid var(--line)}
.card-link{display:flex;gap:14px;text-decoration:none;align-items:center}
.thumb{width:92px;height:92px;border-radius:12px;object-fit:cover;flex-shrink:0}
.card h2{font-size:17px;font-weight:800;line-height:1.25;letter-spacing:-.01em}
.card p.sub{color:var(--muted);font-size:14px;margin-top:4px;line-height:1.4}

.price{display:flex;align-items:baseline;gap:8px;margin-top:8px;flex-wrap:wrap}
.price .now{font-weight:800;font-size:18px}
.price .was{color:var(--muted);text-decoration:line-through;font-size:15px}
.price .badge{background:var(--sale);color:#fff;font-size:11px;font-weight:700;
  padding:3px 8px;border-radius:99px;letter-spacing:.03em}

.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  background:var(--accent);color:var(--accent-ink);text-decoration:none;
  font-weight:800;font-size:15px;letter-spacing:.06em;text-transform:uppercase;
  padding:16px 18px;border-radius:14px;border:0;cursor:pointer;margin-top:14px;
  transition:transform .15s,opacity .15s}
.btn:active{transform:scale(.98)}
.btn:hover{opacity:.9}
.btn[aria-disabled="true"]{opacity:.45;pointer-events:none}

/* product page */
.banner{width:100%;border-radius:var(--radius);aspect-ratio:16/9;object-fit:cover;margin-bottom:18px}
.product h1{font-size:26px;font-weight:800;line-height:1.15;letter-spacing:-.02em}
.product .price .now{font-size:22px}
.desc{margin-top:14px}
.desc p{margin-bottom:14px}
.desc .hook{font-weight:800;font-size:18px;line-height:1.35}
.desc h3{font-size:17px;font-weight:800;margin:22px 0 8px}
.desc ul{list-style:none;margin:6px 0 16px}
.desc li{position:relative;padding-left:28px;margin-bottom:10px}
.desc li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 0 18px}
.stat{background:#1c1c1c;border-radius:12px;padding:12px 6px;text-align:center}
.stat b{display:block;font-size:20px;font-weight:800}
.stat span{font-size:12px;color:var(--muted)}
.note{font-size:13px;color:var(--muted)}
.faq details{border-top:1px solid var(--line);padding:12px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::after{content:"+";font-weight:800}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:8px 0 0;color:var(--muted);font-size:15px}

/* countdown */
.countdown{margin-top:14px;background:var(--card);border:1px solid var(--line);color:#fff;border-radius:var(--radius);padding:20px 14px;text-align:center}
.countdown .label{font-size:13px;letter-spacing:.12em;text-transform:uppercase;opacity:.7}
.timer{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.timer div{background:rgba(255,255,255,.08);border-radius:12px;padding:12px 4px}
.timer b{display:block;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}
.timer span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;opacity:.65}
.countdown .btn{background:#fff;color:#111}

/* checkout block */
.checkout{margin-top:18px}
.checkout h2{font-size:20px;font-weight:800;margin-bottom:10px}
.field{width:100%;padding:14px;border-radius:12px;border:1px solid var(--line);font:inherit;background:#1c1c1c;color:var(--ink);margin-bottom:10px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted);margin:8px 0}
.check input{margin-top:3px;width:18px;height:18px;accent-color:#111;flex-shrink:0}
.total{display:flex;justify-content:space-between;font-weight:800;border-top:1px solid var(--line);padding-top:12px;margin-top:10px}
.ok{display:none;margin-top:12px;background:#e9f8ee;color:#17663a;padding:12px;border-radius:12px;font-size:14px}

/* footer */
footer{text-align:center;margin-top:30px;font-size:13px;color:var(--muted)}
footer a{text-decoration:none;margin:0 8px}
footer a:hover{text-decoration:underline}
.back{display:inline-block;font-size:14px;color:var(--muted);text-decoration:none;margin-bottom:14px}

/* legal */
.legal h1{font-size:26px;font-weight:800;margin-bottom:4px}
.legal h2{font-size:18px;font-weight:800;margin:22px 0 6px}
.legal p,.legal li{font-size:15px;color:#cfcfcf}
.legal ul{padding-left:20px;margin:6px 0}

@media (min-width:768px){
  .wrap{padding-top:48px}
}
