/* beams.brhdg.com public site + sign-in pages */
:root {
  --navy: #14223a; --navy-2: #1c2f4f; --ink: #1d2430; --muted: #5d6878; --line: #dfe3ea; --bg: #f6f7f9; --card: #fff;
  --accent: #1f5fbf; --accent-2: #174b98; --orange: #ff8a00; --ok: #1e7a46; --bad: #b42318; --bad-bg: #fde8e7; --ok-bg: #e7f5ec;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.nav { background: var(--navy); color: #e8edf5; position: sticky; top: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.brand b { font-weight: 650; }
.brand .tag { font-size: 12px; color: #aab6c8; border-left: 1px solid #3a4a66; padding-left: 10px; margin-left: 2px; letter-spacing: .02em; }
@media (max-width: 640px) { .brand .tag { display: none; } }
.eyebrow { color: var(--orange, #ff8a00); font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.brand .mark { width: 26px; height: 26px; border-radius: 5px; background: var(--navy-2); display: grid; place-items: center; }
.nav .links { display: flex; gap: 18px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav .links a { color: #c9d3e3; text-decoration: none; font-size: 14px; }
.nav .links a:hover { color: #fff; }
.btn { display: inline-block; border: 0; border-radius: 7px; padding: 10px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--orange); color: #1b1300; }
.btn.primary:hover { background: #ff9d2e; }
.btn.blue { background: var(--accent); color: #fff; }
.btn.blue:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid #5b6c8a; }
.nav .links .btn { font-size: 14px; padding: 7px 14px; color: #1b1300; }
.nav .links .btn.ghost { color: #fff; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #1f3a63 100%); color: #eef2f8; padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 16px; color: #fff; letter-spacing: -0.01em; }
.hero p.lead { font-size: 18px; color: #c9d3e3; margin: 0 0 26px; max-width: 34em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .art { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: var(--ink); }
.hero .art .row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.hero .art .row:last-child { border-bottom: 0; }
.hero .art .k { color: var(--muted); }
.hero .art .tag { font-weight: 700; color: var(--navy); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: #fff4de; color: #8a5200; }

/* sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; color: var(--navy); letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 46em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; position: relative; }
section.alt .step { background: var(--bg); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #1b1300; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.step h3 { margin: 6px 0 6px; font-size: 17px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.card h3 { margin: 0 0 8px; color: var(--navy); }
.card ul { margin: 0; padding-left: 20px; } .card li { margin: 5px 0; }
.verify { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.verify input { font: inherit; padding: 10px 12px; border: 1px solid #b9c0cc; border-radius: 7px; min-width: 0; flex: 1 1 220px; text-transform: uppercase; letter-spacing: .04em; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
footer { background: var(--navy); color: #9fb0c9; padding: 28px 0; font-size: 14px; }
footer a { color: #c9d3e3; }

/* auth pages */
.auth { min-height: calc(100vh - 60px); display: grid; place-items: start center; padding: 48px 16px; }
.auth .box { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 10px 30px rgba(20, 34, 58, .06); }
.auth h1 { font-size: 24px; margin: 0 0 6px; color: var(--navy); }
.auth p.muted { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.field input, .field select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #b9c0cc; border-radius: 7px; background: #fff; }
.field input:focus, .field select:focus { outline: 2px solid #9cc0f5; border-color: var(--accent); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth .btn { width: 100%; padding: 12px; }
.msg { border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.msg.err { background: var(--bad-bg); color: var(--bad); }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.alt-links { margin-top: 16px; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.staff { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .cols, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 52px; }
}
@media (max-width: 560px) {
  .steps, .two { grid-template-columns: 1fr; }
  .nav .links a:not(.btn) { display: none; }
  section { padding: 44px 0; }
}
.agreement-box { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 7px; padding: 10px 14px; font-size: 13.5px; background: #fafbfc; }
.agreement-box h2 { font-size: 16px; margin: 6px 0; }
.draft-banner { background: #fff4de; color: #8a5200; border: 1px solid #f0c776; border-radius: 6px; padding: 6px 10px; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.doc.agreement { max-width: 780px; margin: 0 auto; padding: 32px 20px 64px; } .doc.agreement li { margin: 8px 0; }
