/* TacomaIRL holding page [M0-T03a].
   Tokens come from the prototype (app/globals.css) after the copy-audit §C declutter:
   one headline, no eyebrows, no pink periods, no arrows, no rotations, square corners. */

:root {
  --ink: #141414;
  --paper: #fafaf7;
  --white: #ffffff;
  --signal: #ff405e;
  --ring: #087682;
  --muted: #4a4a45;
  --error: #971d2c;
  --error-bg: #ffe2df;
  --success: #2f6b2a;
  --success-bg: #e2f1dc;
  --music: #ff7bcc;
  --arts: #b7a2e3;
  --food: #ff8656;
  --outdoors: #09aaa9;
  --markets: #ffb800;
  --sports: #368ed2;
  --community: #35c1c8;
  --family: #e8ef20;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
}

/* One 6px strip in the eight D-22 category colors, in nav order (copy-audit C3). */
.strip {
  height: 6px;
  background: linear-gradient(
    to right,
    var(--music) 0 12.5%,
    var(--arts) 12.5% 25%,
    var(--food) 25% 37.5%,
    var(--outdoors) 37.5% 50%,
    var(--markets) 50% 62.5%,
    var(--sports) 62.5% 75%,
    var(--community) 75% 87.5%,
    var(--family) 87.5% 100%
  );
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  padding-top: 24px;
  padding-bottom: 20px;
}

/* Wordmark (copy-audit C4): one word, weight 900, "IRL" in Signal on paper. */
.wordmark {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wordmark .irl {
  color: var(--signal);
}

main {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 48px;
  border-top: 1.5px solid var(--ink);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lede {
  max-width: 36em;
  margin: 0 0 40px;
  font-size: 20px;
}

.signup {
  margin: 0 0 40px;
  padding: 24px;
  background: var(--white);
  border: 1.5px solid var(--ink);
}

.signup p {
  margin: 0;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

input[type='email'] {
  flex: 1 1 240px;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 0;
}

input[aria-invalid='true'] {
  border: 2px solid var(--error);
}

button {
  height: 48px;
  padding: 0 20px;
  font: inherit;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}

button:hover {
  background: #2e2e2e;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ring);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.signup .fine-print {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.signup .field-error {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--error);
}

.error-summary {
  margin: 0 0 16px;
  padding: 12px 16px;
  background: var(--error-bg);
  border-left: 4px solid var(--error);
}

.notice-success {
  padding: 12px 16px;
  background: var(--success-bg);
  border-left: 4px solid var(--success);
}

/* Honeypot: off screen and hidden from assistive tech (S3). */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  margin-top: 12px;
}

.privacy-line {
  max-width: 36em;
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
}

.organizers {
  max-width: 36em;
  margin: 0;
}

.site-footer {
  padding-top: 20px;
  padding-bottom: 28px;
  font-size: 15px;
  border-top: 1.5px solid var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 480px) {
  main {
    padding-top: 28px;
  }

  .signup {
    padding: 18px;
  }

  button {
    width: 100%;
  }
}
