/* The POP MODZ landing: shown for /t without a tag message and for every tap that cannot open a
   fidget (a used link, a foreign tag). NFC.cool's own blue (the app icon's gradient), white logo. */
html.landing-page, html.landing-page body { margin: 0; background: #1A60CE; }
.landing, .landing *, .landing *::before, .landing *::after { box-sizing: border-box; }
/* One column as wide as the screen allows: the content can never push past the side padding. */
.landing {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
  justify-items: center; gap: 0; overflow-y: auto;
  padding: calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(160deg, #1A60CE 0%, #128CF0 100%);
  color: #fff; text-align: center; font: 500 17px/1.45 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}
.landing .logo { width: min(240px, 62vw); height: auto; margin-bottom: 36px; }
.landing h1 { margin: 0 0 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.landing p { margin: 0; max-width: 30ch; opacity: 0.86; }
.landing .claim { display: grid; gap: 10px; width: min(320px, 100%); margin-top: 28px; }
.landing .claim label { font-size: 14px; opacity: 0.86; }
.landing .claim p { max-width: none; }
.landing .claim input {
  /* An input's default width is its size attribute in characters, wider than the form at this font
     size (Safari counts the letter spacing too): it takes the form's width instead. */
  width: 100%; min-width: 0;
  font: 600 24px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; text-align: center; text-transform: uppercase;
  padding: 12px 14px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.14); color: #fff;
}
.landing .claim input::placeholder { color: rgba(255, 255, 255, 0.45); }
.landing .claim input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, 0.2); }
.landing .claim button {
  font: 700 17px/1 -apple-system, system-ui, sans-serif; padding: 14px; border: 0; border-radius: 14px;
  background: #fff; color: #1A60CE; cursor: pointer;
}
.landing .claim button:disabled { opacity: 0.7; cursor: default; }
.landing .claim button:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.7); outline-offset: 2px; }
.landing .claim-error { margin: 0; font-size: 14px; font-weight: 700; color: #FFE08A; }
