/* Blue Ocean Investments: site-wide styles. Page layout and colors live inline in each page (exported from the Claude Design canvas). */

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FAFAF7; }
img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: #286687; }
a:hover { color: #031A3D; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible { outline: 3px solid #286687; outline-offset: 2px; }
input, textarea, select, button { font-family: inherit; }

summary::-webkit-details-marker { display: none; }
details[open] summary svg { transform: rotate(45deg); }

:target, [data-doc-panel] { scroll-margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 16px; background: #031A3D; color: #FFFFFF;
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; color: #FFFFFF; }

/* Header: menu button appears on smaller screens. */
.site-menu-btn {
  display: none; order: 2; margin-left: auto;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 0; color: #031A3D; cursor: pointer;
}

@media (max-width: 1080px) {
  .site-header .site-nav,
  .site-header .site-ctas { display: none !important; }
  .site-menu-btn { display: inline-flex; }
  .site-header.menu-open .site-nav {
    display: flex !important; order: 3; width: 100%;
    flex-direction: column; gap: 0 !important; border-top: 1px solid #D6DEE5;
  }
  .site-header.menu-open .site-nav a {
    min-height: 52px !important; border-bottom: 1px solid #D6DEE5 !important; font-size: 17px !important;
  }
  .site-header.menu-open .site-nav a[aria-current="page"] { color: #286687 !important; }
  .site-header.menu-open .site-ctas { display: flex !important; order: 4; width: 100%; padding-bottom: 8px; }
  .site-header.menu-open .site-ctas a { flex: 1 1 200px; justify-content: center; }
}

@media (max-width: 600px) {
  .site-topbar-tagline { display: none; }
  .site-header a[aria-label="Blue Ocean Investments, home"] img:first-child { height: 44px !important; width: auto !important; }
  .site-header a[aria-label="Blue Ocean Investments, home"] img:last-child { height: 27px !important; }
}

/* Phone quick-action bar (Call, Text, Get Offer). */
.mobile-actions { display: none; }

@media (max-width: 760px) {
  .mobile-actions {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #FFFFFF; border-top: 1px solid #D6DEE5;
    font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  }
  .mobile-actions a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
    border: 1.5px solid #031A3D; border-radius: 3px; color: #031A3D;
    text-decoration: none; font-size: 15px; font-weight: 600;
  }
  .mobile-actions a.primary { background: #031A3D; color: #FFFFFF; }
  body { padding-bottom: 84px; }
}

/* Shown when someone submits a form, until the forms are connected. */
.form-notice {
  margin: 16px 0 0; padding: 16px 20px;
  background: #FFF6E5; border: 1px solid #D9A441; color: #4A3A12;
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.55;
}
.form-notice a { color: #4A3A12; font-weight: 600; }

.deals-empty {
  margin: 0; padding: 24px; border: 1px dashed #7A8A99; color: #031A3D;
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif; font-size: 17px;
}

/* Long emails and addresses wrap instead of pushing the page wider on phones. */
main a, main p, main dd, main address, footer a { overflow-wrap: anywhere; }
