/* BlockGain website: sunny cream and gold, chunky Lilita One headings, Nunito body, white
   cards with a solid lip, the app's illustrated brains and stickers. */
:root {
  --bg: #FFF3C4;
  --bg2: #FFF8E6;
  --card: #FFFFFF;
  --gold: #F5B60F;
  --gold-deep: #B07A00;
  --gold-soft: #FFEDB3;
  --ink: #241A10;
  --dim: #6E6250;
  --line: #F0E6CC;
  --green: #1FA34A;
  --red: #E5484D;
  --lip: 0 5px 0 rgba(0, 0, 0, .10), 0 10px 22px rgba(201, 164, 64, .16);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3, .wordmark { font-family: 'Lilita One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: .2px; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 74px); }
h2 { font-size: clamp(32px, 4.6vw, 48px); }
h3 { font-size: 23px; }
p { margin: 0; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.dim { color: var(--dim); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 10px; z-index: 9; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 27px; color: var(--ink); text-decoration: none; }
.wordmark img { width: 38px; height: 38px; border-radius: 11px; }
.wordmark .g { color: #F2A900; text-shadow: 0 1.5px 0 #9A6700; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 243, 196, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(176, 122, 0, .12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15.5px; }
.top nav a:hover { color: var(--gold-deep); }
.top nav .wide { display: none; }
@media (min-width: 860px) { .top nav .wide { display: inline; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 900; font-size: 17px; text-decoration: none; color: var(--ink); background: var(--gold); box-shadow: 0 4px 0 #C79410; transition: transform .12s, box-shadow .12s; border: 0; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #C79410; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: 0 3px 0 #C79410; }
.btn.white { background: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .10); }
.store { display: inline-block; transition: transform .12s; }
.store:hover { transform: translateY(-2px); }
.store img { height: 56px; width: auto; }

/* ---------- Cards and stickers ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--lip); }
.sticker { width: 52px; height: 52px; object-fit: contain; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .08); font-weight: 900; font-size: 14px; }
.pill img { width: 22px; height: 22px; }
.chip { display: inline-block; padding: 5px 12px; border-radius: 14px; background: rgba(36, 26, 16, .08); font-weight: 900; font-size: 13px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 80% 10%, #FFE9A3 0%, rgba(255, 233, 163, 0) 60%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 900px; height: 900px; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .45) 0 7deg, rgba(255, 255, 255, 0) 7deg 22deg); border-radius: 50%; animation: spin 80s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .wrap { position: relative; display: grid; gap: 28px; padding: 48px 0 64px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.08fr .92fr; padding: 76px 0 96px; } }
.hero h1 .g { color: #F2A900; text-shadow: 0 3px 0 #9A6700; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--dim); margin: 18px 0 26px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero .note { font-size: 14.5px; color: var(--dim); }
.hero .note b { color: var(--ink); }
.stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.stage .sun { position: absolute; width: min(420px, 86vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #FFE07A 0%, #FFD24A 58%, rgba(255, 210, 74, 0) 72%); }
.stage .hill { position: absolute; bottom: 6%; width: min(520px, 96vw); height: 120px; border-radius: 50%; background: linear-gradient(#8CD27A, #6DBE5C); }
.stage .brain { position: relative; width: min(330px, 70vw); animation: float 4.5s ease-in-out infinite; filter: drop-shadow(0 10px 0 rgba(46, 107, 34, .18)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.stage .float { position: absolute; width: 64px; animation: float 5s ease-in-out infinite; }
.stage .f1 { left: 6%; top: 18%; animation-delay: -1s; }
.stage .f2 { right: 4%; top: 12%; animation-delay: -2.4s; }
.stage .f3 { right: 10%; bottom: 26%; animation-delay: -3.2s; }
.stage .f4 { left: 10%; bottom: 30%; animation-delay: -.4s; }
@media (prefers-reduced-motion: reduce) { .hero::before, .stage .brain, .stage .float { animation: none; } }

/* ---------- Feature strip ---------- */
.strip { margin-top: -38px; position: relative; z-index: 2; }
.strip .grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .strip .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip .grid { grid-template-columns: repeat(4, 1fr); } }
.strip .card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; text-decoration: none; color: inherit; }
.strip .card b { display: block; font-size: 17.5px; font-weight: 900; }
.strip .card span { color: var(--dim); font-size: 14.5px; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0 0; }
.head { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.head .pill { margin-bottom: 14px; }
.head p { color: var(--dim); font-size: 18px; margin-top: 12px; }
.split { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.split h2 { margin: 14px 0 12px; }
.split p.lead2 { color: var(--dim); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 16px; }
.ticks li img { width: 32px; height: 32px; flex: none; }

/* ---------- Focus visual ---------- */
.timer { padding: 26px 22px 22px; text-align: center; position: relative; overflow: hidden; max-width: 440px; margin-inline: auto; width: 100%; }
.timer .sky { position: absolute; inset: 0 0 auto 0; height: 58%; background: linear-gradient(#FFE08A, #FFF8E3); }
.timer > * { position: relative; }
.ring { width: 220px; max-width: 100%; aspect-ratio: 1; margin: 8px auto 0; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) 0 64%, #F6EBCB 64% 100%); }
.ring > div { width: 82%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; gap: 0; }
.ring b { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 52px; line-height: 1; }
.ring small { color: var(--dim); font-weight: 900; }
.timer .mascot { width: 120px; margin: -18px auto 6px; }
.blocked { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.blocked .app { width: 40px; height: 40px; border-radius: 11px; position: relative; filter: grayscale(.2); }
.blocked .app::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; background: #fff url(img/v2/st-lock.webp) center / 16px no-repeat; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.timer .bar { display: flex; gap: 10px; margin-top: 18px; }
.timer .bar span { flex: 1; padding: 11px; border-radius: 999px; font-weight: 900; background: #F7F5F1; }
.timer .bar span.gold { background: var(--gold); }

/* ---------- Presets ---------- */
.presets { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .presets { grid-template-columns: repeat(3, 1fr); } }
.preset { border-radius: var(--radius); padding: 18px 14px 16px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(var(--a), var(--b)); box-shadow: 0 5px 0 var(--d); }
.preset::before { content: ""; position: absolute; left: -20%; right: -20%; top: 54%; height: 120%; border-radius: 50%; background: var(--b); }
.preset > * { position: relative; }
.preset img { height: 104px; width: auto; margin: 0 auto 8px; object-fit: contain; }
.preset b { display: block; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 20px; }
.preset span { display: block; color: var(--dim); font-size: 13.5px; margin: 2px 0 10px; }
.preset .chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.preset .chip { background: var(--d); }

/* ---------- Minimal before/after ---------- */
.ba { display: flex; justify-content: center; gap: 0; padding: 10px 0 4px; }
.phone { width: min(250px, 44vw); aspect-ratio: 9 / 19; border-radius: 34px; background: #111; padding: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); position: relative; flex: none; }
.phone .scr { width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.phone.before { transform: rotate(-5deg) translateX(14px); z-index: 1; opacity: .96; }
.phone.after { transform: rotate(4deg) translateX(-14px) translateY(-8px); z-index: 2; }
.phone .tag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 12px; font-weight: 900; font-size: 13px; color: #fff; background: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); z-index: 3; }
.phone .tag img { width: 16px; height: 16px; border-radius: 4px; }
.phone.after .tag { background: var(--green); }
.scr .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-weight: 900; font-size: 12px; border-bottom: 1px solid #eee; }
.scr .bar img { width: 16px; height: 16px; border-radius: 4px; }
.scr .vid { margin: 8px 8px 2px; aspect-ratio: 16 / 9; border-radius: 8px; background-size: cover; background-position: center; }
.scr .meta { margin: 0 8px; height: 7px; border-radius: 4px; background: #E9E6E0; width: 80%; }
.scr .meta.s { width: 52%; margin-top: 4px; }
.scr .shorts { margin: 10px 8px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; position: relative; }
.scr .shorts::before { content: "Shorts"; position: absolute; top: -16px; left: 0; font-size: 10px; font-weight: 900; color: #FF0033; }
.scr .shorts i { aspect-ratio: 9 / 15; border-radius: 7px; background-size: cover; background-position: center; display: block; }
.scr .nav { margin-top: auto; height: 34px; border-top: 1px solid #eee; display: flex; justify-content: space-around; align-items: center; }
.scr .nav i { width: 16px; height: 16px; border-radius: 5px; background: #ddd; display: block; }
.scr .nav i.red { background: #FF0033; }
.scr .calm { margin: 8px; padding: 10px; border-radius: 10px; background: #F7F5F1; font-size: 10.5px; font-weight: 900; color: var(--dim); text-align: center; }
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.styles div { background: #fff; border-radius: 20px; padding: 12px 6px; text-align: center; box-shadow: 0 4px 0 rgba(0, 0, 0, .08); font-weight: 900; font-size: 14px; }
.styles img { width: 40px; height: 40px; margin: 0 auto 4px; object-fit: contain; }
.styles small { display: block; color: var(--dim); font-size: 12px; font-weight: 700; line-height: 1.3; }

/* ---------- Highlights ---------- */
.hl { padding: 22px; display: grid; gap: 14px; }
.hl .row { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 20px; background: #FBF8F1; }
.hl .row b { display: block; font-weight: 900; }
.hl .row span { color: var(--dim); font-size: 14px; }
.hl .row img { width: 40px; height: 40px; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; padding: 4px 2px 0; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #E9E3D6; display: block; }
.dots i.on { background: var(--gold); }
.dots i.next { background: transparent; box-shadow: inset 0 0 0 2px #E9E3D6; }

/* ---------- More grid ---------- */
.more { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .more { grid-template-columns: repeat(3, 1fr); } }
.more .card { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.more b { display: block; font-size: 17.5px; font-weight: 900; }
.more span { color: var(--dim); font-size: 15px; }
.pro-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px 1px 4px; border-radius: 9px; background: linear-gradient(90deg, #FFE07A, #F5B60F); font-size: 11px; font-weight: 900; vertical-align: 2px; margin-left: 6px; }
.pro-tag img { width: 13px; height: 13px; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { padding: 24px 20px 22px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 24px; }
.plan .price { font-family: 'Lilita One', sans-serif; font-size: 40px; line-height: 1.1; margin: 10px 0 2px; }
.plan .price small { font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--dim); font-weight: 800; }
.plan .sub { color: var(--dim); font-size: 14.5px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 900; }
.plan.best { background: linear-gradient(#FFF6D6, #fff 60%); box-shadow: 0 5px 0 #E0A40C, 0 0 0 3px var(--gold), 0 14px 26px rgba(201, 164, 64, .25); }
.plan .ribbon { position: absolute; top: -14px; left: 20px; padding: 5px 12px; border-radius: 12px; background: #FF8A1F; color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 3px 0 #C7600A; }
.plan .crown { position: absolute; top: 18px; right: 18px; width: 38px; }
.fine { text-align: center; color: var(--dim); font-size: 14px; margin-top: 18px; }

/* ---------- Privacy band ---------- */
.band { display: grid; gap: 24px; align-items: center; padding: 30px 24px; background: linear-gradient(120deg, #E4DCFF, #F3EEFF); box-shadow: 0 5px 0 #CFC3F2; }
@media (min-width: 820px) { .band { grid-template-columns: 220px 1fr; padding: 34px 40px; } }
.band img { width: 200px; margin: 0 auto; }
.band p { color: #4E4766; font-size: 17px; margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: 0 4px 0 rgba(0, 0, 0, .08); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 900; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--gold-deep); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--dim); }

/* ---------- Final CTA ---------- */
.final { border-radius: var(--radius); margin-top: 90px; text-align: center; padding: 44px 20px 40px; background: radial-gradient(90% 120% at 50% 0%, #FFE07A, #FFD24A); box-shadow: 0 5px 0 #D9A100; }
.final img.brain { width: 150px; margin: -96px auto 8px; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .08)); }
.final p { font-size: 18px; color: #5B4300; margin: 10px auto 22px; max-width: 30em; }

/* ---------- Footer ---------- */
.bottom { padding: 56px 0 40px; }
.bottom .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.bottom nav a { color: var(--ink); text-decoration: none; font-weight: 800; }
.bottom nav a:hover { color: var(--gold-deep); }
.bottom small { color: var(--dim); width: 100%; }
@media (min-width: 760px) { .bottom small { width: auto; } }

/* ---------- Founder page ---------- */
.founder { display: grid; gap: 30px; align-items: center; padding: 56px 0 10px; }
@media (min-width: 860px) { .founder { grid-template-columns: 340px 1fr; gap: 54px; } }
.portrait { position: relative; max-width: 340px; margin: 0 auto; }
.portrait img { border-radius: 32px; box-shadow: var(--lip); aspect-ratio: 1; object-fit: cover; }
.portrait .tag { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); }
.founder .role { color: var(--gold-deep); font-weight: 900; margin: 8px 0 14px; font-size: 18px; }
.founder .lead { color: var(--dim); font-size: 18px; }
.founder .links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.founder .links .btn svg { width: 18px; height: 18px; fill: currentColor; }
.story { max-width: 760px; margin: 0 auto; padding: 30px 26px; }
.story h2 { margin-bottom: 14px; }
.story p { color: var(--dim); font-size: 17px; margin-bottom: 12px; }
.story blockquote { margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--gold-soft); font-weight: 800; }
.facts { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts .card { padding: 20px; text-align: center; }
.facts img { width: 46px; height: 46px; margin: 0 auto 8px; }
.facts b { display: block; font-size: 18px; font-weight: 900; }
.facts span { color: var(--dim); font-size: 14.5px; }
