/* Shared by /ios and /android.
   The palette and type are lifted from index.html so the beta pages read as the
   same site. The coin animation is NOT: it is 200 lines of 3D CSS whose only
   job is to be the landing page's centrepiece, and someone who has arrived here
   has already decided to install something. */
:root{
  --navy-deep:#00133f;
  --navy:#002f8a;
  --navy-lift:#0043b8;
  --gold:#e0b45c;
  --ink:#eaf1ff;
  --ink-dim:#9db4dd;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(120% 60% at 50% 0%, var(--navy-lift) 0%, var(--navy) 42%, var(--navy-deep) 100%),
    var(--navy-deep);
  min-height:100svh;
  padding:clamp(1.5rem,5vw,3rem) clamp(1.2rem,5vw,2rem) 4rem;
  line-height:1.55;
}
.wrap{max-width:38rem;margin:0 auto}

.back{
  display:inline-block;margin-bottom:2rem;
  color:var(--ink-dim);text-decoration:none;font-size:.9rem;letter-spacing:.04em;
}
.back:hover{color:var(--gold)}

.mark{width:84px;margin-bottom:1.2rem}
.mark img{display:block;width:100%;height:auto}

h1{
  margin:0 0 .3rem;
  font-size:clamp(1.8rem,6vw,2.6rem);font-weight:800;letter-spacing:.04em;
  line-height:1.1;
}
.sub{margin:0 0 2.4rem;color:var(--ink-dim);font-size:1rem}

ol{margin:0;padding:0;list-style:none;counter-reset:step}
ol li{
  counter-increment:step;
  position:relative;
  padding:0 0 1.8rem 3.1rem;
  border-left:1px solid rgba(224,180,92,.22);
  margin-left:1.1rem;
}
ol li:last-child{border-left-color:transparent;padding-bottom:.6rem}
ol li::before{
  content:counter(step);
  position:absolute;left:-1.1rem;top:-.15rem;
  width:2.2rem;height:2.2rem;border-radius:50%;
  display:grid;place-items:center;
  background:var(--navy-deep);
  border:1px solid rgba(224,180,92,.45);
  color:var(--gold);font-weight:700;font-size:.95rem;
}
ol li h2{margin:.15rem 0 .35rem;font-size:1.06rem;font-weight:650}
ol li p{margin:0;color:var(--ink-dim);font-size:.94rem}

.cta{
  display:inline-flex;align-items:center;gap:.55rem;
  margin:.7rem 0 .2rem;
  padding:.8rem 1.4rem;border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(224,180,92,.35);
  color:var(--ink);text-decoration:none;font-size:.95rem;font-weight:600;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.cta:hover{background:rgba(255,255,255,.13);border-color:var(--gold);transform:translateY(-1px)}
.cta:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* An unresolved link. Deliberately loud rather than styled to look finished:
   a placeholder that looks like a working button is one that ships. */
.cta.pending{
  opacity:.55;cursor:not-allowed;
  border-style:dashed;
}

.note{
  margin-top:2.6rem;padding:1rem 1.15rem;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(157,180,221,.18);
  border-radius:12px;
  font-size:.9rem;color:var(--ink-dim);
}
.note b{color:var(--ink);font-weight:650}

footer{margin-top:3rem;font-size:.82rem;color:var(--ink-dim);opacity:.75}

/* ------------------------------------------------------------------ pictures
   The enlarge-on-tap overlay, shared by every page that shows a picture.
   Behaviour is in /assets/lightbox.js; these are only its looks.

   Lived in two page <style> blocks before, which is how the two copies drifted
   apart -- one switched off the page behind it and the other did not. */
.zoom-btn{
  background:none;border:0;padding:0;margin:0;cursor:zoom-in;
  display:inline-flex;border-radius:8px;flex:0 0 auto;
}
.zoom-btn.avatar-btn{border-radius:50%}
.zoom-btn:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.zoom-btn:hover img{border-color:var(--gold)}

.overlay{
  position:fixed;inset:0;z-index:50;display:none;
  background:rgba(0,0,0,.94);align-items:center;justify-content:center;
  padding:1.5rem;
}
.overlay.on{display:flex}
.overlay figure{margin:0;max-width:min(920px,100%);text-align:center}
.overlay img,.overlay video{
  max-width:100%;max-height:78vh;border-radius:8px;display:block;margin:0 auto;
}
.overlay .close{
  position:absolute;top:1rem;right:1.2rem;font-size:2rem;line-height:1;
  color:var(--ink);cursor:pointer;background:none;border:none;padding:.2rem .6rem;
}
.overlay .close:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#fc-lb-cap{margin:.9rem 0 0;font-size:.9rem;color:var(--ink-dim)}
#fc-lb-cap b{color:var(--ink);font-weight:600}
#fc-lb-go{display:inline-block;margin-top:.5rem;color:var(--gold);font-size:.88rem}
