@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* Matches rvngraceworks.com: white page, Inter, bold uppercase headings, dark red accent, gray rounded cards, pill buttons */
:root {
  --bg: #ffffff;
  --panel: #f4f4f4;
  --line: #e0e0e0;
  --text: #171717;
  --muted: #6b6b6b;
  --accent: #9e0808;
  --dark: #111111;
  --ok: #1f8a4c;
  --warn: #b7791f;
  --radius: 16px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--text); }

/* Announcement bar + header */
.announce { background: var(--dark); color: #fff; text-align: center; font-size: 13px; font-weight: 500; padding: 10px 16px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; display: flex; justify-content: center; padding: 12px 16px; }
.site-header img { height: 46px; width: auto; display: block; }

.wrap { max-width: 780px; margin: 0 auto; padding: 40px 16px 64px; }
.brand { font-weight: 700; letter-spacing: .12em; font-size: 12px; color: var(--accent); text-transform: uppercase; }
.brand b { color: var(--accent); }
h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; margin: 8px 0 10px; line-height: 1.02; text-wrap: balance; }
.lede { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }

/* Perks: styled like the site's dark trust bar */
.perks { background: var(--dark); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 16px; overflow: hidden; }
.perk { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; color: #a9a9a9; font-size: 13px; line-height: 1.4; }
.perk:nth-child(odd) { border-right: 1px solid #2a2a2a; }
.perk:nth-child(-n+2) { border-bottom: 1px solid #2a2a2a; }
.perk svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.perk strong { display: block; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr; }
  .perk:nth-child(odd) { border-right: 0; }
  .perk:not(:last-child) { border-bottom: 1px solid #2a2a2a; }
}

/* Retail / Shopify Collective notice */
.notice { background: var(--panel); border-radius: var(--radius); padding: 20px; margin: 0 0 28px; }
.notice h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 6px; }
.notice p { margin: 0 0 10px; color: #3a3a3a; font-size: 14px; }
.notice p:last-child { margin: 0; }
.notice a { color: var(--accent); font-weight: 600; }
.notice .shop { color: var(--text); font-weight: 600; }

/* Form */
fieldset { border: 0; background: var(--panel); border-radius: var(--radius); padding: 22px 20px 20px; margin: 0 0 14px; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }
legend + * { clear: both; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid.three { grid-template-columns: 2fr 1fr 1fr; }
.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid, .grid.three { grid-template-columns: 1fr; } }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
label .opt, legend .opt { color: var(--muted); font-weight: 400; text-transform: none; }
input, select, textarea {
  width: 100%; background: #fff; color: var(--text); border: 1px solid #d6d6d6;
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--text); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 84px; resize: vertical; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.code-row { display: flex; gap: 10px; align-items: center; }
.policy { margin-top: 14px; background: #fff; border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #3a3a3a; }
.policy strong { color: var(--accent); }
.code-row input { text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.status { font-size: 13px; min-height: 18px; margin-top: 6px; font-weight: 500; }
.status.ok { color: var(--ok); } .status.bad { color: var(--accent); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 0; }
.check input { width: auto; accent-color: var(--text); }
.drop { border: 1.5px dashed #c9c9c9; background: #fff; border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; }
.drop.has { border: 1.5px solid var(--ok); color: var(--text); }

button {
  background: var(--text); color: #fff; border: 0; border-radius: 60px; padding: 16px 30px;
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s;
}
button:hover { background: var(--accent); }
button:disabled { opacity: .55; cursor: not-allowed; }
button.ghost { background: transparent; border: 1.5px solid var(--text); color: var(--text); }
button.ghost:hover { background: var(--text); color: #fff; }
#submit { width: 100%; margin-top: 6px; }

.error { background: #fbeaea; border: 1px solid #e7b6b6; color: #7a0606; padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; display: none; }
.done { text-align: center; padding: 60px 0; display: none; }
.done h2 { font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; margin: 0 0 8px; }
.hp { position: absolute; left: -9999px; }
.foot { color: var(--muted); font-size: 12px; margin-top: 14px; text-align: center; }

/* Footer */
.site-footer { background: var(--dark); color: #bdbdbd; border-radius: 24px 24px 0 0; padding: 32px 16px; text-align: center; font-size: 13px; }
.site-footer img { height: 56px; width: auto; display: block; margin: 0 auto 14px; }
.site-footer a { color: #fff; }
