/*!
 * DPOM USA - Plan Sheet
 * Six blocks: what this is, what's included, what's NOT included,
 * your limits, the money, your commitment.
 * Matches the site design language: --gam-red #C22232, --gam-dark #1a1a2e,
 * Montserrat headings, Raleway body, .rung-card surface.
 */
.dpom-plansheet {
  --ps-red: #C22232;
  --ps-red-2: #e63946;
  --ps-dark: #1a1a2e;
  --ps-ink: #ffffff;
  --ps-body: rgba(255, 255, 255, 0.78);
  --ps-mute: rgba(255, 255, 255, 0.55);
  --ps-line: rgba(155, 179, 211, 0.18);
  --ps-green: #46d28a;
  --ps-gold: #F4C443;
  --ps-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ps-body-font: 'Raleway', 'Montserrat', -apple-system, sans-serif;

  position: relative;
  box-sizing: border-box;
  max-width: 860px;
  margin: 34px auto;
  padding: 26px 24px 28px;
  border: 1px solid var(--ps-line);
  border-radius: 18px;
  background: linear-gradient(170deg, #0a2347 0%, #02132b 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
  font-family: var(--ps-body-font);
  color: var(--ps-body);
  text-align: left;
}

.dpom-plansheet *,
.dpom-plansheet *::before,
.dpom-plansheet *::after { box-sizing: border-box; }

.dpom-plansheet::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, transparent, var(--ps-red), var(--ps-red-2), transparent);
}

.dpom-plansheet__kicker {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ps-mute);
  margin: 0 0 6px;
}

.dpom-plansheet__title {
  font-family: var(--ps-head);
  font-weight: 800;
  font-size: clamp(21px, 3.4vw, 27px);
  line-height: 1.2;
  color: var(--ps-ink) !important;
  margin: 0 0 4px;
}

.dpom-plansheet__sub {
  font-size: 14px;
  color: var(--ps-mute);
  margin: 0 0 20px;
}

/* ---- blocks ---- */
.ps-block {
  border-top: 1px solid var(--ps-line);
  padding: 20px 0 4px;
}
.ps-block:first-of-type { border-top: none; padding-top: 4px; }

.ps-block__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
}

.ps-block__n {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ps-red-2);
  flex: 0 0 auto;
  padding-top: 2px;
}

.ps-block__h {
  font-family: var(--ps-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .01em;
  color: var(--ps-ink) !important;
  margin: 0;
}

/* 1. What this is */
.ps-isline {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ps-body);
  margin: 0 0 14px;
}
.ps-isline strong { color: var(--ps-ink); font-weight: 700; }

.ps-headline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}
.ps-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--ps-line);
  background: rgba(255, 255, 255, .05);
  font-size: 13px;
  color: var(--ps-body);
}
.ps-chip b {
  font-family: var(--ps-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--ps-ink);
}
.ps-chip--fee { border-color: rgba(194, 34, 50, .5); background: rgba(194, 34, 50, .12); }
.ps-chip--cap { border-color: rgba(244, 196, 67, .4); background: rgba(244, 196, 67, .08); }

/* the single most important line */
.ps-twonumbers {
  margin: 0 0 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(244, 196, 67, .34);
  background: rgba(244, 196, 67, .07);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ps-body);
}
.ps-twonumbers strong { color: var(--ps-gold); font-weight: 700; }

/* 2 + 3. lists */
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ps-body);
}
.ps-list .ps-ic {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.ps-list--yes .ps-ic { background: rgba(70, 210, 138, .16); color: var(--ps-green); }
.ps-list--no .ps-ic { background: rgba(230, 57, 70, .18); color: #ff7d86; }

/* 3. What's NOT included - the point of the exercise */
.ps-block--not {
  border-radius: 14px;
  border: 1px solid rgba(230, 57, 70, .38);
  background: rgba(230, 57, 70, .06);
  padding: 20px 18px 18px;
  margin: 18px 0;
}
.ps-block--not .ps-block__n { color: #ff7d86; }
.ps-block--not .ps-block__h { color: #ffd9dc !important; }
.ps-not-lead {
  font-size: 13.5px;
  color: var(--ps-mute);
  margin: -4px 0 14px;
}
.ps-not__what { color: var(--ps-ink); font-weight: 700; }
.ps-not__where {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--ps-gold);
}

/* 4. Your limits */
.ps-limits { display: grid; gap: 0; margin: 0; }
.ps-limit {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 18px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(155, 179, 211, .16);
  font-size: 14.5px;
}
.ps-limit:last-child { border-bottom: none; }
.ps-limit__k { color: var(--ps-mute); }
.ps-limit__v {
  font-family: var(--ps-head);
  font-weight: 700;
  color: var(--ps-ink);
  text-align: right;
}

/* 5. The money */
.ps-money { display: grid; gap: 12px; }
.ps-money__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--ps-line);
  background: rgba(255, 255, 255, .04);
}
.ps-money__row--today { border-color: rgba(194, 34, 50, .5); background: rgba(194, 34, 50, .1); }
.ps-money__k { font-size: 14px; color: var(--ps-body); }
.ps-money__k small { display: block; color: var(--ps-mute); font-size: 12.5px; margin-top: 3px; }
.ps-money__v {
  font-family: var(--ps-head);
  font-weight: 900;
  font-size: 20px;
  color: var(--ps-ink);
  white-space: nowrap;
}
.ps-money__note { font-size: 13.5px; line-height: 1.55; color: var(--ps-mute); margin: 0; }
.ps-money__note strong { color: var(--ps-body); }

/* 6. Your commitment */
.ps-commit { display: grid; gap: 11px; margin: 0; }
.ps-commit div {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ps-body);
}
.ps-commit dt {
  font-family: var(--ps-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ps-mute);
  margin-bottom: 3px;
}

.dpom-plansheet__foot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ps-line);
  font-size: 13px;
  color: var(--ps-mute);
}
.dpom-plansheet__foot a { color: var(--ps-gold); text-decoration: none; }
.dpom-plansheet__foot a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .dpom-plansheet { padding: 22px 16px 24px; margin: 26px auto; border-radius: 14px; }
  .ps-money__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* the recurring line is a sentence, not a figure, so let it wrap on a phone */
  .ps-money__v { font-size: 20px; white-space: normal; line-height: 1.25; }
  .ps-limit { flex-direction: column; gap: 2px; }
  .ps-limit__v { text-align: left; }
  .ps-block--not { padding: 18px 14px 16px; }
}
