* { box-sizing: border-box; }
:root {
  --link-color: #71a1c1;
}
body { font-family: system-ui, -apple-system, sans-serif; margin: 0; line-height: 1.6; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
header { padding: 1rem 0; border-bottom: 1px solid #eee; background: #fff; }
nav a { margin-right: 1.5rem; color: #1e293b; text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; color: #0f172a; }

/* Nested navigation (sub-menus) */
.nav-root {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-item { position: relative; }
.nav-link { display: inline-block; color: #1e293b; font-weight: 600; }
.header .nav-link { color: #1e293b !important; }
.nav-submenu {
  list-style: none;
  padding: 0.25rem 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  display: none;
  z-index: 50;
}
.nav-submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  margin-right: 0 !important;
}
.nav-root > .nav-item > .nav-submenu li a { margin-right: 0 !important; }
.nav-item:hover > .nav-submenu { display: block; }

@media (max-width: 600px) {
  .nav-root {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .nav-submenu {
    position: static;
    display: block;
    border: none;
    background: transparent;
    min-width: 0;
    padding-left: 1rem;
    margin-top: 0.25rem;
  }
  .nav-item:hover > .nav-submenu { display: block; }
}
.hero { padding: 4rem 0; text-align: center; }
.hero-headline { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1.2; }
.hero-headline h1, .hero-headline h2, .hero-headline h3 { margin: 0 0 0.25em; }
.hero-headline p { margin: 0; }
.hero-subtext { font-size: 1.125rem; color: #666; max-width: 600px; margin: 0 auto 1.5rem; }
.hero-subtext p { margin: 0 0 0.5em; }
.cta { display: inline-block; padding: 0.75rem 1.5rem; background: #2563eb; color: #fff; text-decoration: none; border-radius: 6px; }
.cta:hover { background: #1d4ed8; }
.block { padding: 1.25rem 0; }
.richtext h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.richtext p { margin-bottom: 1rem; }
.header .nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.header .site-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}
.header .cta-btn {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
.header .cta-btn:hover { background: #1d4ed8; color: #fff !important; }
.header .menu-toggle {
  display: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .header .menu-toggle { display: inline-block; }
  .header .nav-root { display: none; }
  .header .nav-root.open { display: flex; flex-direction: column; align-items: flex-start; }
}
footer.footer,
.footer {
  padding: 2.25rem 1rem 1.25rem;
  border-top: none;
  margin-top: 0;
  text-align: left;
  color: #cbd5e1;
  background: #0f172a;
  font-size: 0.95rem;
}
.footer .footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; margin-bottom: 1rem; }
.footer h3, .footer h4 { color: #f8fafc; margin: 0 0 0.65rem; }
.footer a { color: #93c5fd; text-decoration: none; display: block; margin: 0.35rem 0; }
.footer .copyright { text-align: center; color: #94a3b8; border-top: 1px solid #334155; padding-top: 1rem; margin-top: 1.25rem; font-size: 0.85rem; }
.image-block img { max-width: 100%; height: auto; display: block; }
.contact-form { max-width: 480px; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: 0.25rem; }
.form-field input, .form-field textarea { width: 100%; padding: 0.5rem; }
.form-success { color: green; padding: 1rem 0; }
.cmspro-btn { display: inline-block; padding: 0.5rem 1rem; background: #2563eb; color: #fff; text-decoration: none; border-radius: 6px; }
.cmspro-btn:hover { background: #1d4ed8; }
.cmspro-field { margin: 0.75em 0; }
.cmspro-field label { display: block; margin-bottom: 0.25rem; font-weight: 500; }
.cmspro-field input, .cmspro-field textarea { width: 100%; max-width: 400px; padding: 0.5rem; }

/* Match app.ownerfi.app link color. Webinar shell uses this file + <body> without .basicsite (basicsite/main.css is a different asset). */
main .block a:not(.cta):not(.cmspro-btn):not(.cta-btn):not(.btn),
.footer a {
  color: var(--link-color);
}
main .block a.cta-btn,
main .richtext a.cta-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
}
main .block a.cta-btn:hover,
main .richtext a.cta-btn:hover {
  background: #1d4ed8;
  color: #fff !important;
}
main .block .richtext a:not(.cta-btn):not(.btn)[style*="#2563eb"],
main .block .richtext a:not(.cta-btn):not(.btn)[style*="rgb(37, 99, 235)"],
main .block .richtext a:not(.cta-btn):not(.btn) span[style*="#2563eb"],
main .block .richtext a:not(.cta-btn):not(.btn) span[style*="rgb(37, 99, 235)"],
main .block .hero-headline a:not(.cta-btn):not(.btn)[style*="#2563eb"],
main .block .hero-headline a:not(.cta-btn):not(.btn)[style*="rgb(37, 99, 235)"],
main .block .hero-headline a:not(.cta-btn):not(.btn) span[style*="#2563eb"],
main .block .hero-headline a:not(.cta-btn):not(.btn) span[style*="rgb(37, 99, 235)"],
main .block .hero-subtext a:not(.cta-btn):not(.btn)[style*="#2563eb"],
main .block .hero-subtext a:not(.cta-btn):not(.btn)[style*="rgb(37, 99, 235)"],
main .block .hero-subtext a:not(.cta-btn):not(.btn) span[style*="#2563eb"],
main .block .hero-subtext a:not(.cta-btn):not(.btn) span[style*="rgb(37, 99, 235)"] {
  color: var(--link-color) !important;
}
/* Blog index blocks live outside .richtext; no inline link color in template */
main .blog-posts-index a:not(.cmspro-btn):not(.btn),
main .blog-recent-posts a:not(.cmspro-btn):not(.btn) {
  color: var(--link-color) !important;
}
/* Free Stuff mirror: document rows use <button class="ownerfi-fs-filename-btn"> (opens viewer modal) */
.ownerfi-fs-mirror .ownerfi-fs-filename-btn {
  color: var(--link-color);
}
