/* Beerman Marketing – site styles (v3, 2026-11-19).
   Same identity as v2: dark charcoal, one blue accent, lowercase "beerman." wordmark,
   Instrument Serif headlines + Space Grotesk text. v3 adds a mobile menu, one headline style,
   FAQ, form, and calmer motion. Fonts are self-hosted from fonts/ (SIL OFL 1.1, licenses in that
   folder); no third-party font requests. */
@import url("fonts/fonts.css");

:root {
  --bg: #232323;
  --bg-deep: #161616;
  --panel: #2f2f2f;
  --panel-2: #2a2a2a;
  --line: #4d4d4d;
  --line-strong: #6a6a6a;
  --text: #f4f4f4;
  --soft: #dedede;
  --muted: #b9b9b9;
  --accent: #1d6cf2;          /* buttons: white text on this is 4.7:1 */
  --accent-deep: #1553c4;
  --accent-text: #8ab8ff;     /* accent used as text on dark: 7:1 */
  --ok: #7ee2a8;
  --err: #ffb4a8;
  --radius: 14px;
  --max: 1100px;
  --sans: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #b8d3ff; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #111; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 1.04; margin: 0 0 18px; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; margin: 0 0 14px; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--accent-text); margin: 0 0 12px; }
.lead { font-size: 1.18rem; color: var(--soft); max-width: 56ch; }
.section-intro { color: var(--muted); max-width: 62ch; margin: 0 0 36px; font-size: 1.06rem; }
.center { text-align: center; }
.center .section-intro, .center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; text-decoration: none; padding: 12px 22px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2; transition: background .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; transform: none; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btns { justify-content: center; }

/* ---------- header + nav ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(28, 28, 28, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #333; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.6rem; letter-spacing: -.04em; }
.logo:hover { color: #fff; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--soft); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.nav a.nav-cta { background: var(--accent); color: #fff; font-weight: 600; margin-left: 8px; padding: 10px 16px; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--accent-deep); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: transparent; color: #fff; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle .bars { width: 18px; height: 12px; position: relative; display: inline-block; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #fff; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 20px 18px; background: #1c1c1c; border-bottom: 1px solid #333; }
  .site-head.open .nav { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; padding: 14px; }
}
/* the short CTA that stays visible next to the menu button on phones */
.head-cta { display: none; }
@media (max-width: 860px) { .head-cta { display: inline-flex; min-height: 44px; padding: 8px 14px; font-size: .92rem; margin-left: auto; white-space: nowrap; } }
@media (max-width: 380px) { .head-cta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 76px; overflow: hidden; border-bottom: 1px solid #2e2e2e; }
#rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .eyebrow { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .86rem; font-weight: 500; color: var(--soft); background: rgba(255,255,255,.05); border: 1px solid #3c3c3c; border-radius: 999px; padding: 6px 14px; margin: 0 0 24px; }
.hero .eyebrow b { color: var(--accent-text); font-weight: 600; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 30px; }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--soft); font-size: .95rem; }
.trust li { display: flex; gap: 9px; align-items: center; }
.trust svg { width: 18px; height: 18px; color: var(--accent-text); flex: 0 0 18px; }

/* inner page header */
.page-head { position: relative; padding: 70px 0 56px; overflow: hidden; border-bottom: 1px solid #2e2e2e; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 18ch; }
.page-head .lead { margin: 0; }

/* ---------- sections ---------- */
section.block { padding: 84px 0; position: relative; }
section.alt { background: var(--bg-deep); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.head-row .section-intro { margin-bottom: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card p { color: var(--soft); }
.card p:last-child { margin-bottom: 0; }
.card ul, .ticks { margin: 12px 0 0; padding: 0; list-style: none; color: var(--soft); }
.card ul li, .ticks li { position: relative; padding-left: 24px; margin: 7px 0; }
.card ul li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 10px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }

/* service tiers */
.tier { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; border: 1px solid var(--line-strong); color: var(--soft); }
.svc.flagship { border-color: var(--accent); background: linear-gradient(180deg, rgba(29,108,242,.16), rgba(29,108,242,.04) 60%), var(--panel); }
.svc.flagship .tier { background: var(--accent); border-color: var(--accent); color: #fff; }
.svc .more { display: inline-block; margin-top: 16px; font-weight: 600; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* niche panel */
.niche { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); padding: 26px 24px; }
.niche h3 { margin-top: 0; }
.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line-strong); padding: 2px 0 2px 12px; margin-top: 18px; }

/* process */
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(5, 1fr); padding: 0; list-style: none; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); } }
.steps li { counter-increment: s; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2rem; color: var(--accent-text); line-height: 1; margin-bottom: 10px; }
.steps li strong { display: block; margin-bottom: 6px; font-size: 1.08rem; }
.steps li span { color: var(--muted); font-size: .96rem; }

/* metric definitions */
.defs { display: grid; gap: 12px; margin: 0; }
.defs div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.defs dt { font-weight: 600; margin-bottom: 4px; }
.defs dd { margin: 0; color: var(--muted); font-size: .97rem; }

