.plan-d {
  --d-ink: #112b2e;
  --d-deep: #0c2427;
  --d-accent: #e87b47;
  --d-cream: #f4efe6;
  color: #fff;
  background: var(--d-deep);
}

.d-header {
  position: relative;
  z-index: 20;
  display: grid;
  min-height: 88px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: clamp(24px, 4vw, 62px);
  color: var(--d-ink);
  background: #fff;
}

.d-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 14px;
}

.d-brand > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--d-accent);
  font-size: 17px;
  font-weight: 800;
}

.d-brand strong {
  font-size: 17px;
  letter-spacing: .06em;
}

.d-header > p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .08em;
}

.d-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.d-header nav button {
  padding: 4px;
  background: transparent;
}

.d-portal {
  position: relative;
  height: calc(100vh - 88px);
  min-height: 680px;
  overflow: hidden;
  background: #526264;
}

.d-portal-image,
.d-portal-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.d-portal-image {
  object-fit: cover;
  object-position: center;
}

.d-portal-shade {
  background: linear-gradient(90deg, rgba(8,28,30,.82) 0 32%, rgba(8,28,30,.2) 60%, rgba(8,28,30,.42));
}

.d-hero-copy {
  position: absolute;
  top: clamp(74px, 10vh, 120px);
  left: clamp(500px, 39vw, 650px);
  z-index: 3;
  width: min(500px, 38vw);
  text-shadow: 0 2px 26px rgba(0,0,0,.32);
}

.d-kicker,
.d-action-label {
  margin-bottom: 18px;
  color: #f5b28f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.d-hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.35;
}

.d-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.d-hero-copy > p:last-child {
  max-width: 400px;
  margin: 0;
  font-size: 13px;
}

.d-path-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  width: min(460px, 34vw);
  min-width: 410px;
  flex-direction: column;
  padding: clamp(28px, 4vh, 42px) 30px 28px;
  background: rgba(9,36,39,.94);
  backdrop-filter: blur(12px);
}

.d-notice {
  padding: 20px 20px 18px;
  border-left: 3px solid var(--d-accent);
  background: rgba(255,255,255,.07);
}

.d-notice > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.d-notice strong {
  padding: 3px 8px;
  color: var(--d-deep);
  background: var(--d-accent);
  font-size: 11px;
}

.d-notice span {
  color: #a9c0c1;
  font-size: 9px;
  letter-spacing: .12em;
}

.d-notice p {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 600;
}

.d-notice ul {
  margin: 0;
  padding-left: 18px;
  color: #c8d4d4;
  font-size: 10px;
  line-height: 1.7;
}

.d-path-list {
  display: grid;
  margin-top: auto;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.d-path-list button,
.d-path-list a {
  display: grid;
  min-height: 82px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-top: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: transparent;
  text-align: left;
  transition: padding .25s ease, background-color .25s ease;
}

.d-path-list button:hover,
.d-path-list a:hover {
  padding-left: 20px;
  background: rgba(255,255,255,.08);
}

.d-path-list span {
  color: #f4a077;
  font-size: 10px;
}

.d-path-list strong {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
}

.d-path-list i {
  font-size: 22px;
  font-style: normal;
}

.d-action-panel {
  position: absolute;
  right: clamp(26px, 3.5vw, 54px);
  bottom: 70px;
  z-index: 6;
  width: 310px;
  padding: 28px;
  color: var(--d-ink);
  background: var(--d-cream);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.d-action-panel .d-action-label {
  color: #a44d28;
}

.d-action-panel h2 {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 600;
}

.d-primary-action,
.d-secondary-action {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
}

.d-primary-action {
  color: #fff;
  background: var(--d-ink);
}

.d-secondary-action {
  margin-top: 8px;
  border: 1px solid var(--d-ink);
  color: var(--d-ink);
  background: transparent;
}

.d-primary-action span,
.d-secondary-action span {
  font-size: 18px;
}

.d-company-mini {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(17,43,46,.2);
}

.d-company-mini > strong {
  font-size: 12px;
}

.d-company-mini p {
  margin: 8px 0;
  color: #536163;
  font-size: 10px;
}

.d-company-mini small {
  color: #8a7770;
  font-size: 9px;
}

.d-portal-footer {
  position: absolute;
  right: 380px;
  bottom: 24px;
  left: 500px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.76);
  font-size: 9px;
  letter-spacing: .08em;
}

.plan-d .mock-switcher {
  right: 352px;
}

.d-modal-card .eyebrow {
  color: var(--d-accent);
}

.d-modal-card h2 {
  color: var(--d-ink);
}

.d-modal-card > p:not(.eyebrow) {
  color: #596466;
}

.d-mock-contact-list {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid #dfe3e3;
}

.d-mock-contact-list span,
.d-mock-contact-list strong {
  padding: 12px 0;
  border-bottom: 1px solid #dfe3e3;
  font-size: 11px;
}

.d-mock-contact-list strong {
  color: var(--d-ink);
}

@media (max-width: 1180px) {
  .d-hero-copy {
    left: 450px;
    width: 36vw;
  }

  .d-path-panel {
    width: 410px;
  }

  .d-action-panel {
    width: 280px;
  }

  .d-portal-footer {
    right: 330px;
    left: 450px;
  }

  .plan-d .mock-switcher {
    right: 312px;
  }
}

@media (max-width: 900px) {
  .d-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .d-header > p {
    display: none;
  }

  .d-brand {
    gap: 10px;
  }

  .d-brand > span {
    width: 38px;
    height: 38px;
  }

  .d-brand strong {
    font-size: 13px;
  }

  .d-portal {
    display: grid;
    height: auto;
    min-height: 0;
    padding-top: 330px;
    overflow: visible;
    background: var(--d-deep);
  }

  .d-portal-image,
  .d-portal-shade {
    height: 330px;
  }

  .d-portal-image {
    object-position: 62% center;
  }

  .d-portal-shade {
    background: linear-gradient(90deg, rgba(8,28,30,.76), rgba(8,28,30,.16));
  }

  .d-hero-copy {
    top: 62px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .d-hero-copy h1 {
    font-size: 38px;
  }

  .d-hero-copy > p:last-child {
    max-width: 300px;
    font-size: 11px;
  }

  .d-path-panel,
  .d-action-panel,
  .d-portal-footer {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
  }

  .d-path-panel {
    padding: 24px 20px 28px;
    background: var(--d-deep);
  }

  .d-path-list {
    margin-top: 24px;
  }

  .d-path-list button,
  .d-path-list a {
    min-height: 74px;
  }

  .d-path-list strong {
    font-size: 16px;
  }

  .d-action-panel {
    margin: 0 20px 20px;
    padding: 28px 24px;
  }

  .d-portal-footer {
    display: grid;
    gap: 4px;
    padding: 22px 20px 26px;
    color: #a8b8b9;
    background: #071c1f;
  }

  .plan-d .mock-switcher {
    position: static;
    margin-block: 0 18px;
  }
}

@media (max-width: 480px) {
  .d-header nav {
    gap: 4px;
  }

  .d-notice {
    padding: 18px 16px;
  }

  .d-mock-contact-list {
    grid-template-columns: 1fr;
  }

  .d-mock-contact-list span {
    padding-bottom: 3px;
    border-bottom: 0;
  }

  .d-mock-contact-list strong {
    padding-top: 3px;
  }
}
