.phd-dashboard {
  --phd-bg: #07142b;
  --phd-surface: #10213d;
  --phd-surface-soft: #152946;
  --phd-ink: #f8f2e4;
  --phd-muted: #aeb9cb;
  --phd-gold: #f0c66d;
  --phd-gold-soft: rgba(240, 198, 109, 0.14);
  --phd-border: rgba(255, 255, 255, 0.12);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 4vw, 48px);
  border-radius: 26px;
  color: var(--phd-ink);
  background: var(--phd-bg);
  box-shadow: 0 28px 80px rgba(7, 20, 43, 0.28);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.phd-dashboard,
.phd-dashboard * {
  box-sizing: border-box;
}

.phd-dashboard .phd-glow {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 198, 109, 0.22), transparent 68%);
  pointer-events: none;
}

.phd-dashboard h2,
.phd-dashboard h3,
.phd-dashboard p {
  margin-top: 0;
}

.phd-dashboard h2,
.phd-dashboard h3,
.phd-dashboard strong {
  color: var(--phd-ink);
}

.phd-dashboard h2 {
  margin-bottom: 7px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.phd-dashboard h3 {
  margin-bottom: 4px;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.25;
}

.phd-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.phd-brand-lockup {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.phd-brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(240, 198, 109, 0.35);
  border-radius: 50%;
  color: var(--phd-gold);
  background: var(--phd-gold-soft);
  font-family: Georgia, serif;
  font-size: 26px;
}

.phd-eyebrow,
.phd-comparison > div > p {
  margin-bottom: 7px;
  color: var(--phd-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phd-subtitle {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--phd-muted);
}

.phd-pill,
.phd-benefit-list em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 198, 109, 0.28);
  border-radius: 999px;
  color: var(--phd-gold);
  background: var(--phd-gold-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.phd-pill {
  padding: 9px 12px;
}

.phd-benefit-list em {
  margin-left: 7px;
  padding: 5px 7px;
}

.phd-promise-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid var(--phd-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.phd-promise-item {
  padding: 18px 20px;
  border-right: 1px solid var(--phd-border);
}

.phd-promise-item:last-child {
  border-right: 0;
}

.phd-promise-item span,
.phd-result-card > span,
.phd-total-card > span,
.phd-metrics > div > span,
.phd-future-results > div > span,
.phd-comparison-flow span,
.phd-multiple > span {
  display: block;
  color: var(--phd-muted);
  font-size: 13px;
}

.phd-promise-item strong {
  display: block;
  margin-top: 3px;
  color: var(--phd-gold);
  font-size: 18px;
}

.phd-section {
  padding: 34px 0;
  border-top: 1px solid var(--phd-border);
}

.phd-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.phd-section-heading p {
  margin-bottom: 0;
  color: var(--phd-muted);
}

.phd-section-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  color: var(--phd-gold);
  background: var(--phd-gold-soft);
  font-weight: 700;
}

.phd-conversion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(230px, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.phd-two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.phd-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.phd-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--phd-ink);
  font-size: 14px;
  font-weight: 650;
}

.phd-label-row small {
  color: var(--phd-muted);
  font-size: 12px;
  font-weight: 500;
}

.phd-input-wrap {
  position: relative;
  display: block;
}

.phd-prefix {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--phd-gold);
  font-size: 13px;
  font-weight: 750;
  pointer-events: none;
}

.phd-dashboard input[type="text"] {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px 12px 58px;
  border: 1px solid var(--phd-border);
  border-radius: 12px;
  outline: none;
  color: var(--phd-ink);
  background: var(--phd-surface);
  box-shadow: none;
  font: inherit;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phd-dashboard input[type="text"]:focus {
  border-color: var(--phd-gold);
  box-shadow: 0 0 0 3px rgba(240, 198, 109, 0.14);
}

.phd-result-card,
.phd-total-card,
.phd-metrics > div {
  border: 1px solid var(--phd-border);
  border-radius: 16px;
  background: var(--phd-surface);
}

.phd-result-card,
.phd-total-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 20px;
}

