/* Launch signup page. Uses the palette and buttons from styles.css. */
html, body.notify-page { height: auto; }
body.notify-page { min-height: 100dvh; background-attachment: scroll; display: flex; flex-direction: column; }
.notify { flex: 1; width: 100%; max-width: 1020px; margin: 0 auto; padding: 40px 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 26px; font-weight: 600; color: var(--line); }
.notify h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.04; letter-spacing: -.5px; color: var(--line); margin: 0 0 16px; text-wrap: balance; }
.notify h1:focus, .notify [tabindex="-1"]:focus { outline: none; }
.lead { font-size: 19px; line-height: 1.45; max-width: 44ch; margin: 0 0 26px; overflow-wrap: anywhere; }
.notify form label { display: block; font-weight: 600; margin-bottom: 8px; }
.line { display: flex; gap: 10px; max-width: 480px; }
.line input { flex: 1; min-width: 0; padding: 12px 18px; font-size: 17px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.notify .btn { width: auto; padding: 11px 24px; white-space: nowrap; }
.extra { position: absolute; left: -9999px; }
.notify .error { margin: 10px 0 4px; }
.fine { font-size: 15px; line-height: 1.45; color: var(--muted); max-width: 52ch; margin: 0; }
.fine a, .notify-foot a { color: var(--teal-dark); }

.peek { position: relative; width: min(100%, 320px); aspect-ratio: 3 / 4; margin: 0 auto; }
.p-card { position: absolute; inset: 0; border: 3px solid var(--line); border-radius: 12px; background: var(--frame); overflow: hidden; }
.p-card.back { background: var(--bar); transform: rotate(7deg) translate(14px, 4px); }
.p-card.front { display: flex; flex-direction: column; transform: rotate(-3deg); padding: 7px; gap: 7px; box-shadow: 0 14px 34px rgba(43, 42, 88, .35); }
.p-bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 3px 4px 3px 11px; font-weight: 600; background: linear-gradient(#fff, #f0f3fb); border: 2px solid var(--line); border-radius: var(--radius); }
.p-bar .win-x { margin-left: auto; width: 25px; height: 23px; }
.p-head { flex: 0 0 auto; margin: 0; padding: 1px; text-align: center; color: #4a4f75; background: linear-gradient(#e3e8f5, #cbd3e9); border: 2px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.p-card svg { flex: 1; min-height: 0; width: 100%; display: block; border: 2px solid var(--line); border-radius: var(--radius); }
.p-card dl { margin: -7px 0 0; padding: 0 12px 4px; background: #fff; border: 2px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.p-card dl div { padding: 6px 0; }
.p-card dl div + div { border-top: var(--stitch); }
.p-card dt { font-size: 14px; color: var(--muted); }
.p-card dd { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.25; }
.mark.float { position: absolute; right: -30px; bottom: 26%; width: 84px; height: 84px; transform: rotate(10deg); }

.notify-foot { padding: 18px 28px 24px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.notify-foot p { margin: 0 0 4px; }
.notify-foot .support-row { margin: 0 0 12px; }
.notify-foot .support { margin: 0; }
.notify-foot a { margin: 0 8px; }

@media (max-width: 760px) {
  .notify { grid-template-columns: 1fr; gap: 44px; padding: 28px 22px 36px; align-content: start; }
  .peek { width: min(64%, 240px); }
  .peek { aspect-ratio: 5 / 8; }
  .p-card dd { font-size: 16px; }
  .mark.float { width: 64px; height: 64px; }
}
@media (max-width: 420px) {
  .line { flex-direction: column; }
  .notify .line .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .p-card.front { animation: settle .7s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes settle { from { transform: rotate(5deg) translateY(16px); opacity: 0; } }
}
