/* Shared styles for rarefindgroup.com, following the Bottle Chase brand board: charcoal background, gold and
   whiskey-amber accents, cream text. Headings use Cinzel (a free web font in the style of the board's Trajan Pro);
   body text uses Montserrat. When you change this file, bump the ?v= number in every page's <link> to it so
   browsers fetch the new copy. */
:root {
  --charcoal: #0d1212;
  --surface: #161a1a;
  --surface-2: #1d2121;
  --amber: #c2530b;
  --copper: #be6324;
  --gold: #d4a95b;
  --cream: #f8efe2;
  --brown: #3a1e0f;
  --text: #f8efe2;
  --muted: #b9ab98;
  --line: #2c2a26;
  --heading: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--text);
  font: 16.5px/1.65 var(--body);
}
a { color: var(--gold); }
a:hover { color: var(--cream); }
img { max-width: 100%; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(13, 18, 18, 0.92); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 62px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { font-family: var(--heading); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 14px; color: var(--gold); text-decoration: none; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--cream); }

/* Page text */
main { padding: 44px 0 72px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; color: var(--cream); }
h1 { font-size: 38px; line-height: 1.15; margin: 0 0 14px; letter-spacing: 0.01em; }
h2 { font-size: 22px; line-height: 1.3; margin: 44px 0 12px; color: var(--gold); letter-spacing: 0.04em; }
h3 { font-size: 17px; margin: 22px 0 4px; }
.lead { font-size: 18.5px; color: var(--muted); margin: 0 0 28px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.meta { color: var(--muted); margin: 0 0 24px; }
.note { background: var(--surface); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 10px; }
.rule { width: 120px; height: 1px; border: 0; margin: 18px 0 24px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
ul { padding-left: 22px; }
li { margin: 5px 0; }
strong { color: var(--cream); }

/* Bottle Chase hero: the full logo lockup, faded into the page at its edges */
.hero { padding: 28px 0 8px; text-align: center; background: radial-gradient(ellipse at 50% 40%, #1f1a14 0%, var(--charcoal) 70%); }
.hero .logo {
  display: block;
  width: min(440px, 92%);
  height: auto;
  margin: 0 auto;
  /* Fade only the four edges into the page, so the lettering stays fully visible. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 7%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 7%);
  mask-composite: intersect;
}
.hero p { color: var(--muted); font-size: 18.5px; margin: 10px auto 0; max-width: 520px; }
.hero .pill { margin: 22px 0 8px; }
.hero .soon { margin: 22px auto 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.hero .button { margin-bottom: 12px; }

/* Waitlist sign-up */
.signup { padding: 36px 0 8px; }
.signup .wrap > * { max-width: 560px; }
.signup h2 { margin-top: 0; }
.signup form { display: grid; gap: 14px; margin: 18px 0 10px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.signup input[type="email"] {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--charcoal);
  color: var(--cream); font: 16px var(--body);
}
.signup input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.signup fieldset { border: 0; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.signup legend { float: left; margin-right: 6px; color: var(--muted); font-size: 15px; }
.signup fieldset label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.signup input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; }
.signup .button { border: 0; cursor: pointer; font: 600 16px var(--body); justify-self: start; }
.signup .button:disabled { opacity: 0.6; cursor: default; }
.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-message { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-message.ok { color: var(--gold); }
.form-message.bad { color: #f0a07a; }
.fine { color: var(--muted); font-size: 14px; }

/* Buttons and pills */
.pill { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; text-decoration: none; }
.button { display: inline-block; font-family: var(--body); padding: 12px 22px; border-radius: 999px; background: var(--amber); color: var(--cream); font-weight: 600; text-decoration: none; }

/* Cards */
.app-card { display: flex; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.15s; }
.app-card:hover { border-color: var(--gold); color: inherit; }
.app-card img { width: 76px; height: 76px; border-radius: 18px; flex: none; }
.app-card strong { display: block; font-family: var(--heading); font-size: 20px; color: var(--cream); }
.app-card span { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.features li { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.features svg { width: 34px; height: 34px; display: block; margin-bottom: 10px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.features strong { display: block; margin-bottom: 4px; font-family: var(--heading); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); }
.features span { color: var(--muted); font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--cream); }
summary::marker { color: var(--gold); }
details p, details ul { margin: 10px 0 0; color: var(--text); }

/* Tables (privacy policy) */
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 26px 0 44px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .lead, .hero p { font-size: 17px; }
}
