/* HLV /invest — investor brief */
.invest-page {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.invest-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.invest-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.invest-hero .lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.invest-block {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.invest-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.invest-block .block-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.invest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.invest-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.invest-card-head h3 {
  font-size: 1rem;
  font-weight: 700;
}

.occ-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--white);
}

.occ-toggle button {
  border: none;
  background: transparent;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.occ-toggle button.is-active {
  background: var(--navy);
  color: var(--white);
}

.invest-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.invest-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.invest-table th,
.invest-table td {
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.invest-table th {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface);
  white-space: nowrap;
}

.invest-table td:last-child,
.invest-table th:last-child {
  text-align: right;
}

.invest-table tr:last-child td {
  border-bottom: none;
}

.invest-table .row-highlight td {
  font-weight: 700;
  background: var(--mint-dim);
  color: var(--navy);
}

.invest-table .row-muted td {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.invest-total-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.invest-total-bar .label {
  font-size: 0.8rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invest-total-bar .value {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
}

.invest-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
}

.invest-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.65rem 0.9rem;
  background: var(--mint-dim);
  border-radius: var(--radius-sm);
  color: var(--navy);
}

.invest-yield-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--mint);
}

.invest-cta {
  text-align: center;
  margin-top: 2rem;
}

.invest-apply-card {
  padding: 1.25rem 1.5rem 1.5rem;
}

.invest-apply-card .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  resize: vertical;
  min-height: 4.5rem;
  background: var(--white);
}

.invest-apply-card .field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-dim);
}

.invest-field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.invest-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.invest-toc a {
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.invest-toc a:hover {
  background: var(--mint-dim);
  border-color: var(--mint);
}

.invest-h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--navy);
}

.invest-pool-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.invest-pool-box {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
}

.invest-pool-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.25rem 0;
}

.invest-pool-box.mgmt {
  background: var(--surface);
}

.invest-pool-box.investor {
  background: var(--mint-dim);
  border-color: rgba(96, 206, 128, 0.35);
}

.invest-pool-box span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.invest-glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
}

.invest-glance-item {
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.invest-glance-item dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.invest-glance-item dd {
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

@media (max-width: 520px) {
  .invest-pool-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .invest-table th,
  .invest-table td {
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }
}
