/*
  Open HOA page only. Linked from products/open-hoa/index.html.
  Does not change /css/product.css, the homepage, or other product pages.
  Brand tokens: products/open-hoa/brand/tokens.css
  White text on #2E7D32 is about 5.13:1. White on #0B2D4A is about 14:1.
*/

html { color-scheme: light; }

.open-hoa {
  background: var(--oha-surface);
  color: var(--oha-navy);
  --oha-nav-offset: 57px;
}

.open-hoa::before { opacity: 0; }

.open-hoa :focus-visible {
  outline: 2px solid var(--oha-blue);
  outline-offset: 3px;
}

.open-hoa .oha-bar :focus-visible,
.open-hoa .oha-hero :focus-visible {
  outline-color: var(--oha-white);
}

.open-hoa .oha-bar {
  position: sticky;
  top: var(--oha-nav-offset);
  z-index: 40;
  margin-top: var(--oha-nav-offset);
  background: var(--oha-navy);
  color: var(--oha-white);
}

.open-hoa .oha-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px 28px;
}

.open-hoa .oha-bar-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.open-hoa .oha-bar-logo svg {
  display: block;
  height: 44px;
  width: auto;
}

.open-hoa .oha-bar-nav {
  position: static;
  inset: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.open-hoa .oha-bar-nav a {
  color: var(--oha-white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.open-hoa .oha-bar-nav a:hover { color: var(--oha-sky); }

.open-hoa .oha-bar-nav .is-coming-soon {
  color: var(--oha-white);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .85;
  cursor: default;
}
.open-hoa .oha-bar-nav .coming-soon-badge {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  color: var(--oha-white);
}

.open-hoa .oha-bar-cta {
  flex: 0 0 auto;
  background: var(--oha-green);
  color: var(--oha-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 16px;
  border-radius: 8px;
}

.open-hoa .oha-bar-cta:hover {
  background: #256628;
  color: var(--oha-white);
}

.open-hoa .oha-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--oha-nav-offset) - 68px);
  min-height: calc(100svh - var(--oha-nav-offset) - 68px);
  overflow: hidden;
  color: var(--oha-white);
  scroll-margin-top: calc(var(--oha-nav-offset) + 68px);
}

.open-hoa .oha-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.open-hoa .oha-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 45, 74, 0.88) 0%, rgba(11, 45, 74, 0.72) 38%, rgba(11, 45, 74, 0.28) 68%, rgba(11, 45, 74, 0.18) 100%);
}

.open-hoa .oha-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.open-hoa .oha-hero h1 {
  max-width: 11em;
  margin: 0 0 18px;
  color: var(--oha-white);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.open-hoa .oha-hero-sub {
  max-width: 38rem;
  margin: 0 0 28px;
  color: var(--oha-white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.open-hoa .oha-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
}

.open-hoa .oha-hero .btn-primary {
  background: var(--oha-green);
  color: var(--oha-white);
  font-weight: 600;
  padding: 14px 26px;
  font-size: 16px;
}

.open-hoa .oha-hero .btn-primary:hover {
  background: #256628;
  color: var(--oha-white);
}

.open-hoa .oha-btn-early {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: transparent;
  color: var(--oha-white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.open-hoa .oha-btn-early:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--oha-white);
}

.open-hoa .oha-photo-credit {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 14px;
  margin: 0;
  max-width: min(100% - 48px, 28rem);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
  text-shadow: 0 1px 2px rgba(11, 45, 74, 0.65);
}

.open-hoa .oha-photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.open-hoa .btn-primary {
  background: var(--oha-green);
  color: var(--oha-white);
}

.open-hoa .btn-primary:hover {
  background: #256628;
  color: var(--oha-white);
}

.open-hoa .section-label {
  color: var(--oha-blue);
  font-family: var(--oha-font);
  font-weight: 600;
}

.open-hoa .section-title { color: var(--oha-navy); }

.open-hoa section {
  scroll-margin-top: calc(var(--oha-nav-offset) + 84px);
}

.open-hoa .container a:not(.btn) {
  color: var(--oha-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.open-hoa .container a:not(.btn):hover { color: #124066; }

.open-hoa footer {
  background: var(--bg);
  margin-top: 0;
}

.open-hoa footer .container a,
.open-hoa footer .container a:hover {
  text-decoration: none;
}

.open-hoa footer .container a { color: var(--text3); }
.open-hoa footer .container a:hover { color: var(--text); }

.open-hoa .oha-prose {
  max-width: 42rem;
  color: #374151;
  font-size: 16px;
  line-height: 1.7;
}

.open-hoa .oha-prose p + p { margin-top: 14px; }

.open-hoa .oha-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--oha-white);
  border: 1px solid var(--oha-border);
  border-left: 4px solid var(--oha-blue);
  border-radius: 12px;
  color: var(--oha-navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  max-width: 42rem;
}

.open-hoa .oha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.open-hoa .oha-card,
.open-hoa .oha-list li {
  background: var(--oha-white);
  border: 1px solid var(--oha-border);
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(11, 45, 74, 0.09);
}

.open-hoa .oha-card { padding: 24px; }

.open-hoa .oha-card-wide { grid-column: 1 / -1; }

.open-hoa .oha-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--oha-sky);
  display: grid;
  place-items: center;
}

.open-hoa .oha-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: var(--oha-navy);
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.open-hoa .oha-card h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--oha-navy);
}

.open-hoa .oha-card p,
.open-hoa .oha-list li {
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

.open-hoa .oha-card p + p { margin-top: 12px; }

.open-hoa .oha-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.open-hoa .oha-list li { padding: 16px 18px; }

.open-hoa .oha-list strong {
  color: var(--oha-navy);
  font-weight: 600;
}

.open-hoa .oha-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.open-hoa .oha-points li {
  background: var(--oha-white);
  border: 1px solid var(--oha-border);
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(11, 45, 74, 0.09);
  padding: 22px 20px;
  color: var(--oha-navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.open-hoa .oha-esign {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--oha-navy);
}

.open-hoa .oha-pilot-note {
  margin: 14px 0 0;
  color: var(--oha-gray);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.open-hoa .oha-price {
  margin: 0 0 14px;
  color: var(--oha-navy);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.open-hoa #pilot .oha-prose p { margin: 0; }

.open-hoa .contact-card {
  background: var(--oha-white);
  border: 1px solid var(--oha-border);
  box-shadow: 0 3px 16px rgba(11, 45, 74, 0.09);
}

.open-hoa .contact-card h2 {
  text-align: center;
  color: var(--oha-navy);
}

.open-hoa .contact-card .lede { color: #374151; }

.open-hoa .contact-card .oha-fine {
  max-width: 40rem;
  margin: 22px auto 0;
  text-align: center;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .open-hoa section {
    scroll-margin-top: 210px;
  }

  .open-hoa .oha-bar-inner { flex-wrap: wrap; }

  .open-hoa .oha-bar-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .open-hoa .oha-bar-cta { margin-left: auto; }

  .open-hoa .oha-hero { min-height: 560px; }

  .open-hoa .oha-hero h1 { font-size: 36px; }

  .open-hoa .oha-hero-sub { font-size: 16px; }

  .open-hoa .oha-card-wide { grid-column: auto; }
}

@media (max-width: 520px) {
  .open-hoa .oha-hero-actions .btn { width: auto; }

  .open-hoa .oha-bar-logo svg { height: 36px; }

  .open-hoa .oha-photo-credit {
    left: 24px;
    right: 24px;
    text-align: left;
  }
}
