/* Investor rate sheet — layout from the Claude Design export */
.sheet {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  background: var(--white);
}
.sheet-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
}
.sheet a {
  color: var(--slate);
}
.sheet a:hover {
  color: var(--navy);
}
.sheet .error,
.sheet .loading {
  padding: 64px 0;
  font-size: 16px;
  color: var(--text-muted);
}
.sheet .error {
  color: var(--status-negative, #8b3a3a);
}

.sheet-head {
  padding: 44px 0 0;
}
.sheet-kicker {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-default);
}
.sheet-kicker .stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sheet .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}
.sheet-kicker h1 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}
.sheet-kicker .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: right;
}
.sheet-kicker .meta strong {
  color: var(--navy);
  font-weight: 600;
}

.progs {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.progs th,
.progs td {
  text-align: left;
  vertical-align: top;
}
.progs thead th {
  padding: 14px 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  border-bottom: 1px solid var(--border-default);
}
.progs thead th:first-child {
  padding-left: 0;
  width: 30%;
}
.progs thead th:nth-child(2) {
  width: 20%;
}
.progs thead th:last-child {
  padding-right: 0;
  white-space: nowrap;
}
.progs tbody th,
.progs tbody td {
  padding: 26px 20px;
  border-bottom: 1px solid var(--border-default);
}
.progs tbody th:first-child,
.progs tbody td:first-child {
  padding-left: 0;
}
.progs tbody td:last-child {
  padding-right: 0;
}
.progs .pname {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  letter-spacing: -0.015em;
}
.progs .ptag {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}
.progs .jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color var(--duration-fast) var(--ease-out);
}
.progs .jump:hover {
  color: var(--navy);
}
.progs .rate {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}
.progs .sub {
  font-size: 12.5px;
  color: var(--text-muted);
}
.progs .cell {
  font-size: 14px;
  color: var(--text-body);
}
.sheet-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 76ch;
}

.sheet-band {
  padding: 64px 0;
  margin-top: 56px;
  background: var(--gray-light);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}
.sheet-band.plain {
  margin-top: 0;
  background: var(--white);
  border-top: none;
}
.sheet-band.plain + .sheet-band {
  margin-top: 0;
}
.sheet .sechead {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
  max-width: none;
}
.sheet .sechead h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}
.sheet .sechead p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 74ch;
}

.tablewrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.grid {
  min-width: 820px;
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border-default);
}
table.grid th,
table.grid td {
  text-align: left;
  vertical-align: top;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-default);
}
table.grid thead th {
  padding: 14px 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  background: var(--white);
}
table.grid.xp thead th:first-child,
table.grid.xp thead th:last-child {
  width: 26%;
}
table.grid tbody tr:last-child th,
table.grid tbody tr:last-child td {
  border-bottom: none;
}
table.grid .who {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
table.grid .who-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
}
table.grid .num {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}
table.grid .lev {
  font-size: 13.5px;
  color: var(--text-muted);
}
table.grid.dscr {
  min-width: 760px;
}
table.grid.dscr thead th:first-child {
  width: 28%;
}
table.grid.dscr tbody th,
table.grid.dscr tbody td {
  vertical-align: middle;
}
table.grid .na {
  font-size: 15px;
  color: var(--taupe);
  font-weight: 400;
}

.xp-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}
.xp-notes strong {
  color: var(--navy);
  font-weight: 600;
}
.flipbox {
  background: var(--white);
  border: 1px solid var(--border-default);
  margin-top: 22px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}
.flipbox .lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}
.flipbox .bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.flipbox .k {
  font-size: 12.5px;
  color: var(--text-muted);
}
.flipbox .v {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}
.flipbox .hint {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.sheet .rules {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 82ch;
}
.sheet .rules li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.sheet .rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--taupe);
}

#termsgrid {
  display: grid;
  gap: 1px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#termsgrid > div {
  background: var(--white);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#termsgrid h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 18px;
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border-default);
}
#termsgrid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#termsgrid li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
#termsgrid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--taupe);
}

@media (max-width: 1040px) {
  #termsgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .sheet-wrap {
    padding: 0 24px;
  }
  .sheet-kicker h1 {
    font-size: 30px;
  }
  .sheet-kicker .meta {
    text-align: left;
  }
  .flipbox .bands {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  #termsgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .progs .jump {
    transition: none;
  }
}
