/* ============================================================
   Numitsu Studio — Website Design System
   Néobrutalisme puzzle-zine : papier chaud, encre noire,
   couleurs vives, ombres rigides, bordures nettes.
   ============================================================ */

/* --- Fonts ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Fredoka:wght@400;500;600;700&display=swap');

/* --- Tokens ------------------------------------------------ */
:root {
  /* Paper & surfaces */
  --paper: #fef8e9;
  --paper-deep: #f1e9d9;
  --white: #fffdf8;
  --surface: #fffdf8;

  /* Ink & text */
  --ink: #171717;
  --soft-ink: #49443f;
  --placeholder-ink: #77716a;

  /* Accents */
  --yellow: #f5d648;
  --coral: #f7695f;
  --violet: #9077f8;
  --violet-dark: #6754d0;
  --cyan: #7edaea;
  --mint: #a1f09f;

  /* Copy on colored backgrounds */
  --violet-copy: #251e43;
  --mint-copy: #173c25;

  /* Semantic */
  --error: #ad262f;

  /* Shapes */
  --radius-card: 14px;
  --radius-button: 11px;
  --radius-control: 9px;
  --radius-label: 8px;

  /* Shadows */
  --shadow-card: 4px 4px 0 var(--ink);
  --shadow-button: 0 3px 0 var(--ink);

  /* Spacing */
  --space-card: 14px;
  --space-section: 24px;
  --space-screen-x: 14px;

  /* Typography */
  --font-body: 'Fredoka', sans-serif;
  --font-display: 'Anton', sans-serif;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Base -------------------------------------------------- */
html {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  padding: 2rem 1rem;
  /* Dotted paper background — signature Numitsu Studio */
  background-image: radial-gradient(circle, var(--paper-deep) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* --- Typography -------------------------------------------- */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0em;
  line-height: 1.025;
  text-transform: uppercase;
  color: var(--ink);
}

h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 3px solid var(--yellow);
}

p {
  font-size: 0.95rem;
  color: var(--soft-ink);
  margin-bottom: 0.75rem;
}

a {
  color: var(--violet);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

a:hover {
  color: var(--violet-dark);
  text-decoration: underline;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

ul, ol {
  margin: 0.5rem 0 1rem 1.25rem;
}

li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--soft-ink);
}

/* --- Selection --------------------------------------------- */
::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* --- Card -------------------------------------------------- */
.card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-card);
}

/* --- Subtitle / Tagline ------------------------------------ */
.subtitle,
.tagline {
  color: var(--soft-ink);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--ink);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* Primary: yellow sticker */
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-button);
}

/* Secondary: white outline */
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-button);
}

/* Coral accent */
.btn-coral {
  background: var(--coral);
  color: var(--ink);
  box-shadow: var(--shadow-button);
}

/* --- Info boxes -------------------------------------------- */
.contact-box {
  background: color-mix(in srgb, var(--mint) 15%, var(--surface));
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.contact-box p {
  margin-bottom: 0.25rem;
}

.warning-box {
  background: color-mix(in srgb, var(--coral) 12%, var(--surface));
  border: 2px solid var(--coral);
  border-radius: var(--radius-control);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.warning-box p {
  margin-bottom: 0;
  color: var(--error);
}

/* --- Footer ------------------------------------------------ */
.footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--placeholder-ink);
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 600px) {
  body {
    padding: 1rem 0.5rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  h1 {
    font-size: 1.6rem !important;
  }
}
