:root{
  --indigo:#160a33; --ink:#1d0f3d; --ink-2:#4a3d6b; --cream:#fbf4e9; --cream-2:#f4e9d8;
  --gold:#ffc83d; --gold-deep:#e9a400; --wa:#25d366; --wa-deep:#0f8f45; --danger:#d93a3a;
  --purple:#844989; --navy:#132F5B;
  --r-xl:30px; --r-lg:22px;
}
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:'Heebo',system-ui,sans-serif; color:var(--ink); background:var(--cream);
  line-height:1.55; font-size:16px; padding-bottom:116px; min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
button,a{font:inherit;color:inherit}
a{text-decoration:none}
svg{display:block}
:focus-visible{outline:3px solid var(--navy);outline-offset:3px;border-radius:12px}

/* ---------- HERO ---------- */
.hero{
  position:relative; overflow:hidden; isolation:isolate; color:#fff;
  background:
    radial-gradient(520px 340px at 85% 0%, rgba(255,200,61,.30), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgba(132,73,137,.75), transparent 70%),
    linear-gradient(170deg,#2a1559 0%, #160a33 70%);
  border-radius:0 0 34px 34px;
  padding:20px 18px 26px;
}
.hero::after{ /* grain-free soft horizon glow */
  content:"";position:absolute;inset:auto 0 0 0;height:90px;z-index:-1;
  background:linear-gradient(to top, rgba(255,160,90,.22), transparent);
}
.hero-in{max-width:1240px;margin-inline:auto;display:grid;gap:16px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--gold)}
.eyebrow svg{width:16px;height:16px}
.hero-top{display:grid;grid-template-columns:104px 1fr;gap:16px;align-items:center}
.tile-img{position:relative;width:104px;height:104px}
.tile-img img{
  width:100%;height:100%;object-fit:cover;border-radius:26px;
  box-shadow:0 14px 30px -8px rgba(0,0,0,.55), 0 0 0 3px rgba(255,255,255,.14);
}
.tile-img .badge{
  position:absolute;inset-block-end:-8px;inset-inline-end:-8px;width:38px;height:38px;border-radius:50%;
  background:linear-gradient(160deg,#ffe07a,var(--gold-deep));display:grid;place-items:center;
  box-shadow:0 6px 14px rgba(0,0,0,.4), 0 0 0 3px var(--indigo);
  animation:bob 3.6s ease-in-out infinite;
}
.tile-img .badge svg{width:20px;height:20px}
@keyframes bob{50%{transform:translateY(-4px)}}
h1{font-weight:900;font-size:27px;line-height:1.12;text-wrap:balance}
h1 span{display:block;color:var(--gold);margin-block-start:4px}
.sub{text-wrap:pretty;color:#e6dcf7;font-size:15.5px;line-height:1.6;max-width:56ch}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 14px 6px 12px;
  border-radius:999px;background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.2);
  font-weight:700;font-size:14px;color:#fff;
}
.chip svg{width:14px;height:14px;flex:none}
.proof{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14.5px;color:#ffe9a8}

/* ---------- PICKER ---------- */
main{max-width:1240px;margin-inline:auto;padding:0 14px}
.picker-head{padding:30px 4px 14px;display:flex;flex-direction:column;gap:4px}
.picker-head .q{font-weight:900;font-size:40px;line-height:1;color:var(--ink)}
.picker-head .q em{font-style:normal;color:var(--purple)}
.picker-head p{font-size:17px;font-weight:600;color:var(--ink-2)}
.picker-head p b{color:var(--ink);font-weight:800;background:linear-gradient(transparent 60%, rgba(255,200,61,.65) 60%)}

.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;list-style:none;padding:0}
.tile{
  --bg:#fbf1d6; --bd:#e6cf8f; --ic:#efd58a; --tx:#7a5a0e;
  position:relative;display:flex;flex-direction:column;gap:2px;min-height:156px;padding:14px 13px 12px;
  background:var(--bg);border:2px solid var(--bd);border-radius:var(--r-lg);
  box-shadow:0 5px 0 var(--bd);
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
  cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.tile.soon .cat{color:#5a4d78}
@media (hover:hover){.tile:hover{transform:translateY(-3px);box-shadow:0 8px 0 var(--bd)}}
.tile.on{--bd:#3db36b!important}
.tile:active{transform:translateY(3px);box-shadow:0 2px 0 var(--bd)}
.tile .top{display:flex;align-items:flex-start;justify-content:space-between;margin-block-end:10px}
.tile .ico{width:46px;height:46px;border-radius:16px;background:var(--ic);display:grid;place-items:center}
.tile .ico svg{width:26px;height:26px;stroke:var(--ink);stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tile .cat{font-size:12px;font-weight:700;color:var(--tx);background:rgba(255,255,255,.75);padding:2px 9px;border-radius:999px}
.tile .name{font-weight:900;font-size:21px;line-height:1.15;color:var(--ink)}
.tile .desc{font-size:13.5px;font-weight:500;line-height:1.35;color:#3b2f5a}
.tile .go{
  margin-block-start:auto;padding-block-start:10px;display:flex;align-items:center;gap:6px;
  font-weight:800;font-size:14px;color:var(--ink);
}
.tile .go svg{width:18px;height:18px}
.tile .go .wa{fill:var(--wa-deep)}
.tile .go .ck{display:none}
.tile .tick{
  position:absolute;inset-block-start:12px;inset-inline-end:12px;width:30px;height:30px;border-radius:50%;
  background:#fff;display:grid;place-items:center;transform:scale(0);opacity:0;
  box-shadow:0 3px 8px rgba(0,0,0,.18);transition:transform .25s cubic-bezier(.3,1.6,.5,1),opacity .15s;
}
.tile .tick svg{width:18px;height:18px;stroke:var(--wa-deep);stroke-width:3.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tile.on{background:#d6f1de;border-color:#3db36b;box-shadow:0 5px 0 #3db36b}
.tile.on .cat{display:none}
.tile.on .ico{background:#fff}.tile.on .name{color:#0b2f19}
.tile.on .desc{color:#0b4a24}
.tile.on .tick{transform:scale(1);opacity:1}
.tile.on .go .wa{display:none}.tile.on .go .ck{display:block}
.tile.soon{background:#efe9f3!important;border-color:#d6cde0!important;box-shadow:none;cursor:not-allowed;color:#6a5f82}
.tile.soon:hover,.tile.soon:active{transform:none;box-shadow:none}
.tile.soon .ico{background:#ddd3e8}
.tile.soon .name,.tile.soon .go{color:#5a4d78}

/* ---------- BAR ---------- */
.bar{
  position:fixed;z-index:20;inset-inline:12px;inset-block-end:calc(12px + env(safe-area-inset-bottom));
  max-width:520px;margin-inline:auto;display:flex;align-items:center;gap:14px;
  background:var(--indigo);color:#fff;border-radius:24px;padding:10px 16px 10px 14px;
  box-shadow:0 18px 40px -10px rgba(22,10,51,.7),0 0 0 1.5px rgba(255,255,255,.12);
  transition:background .3s;
}
.slots{display:flex;gap:6px}
.slot{width:34px;height:40px;display:grid;place-items:center}
.slot svg{width:30px;height:30px;overflow:visible}
.slot path{fill:rgba(255,255,255,.1);stroke:rgba(255,255,255,.65);stroke-width:1.6;stroke-dasharray:3 3;transition:fill .3s,stroke .3s}
.slot.f path{fill:var(--gold);stroke:var(--gold);stroke-dasharray:0}
.slot.f svg{animation:pop .45s cubic-bezier(.3,1.7,.5,1)}
@keyframes pop{from{transform:translateY(-14px) scale(.4);opacity:0}}
.bar .txt{display:flex;flex-direction:column;line-height:1.2}
.bar .txt b{font-weight:900;font-size:18px}
.bar .txt b i{font-style:normal;color:var(--gold);font-size:22px}
.bar .txt small{font-size:12.5px;color:#cbbfe6;font-weight:500}
.bar.over{background:#4a0f1c}
.bar.over .txt b i{color:#ff9aa0}

/* ---------- BELOW PICKER ---------- */
.after{display:grid;gap:14px;margin-block-start:30px}
.card{border-radius:var(--r-xl);padding:22px 20px}
.matchers{background:#fff;border:2px solid var(--gold);box-shadow:0 6px 0 var(--gold)}
.matchers h2,.share h2{font-weight:900;font-size:24px;line-height:1.15}
.matchers p{font-weight:600;color:var(--ink-2);margin-block:4px 14px}
.btn{
  display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 22px;width:100%;
  border-radius:16px;border:0;font-weight:800;font-size:17px;cursor:pointer;transition:transform .12s;
}
.btn:active{transform:translateY(2px)}
.btn svg{width:22px;height:22px}
.btn-wa{background:var(--wa);color:var(--ink);box-shadow:0 4px 0 #14a84d}
.btn-wa svg{fill:var(--ink)}
.btn-line{background:transparent;color:var(--ink);border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink)}
.btn-line svg{stroke:var(--ink);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.share{background:var(--indigo);color:#fff}
.share p{color:#d6caef;margin-block:4px 14px;font-weight:500}
.share .btns{display:grid;gap:10px}
.share .btn-line{color:#fff;border-color:rgba(255,255,255,.55);box-shadow:none}
.share .btn-line svg{stroke:#fff}
.share .btn-line.done{background:#fff;color:var(--wa-deep);border-color:#fff}
.share .btn-line.done svg{stroke:var(--wa-deep)}

footer{max-width:1240px;margin:46px auto 0;padding:0 18px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
footer img{width:128px;height:auto}
footer p{font-weight:800;font-size:17px;color:var(--ink)}
footer p span{color:var(--purple)}

.matchers.on{background:#d6f1de;border-color:#3db36b;box-shadow:0 6px 0 #3db36b}
/* ---------- TOAST ---------- */
.toast{
  position:fixed;z-index:30;inset-inline:0;inset-block-end:calc(92px + env(safe-area-inset-bottom));margin-inline:auto;width:max-content;
  background:var(--indigo);color:#fff;border-radius:999px;padding:10px 20px;font-weight:700;
  box-shadow:0 12px 30px -8px rgba(22,10,51,.6);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s,transform .2s;
}
.toast.show{opacity:1;transform:none}
.proof svg{width:16px;height:16px;flex:none}
.tile-img picture{display:contents}
.hidden{display:none!important}

/* ---------- MODAL ---------- */
.veil{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;
  background:rgba(22,10,51,.72);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.veil.open{opacity:1;visibility:visible}
.modal{
  width:100%;max-width:420px;background:var(--cream);border-radius:30px;padding:26px 22px 20px;text-align:center;
  transform:translateY(18px) scale(.96);transition:transform .3s cubic-bezier(.3,1.4,.5,1);
  box-shadow:0 30px 70px -10px rgba(0,0,0,.6);max-height:calc(100dvh - 24px);overflow:auto;
}
.veil.open .modal{transform:none}
.illu{
  height:96px;margin:0 auto 14px;border-radius:28px;position:relative;
  background:linear-gradient(180deg,#fff0c7,#ffdcd0);
  display:flex;align-items:center;justify-content:center;gap:2px;width:100%;max-width:260px;
}
.illu svg{width:46px;height:56px;margin-inline:3px;overflow:visible}
.illu .g path{fill:var(--gold);stroke:#c98a00;stroke-width:1.2}
.illu .x path:first-child{fill:#fff;stroke:var(--danger);stroke-width:2.6;stroke-dasharray:4 3}
.illu .x{position:relative;transform:rotate(-8deg)}
.modal h2{font-weight:900;font-size:27px;line-height:1.12;margin-block-end:8px}
.modal .why{font-size:16.5px;font-weight:500;color:#33275a;line-height:1.55}
.modal .why b{white-space:nowrap;font-weight:900;color:var(--danger)}
.picked{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-block:14px 18px}
.picked span{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:3px 11px 3px 9px;border-radius:999px;background:var(--wa);font-weight:800;font-size:13.5px;color:var(--ink)}
.picked svg{width:14px;height:14px;stroke:var(--ink);stroke-width:3.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.picked small{width:100%;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.modal .btn-primary{background:var(--indigo);color:#fff;min-height:60px;font-size:18px;box-shadow:0 5px 0 #000}
.modal .force{
  margin-block-start:10px;background:none;border:0;min-height:44px;padding:8px 12px;cursor:pointer;
  font-weight:600;font-size:14px;color:#6a5f82;text-decoration:underline;text-underline-offset:4px;
}

/* ---------- DESKTOP ---------- */
@media (min-width:900px){
  body{padding-bottom:120px}
  .hero{padding:34px 40px 40px;border-radius:0 0 44px 44px}
  .hero-in{grid-template-columns:300px 1fr;column-gap:56px;align-items:center}
  .hero-top{display:contents}
  .tile-img{width:300px;height:300px;grid-row:1 / span 5}
  .tile-img img{border-radius:40px;box-shadow:0 30px 60px -14px rgba(0,0,0,.65),0 0 0 4px rgba(255,255,255,.14)}
  .tile-img .badge{width:72px;height:72px;inset-block-end:-16px;inset-inline-end:-16px;box-shadow:0 10px 20px rgba(0,0,0,.4),0 0 0 5px var(--indigo)}
  .tile-img .badge svg{width:38px;height:38px}
  .hero-top h1,.hero-text>*{grid-column:2}
  .tile-img{grid-column:1}
  h1{font-size:64px;line-height:1.05}
  .sub{font-size:19px}
  .chip{font-size:16px;min-height:44px;padding:8px 18px 8px 16px}
  .proof{font-size:16px}
  .hero-text{grid-column:2;display:grid;gap:18px}
  main{padding:0 40px}
  .picker-head{padding:44px 4px 20px;flex-direction:row;align-items:baseline;gap:22px}
  .picker-head .q{font-size:56px}
  .picker-head p{font-size:21px}
  .grid{grid-template-columns:repeat(5,1fr);gap:16px}
  .tile{min-height:224px;padding:18px 16px 16px;border-radius:26px}
  .tile .ico{width:56px;height:56px;border-radius:19px}
  .tile .ico svg{width:30px;height:30px}
  .tile .name{font-size:24px}
  .tile .desc{font-size:14.5px}
  .after{grid-template-columns:1fr 1fr;gap:20px;margin-block-start:44px}
  .card{padding:30px 32px}
  .matchers h2,.share h2{font-size:30px}
  .bar{max-width:480px}
}
@media (max-width:380px){
  .tile .name{font-size:19px}
  h1{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}
