/*
 * Copyright (c) 2026 OB Personal Management LLC d/b/a PRO Baseball Path.
 * All rights reserved. Rights assigned or pending assignment to
 * PRO Venture Group Inc.
 * Proprietary and confidential. Not for distribution, publication, or
 * disclosure without written authorization.
 */

/* ---------- tokens ---------- */
:root {
  --black: #0D0D0D;
  --panel: #161616;
  --line: #2A2A2A;
  --edge: #3A3A3A;
  --green: #00E676;
  --gold: #FFD600;
  --ink: #F2F2F2;
  --muted: #B8B8B8;
  --danger: #FF6B6B;
  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 56px; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--gold); font-weight: 400; letter-spacing: 0.02em; line-height: 1.1; margin: 1.4em 0 0.5em; }
h1 { font-size: 42px; margin-top: 0.6em; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
p, li { margin: 0 0 0.9em; }
.mono, .num { font-family: var(--font-mono); }
.small { font-size: 13px; color: var(--muted); }
.hidden, [hidden] { display: none !important; }

/* ---------- header / language ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 28px; color: var(--gold);
  text-decoration: none; letter-spacing: 0.06em;
}
.brand img { display: block; height: 40px; width: auto; }
.mark-print { display: none; }
.cover-hero { display: block; width: 100%; max-width: 260px; height: auto; margin: 18px auto 4px; }
.lang-toggle { display: flex; gap: 6px; }
.lang-toggle a {
  font-family: var(--font-mono); font-size: 13px; padding: 6px 10px;
  border: 1px solid var(--edge); border-radius: 6px; color: var(--ink);
  text-decoration: none;
}
.lang-toggle a[aria-current="true"] { border-color: var(--green); color: var(--green); }

/* ---------- progress ---------- */
.progress-label { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 18px 0 6px; }
.progress { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.progress li { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress li.done { background: var(--green); }
.progress li.current { background: var(--gold); }

/* ---------- banners ---------- */
.banner {
  border: 1px solid var(--gold); background: var(--panel); border-radius: 8px;
  padding: 12px 16px; margin: 12px 0 18px; font-size: 15px;
}
.banner strong { color: var(--gold); }
.entity {
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
  border-left: 3px solid var(--green); padding-left: 10px; margin: 10px 0 18px;
}

/* ---------- document ---------- */
article#doc { margin-bottom: 8px; }
article#doc p { max-width: 68ch; }
.notice-box {
  border: 3px solid var(--gold); background: var(--panel); border-radius: 6px;
  padding: 18px 20px; margin: 20px 0;
  text-transform: uppercase; font-size: 1.5rem; line-height: 1.35; font-weight: 600;
}
.notice-box p { max-width: none; margin-bottom: 0.7em; }
.notice-box p:last-child { margin-bottom: 0; }
.ack-line { font-weight: 700; text-transform: uppercase; }
.plan-list { list-style: none; padding: 0; }
.plan-list li { font-family: var(--font-mono); font-size: 14px; padding: 4px 0; border-bottom: 1px dashed var(--line); }

/* ---------- forms ---------- */
fieldset {
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
  padding: 16px; margin: 18px 0; min-width: 0;
}
legend { font-family: var(--font-display); color: var(--gold); font-size: 24px; padding: 0 8px; letter-spacing: 0.02em; }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 4px; }
label .req { color: var(--gold); }
input, select, textarea {
  width: 100%; background: var(--black); color: var(--ink);
  border: 1px solid var(--edge); border-radius: 6px; padding: 10px 12px;
  font: inherit; font-size: 16px;
}
input[readonly] { color: var(--muted); }
textarea { min-height: 96px; resize: vertical; }
input[type="date"] { font-family: var(--font-mono); }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 15px; color: var(--ink); }
.check input { width: auto; margin: 4px 0 0; flex: 0 0 auto; }
.check.primary { font-size: 17px; font-weight: 600; margin: 14px 0 6px; }
.check.primary input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); }
.decline-row { margin: 0 0 6px 32px; }
.link-btn {
  background: none; border: 0; padding: 0; margin: 0; color: var(--green);
  font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; text-align: left;
}
.link-btn[aria-pressed="true"] { color: var(--gold); }
.intro .benefits { padding-left: 20px; margin: 0 0 8px; }
.intro .benefits li { margin-bottom: 4px; }
.check span { flex: 1; }
.help { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.error { color: var(--danger); font-size: 14px; margin: 10px 0 0; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.btn {
  display: inline-block; background: var(--green); color: var(--black);
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 8px; border: 0; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--green); border: 1px solid var(--green); }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.sig-print { display: none; }

/* ---------- document identity footer ---------- */
.doc-meta {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 10px; margin-top: 28px;
  word-break: break-all;
}
.doc-meta b { color: var(--ink); font-weight: 600; }
.doc-meta .update-notice { word-break: normal; margin: 8px 0 0; }
.doc-meta .pvg { word-break: normal; margin: 6px 0 0; }

/* ---------- print ---------- */
@media print {
  @page { margin: 18mm 16mm; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.4; }
  .wrap { max-width: none; padding: 0; }
  .lang-toggle, .progress, .progress-label, .actions, .btn, .no-print, .link-btn { display: none !important; }
  .site-header { display: block; border: 0; padding: 0 0 5mm; text-align: center; }
  .brand { display: block; color: #000; }
  .brand .mark-screen { display: none !important; }
  .brand .mark-print { display: block; height: 120px; width: auto; margin: 0 auto 2mm; }
  .cover-hero { max-width: 60mm; }
  .sig-print { display: block; margin-top: 10mm; }
  .sig-print .line { border-bottom: 1pt solid #000; height: 10mm; margin-bottom: 3mm; }
  h1, h2, h3, legend { color: #000; }
  h1 { font-size: 22pt; } h2 { font-size: 14pt; } h3 { font-size: 12pt; }
  a { color: #000; text-decoration: none; }
  .banner { border: 1pt solid #000; background: #fff; color: #000; }
  .banner strong { color: #000; }
  .entity { border-left: 3pt solid #000; color: #000; }
  .notice-box { border: 3pt solid #000; background: #fff; color: #000; font-size: 17pt; page-break-inside: avoid; }
  fieldset { background: #fff; border: 1pt solid #000; page-break-inside: avoid; }
  label, .help, .small { color: #000; }
  input, select, textarea { background: #fff; color: #000; border: 1pt solid #000; }
  .plan-list li { border-bottom: 1pt dashed #000; }
  .doc-meta { color: #000; border-top: 1pt solid #000; page-break-inside: avoid; }
  .doc-meta b { color: #000; }
}
