/* ===========
   Core tokens
   =========== */
:root {
  /* Color palette — moody blacks with warm metallic accent */
  --clr-bg:        #0a0a0a;      /* near-black */
  --clr-surface:   #1a1a1a;      /* card / input bg */
  --clr-text:      #f1f1f1;      /* primary text */
  --clr-muted:     #9e9e9e;      /* secondary text */
  --clr-accent:    #c7a26a;      /* copper-gold highlight */
  --clr-danger:    #e05a5a;

  /* Typography & rhythm */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, sans-serif;
  --fs-1: clamp(2.5rem, 6vw + 1rem, 4rem); /* h1 */
  --fs-2: 2rem;  /* h2 */
  --fs-3: 1.5rem;/* h3 */
  --fs-4: 1.25rem;
  --fs-base: 1rem;
  --fs-small: 0.875rem;

  --radius-sm: .25rem;
  --radius-md: .5rem;
  --radius-lg: 1rem;

  --spacing-xs: .25rem;
  --spacing-sm: .5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;

  /* Motion */
  --timing: 150ms ease;
}

/* ===========
   Global reset
   =========== */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

/* ===========
   Typography
   =========== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--spacing-md);
  font-weight: 600;
  color: var(--clr-text);
}

h1 { font-size: var(--fs-1); letter-spacing: -.03em; }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-4); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-small); }

p, ul, ol {
  margin: 0 0 var(--spacing-md);
  max-width: 75ch;
  color: var(--clr-text);
}

small { font-size: var(--fs-small); color: var(--clr-muted); }

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--timing);
}
a:hover, a:focus { color: #e0c79d; }

/* ===========
   Form elements
   =========== */

/* Baseline */
input,
textarea,
select,
button {
  font: inherit;
  color: var(--clr-text);
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-muted);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  transition: border-color var(--timing), box-shadow var(--timing);
}

/* Focus state */
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--clr-accent) 40%, transparent);
}

/* Placeholder */
::placeholder { color: var(--clr-muted); }

/* Inputs & Textareas */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea {
  width: 100%;
  max-width: 100%;
}

/* Radios & Checkboxes */
input[type="radio"],
input[type="checkbox"] {
  /* Hide native */
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0 var(--spacing-xs) 0 0;
  border: 2px solid var(--clr-muted);
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-content: center;
  transition: border-color var(--timing), background-color var(--timing);
}

input[type="radio"] { border-radius: 50%; }

input[type="radio"]::before,
input[type="checkbox"]::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: inherit;
  background-color: var(--clr-accent);
  transform: scale(0);
  transition: transform var(-
