/* /newsletter, the newsletter sign-up page (app/routes/newsletter.tsx).
   Linked from that route only. Type, palette, the two-tone heading, the blue
   pill button and the dithered sky are the homepage's and /android's
   (public/css/android.css, public/js/android-sky.js). */

body{background:#fff}
.nlw{
  --ink:#1d1d1f;--muted:#4f545e;--soft:#6e6e73;--blue:#0066eb;--blue-deep:#0058cc;--line:#e4e6eb;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Helvetica,Arial,sans-serif;
  color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:clip;
}
.nlw h1,.nlw h2{font-weight:600;letter-spacing:-.03em;text-wrap:balance;margin:0}
.nlw a:focus-visible,.nlw-btn:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

/* ── Hero ── */
.nlw-hero{
  position:relative;isolation:isolate;overflow:hidden;
  min-height:min(100svh,760px);display:grid;place-items:center;
  /* Pulled up under the nav (.snav-spacer is 78px) so the sky starts at the top of the page. */
  margin-top:-78px;padding:158px 20px 88px;text-align:center;
  /* Shown until android-sky.js paints, and when WebGL2 is missing. */
  background:linear-gradient(#4f9bff,#cfe2ff 26%,#fff 52%);
}
/* One canvas pixel per dither cell, scaled up unsmoothed (android-sky.js). */
.nlw-sky{position:absolute;z-index:-2;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated;opacity:0;transition:opacity .6s cubic-bezier(.23,1,.32,1)}
.nlw-sky.is-on{opacity:1}
.nlw-hero-inner{width:min(760px,100%);display:flex;flex-direction:column;align-items:center}

.nlw h1{font-size:clamp(40px,7.4vw,88px);line-height:1.04}
.nlw-lead,.nlw-ending{display:block}
.nlw-ending{color:var(--soft)}
.nlw-hmark{display:inline-block;width:.8em;height:.8em;vertical-align:-.07em;margin-right:.14em;animation:nlw-turn 40s linear infinite}
@keyframes nlw-turn{to{transform:rotate(360deg)}}
.nlw-intro{font-size:clamp(17px,1.5vw,21px);line-height:1.5;color:var(--muted);margin:26px 0 0;max-width:520px;text-wrap:pretty}

.nlw-form{width:min(520px,100%);margin:38px 0 0}
.nlw-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nlw-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.nlw-row{
  display:flex;gap:6px;padding:6px;border-radius:999px;background:#fff;border:1px solid var(--line);
  box-shadow:0 1px 1px rgba(0,0,0,.03),0 22px 48px -18px rgba(20,40,80,.28);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.nlw-row:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,110,255,.14),0 22px 48px -18px rgba(20,40,80,.28)}
.nlw-input{
  flex:1 1 auto;min-width:0;font:inherit;font-size:17px;color:var(--ink);
  background:transparent;border:0;border-radius:999px;padding:12px 8px 12px 20px;outline:none;
}
.nlw-input::placeholder{color:#9a9ea7}
.nlw-btn{
  flex:0 0 auto;font:inherit;font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1.5;color:#fff;
  background:var(--blue);border:0;border-radius:999px;padding:12px 26px;cursor:pointer;white-space:nowrap;
  box-shadow:0 10px 28px rgba(20,40,80,.15);
  transition:transform .18s cubic-bezier(.23,1,.32,1),background .18s ease,box-shadow .18s ease;
}
.nlw-btn:hover{transform:translateY(-1px);background:var(--blue-deep);box-shadow:0 14px 34px rgba(20,40,80,.2)}
.nlw-btn:active{transform:scale(.98)}
.nlw-btn:disabled{opacity:.6;cursor:default;transform:none}
.nlw-err{display:none;font-size:14px;color:#c92a2a;margin:12px 0 0}
.nlw[data-error] .nlw-err{display:block}
.nlw-note{font-size:14px;line-height:1.5;color:var(--muted);margin:18px 0 0}
.nlw-note a{color:var(--blue);text-decoration:none}
.nlw-note a:hover{text-decoration:underline;text-underline-offset:3px}
/* After the sign-up the heading and intro say so; the form goes. */
.nlw[data-done] .nlw-form,.nlw[data-done] .nlw-note{display:none}

/* ── What we send: three lines of type, no cards ── */
.nlw-what{width:min(760px,calc(100% - 40px));margin-inline:auto;padding:56px 0 128px}
.nlw h2{font-size:clamp(30px,4.2vw,48px);line-height:1.1;text-align:center}
.nlw-list{list-style:none;margin:44px 0 0;padding:0;border-top:1px solid var(--line)}
.nlw-list li{
  padding:26px 4px;border-bottom:1px solid var(--line);
  font-size:clamp(20px,2.6vw,28px);line-height:1.3;font-weight:600;letter-spacing:-.02em;color:var(--soft);text-wrap:pretty;
}
.nlw-list strong{font-weight:600;color:var(--ink)}

@media(max-width:700px){
  .nlw-what{padding:48px 0 88px}
  .nlw-list{margin-top:32px}
  .nlw-list li{padding:20px 2px}
}
@media(max-width:520px){
  .nlw-hero{min-height:0;padding:140px 20px 72px}
  .nlw-intro{margin-top:20px}
  .nlw-form{margin-top:30px}
  /* Field and button stack, each a full-width 52px target. */
  .nlw-row{flex-direction:column;border-radius:28px;padding:8px}
  .nlw-input{padding:13px 16px;text-align:center}
  .nlw-btn{padding:14px 22px}
}
@media(prefers-reduced-motion:reduce){
  .nlw-hmark{animation:none}
  .nlw-btn,.nlw-sky{transition:none}
  .nlw-btn:hover{transform:none}
}