/* example report card */
.sample { background: #383838; border-radius: 16px; padding: 12px; }
.sample .doc { background: #fff; color: #1a1a1a; border-radius: 10px; padding: 22px 22px; font-size: .93rem; }
.sample .doc h4 { margin: 0 0 2px; font-size: 1.05rem; }
.sample .doc .meta { color: #5c5c5c; font-size: .82rem; margin-bottom: 12px; }
.sample .doc .row { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid #e6e6e6; }
.sample .doc .row b { font-size: .8rem; color: #444; text-transform: uppercase; letter-spacing: .04em; }
.sample .doc .row span { color: #222; }
.sample .doc .tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-left: 4px; }
.tag.v { background: #dcfce7; color: #14532d; }
.tag.h { background: #fef3c7; color: #78350f; }
.sample .caption { text-align: center; color: var(--soft); font-size: .9rem; padding: 10px 6px 2px; margin: 0; }

/* ownership list */
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.promise li { display: flex; gap: 14px; align-items: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.promise li svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent-text); margin-top: 3px; }
.promise li b { display: block; margin-bottom: 2px; }
.promise li span { color: var(--muted); font-size: .96rem; }

/* founder */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.founder img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.founder p { color: var(--soft); max-width: 58ch; }
.founder .role { color: var(--accent-text); font-weight: 600; margin: 0 0 14px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: .88rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; color: var(--soft); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 24px; } .founder picture { max-width: 260px; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--soft); max-width: 68ch; }

/* pricing box */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 8px 0 12px; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; line-height: 1; color: #fff; }

/* closing CTA */
.cta-band { padding: 96px 0; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); border-top: 1px solid #2e2e2e; }
.cta-band h2 { max-width: 22ch; margin: 0 auto 12px; }
.cta-band p { margin: 0 auto 26px; color: var(--soft); font-size: 1.12rem; max-width: 52ch; }

/* phone mock (illustration only) */
.phone { background: #111; border-radius: 26px; padding: 10px; width: 100%; max-width: 250px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.phone .screen { background: #fff; color: #111; border-radius: 18px; overflow: hidden; font-size: .76rem; }
.phone .bar { display: flex; justify-content: space-between; padding: 6px 12px 2px; font-weight: 700; }
.phone .ad-head { display: flex; gap: 8px; align-items: center; padding: 8px 10px; }
.phone .ad-head b { display: block; font-size: .8rem; }
.phone .ad-head small { color: #555; }
.phone .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); flex: 0 0 26px; }
.phone .img { height: 110px; background: linear-gradient(160deg, #6b7280 0 55%, #4b5563 55% 100%); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: .78rem; }
.phone .copy { padding: 8px 10px 12px; line-height: 1.4; }
.phone .cta-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; background: #f1f1f1; border-radius: 6px; padding: 6px 8px; }
.phone .cta-row span { background: #e2e2e2; padding: 3px 8px; border-radius: 5px; font-weight: 700; }
.figcap { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* ---------- contact form ---------- */
.form-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px 16px; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .96rem; margin-bottom: 6px; padding: 0; }
.field .req { color: var(--accent-text); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; min-height: 48px; background: #1d1d1d; color: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #ccc 50%), linear-gradient(135deg, #ccc 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: #111; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(138,184,255,.5); outline-offset: 1px; border-color: var(--accent-text); }
.field input::placeholder, .field textarea::placeholder { color: #8f8f8f; }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.field .err { display: none; color: var(--err); font-size: .88rem; margin-top: 6px; }
.field.has-err .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; margin: 0; cursor: pointer; min-height: 44px; }
.opts input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--soft); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 22px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.status { border-radius: 10px; padding: 14px 16px; font-size: .97rem; margin-top: 18px; display: none; }
.status.show { display: block; }
.status.ok { background: rgba(126,226,168,.1); border: 1px solid #3f9e6a; color: #c9f5da; }
.status.bad { background: rgba(255,138,122,.1); border: 1px solid #c4574a; color: #ffd6cf; }
.status.info { background: rgba(255,214,10,.08); border: 1px solid #a88a1a; color: #ffe9a3; }
.status a { color: inherit; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-list li { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-wrap: anywhere; }
.side-list b { display: block; margin-bottom: 2px; }
.side-list span { color: var(--muted); font-size: .95rem; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 44px; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 10px 0 18px; }
.prose th, .prose td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 10px 10px 10px 0; color: var(--soft); }
.prose th { color: #fff; }

/* ---------- footer ---------- */
.site-foot { padding: 44px 0 40px; font-size: .93rem; background: var(--bg-deep); border-top: 1px solid #2e2e2e; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot p { color: var(--muted); margin: 6px 0; }
.site-foot h2 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 7px 0; }
.site-foot a { color: var(--soft); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid #333; color: var(--muted); font-size: .86rem; }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 52px 0 54px; }
  .page-head { padding: 48px 0 40px; }
  section.block { padding: 60px 0; }
  .cta-band { padding: 70px 0; }
  .btns .btn { width: 100%; }
  .sample .doc .row { grid-template-columns: 1fr; gap: 2px; }
  .trust { gap: 10px; flex-direction: column; }
}

/* restrained motion: the streaks are off and transitions stop when the visitor asks for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #rain { display: none; }
  .btn, .faq summary::after { transition: none; }
}
