:root {
  --w-ink: #151515;
  --w-body: #4a4a4a;
  --w-muted: #767676;
  --w-line: #e3e3e3;
  --w-soft: #f8f9fa;
  --w-accent: #1717e5;
  --w-warn: #b54708;
  --w-hold: #6c757d;
  --w-move: #1717e5;
  --w-pledge: #6f42c1;
  --w-split: #b54708;
  --w-gap: 2.5rem;
  --w-card: 1.75rem;
}

body {
  color: var(--w-body);
}

.navbar.navbar-light {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--w-line);
}
.navbar .navbar-brand {
  color: var(--w-ink);
  letter-spacing: -0.01em;
}
.navbar .nav-link {
  color: var(--w-body);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--w-ink);
  font-weight: 500;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-accent);
}

.hero-band {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--w-line);
}
.hero-copy h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--w-ink);
}
.hero-lead {
  max-width: 54ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--w-body);
}
.hero-figure {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 340px;
  border-radius: 0.5rem;
}

.block-head {
  margin-bottom: 2rem;
}
.block-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--w-ink);
}
.block-cap {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-accent);
}

.body-lg {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--w-body);
}
.body-lg + .body-lg {
  margin-top: 1.1rem;
}

.figure-band {
  width: 100%;
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
  border-radius: 0.5rem;
}

.callout-note {
  margin: 2rem 0 0 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 3px solid var(--w-accent);
  border-radius: 0 0.375rem 0.375rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--w-body);
}
.py-vh-3:not(.bg-gray-100) .callout-note {
  background: var(--w-soft);
}

.panel {
  display: flex;
  flex-direction: column;
  padding: var(--w-card);
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 0.5rem;
}
.bg-gray-100 .panel {
  background: #fff;
}
.panel-count,
.step-num {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(23, 23, 229, 0.07);
  color: var(--w-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.panel-title {
  margin: 0.85rem 0 0.6rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--w-ink);
}
.panel-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--w-muted);
}

.stat-cell {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--w-line);
  border-top: 3px solid var(--w-accent);
  border-radius: 0.375rem;
}
.stat-n {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--w-ink);
}
.stat-l {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--w-muted);
}

.doc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 0.5rem;
  overflow: hidden;
}
.doc-figure {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.doc-head {
  padding: 1.1rem 1.4rem;
  background: var(--w-ink);
  color: #fff;
}
.doc-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}
.doc-no {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.doc-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.35rem 1.4rem 1.1rem 1.4rem;
}
.doc-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--w-line);
}
.doc-row:last-child {
  border-bottom: 0;
}
.doc-k {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-muted);
}
.doc-v {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--w-ink);
}
.doc-warn {
  color: var(--w-warn);
}

.heir-card {
  display: flex;
  flex-direction: column;
  padding: var(--w-card);
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 0.5rem;
}
.heir-list {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.heir-row {
  display: grid;
  grid-template-columns: 1fr auto 8rem;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--w-line);
}
.heir-row:last-child {
  border-bottom: 0;
}
.heir-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--w-ink);
}
.heir-share {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--w-accent);
}
.heir-where {
  font-size: 0.88rem;
  color: var(--w-muted);
  text-align: right;
}

.ba-card {
  display: flex;
  flex-direction: column;
  padding: var(--w-card);
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 0.5rem;
}
.ba-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--w-ink);
}
.ba-sub {
  margin: 0.4rem 0 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--w-muted);
}
.ba-num {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--w-muted);
}
.ba-card--after {
  border-color: var(--w-accent);
}
.ba-card--after .ba-num {
  color: var(--w-accent);
}

.share-cell {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--w-line);
  border-top: 3px solid var(--w-hold);
  border-radius: 0.375rem;
  overflow: hidden;
}
.share-figure {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.share-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem 1.15rem 1.15rem;
}
.share-state {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-hold);
}
.share-name {
  margin-top: 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--w-ink);
}
.share-holder {
  margin-top: 0.1rem;
  font-size: 0.88rem;
  color: var(--w-muted);
}
.share-cell.state--moved {
  border-top-color: var(--w-move);
}
.share-cell.state--moved .share-state {
  color: var(--w-move);
}
.share-cell.state--pledged {
  border-top-color: var(--w-pledge);
}
.share-cell.state--pledged .share-state {
  color: var(--w-pledge);
}
.share-cell.state--split {
  border-top-color: var(--w-split);
}
.share-cell.state--split .share-state {
  color: var(--w-split);
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.5rem 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--w-muted);
}
.legend-row li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--w-hold);
}
.dot--moved {
  background: var(--w-move);
}
.dot--pledged {
  background: var(--w-pledge);
}
.dot--split {
  background: var(--w-split);
}

.acc-list {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.acc-row {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--w-line);
  border-left: 3px solid var(--w-line);
  border-radius: 0 0.375rem 0.375rem 0;
}
.acc-who {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--w-ink);
}
.acc-what {
  font-size: 0.9rem;
  color: var(--w-muted);
  text-align: right;
}
.acc--yes {
  border-left-color: var(--w-accent);
}
.acc--part {
  border-left-color: #adb5bd;
}
.acc--no {
  border-left-color: var(--w-line);
}

.flow-node {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 0.5rem;
  text-align: center;
}
.flow-k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-muted);
}
.flow-node strong {
  margin-top: 0.45rem;
  font-size: 1.02rem;
  color: var(--w-ink);
}
.flow-node--move {
  border-color: var(--w-accent);
}
.flow-node--move strong {
  color: var(--w-accent);
}
.flow-node--rest {
  border-style: dashed;
}

.cta-band {
  background: var(--w-ink) !important;
}
.cta-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
}
.cta-text {
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.2rem;
}
.cta-mail {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.cta-mail:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.facts-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.75rem;
  align-content: space-between;
}
.fact-k {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.fact-v {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.site-foot {
  padding-top: 3rem;
  padding-bottom: 1.75rem;
  background: var(--w-soft);
  border-top: 1px solid var(--w-line);
}
.foot-brand {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--w-ink);
}
.foot-tag {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--w-muted);
}
.foot-k {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-muted);
}
.foot-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links li + li {
  margin-top: 0.4rem;
}
.foot-links a,
.foot-links span {
  font-size: 0.9rem;
  color: var(--w-body);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--w-ink);
}
.foot-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--w-line);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--w-muted);
}

@media (max-width: 991.98px) {
  .hero-band {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }
  .heir-row {
    grid-template-columns: 1fr auto;
  }
  .heir-where {
    grid-column: 1 / -1;
    text-align: left;
  }
  .acc-what {
    text-align: left;
  }
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

.row.align-items-center:has(> [class*="col-"] > .figure-band) { align-items: stretch !important; }
.row:has(> [class*="col-"] > .figure-band) > [class*="col-"] { display: flex; flex-direction: column; }
.row:has(> [class*="col-"] > .figure-band) > [class*="col-"] > .figure-band { flex: 1 1 auto; }

@media (max-width: 991.98px) {
  .row:has(> [class*="col-"] > .figure-band) > [class*="col-"] { display: block; }
  .figure-band { height: auto; aspect-ratio: 3 / 2; }
  .hero-figure { max-height: none; }
}

.heir-list { display: flex; flex-direction: column; justify-content: space-between; }
.heir-row { flex: 0 0 auto; }
.doc-figure { flex: 0 0 auto; }

.hero-band .row { align-items: center; }
.hero-copy { padding-top: 0.5rem; padding-bottom: 0.5rem; }
