/* The Virtual Investor, LLC — shared styles (navy / gold, professional) */
:root {
  --navy: #0b1f3a;
  --navy-mid: #14325a;
  --navy-soft: #1e3f6f;
  --gold: #c9a227;
  --gold-hover: #b8911f;
  --gold-soft: #f5edd4;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #1a2332;
  --muted: #5a6577;
  --border: #d8dde6;
  --danger: #9b1c1c;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 31, 58, 0.08);
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-mid); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-hover); }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; font-family: var(--font); font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.97);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
}
.logo:hover { color: var(--gold); }
.logo-llc { font-weight: 500; font-size: 0.85em; opacity: 0.85; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 3.5rem 0 3.75rem;
}
.hero h1 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.hero .eyebrow { color: var(--gold); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--white); }
.section-intro { max-width: 40rem; margin-bottom: 2rem; }
.section-sub { color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--cream); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 36rem; margin-inline: auto; }

/* Prose pages */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 2rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.35rem; }
.page-hero p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 40rem; }
.prose {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 48rem;
}
.prose h2 { margin-top: 1.75rem; font-size: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.notice {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: 1fr 1.35fr; align-items: start; }
}
.contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 1rem;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 0.2rem 0 0; color: var(--navy); font-weight: 500; }
.placeholder-mark {
  display: inline-block;
  background: #fff3cd;
  border: 1px dashed #c9a227;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  color: var(--navy);
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-row .hint {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.req { color: var(--danger); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
textarea { min-height: 110px; resize: vertical; }

.opt-in {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  background: var(--cream);
}
.opt-in-sms {
  border-color: rgba(201, 162, 39, 0.55);
  background: #fffdf6;
}
.opt-in label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  font-weight: 400;
}
.opt-in input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--navy);
}
.opt-in .disclosure-links {
  margin: 0.55rem 0 0 1.7rem;
  font-size: 0.85rem;
}
.opt-in .disclosure-links a { font-weight: 600; }
.form-actions { margin-top: 1.25rem; }
.form-status {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { color: #0f5132; }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.25rem 0 1.75rem;
  margin-top: 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer h3 {
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }

@media (max-width: 640px) {
  .header-inner .btn-sm { display: none; }
  .nav { width: 100%; }
}

/* Buyer opt-in form */
.hero-buyers {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #1a4a7a 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}
.hero-buyers h1 { color: var(--white); }
.hero-buyers .lead { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 40rem; }
.hero-buyers .badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group label .req { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(201,162,39,0.45);
  border-color: var(--gold);
}
.form-group .hint { font-size: 0.8rem; color: var(--muted); }

.consent-box {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--cream);
}
.consent-box.sms {
  border-color: rgba(201,162,39,0.55);
  background: var(--gold-soft);
}
.consent-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.consent-row input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.consent-row label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}
.consent-links {
  margin: 0.5rem 0 0 1.9rem;
  font-size: 0.85rem;
}
.consent-links a { font-weight: 600; }

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn-block { width: 100%; text-align: center; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}
@media (max-width: 800px) {
  .benefits { grid-template-columns: 1fr; }
}
.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.benefit h3 { margin-bottom: 0.4rem; }
.benefit p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.legal-page { padding: 2.5rem 0 3.5rem; }
.legal-page .prose {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}
.legal-page h1 { margin-bottom: 0.25rem; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.alert-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
}
.alert-error {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #9b1c1c;
}
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--gold-soft); }
.site-footer .brand { color: var(--white); font-weight: 700; margin-bottom: 0.5rem; }
.logo {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
  font-weight: 700;
}
.logo:hover { color: var(--gold-soft); }
.nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
}
.nav a:hover { color: var(--gold); }
