/* HitUp marketing site. Brand values live here. */
/* Fonts are served from this site, never from Google, so a visit doesn't send the visitor's IP address to a third party (GDPR: LG München I, 3 O 17493/20). Both are SIL Open Font License; the licences are beside the files. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* Inter 4.001, variable, weights 400 to 700, Latin characters only. */
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin.woff') format('woff');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0E1816;
  --ink-2: #17231F;
  --ink-line: #2B3A35;
  --ground: #F6F8F1;
  --paper: #FFFFFF;
  --line: #E2E2DA;
  --line-strong: #BDBDB2;
  --text: #36423E;
  --muted: #4A5753;
  --on-ink: #F6F8F1;
  --on-ink-muted: #BFCBC5;
  --accent: #C7FA3D; /* HitUp green */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #2E3B37; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
input, select, button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lede { font-size: 19px; color: var(--text); }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 10px 14px; z-index: 10; border-radius: 8px; }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.btn-accent:hover { color: var(--ink); filter: brightness(0.96); }
.btn-ghost { color: var(--ink); border-color: #CFCFC6; }
.btn-ink { background: var(--ink); color: var(--on-ink); border: 0; }
.btn-ink:hover { color: var(--on-ink); background: #1C2A26; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero h1 { font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero .lede { font-size: 20px; max-width: 540px; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.card-app { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(14, 24, 22, 0.12); overflow: hidden; }
.card-app__head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #ECECE5; font-size: 15px; font-weight: 600; }
.card-app__head span:last-child { font-size: 13px; font-weight: 400; color: var(--muted); }
.card-app ul { list-style: none; margin: 0; padding: 6px 20px 14px; }
.card-app li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #F0F0EA; }
.card-app li:last-child { border-bottom: 0; }
.card-app strong { display: block; font-size: 15px; }
.card-app small { font-size: 13px; color: var(--muted); }
.chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip-green { background: #E6F4EA; color: #14532D; }
.chip-blue { background: #E8EEF9; color: #1E3A8A; }
.chip-orange { background: #FDF0E1; color: #7C2D12; }
.chip-grey { background: #F1F1EC; color: var(--text); }
.card-app__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--ink); color: var(--on-ink); font-size: 14px; }
.card-app__foot b { color: var(--accent); }

/* Features */
.section { padding: 88px 0; }
.section h2 { font-size: clamp(32px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.8px; margin-bottom: 12px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.cards > * { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: var(--ground); }
.cards h3 { font-size: 23px; margin: 18px 0 10px; }
.cards p { color: var(--text); }

/* Treasurers */
.dark { background: var(--ink); color: var(--on-ink); }
.dark .eyebrow { color: var(--accent); }
.dark .lede { color: var(--on-ink-muted); margin: 20px 0 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: "→"; color: var(--accent); font-weight: 700; }
.invoice { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 18px; padding: 28px; }
.invoice__label { font-size: 14px; color: var(--on-ink-muted); margin-bottom: 16px; }
.invoice__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.invoice__total { display: flex; justify-content: space-between; padding-top: 16px; font-weight: 600; font-size: 19px; }
.invoice__total b { color: var(--accent); }

/* About */
.about { align-items: flex-start; }
.about h2 { margin-bottom: 0; }
.about .lede p + p { margin-top: 18px; }
.about .sig { font-weight: 600; color: var(--ink); }

/* Roadmap */
.roadmap { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.roadmap > * { flex: 1 1 220px; min-width: 0; padding: 22px; border-radius: 14px; border: 1px dashed var(--line-strong); }
.roadmap b { display: block; margin-bottom: 6px; }
.roadmap span { font-size: 15px; color: var(--muted); }

/* Interest form */
.interest { align-items: flex-start; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.interest h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 18px; }
.interest .lede + p { margin-top: 18px; font-size: 15px; color: var(--muted); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.is-error { color: #B42318; }
.form-done { display: none; }
.form.is-done > :not(.form-done) { display: none; }
.form.is-done .form-done { display: block; }
.form-done h3 { font-size: 26px; margin-bottom: 8px; }
.form-done p { color: var(--text); }

/* FAQ */
.faq { max-width: 880px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 19px; cursor: pointer; list-style-position: outside; }
.faq details p { margin-top: 10px; color: var(--text); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.site-footer a { color: var(--on-ink-muted); }
.site-footer a:hover { color: var(--on-ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer img { height: 28px; width: auto; }

/* Long-form pages (privacy) */
.prose { max-width: 760px; padding: 72px 24px 96px; margin: 0 auto; }
.prose h1 { font-size: 44px; letter-spacing: -0.8px; margin-bottom: 8px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose h3 { font-size: 19px; margin: 20px 0 8px; }
.prose ul { margin: 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose p + ul, .prose ul + p, .prose table + p, .prose p + table { margin-top: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; overflow-wrap: break-word; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose td { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .form { padding: 22px; }
  .nav { gap: 8px 18px; }
}
