/*
 * DDLG Shop. The colours and type come from the original coming-soon page: a blush-to-lavender
 * wash, plum text, a pink accent and heavy rounded headings. Buttons are plum with white text
 * (white on the pink is too faint to read comfortably); the pink is for accents and focus rings.
 */
:root {
  --blush: #ffe4ef;
  --lavender: #e9e1ff;
  --plum: #5b3a55;
  --plum-dark: #432a3f;
  --pink: #ff7eb6;
  --white: #ffffff;
  /* Surfaces and lines, so night mode (night.css) can swap them in one place. */
  --card: rgb(255 255 255 / 0.55);
  --card-strong: rgb(255 255 255 / 0.7);
  --field: rgb(255 255 255 / 0.85);
  --line: rgb(91 58 85 / 0.2);
  --line-strong: rgb(91 58 85 / 0.25);
  --alert: #a0144f;
  --button: var(--plum);
  --button-hover: var(--plum-dark);
  --on-button: var(--white);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  line-height: 1.5;
  color: var(--plum);
  background: linear-gradient(160deg, var(--blush), var(--lavender)) fixed;
}

a { color: inherit; }

h1 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.bar {
  width: 4rem;
  height: 4px;
  margin: 1.5rem auto 0;
  background: var(--pink);
  border-radius: 2px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font: inherit;
  font-weight: 700;
  color: var(--on-button);
  background: var(--button);
  cursor: pointer;
}
.button:hover { background: var(--button-hover); }
.button:disabled { opacity: 0.6; cursor: progress; }

input[type="email"],
input[type="password"],
input[type="search"],
input[type="text"] {
  min-width: 0;
  padding: 0.8rem 1.1rem;
  font: inherit;
  font-size: 1rem; /* at least 16px, so phones don't zoom in on focus */
  color: var(--plum);
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: 999px;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Bots fill this in; people never see it. */
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
