/* The Leap List — canonical styles for cards, badges, inputs and panels
 *
 * Source of truth (21 Nov 2026 locked brief, as built into the v17 app):
 *   /workspace/leaplist-v1-preview-v17/public/brand/brand-site.css
 *   /workspace/leaplist-restyle/style-guide.html and app.css
 *
 * Approved: Magma Cream colours, flat social-app look, hairline 1px
 * borders (or none), no offset sticker shadows. Cards are square-cornered
 * with a light hairline. Inputs use an underline, not a boxed outline.
 * The Coming Soon badge is a flat gold pill — no 2px ink outline and
 * no 3px/4px offset shadow.
 *
 * Banned “sticker” chrome (old coming-soon site.css / legal.css):
 * 2px+ solid ink outlines, offset shadows (3px 3px 0 / 4px 4px 0 and
 * thicker 5px/6px cousins), and the bubble Coming Soon badge.
 *
 * Every new Leap List page must import buttons.css and this file
 * (after any older site CSS) and must not copy card/badge/input CSS
 * from older folders (leaplist-site-*, coming-soon site.css).
 */

:root {
  --ll-ink: #2b1d17;
  --ll-cream: #fff7ef;
  --ll-card: #ffffff;
  --ll-gold: #ff9e00;
  --ll-hairline: rgba(43, 29, 23, 0.12);
  --ll-field-line: rgba(43, 29, 23, 0.28);
  --ll-font: "Space Grotesk", system-ui, sans-serif;
}

/* Badge — flat pill, no sticker outline or offset shadow */
.badge,
.hd .badge,
header .badge {
  font: 700 11px "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold, var(--ll-gold));
  color: var(--ink, var(--ll-ink));
  padding: 7px 12px;
  border-radius: 999px;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
}

/* Cards, notices, cookie banner, form panels */
.card,
.soft-card,
.legal-card,
.photo-card,
.thanks-card,
.notice,
.cookie-banner {
  background: var(--card, var(--ll-card));
  border: 1px solid var(--ll-hairline);
  border-radius: 0;
  box-shadow: none;
}

.notice p {
  margin: 0;
}

/* Text fields — underline only, no boxed 2px outline, no shadow */
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field input[type="password"],
.field input[type="search"],
.field textarea,
.field select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  font-family: var(--ll-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink, var(--ll-ink));
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ll-field-line);
  border-radius: 0;
  padding: 10px 0;
  box-shadow: none;
}

.field input[readonly] {
  background: transparent;
  font-weight: 600;
  cursor: default;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold, var(--ll-gold));
  outline-offset: 2px;
}

/* Option rows, upload well, error — hairline only */
.option,
.upload-panel,
.form-error,
.cookie-prefs {
  border-width: 1px;
  box-shadow: none;
}

.form-error {
  border: 1px solid var(--hot, #e63900);
  border-radius: 0;
  box-shadow: none;
}

.upload-panel {
  border: 1px dashed rgba(43, 29, 23, 0.28);
  border-radius: 0;
  box-shadow: none;
}

/* Beat / story / CTA cards from older site.css, if this file is imported */
.beat,
.leap-card,
.cta-card {
  border: 1px solid var(--ll-hairline);
  box-shadow: none;
}
