/* RevElement site styles. Change the brand colour in --accent (and --accent-dark / --accent-soft). */
:root {
  --accent: #0f766e;
  --accent-dark: #0b5952;
  --accent-soft: #e6f4f2;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #526071;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8f8;
  --danger: #b42318;
  --ok: #067647;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo svg { height: 34px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; top: 64px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.site-nav a { display: block; padding: 10px 8px; color: var(--text); text-decoration: none; font-weight: 500; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.site-nav .btn { color: #fff; text-align: center; margin-top: 4px; }
.site-nav .btn:hover { color: #fff; background: var(--accent-dark); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .site-nav ul { flex-direction: row; align-items: center; padding: 0; gap: 4px; }
  .site-nav a { padding: 8px 12px; }
  .site-nav .btn { margin: 0 0 0 8px; padding: 10px 16px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 768px) { section { padding: 80px 0; } }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: 32px; }

.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%); }
@media (min-width: 768px) { .hero { padding: 96px 0 104px; } }
.hero h1 { max-width: 22ch; }
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 20px; font-size: .9375rem; color: var(--muted); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 20px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.icon svg { width: 24px; height: 24px; }

.vertical { display: flex; flex-direction: column; }
.vertical .tag { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

.audience { display: grid; gap: 20px; }
@media (min-width: 900px) { .audience { grid-template-columns: 1fr 1fr; } }
.audience-card { border-radius: 16px; padding: 28px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
@media (min-width: 768px) { .audience-card { padding: 40px; } }
.audience-card.featured { background: var(--ink); color: #e2e8f0; border-color: var(--ink); }
.audience-card.featured h2, .audience-card.featured h3 { color: #fff; }
.audience-card.featured .eyebrow { color: #5eead4; }
.audience-card.featured .btn { background: #fff; color: var(--ink); border-color: #fff; }
.audience-card.featured .btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.audience-card .btn { margin-top: auto; align-self: flex-start; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.3 13.3 4.9 9.9l-1.4 1.4 4.8 4.8 8.5-8.5-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.featured .checklist li::before { background-color: #14b8a6; }

.steps { counter-reset: step; display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: inline-flex; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px;
}
.steps p { color: var(--muted); margin: 0; }

.payouts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.payouts li { padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: .9375rem; }

.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ccfbf1; max-width: 40rem; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { background: #fff; color: var(--accent-dark); border-color: #fff; }
.cta-band .btn-outline { background: transparent; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* Page header (inner pages) */
.page-head { padding: 48px 0 32px; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%); }
@media (min-width: 768px) { .page-head { padding: 72px 0 40px; } }
.page-head h1 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); }

/* Forms */
.form-layout { display: grid; gap: 32px; padding-bottom: 64px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-aside { display: grid; gap: 16px; }
fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
legend { font-weight: 700; color: var(--ink); font-size: 1.0625rem; margin-bottom: 12px; padding: 0; }
.fields { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.req { color: var(--danger); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: .875rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23526071'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'  stroke='%23526071' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .875rem; min-height: 0; }
.field-error:empty { display: none; }
.hint { color: var(--muted); font-size: .875rem; }
.choices { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; cursor: pointer; min-height: 48px; }
.choice:hover { border-color: var(--accent); }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.field.invalid .choice { border-color: #f1aaa4; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box { margin: 20px 0; min-height: 65px; }
.form-status { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.thank-you { text-align: center; padding: 24px 8px; }
.thank-you .icon { width: 64px; height: 64px; border-radius: 50%; }
.thank-you .icon svg { width: 34px; height: 34px; }
.thank-you[hidden] { display: none; }
.small { font-size: .875rem; color: var(--muted); }

/* Prose (legal pages) */
.prose { max-width: 46rem; padding-bottom: 64px; }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4em; }
.draft-banner {
  padding: 14px 16px; border-radius: 10px; background: #fffaeb; border: 1px solid #fedf89; color: #93370d; font-weight: 600; margin-bottom: 24px;
}

/* Placeholders for real content added later. They render nothing visible. */
.placeholder { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 48px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo svg { height: 30px; }
.footer-about { max-width: 24rem; color: #94a3b8; margin-top: 12px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #94a3b8; }

/* 404 */
.not-found { text-align: center; padding: 96px 0; }
.not-found .code { font-size: 5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.not-found .btn-row { justify-content: center; }
.mt { margin-top: 12px; }
.center-lead { margin: 0 auto 24px; }
.steps-list { padding-left: 1.1rem; margin: 0; }
.h3 { font-size: 1.125rem; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.link-list a { display: inline-block; padding: 8px 0; min-height: 24px; }

/* Logo: "REV" heavy + "ELEMENT" light, then a round arrow badge. Built from text so spacing is identical on every device. */
.logo { gap: 8px; color: var(--ink); }
.wordmark { font-size: 25px; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.wm-rev { font-weight: 900; }
.wm-el { font-weight: 300; color: var(--accent); }
.logo .wm-arrow { width: 22px; height: 22px; flex: none; }
.wm-arrow circle { fill: var(--accent); }
.wm-arrow path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .logo { color: #fff; }
.site-footer .wm-el { color: #5eead4; }
.site-footer .logo .wm-arrow { width: 20px; height: 20px; }
.site-footer .wordmark { font-size: 22px; }
.site-footer .wm-arrow circle { fill: #14b8a6; }
.site-footer .wm-arrow path { stroke: #0f172a; }

/* Cookie banner (tracking.js). Shown only when GTM is set up and no choice is saved yet. */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 560px; margin-left: auto;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 32px rgba(15, 23, 42, .18); }
.cookie-banner[hidden] { display: none; }
.cb-inner { padding: 20px; }
.cb-title { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.cb-text { font-size: .9375rem; color: var(--muted); margin: 0 0 14px; }
.cb-prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.cb-prefs[hidden] { display: none; }
.cb-option { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.cb-option input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.cb-option strong { display: block; color: var(--ink); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-actions .btn { flex: 1 1 auto; min-height: 44px; padding: 10px 14px; font-size: .9375rem; }
