/* Shared base for the Encore landing pages: the app's own tokens ("Papier & encre", SPEC §4.0),
   a CSS phone that scales with its width, and the waitlist form. Each page adds its own layout. */
:root{
  --paper:#F8F2EF; --card:#FBF5F3; --ink:#2A1F29; --muted:#6E5F6B; --faint:#8A7B86; --rule:#E6DAD6;
  --plum:#4A2146; --plum-deep:#3A1937; --plum-accent:#5B2A55; --plum-soft:#F1E6EE; --plum-wash:#F6ECF3; --plum-line:#8C5A86;
  --on-plum:#F8EDF5; --on-plum-muted:#E3CCDE; --peek:#E9D9E4;
  --coral:#EE9A89; --coral-note:#F4DCD8; --coral-ink:#6B2119; --coral-badge:#8E2F28; --ending:#A8362C;
  --ink-a:#5B2A55; --ink-b:#6B2119;
  --serif:"Fraunces",Georgia,"Times New Roman",serif; --text:"Newsreader",Georgia,serif;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 19px/1.55 var(--text);-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.08;margin:0;letter-spacing:-.01em;text-wrap:balance}
p{margin:0;text-wrap:pretty}
.wrap{width:min(var(--max),100% - 40px);margin-inline:auto}
.eyebrow{font:600 12.5px/1 var(--text);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;border:0;border-radius:999px;padding:.85em 1.5em;font:600 1rem/1 var(--text);background:var(--plum);color:var(--on-plum);cursor:pointer;text-decoration:none;transition:transform .15s,background .15s}
.btn:hover{background:var(--plum-deep);transform:translateY(-1px)}
.btn:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--coral);outline-offset:3px}
.mark{display:inline-flex;align-items:center;gap:.6em;text-decoration:none;font:500 1.3rem/1 var(--serif);font-style:italic}
.mark img{width:34px;height:34px;border-radius:9px}

/* waitlist form (front-end only: wire the submit to a real list before launch) */
.wait{display:flex;gap:10px;flex-wrap:wrap;max-width:520px}
.wait input{flex:1 1 230px;min-width:0;border:1.5px solid var(--plum-line);background:#fff;border-radius:999px;padding:.85em 1.2em;font:400 1rem/1 var(--text);color:var(--ink)}
.wait .btn{flex:0 0 auto}
.wait .btn:disabled{opacity:.6;cursor:progress}
.wait-note{font-size:.88rem;color:var(--muted);margin-top:10px}
.wait-err{font-size:.92rem;color:var(--ending);margin-top:10px;max-width:520px}
.wait-err[hidden]{display:none}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.wait-ok{display:none;font:italic 500 1.15rem/1.4 var(--serif)}
.wait-done .wait-ok{display:block}.wait-done .wait,.wait-done .wait-note{display:none}

footer.site{padding:44px 0 56px;font-size:.9rem;color:var(--muted)}
footer.site .row{display:flex;gap:18px 32px;flex-wrap:wrap;justify-content:space-between;align-items:center}
.age{display:inline-block;border:1.5px solid currentColor;border-radius:8px;padding:.15em .55em;font-weight:600;font-size:.82rem;margin-right:.6em}

/* ---- the phone: width sets everything (cqw), so it scales anywhere ---- */
.phone{--w:300px;width:min(var(--w),100%);aspect-ratio:9/18.6;container-type:inline-size;position:relative;border-radius:15% / 7.3%;background:#17101a;box-shadow:0 30px 60px -18px rgba(42,20,40,.45),0 0 0 1.4px #3a2b3c inset}
.phone .screen{position:absolute;inset:1.3% 2.6%;border-radius:12.6% / 6.1%;overflow:hidden;background:var(--paper);display:flex;flex-direction:column;font-size:4.7cqw;line-height:1.4;color:var(--ink)}
.phone .island{position:absolute;top:2.4cqw;left:50%;width:27cqw;height:7.6cqw;background:#0c070d;border-radius:99px;transform:translateX(-50%);z-index:3}
.sb{display:flex;justify-content:space-between;padding:5.2cqw 9cqw 0;font:600 3.9cqw/1 var(--text)}
.s-head{padding:5cqw 6.5cqw 3cqw;display:flex;justify-content:space-between;align-items:flex-start;gap:3cqw}
.s-head b{font:500 5.6cqw/1.15 var(--serif)}
.s-head small{display:block;font-size:3.5cqw;color:var(--muted);margin-top:1cqw}
.chip{flex:none;font:600 3.3cqw/1 var(--text);background:var(--plum-soft);color:var(--plum-accent);padding:1.7cqw 3cqw;border-radius:99px;letter-spacing:.02em}
.s-body{padding:0 6.5cqw;display:flex;flex-direction:column;gap:3.2cqw;flex:1;overflow:hidden}
.s-body p{margin:0;font-size:4.9cqw;line-height:1.42}
.ink-a{color:var(--ink-a)}.ink-b{color:var(--ink-b)}
.s-body .you{opacity:.55}
.s-sheet{background:var(--plum);color:var(--on-plum);border-radius:7cqw 7cqw 0 0;padding:4cqw 5cqw 6cqw}
.seg{display:flex;background:rgba(255,255,255,.1);border-radius:99px;padding:.9cqw;margin-bottom:3.4cqw}
.seg span{flex:1;text-align:center;padding:1.8cqw 0;border-radius:99px;font:600 3.3cqw/1 var(--text);color:var(--on-plum-muted)}
.seg .on{background:var(--paper);color:var(--plum)}
.idea{background:var(--card);color:var(--ink);border-radius:4.5cqw;padding:3.4cqw 4cqw;margin-bottom:3.4cqw;font-size:4cqw;line-height:1.36}
.acts{display:flex;gap:2.6cqw}
.acts span{flex:1;text-align:center;padding:2.8cqw 0;border-radius:99px;font:600 3.7cqw/1 var(--text);border:1.2px solid var(--plum-line);color:var(--on-plum)}
.acts .go{background:var(--coral);border-color:var(--coral);color:var(--coral-ink)}
.s-home{height:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