.phd-result-card strong,
.phd-total-card strong {
  display: block;
  margin: 5px 0;
  color: var(--phd-gold);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.phd-result-card small,
.phd-total-card small,
.phd-metrics small,
.phd-future-results small,
.phd-multiple small {
  color: var(--phd-muted);
  font-size: 12px;
}

.phd-benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.phd-benefit-bar {
  display: grid;
  grid-template-columns: 4fr 1fr 1fr 1fr;
  gap: 3px;
  overflow: hidden;
  height: 16px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.phd-benefit-bar span {
  background: var(--phd-gold);
}

.phd-benefit-bar span:not(:first-child) {
  opacity: 0.55;
}

.phd-benefit-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--phd-border);
}

.phd-benefit-list > div:last-child {
  border-bottom: 0;
}

.phd-benefit-list > div > span {
  display: flex;
  align-items: center;
  min-width: 0;
}

.phd-benefit-list i {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--phd-gold);
}

.phd-benefit-list strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.phd-total-card {
  min-height: 170px;
  background: linear-gradient(145deg, rgba(240, 198, 109, 0.16), var(--phd-surface));
}

.phd-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.phd-metrics > div {
  padding: 18px;
}

.phd-metrics strong {
  display: block;
  margin: 5px 0 2px;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  overflow-wrap: anywhere;
}

.phd-progress {
  overflow: hidden;
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.phd-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--phd-gold);
  transition: width 180ms ease;
}

.phd-future-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.66fr) minmax(0, 1.34fr);
  gap: 26px;
  align-items: start;
}

.phd-future-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.phd-future-results > div {
  padding: 11px 0;
  border-bottom: 1px solid var(--phd-border);
}

.phd-future-results strong {
  display: block;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.phd-future-results .phd-highlight strong {
  color: var(--phd-gold);
}

.phd-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 25px;
  border: 1px solid rgba(240, 198, 109, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, #0e213e, #17365f);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.phd-comparison h3 {
  margin-bottom: 0;
}

.phd-comparison-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.phd-comparison-flow strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.phd-comparison-flow b {
  color: var(--phd-gold);
  font-size: 24px;
}

.phd-multiple {
  padding-left: 24px;
  border-left: 1px solid var(--phd-border);
  text-align: right;
}

.phd-multiple strong {
  display: block;
  margin: 5px 0;
  color: var(--phd-gold);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
}

.phd-disclaimer {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--phd-border);
  color: var(--phd-muted);
  font-size: 12px;
}

@media (max-width: 820px) {
  .phd-conversion-grid,
  .phd-benefit-layout,
  .phd-future-grid,
  .phd-comparison {
    grid-template-columns: 1fr;
  }

  .phd-result-card {
    min-height: 120px;
  }

  .phd-multiple {
    padding: 18px 0 0;
    border-top: 1px solid var(--phd-border);
    border-left: 0;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .phd-dashboard {
    padding: 20px;
    border-radius: 18px;
  }

  .phd-hero {
    flex-direction: column;
  }

  .phd-brand-lockup {
    gap: 12px;
  }

  .phd-brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 22px;
  }

  .phd-promise-strip,
  .phd-two-fields,
  .phd-metrics,
  .phd-future-results,
  .phd-comparison-flow {
    grid-template-columns: 1fr;
  }

  .phd-promise-item {
    border-right: 0;
    border-bottom: 1px solid var(--phd-border);
  }

  .phd-promise-item:last-child {
    border-bottom: 0;
  }

  .phd-benefit-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .phd-benefit-list strong {
    padding-left: 17px;
    white-space: normal;
  }

  .phd-comparison-flow b {
    transform: rotate(90deg);
    transform-origin: center;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phd-dashboard input[type="text"],
  .phd-progress span {
    transition: none;
  }
}

