/* Duck Days support site.
   The app is dark-only and pixel-art fronted, so the site is too: near-black
   ground, one yellow accent, rounded sans for language and monospace only for
   data. Same rule as the app — retro personality comes from the artwork, not
   from styling every label like a terminal. */

:root {
  --ground: #0a0b0f;
  --raised: #14161d;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f5f5f7;
  --dim: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.38);
  --accent: #ffe066;
  --sky-top: #7cc9f0;
  --sky-bottom: #bfe7fa;
  --sans: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

/* The app's faint pixel grid, as one repeating gradient rather than an image. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 8px 8px;
}

.wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ---- masthead ---- */

header {
  padding: 72px 0 44px;
  text-align: center;
}

header img.duck {
  width: 168px;
  max-width: 60%;
  height: auto;
  image-rendering: pixelated;
}

h1 {
  font-size: clamp(34px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 6px;
}

.tagline {
  color: var(--dim);
  margin: 0;
  font-size: 17px;
}

/* ---- sections ---- */

section { margin-top: 52px; }

h2 {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
}

h3 {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 6px;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration-color: rgba(255, 224, 102, 0.35);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: var(--accent); }

/* ---- contact ---- */

.contact {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
}

.contact .email {
  display: inline-block;
  font-family: var(--mono);
  font-size: clamp(17px, 4.4vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  word-break: break-all;
}

.contact p { color: var(--dim); font-size: 15px; }

/* ---- faq ---- */

.faq > div {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq > div:last-child { padding-bottom: 0; }

.faq p {
  color: var(--dim);
  font-size: 16px;
}

/* ---- duck strip ---- */

.ducks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  /* Not stretch: a stretched flex item ignores its aspect-ratio and takes the
     row's height instead, which squashed the cards and clipped the ducks. */
  align-items: flex-start;
}

.ducks div {
  flex: 1 1 92px;
  max-width: 132px;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(var(--sky-top), var(--sky-bottom));
  display: grid;
  place-items: center;
  padding: 14px;
}

.ducks img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

/* ---- footer ---- */

footer {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  font-size: 14px;
  color: var(--faint);
  font-family: var(--mono);
}

footer .spacer { flex: 1; }

/* ---- privacy page prose ---- */

.prose h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 10px;
}

.prose ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--dim);
}

.prose li { margin-bottom: 7px; }

.prose > p { color: var(--dim); }

.lede {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
}

.updated {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}

.back {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 13px;
}
