/* Shared bones for the three concepts: type, phones, cards, buttons. Colours live in each page. */
:root{
  --ink:#222;--cream:#F4F1EA;--offwhite:#FFFDF9;--ivory:#F1ECE3;
  --apricot:#F28D55;--deep:#E77D41;--light:#FBB07C;
  --grad:linear-gradient(135deg,#FBB07C,#F28D55);
  --green:#7CC79A;--green-light:#A9DDBA;--yellow:#F5C86A;
  --display:'Cal Sans',system-ui,sans-serif;--body:'Manrope',system-ui,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);
  --gutter:20px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--body);font-weight:600;font-size:19px;line-height:1.5;color:var(--ink);overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit}
button,input{font:inherit;color:inherit}
h1,h2,h3{font-family:var(--display);font-weight:400;letter-spacing:-.025em;line-height:.98}
h1{font-size:clamp(46px,12.5vw,64px)}
h2{font-size:clamp(38px,10vw,50px)}
h3{font-size:26px;letter-spacing:-.02em}
.sub{font-size:19px;line-height:1.45;font-weight:600}
.wrap{padding:0 var(--gutter)}
.sec{position:relative;padding:64px 0}

/* the real iPhone (Apple's bezel, real screenshot) */
.phone{display:block;width:var(--pw,240px);height:auto;filter:drop-shadow(0 30px 40px rgba(20,10,0,.28))}
.tilt-l{transform:rotate(-9deg)}
.tilt-r{transform:rotate(8deg)}

/* pills / buttons in the app's language */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:58px;padding:0 28px;border-radius:999px;border:0;
     background:var(--grad);color:#fff;font-family:var(--body);font-weight:800;font-size:18px;text-decoration:none;cursor:pointer;
     box-shadow:0 12px 28px -10px rgba(226,110,50,.65);transition:transform .25s var(--ease)}
.btn:active{transform:scale(.97)}
.btn.ivory{background:var(--ivory);color:var(--ink);box-shadow:none}
.btn.white{background:#fff;color:var(--ink);box-shadow:0 10px 24px -10px rgba(0,0,0,.25)}
.btn.ink{background:var(--ink);color:#fff;box-shadow:none}
.kicker{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}

/* the roll hint */
.hint{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:16px;opacity:.9}
.hint svg{width:26px;height:26px}
.hint .dot{width:10px;height:10px;border-radius:50%;background:currentColor;animation:pulse 1.6s var(--ease) infinite}
@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.5);opacity:.5}}

/* the event card the roll lands on (the app's own card) */
.evcard{position:relative;border-radius:28px;overflow:hidden;background:#333 center/cover no-repeat;color:#fff;
        padding:16px;min-height:196px;display:flex;flex-direction:column;justify-content:space-between;
        box-shadow:0 24px 50px -20px rgba(20,10,0,.45);font-family:var(--body)}
.evcard::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.55));}
.evcard>*{position:relative}
.evcard .pills{display:flex;gap:8px;flex-wrap:wrap}
.evcard .pill{display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--ink);border-radius:999px;padding:8px 12px;font-size:14px;font-weight:700}
.evcard .pill svg{width:15px;height:15px}
.evcard .pill .t{color:#717171;font-weight:600}
.evcard h3{font-size:28px;margin-top:14px;color:#fff}
.evcard .venue{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:700;opacity:.95;margin-top:4px}
.evcard .venue svg{width:16px;height:16px}
.evcard .row{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:12px}
.evcard .faces{display:flex}
.evcard .faces img{width:44px;height:44px;border-radius:50%;border:2.5px solid #fff;object-fit:cover;margin-right:-12px}
.evcard .cta{flex:1;max-width:220px;height:50px;border-radius:999px;background:var(--grad);display:flex;align-items:center;justify-content:center;
             font-weight:800;font-size:16px;color:#fff;text-decoration:none}
.evcard .cta.full{background:var(--ivory);color:var(--ink)}
.result{opacity:0;transform:translateY(16px) scale(.98);transition:opacity .5s var(--ease),transform .5s var(--ease);pointer-events:none}
.result.show{opacity:1;transform:none;pointer-events:auto}
.result .rolled{font-family:var(--display);font-size:22px;margin-bottom:10px;display:flex;align-items:center;gap:10px}
.result .rolled b{font-weight:400;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#fff;color:var(--deep);font-size:20px}

/* signup */
.join{display:flex;flex-direction:column;gap:10px;max-width:440px}
.join input{height:58px;border-radius:999px;border:0;padding:0 22px;font-size:18px;font-weight:600;outline:none;background:#fff;color:var(--ink)}
.join input::placeholder{color:#A8A8A8}
.join input:focus{box-shadow:0 0 0 3px rgba(242,141,85,.35)}
.done{display:none;font-family:var(--display);font-size:24px}
.store{display:flex;gap:10px;margin-top:22px}
.store img{height:44px;width:auto}
footer{font-size:15px;font-weight:600;opacity:.75}
footer nav{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:8px}
footer a{text-decoration:none}

/* ticker */
.ticker{overflow:hidden;white-space:nowrap;font-family:var(--display);font-size:22px;padding:14px 0}
.ticker span{display:inline-block;padding-right:36px;animation:tick 28s linear infinite}
@keyframes tick{to{transform:translateX(-50%)}}

@media (min-width:900px){
  :root{--gutter:48px}
  body{font-size:21px}
  h1{font-size:clamp(72px,7.4vw,112px)}
  h2{font-size:clamp(52px,5vw,72px)}
  .sub{font-size:23px}
  .sec{padding:110px 0}
  .wrap{max-width:1240px;margin:0 auto}
  .phone{--pw:300px}
  .join{flex-direction:row;max-width:560px}
  .join input{flex:1}
}
