/* Discover BCS — base stylesheet.
   All styling lives here: the site's CSP is `style-src 'self'`, so <style> blocks
   and style="" attributes are silently blocked by the browser. */

:root {
  --maroon: #6b1f2e;
  --maroon-dark: #4d1520;
  --cream: #faf6f0;
  --paper: #fffdfa;
  --ink: #22201e;
  --ink-soft: #5f5952;
  --rule: #e4dbcf;
  --accent: #b5843d;
  --error-bg: #fdf0ef;
  --error-border: #c0392b;
  --radius: 10px;
  --wrap: 68rem;
}

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

/* An element with display:flex/grid beats the UA's [hidden] rule — force it. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 40rem; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem;
  background: var(--paper);
  padding: .6rem 1rem;
  border-radius: var(--radius);
  z-index: 10;
}

/* ---------- header ---------- */

.site-header {
  background: var(--maroon);
  color: var(--cream);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.12rem; letter-spacing: .01em; }
.brand-text small { font-size: .8rem; opacity: .82; }

.nav a { color: inherit; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--maroon);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn:hover { background: var(--maroon-dark); color: #fff; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .42rem .9rem; font-size: .9rem; }
.site-header .btn {
  background: transparent;
  border-color: var(--accent);
  color: var(--cream);
}
.site-header .btn:hover { background: var(--accent); color: var(--maroon-dark); }
.btn-quiet {
  background: transparent;
  color: var(--maroon);
  border-color: var(--rule);
  margin-left: .5rem;
}
.btn-quiet:hover { background: var(--paper); color: var(--maroon-dark); }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--paper), var(--cream));
  border-bottom: 1px solid var(--rule);
  padding: 3.4rem 0 3rem;
}
.eyebrow {
  margin: 0 0 .6rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 .8rem;
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 18ch;
}
.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 1.5rem;
}
.hero-actions { margin: 0; }

/* ---------- sections ---------- */

.section { padding: 2.8rem 0; }
.section h1, .section h2 { letter-spacing: -.015em; }
.section h2 { margin: 0 0 .4rem; font-size: 1.55rem; }
.section-note { margin: 0 0 1.6rem; color: var(--ink-soft); }

/* ---------- form ---------- */

.form { display: flex; flex-direction: column; margin-top: 1.5rem; }
.form label {
  font-weight: 600;
  margin-bottom: .3rem;
}
.form label + .hint { margin-top: -.2rem; }
.req { color: var(--error-border); font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: .6rem .75rem;
  margin-bottom: 1.15rem;
  width: 100%;
}
.form textarea { resize: vertical; min-height: 8rem; }
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.hint {
  margin: 0 0 1.15rem;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* Honeypot — off-screen rather than display:none so naive bots still fill it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.cf-turnstile { margin-bottom: 1.2rem; }

.form .btn { align-self: flex-start; }

.errors {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-left-width: 4px;
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin: 1.5rem 0 0;
}
.errors p { margin: 0 0 .4rem; }
.errors ul { margin: 0; padding-left: 1.2rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  margin-top: 2rem;
  padding: 1.6rem 0;
  font-size: .9rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner p { margin: 0; }
