/* Raymos site, Sunray palette (ruled 2026-10-22). Gold and black from the logo, a warm off-white for text. No other hue. */
:root {
  color-scheme: dark;
  --gold: #ffd24a;
  --gold-deep: #f0a030;
  --gold-hot: #ffe8a0;
  --gold-ink: #1a1304;
  --black: #070708;
  --panel: #141417;
  --field: #0b0b0c;
  --line: #232327;
  --ink: #f3efe4;
  --ink-muted: #9a9488;
  --font-sans: Inter, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--black); }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  padding: 0 16px;
  overflow-x: hidden;
}

.page { max-width: 480px; margin: 0 auto; padding: 32px 0 48px; }

.brand { margin-bottom: 24px; }
.brand img { display: block; width: 180px; height: auto; max-width: 100%; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px;
}

h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; }
.lede { color: var(--ink-muted); margin: 0 0 24px; }
p { margin: 0 0 12px; }
a { color: var(--gold); }

.field { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }

input[type="text"], input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px stops iOS Safari zooming the page on focus */
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

input:focus-visible, button:focus-visible, a:focus-visible, .card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* An error is a gold border on the field and the message in the text colour. */
input[aria-invalid="true"] { border-color: var(--gold); }

.hint { color: var(--ink-muted); font-size: 0.9rem; margin: 6px 0 0; overflow-wrap: anywhere; }
.hint strong { color: var(--gold); }
.error { color: var(--ink); font-size: 0.9rem; margin: 6px 0 0; }
.form-error { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--gold); border-radius: 8px; }

/* The filled gold pill: the Sign up button on the home page and in the form. */
.pill {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-hot), var(--gold) 55%, var(--gold-deep));
  border: 0;
  border-radius: 999px;
  padding: 12px 32px;
  cursor: pointer;
}
button.pill { width: 100%; }
.pill:hover { filter: brightness(1.06); }
.pill:focus-visible { outline-color: var(--gold-hot); }
button[disabled] { opacity: 0.6; cursor: progress; }

/* Honeypot, off screen but still in the DOM for bots. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

[hidden] { display: none !important; }
