/* Shared styles for inner pages (about, no-slop). Same palette + grain as
   index.html, which keeps its own inline copy. Palette mirrors
   DesignSystem.swift so web and app never drift. */
@font-face {
  font-family: "Nunito";
  src: url("assets/nunito.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --splash-inner: #BB9CA3;
  --splash-outer: #634FFF;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  background: radial-gradient(circle at 50% 46%, var(--splash-inner) 0%, var(--splash-outer) 100%);
  background-attachment: fixed;
  font-family: "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 6vw, 64px) 20px calc(40px + env(safe-area-inset-bottom));
  min-height: 100vh;
  min-height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("assets/noise.png");
  background-repeat: repeat;
  background-size: 115.2px 115.2px;
  image-rendering: pixelated;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
}

/* Welcome-screen title treatment */
h1 {
  margin: 0;
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 1px 3px 0 #000;
  text-align: center;
}

h2 {
  margin: clamp(26px, 5vw, 40px) 0 0;
  font-size: clamp(21px, 5vw, 27px);
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;
  text-shadow: 1px 2px 0 #000;
}

p, li {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  color: #000;
  line-height: 1.5;
}

p { margin: 12px 0 0; }
ul { margin: 12px 0 0; padding-left: 22px; }
li { margin-top: 6px; }

a { color: #000; text-underline-offset: 2px; }

.center { text-align: center; }

.cta {
  margin-top: clamp(18px, 3.5vw, 28px);
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 0 8px 0 #000;
  white-space: nowrap;
  font-size: clamp(15px, 4vw, 22px);
  font-weight: 900;
  color: #000;
  text-decoration: none;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}

.cta:active { transform: translateY(6px); box-shadow: 0 2px 0 #000; }

footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 40px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
}

footer a { color: rgba(0, 0, 0, 0.75); }
