/* Eportunity Professionals LLC: one stylesheet, no external fonts or scripts (CSP is 'self'). */
:root {
  --ink: #16202e;
  --muted: #4f5b6b;
  --line: #d9dee6;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --navy: #12305a;
  --navy-dark: #0c2242;
  --accent: #e08a1e;
  --ok-bg: #e8f5ec;
  --ok-ink: #1d5c33;
  --err-bg: #fdecec;
  --err-ink: #8a1f1f;
  --radius: 10px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-dark); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .85rem; padding-bottom: .85rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy-dark); font-weight: 700; font-size: 1.15rem; }
.brand-sub { font-weight: 400; color: var(--muted); }
.site-header nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; }

/* hero */
.hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding: 4.5rem 0 4rem; }
.hero h1 { color: #fff; }
.hero .lead { color: #dfe7f3; max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .75rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* buttons */
.button { display: inline-block; background: var(--accent); color: #1a1205; font-weight: 700; text-decoration: none; padding: .75rem 1.4rem; border-radius: var(--radius); border: 2px solid var(--accent); font-size: 1rem; cursor: pointer; font-family: inherit; }
.button:hover { background: #c97813; border-color: #c97813; color: #1a1205; }
.button-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.button-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* sections and cards */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card p { margin: 0 0 .5rem; color: var(--muted); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-link { font-weight: 600; }

/* text pages */
.prose h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: .5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.meta { color: var(--muted); font-size: .95rem; }

/* form */
.form { display: grid; gap: .35rem; margin-top: 1.5rem; }
.form label { font-weight: 600; margin-top: .85rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #b7c0cc; border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(18,48,90,.25); border-color: var(--navy); }
.form [aria-invalid="true"] { border-color: var(--err-ink); }
.form .button { justify-self: start; margin-top: .5rem; }
.optional { font-weight: 400; color: var(--muted); }
.field-error { color: var(--err-ink); margin: .2rem 0 0; font-size: .95rem; }
.fine { font-size: .95rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--radius); padding: .9rem 1.1rem; margin-top: 1.25rem; }
.notice p { margin: 0; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice-error { background: var(--err-bg); color: var(--err-ink); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 1.5rem 0; font-size: .95rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-row p { margin: 0; }
.footer-row ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-row a { color: var(--muted); }

@media (max-width: 600px) {
  .hero { padding: 3rem 0 2.75rem; }
  .section { padding: 2.5rem 0; }
  .brand-sub { display: none; }
}
